{"id":"ee9e7f750aadeb5fa6f0c2a21ed626be","_format":"hh-sol-build-info-1","solcVersion":"0.8.28","solcLongVersion":"0.8.28+commit.7893614a","input":{"language":"Solidity","sources":{"@openzeppelin/contracts/access/AccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControl} from \"./IAccessControl.sol\";\nimport {Context} from \"../utils/Context.sol\";\nimport {ERC165} from \"../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Contract module that allows children to implement role-based access\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\n * members except through off-chain means by accessing the contract event logs. Some\n * applications may benefit from on-chain enumerability, for those cases see\n * {AccessControlEnumerable}.\n *\n * Roles are referred to by their `bytes32` identifier. These should be exposed\n * in the external API and be unique. The best way to achieve this is by\n * using `public constant` hash digests:\n *\n * ```solidity\n * bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n * ```\n *\n * Roles can be used to represent a set of permissions. To restrict access to a\n * function call, use {hasRole}:\n *\n * ```solidity\n * function foo() public {\n *     require(hasRole(MY_ROLE, msg.sender));\n *     ...\n * }\n * ```\n *\n * Roles can be granted and revoked dynamically via the {grantRole} and\n * {revokeRole} functions. Each role has an associated admin role, and only\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n *\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n * that only accounts with this role will be able to grant or revoke other\n * roles. More complex role relationships can be created by using\n * {_setRoleAdmin}.\n *\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n * grant and revoke this role. Extra precautions should be taken to secure\n * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}\n * to enforce additional security measures for this role.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n    struct RoleData {\n        mapping(address account => bool) hasRole;\n        bytes32 adminRole;\n    }\n\n    mapping(bytes32 role => RoleData) private _roles;\n\n    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n    /**\n     * @dev Modifier that checks that an account has a specific role. Reverts\n     * with an {AccessControlUnauthorizedAccount} error including the required role.\n     */\n    modifier onlyRole(bytes32 role) {\n        _checkRole(role);\n        _;\n    }\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) public view virtual returns (bool) {\n        return _roles[role].hasRole[account];\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`\n     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.\n     */\n    function _checkRole(bytes32 role) internal view virtual {\n        _checkRole(role, _msgSender());\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`\n     * is missing `role`.\n     */\n    function _checkRole(bytes32 role, address account) internal view virtual {\n        if (!hasRole(role, account)) {\n            revert AccessControlUnauthorizedAccount(account, role);\n        }\n    }\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {\n        return _roles[role].adminRole;\n    }\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _grantRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _revokeRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been revoked `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) public virtual {\n        if (callerConfirmation != _msgSender()) {\n            revert AccessControlBadConfirmation();\n        }\n\n        _revokeRole(role, callerConfirmation);\n    }\n\n    /**\n     * @dev Sets `adminRole` as ``role``'s admin role.\n     *\n     * Emits a {RoleAdminChanged} event.\n     */\n    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\n        bytes32 previousAdminRole = getRoleAdmin(role);\n        _roles[role].adminRole = adminRole;\n        emit RoleAdminChanged(role, previousAdminRole, adminRole);\n    }\n\n    /**\n     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (!hasRole(role, account)) {\n            _roles[role].hasRole[account] = true;\n            emit RoleGranted(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (hasRole(role, account)) {\n            _roles[role].hasRole[account] = false;\n            emit RoleRevoked(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n}\n"},"@openzeppelin/contracts/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev External interface of AccessControl declared to support ERC-165 detection.\n */\ninterface IAccessControl {\n    /**\n     * @dev The `account` is missing a role.\n     */\n    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);\n\n    /**\n     * @dev The caller of a function is not the expected one.\n     *\n     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\n     */\n    error AccessControlBadConfirmation();\n\n    /**\n     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n     *\n     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n     * {RoleAdminChanged} not being emitted signaling this.\n     */\n    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\n\n    /**\n     * @dev Emitted when `account` is granted `role`.\n     *\n     * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).\n     * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\n     */\n    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Emitted when `account` is revoked `role`.\n     *\n     * `sender` is the account that originated the contract call:\n     *   - if using `revokeRole`, it is the admin role bearer\n     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)\n     */\n    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) external view returns (bool);\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {AccessControl-_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) external view returns (bytes32);\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function grantRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function revokeRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been granted `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) external;\n}\n"},"@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"@openzeppelin/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n    /*\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n     * 0xb0202a11 ===\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n     */\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @param data Additional data with no specified format, sent in call to `spender`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n"},"@openzeppelin/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"@openzeppelin/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"@openzeppelin/contracts/token/ERC20/ERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC20Metadata} from \"./extensions/IERC20Metadata.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC20Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {\n    mapping(address account => uint256) private _balances;\n\n    mapping(address account => mapping(address spender => uint256)) private _allowances;\n\n    uint256 private _totalSupply;\n\n    string private _name;\n    string private _symbol;\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        return _totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        return _balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        return _allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Skips emitting an {Approval} event indicating an allowance update. This is not\n     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            _totalSupply += value;\n        } else {\n            uint256 fromBalance = _balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                _balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                _totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                _balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        _allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance != type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\nimport {Address} from \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    /**\n     * @dev An operation with an ERC-20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     *\n     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            safeTransfer(token, to, value);\n        } else if (!token.transferAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferFromAndCallRelaxed(\n        IERC1363 token,\n        address from,\n        address to,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length == 0) {\n            safeTransferFrom(token, from, to, value);\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n     * once without retrying, and relies on the returned value to be true.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            forceApprove(token, to, value);\n        } else if (!token.approveAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            // bubble errors\n            if iszero(success) {\n                let ptr := mload(0x40)\n                returndatacopy(ptr, 0, returndatasize())\n                revert(ptr, returndatasize())\n            }\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n\n        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        bool success;\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);\n    }\n}\n"},"@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {Errors.FailedCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert Errors.InsufficientBalance(address(this).balance, value);\n        }\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n     * of an unsuccessful call.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            // only check if target is a contract if the call was successful and the return data is empty\n            // otherwise we already know that it was a contract\n            if (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {Errors.FailedCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            assembly (\"memory-safe\") {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"@openzeppelin/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a + b;\n            if (c < a) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b > a) return (false, 0);\n            return (true, a - b);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n            // benefit is lost if 'b' is also tested.\n            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n            if (a == 0) return (true, 0);\n            uint256 c = a * b;\n            if (c / a != b) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a / b);\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a % b);\n        }\n    }\n\n    /**\n     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * SafeCast.toUint(condition));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b) / 2 can overflow.\n        return (a & b) + (a ^ b) / 2;\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n\n        // The following calculation ensures accurate ceiling division without overflow.\n        // Since a is non-zero, (a - 1) / b will not overflow.\n        // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n        // but the largest value we can obtain is type(uint256).max - 1, which happens\n        // when a = type(uint256).max and b = 1.\n        unchecked {\n            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n        }\n    }\n\n    /**\n     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     *\n     * Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use\n            // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2²⁵⁶ + prod0.\n            uint256 prod0 = x * y; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= prod1) {\n                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, twos)\n\n                // Flip twos such that it is 2²⁵⁶ / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from prod1 into prod0.\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such\n            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶\n            inverse *= 2 - denominator * inverse; // inverse mod 2³²\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2²⁵⁶. Since the preconditions guarantee that the outcome is\n            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @dev Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n    }\n\n    /**\n     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n     *\n     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n     *\n     * If the input value is not inversible, 0 is returned.\n     *\n     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n     */\n    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n        unchecked {\n            if (n == 0) return 0;\n\n            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n            // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n            // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n            // ax + ny = 1\n            // ax = 1 + (-y)n\n            // ax ≡ 1 (mod n) # x is the inverse of a modulo n\n\n            // If the remainder is 0 the gcd is n right away.\n            uint256 remainder = a % n;\n            uint256 gcd = n;\n\n            // Therefore the initial coefficients are:\n            // ax + ny = gcd(a, n) = n\n            // 0a + 1n = n\n            int256 x = 0;\n            int256 y = 1;\n\n            while (remainder != 0) {\n                uint256 quotient = gcd / remainder;\n\n                (gcd, remainder) = (\n                    // The old remainder is the next gcd to try.\n                    remainder,\n                    // Compute the next remainder.\n                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n                    // where gcd is at most n (capped to type(uint256).max)\n                    gcd - remainder * quotient\n                );\n\n                (x, y) = (\n                    // Increment the coefficient of a.\n                    y,\n                    // Decrement the coefficient of n.\n                    // Can overflow, but the result is casted to uint256 so that the\n                    // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n                    x - y * int256(quotient)\n                );\n            }\n\n            if (gcd != 1) return 0; // No inverse exists.\n            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n        }\n    }\n\n    /**\n     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n     *\n     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n     *\n     * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n     */\n    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n        unchecked {\n            return Math.modExp(a, p - 2, p);\n        }\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n     *\n     * Requirements:\n     * - modulus can't be zero\n     * - underlying staticcall to precompile must succeed\n     *\n     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n     * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n     * interpreted as 0.\n     */\n    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n        (bool success, uint256 result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n     * to operate modulo 0 or if the underlying precompile reverted.\n     *\n     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n     * of a revert, but the result may be incorrectly interpreted as 0.\n     */\n    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n        if (m == 0) return (false, 0);\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            // | Offset    | Content    | Content (Hex)                                                      |\n            // |-----------|------------|--------------------------------------------------------------------|\n            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n            // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n            mstore(ptr, 0x20)\n            mstore(add(ptr, 0x20), 0x20)\n            mstore(add(ptr, 0x40), 0x20)\n            mstore(add(ptr, 0x60), b)\n            mstore(add(ptr, 0x80), e)\n            mstore(add(ptr, 0xa0), m)\n\n            // Given the result < m, it's guaranteed to fit in 32 bytes,\n            // so we can use the memory scratch space located at offset 0.\n            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n            result := mload(0x00)\n        }\n    }\n\n    /**\n     * @dev Variant of {modExp} that supports inputs of arbitrary length.\n     */\n    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n        (bool success, bytes memory result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n     */\n    function tryModExp(\n        bytes memory b,\n        bytes memory e,\n        bytes memory m\n    ) internal view returns (bool success, bytes memory result) {\n        if (_zeroBytes(m)) return (false, new bytes(0));\n\n        uint256 mLen = m.length;\n\n        // Encode call args in result and move the free memory pointer\n        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n        assembly (\"memory-safe\") {\n            let dataPtr := add(result, 0x20)\n            // Write result on top of args to avoid allocating extra memory.\n            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n            // Overwrite the length.\n            // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n            mstore(result, mLen)\n            // Set the memory pointer after the returned data.\n            mstore(0x40, add(dataPtr, mLen))\n        }\n    }\n\n    /**\n     * @dev Returns whether the provided byte array is zero.\n     */\n    function _zeroBytes(bytes memory byteArray) private pure returns (bool) {\n        for (uint256 i = 0; i < byteArray.length; ++i) {\n            if (byteArray[i] != 0) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n     * using integer operations.\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        unchecked {\n            // Take care of easy edge cases when a == 0 or a == 1\n            if (a <= 1) {\n                return a;\n            }\n\n            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a\n            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n            // the current value as `ε_n = | x_n - sqrt(a) |`.\n            //\n            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is\n            // bigger than any uint256.\n            //\n            // By noticing that\n            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`\n            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n            // to the msb function.\n            uint256 aa = a;\n            uint256 xn = 1;\n\n            if (aa >= (1 << 128)) {\n                aa >>= 128;\n                xn <<= 64;\n            }\n            if (aa >= (1 << 64)) {\n                aa >>= 64;\n                xn <<= 32;\n            }\n            if (aa >= (1 << 32)) {\n                aa >>= 32;\n                xn <<= 16;\n            }\n            if (aa >= (1 << 16)) {\n                aa >>= 16;\n                xn <<= 8;\n            }\n            if (aa >= (1 << 8)) {\n                aa >>= 8;\n                xn <<= 4;\n            }\n            if (aa >= (1 << 4)) {\n                aa >>= 4;\n                xn <<= 2;\n            }\n            if (aa >= (1 << 2)) {\n                xn <<= 1;\n            }\n\n            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).\n            //\n            // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).\n            // This is going to be our x_0 (and ε_0)\n            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)\n\n            // From here, Newton's method give us:\n            // x_{n+1} = (x_n + a / x_n) / 2\n            //\n            // One should note that:\n            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a\n            //              = ((x_n² + a) / (2 * x_n))² - a\n            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a\n            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)\n            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)\n            //              = (x_n² - a)² / (2 * x_n)²\n            //              = ((x_n² - a) / (2 * x_n))²\n            //              ≥ 0\n            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n\n            //\n            // This gives us the proof of quadratic convergence of the sequence:\n            // ε_{n+1} = | x_{n+1} - sqrt(a) |\n            //         = | (x_n + a / x_n) / 2 - sqrt(a) |\n            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n            //         = | (x_n - sqrt(a))² / (2 * x_n) |\n            //         = | ε_n² / (2 * x_n) |\n            //         = ε_n² / | (2 * x_n) |\n            //\n            // For the first iteration, we have a special case where x_0 is known:\n            // ε_1 = ε_0² / | (2 * x_0) |\n            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))\n            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))\n            //     ≤ 2**(e-3) / 3\n            //     ≤ 2**(e-3-log2(3))\n            //     ≤ 2**(e-4.5)\n            //\n            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:\n            // ε_{n+1} = ε_n² / | (2 * x_n) |\n            //         ≤ (2**(e-k))² / (2 * 2**(e-1))\n            //         ≤ 2**(2*e-2*k) / 2**e\n            //         ≤ 2**(e-2*k)\n            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above\n            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5\n            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9\n            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18\n            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36\n            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72\n\n            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision\n            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n            // sqrt(a) or sqrt(a) + 1.\n            return xn - SafeCast.toUint(xn > a / xn);\n        }\n    }\n\n    /**\n     * @dev Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 exp;\n        unchecked {\n            exp = 128 * SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 64 * SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 32 * SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 16 * SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 8 * SafeCast.toUint(value > (1 << 8) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 4 * SafeCast.toUint(value > (1 << 4) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 2 * SafeCast.toUint(value > (1 << 2) - 1);\n            value >>= exp;\n            result += exp;\n\n            result += SafeCast.toUint(value > 1);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 isGt;\n        unchecked {\n            isGt = SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= isGt * 128;\n            result += isGt * 16;\n\n            isGt = SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= isGt * 64;\n            result += isGt * 8;\n\n            isGt = SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= isGt * 32;\n            result += isGt * 4;\n\n            isGt = SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= isGt * 16;\n            result += isGt * 2;\n\n            result += SafeCast.toUint(value > (1 << 8) - 1);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n}\n"},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n    /**\n     * @dev Value doesn't fit in an uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in an uint of `bits` size.\n     */\n    error SafeCastOverflowedIntToUint(int256 value);\n\n    /**\n     * @dev Value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n    /**\n     * @dev An uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Callback for IUniswapV3PoolActions#swap\n/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface\ninterface IUniswapV3SwapCallback {\n    /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\n    /// @dev In the implementation you must pay the pool tokens owed for the swap.\n    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.\n    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\n    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by\n    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.\n    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by\n    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.\n    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call\n    function uniswapV3SwapCallback(\n        int256 amount0Delta,\n        int256 amount1Delta,\n        bytes calldata data\n    ) external;\n}\n"},"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.7.5;\npragma abicoder v2;\n\nimport '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';\n\n/// @title Router token swapping functionality\n/// @notice Functions for swapping tokens via Uniswap V3\ninterface ISwapRouter is IUniswapV3SwapCallback {\n    struct ExactInputSingleParams {\n        address tokenIn;\n        address tokenOut;\n        uint24 fee;\n        address recipient;\n        uint256 deadline;\n        uint256 amountIn;\n        uint256 amountOutMinimum;\n        uint160 sqrtPriceLimitX96;\n    }\n\n    /// @notice Swaps `amountIn` of one token for as much as possible of another token\n    /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata\n    /// @return amountOut The amount of the received token\n    function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);\n\n    struct ExactInputParams {\n        bytes path;\n        address recipient;\n        uint256 deadline;\n        uint256 amountIn;\n        uint256 amountOutMinimum;\n    }\n\n    /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path\n    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata\n    /// @return amountOut The amount of the received token\n    function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut);\n\n    struct ExactOutputSingleParams {\n        address tokenIn;\n        address tokenOut;\n        uint24 fee;\n        address recipient;\n        uint256 deadline;\n        uint256 amountOut;\n        uint256 amountInMaximum;\n        uint160 sqrtPriceLimitX96;\n    }\n\n    /// @notice Swaps as little as possible of one token for `amountOut` of another token\n    /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata\n    /// @return amountIn The amount of the input token\n    function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn);\n\n    struct ExactOutputParams {\n        bytes path;\n        address recipient;\n        uint256 deadline;\n        uint256 amountOut;\n        uint256 amountInMaximum;\n    }\n\n    /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)\n    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata\n    /// @return amountIn The amount of the input token\n    function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn);\n}\n"},"contracts/CurveRoutes.sol":{"content":"// SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.8.0;\n\nimport {ICurveRouter} from \"./dependencies/ICurveRouter.sol\";\nimport {BytesLib} from \"solidity-bytes-utils/contracts/BytesLib.sol\";\n\n/**\n * @title Library to access a set of curve routes stored as tightly packed bytes\n *\n * @dev The format is a concatenation of bytes, packed (ethers.solidityPack in js) with the following fields\n *\n *      Fields:\n *      <ICurveRouter router>\n *      <uint8 numberOfRoutes>\n *      -- for each route --\n *      <uint8 numberOfSwaps>\n *      <address route[i] for i in range((numberOfSwaps * 2) + 1)\n *      <uint8 swapParam[i][j] for i in range(numberOfSwaps) for j in range(5)>\n *      <address pool[i] for in range(numberOfSwaps)\n *      -- end - for each route --\n *\n * @custom:security-contact security@ensuro.co\n * @author Ensuro\n */\nlibrary CurveRoutes {\n  using BytesLib for bytes;\n  uint256 internal constant ADDRESS_SIZE = 20;\n  uint256 internal constant UINT8_SIZE = 1;\n  uint256 internal constant MAX_SWAPS = 5;\n  uint256 internal constant ROUTER_OFFSET = 0;\n  uint256 internal constant N_ROUTES_OFFSET = ROUTER_OFFSET + ADDRESS_SIZE;\n  uint256 internal constant ROUTES_BASE_OFFSET = N_ROUTES_OFFSET + UINT8_SIZE;\n\n  struct CurveRoute {\n    address[11] route;\n    /**\n     * For each swap array of [i, j, swap type, pool_type, n_coins]\n     * See https://github.com/curvefi/curve-router-ng/blob/master/contracts/Router.vy#L514C1-L531C63\n     */\n    uint256[MAX_SWAPS][5] swapParams;\n    address[MAX_SWAPS] pools;\n  }\n\n  error CurveRouterCantBeZero();\n  error AtLeastOneRoute();\n  error InvalidLength();\n  error InvalidRoute(CurveRoute route);\n  error TooManySwaps(uint8 nSwaps);\n  error RouteNotFound(address tokenIn, address tokenOut);\n\n  function validate(bytes memory curveRoutes) internal pure {\n    ICurveRouter router = ICurveRouter(curveRoutes.toAddress(ROUTER_OFFSET));\n    if (address(router) == address(0)) revert CurveRouterCantBeZero();\n    uint8 nRoutes = curveRoutes.toUint8(N_ROUTES_OFFSET);\n    if (nRoutes == 0) revert AtLeastOneRoute();\n    uint256 offset = ROUTES_BASE_OFFSET;\n    for (uint256 i; i < nRoutes; i++) {\n      (uint8 nSwaps, CurveRoute memory route) = readRoute(curveRoutes, offset);\n      for (uint256 j; j < nSwaps; j++) {\n        if (route.route[j * 2] == address(0) || route.route[j * 2 + 1] == address(0)) revert InvalidRoute(route);\n      }\n      if (route.route[nSwaps * 2] == address(0)) revert InvalidRoute(route);\n      if (nSwaps != MAX_SWAPS && route.route[_routeLen(nSwaps)] != address(0)) revert InvalidRoute(route);\n      offset += routeSize(nSwaps);\n    }\n    if (curveRoutes.length != offset) revert InvalidLength();\n  }\n\n  function readRoute(\n    bytes memory curveRoutes,\n    uint256 offset\n  ) internal pure returns (uint8 nSwaps, CurveRoute memory route) {\n    nSwaps = curveRoutes.toUint8(offset);\n    if (nSwaps > MAX_SWAPS) revert TooManySwaps(nSwaps);\n    for (uint256 i; i < _routeLen(nSwaps); i++) {\n      route.route[i] = curveRoutes.toAddress(offset + UINT8_SIZE + i * ADDRESS_SIZE);\n    }\n    offset += UINT8_SIZE + _routeLen(nSwaps) * ADDRESS_SIZE;\n    for (uint256 i; i < nSwaps; i++) {\n      route.swapParams[i][0] = curveRoutes.toUint8(offset + i * UINT8_SIZE * 5);\n      route.swapParams[i][1] = curveRoutes.toUint8(offset + i * UINT8_SIZE * 5 + 1);\n      route.swapParams[i][2] = curveRoutes.toUint8(offset + i * UINT8_SIZE * 5 + 2);\n      route.swapParams[i][3] = curveRoutes.toUint8(offset + i * UINT8_SIZE * 5 + 3);\n      route.swapParams[i][4] = curveRoutes.toUint8(offset + i * UINT8_SIZE * 5 + 4);\n    }\n    offset += nSwaps * UINT8_SIZE * 5;\n    for (uint256 i; i < nSwaps; i++) {\n      route.pools[i] = curveRoutes.toAddress(offset + i * ADDRESS_SIZE);\n    }\n  }\n\n  function routeSize(uint8 nSwaps) internal pure returns (uint256) {\n    return\n      UINT8_SIZE + // nSwaps\n      _routeLen(nSwaps) *\n      ADDRESS_SIZE + // route\n      (nSwaps * 5 * UINT8_SIZE) + // swapParams\n      (nSwaps * ADDRESS_SIZE); // pools\n  }\n\n  function _routeLen(uint8 nSwaps) private pure returns (uint256) {\n    return (nSwaps * 2 + 1);\n  }\n\n  function findRoute(\n    bytes memory curveRoutes,\n    address tokenIn,\n    address tokenOut\n  ) internal pure returns (ICurveRouter router, CurveRoute memory route) {\n    router = ICurveRouter(curveRoutes.toAddress(ROUTER_OFFSET));\n    uint8 nRoutes = curveRoutes.toUint8(N_ROUTES_OFFSET);\n    uint256 offset = ROUTES_BASE_OFFSET;\n    for (uint256 i; i < nRoutes; i++) {\n      uint8 nSwaps = curveRoutes.toUint8(offset);\n      if (\n        curveRoutes.toAddress(offset + UINT8_SIZE) == tokenIn &&\n        curveRoutes.toAddress(offset + UINT8_SIZE + ADDRESS_SIZE * nSwaps * 2) == tokenOut\n      ) {\n        (, route) = readRoute(curveRoutes, offset);\n        return (router, route);\n      }\n      offset += routeSize(nSwaps);\n    }\n    revert RouteNotFound(tokenIn, tokenOut);\n  }\n}\n"},"contracts/dependencies/ICurveRouter.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.4;\n\n// Generated with cast interface from https://polygonscan.com/address/0xF0d4c12A5768D806021F80a262B4d39d26C58b8D\ninterface ICurveRouter {\n    event Exchange(\n        address indexed sender,\n        address indexed receiver,\n        address[11] route,\n        uint256[5][5] swap_params,\n        address[5] pools,\n        uint256 in_amount,\n        uint256 out_amount\n    );\n\n    function exchange(address[11] memory _route, uint256[5][5] memory _swap_params, uint256 _amount, uint256 _expected)\n        external\n        payable\n        returns (uint256);\n    function exchange(\n        address[11] memory _route,\n        uint256[5][5] memory _swap_params,\n        uint256 _amount,\n        uint256 _expected,\n        address[5] memory _pools\n    ) external payable returns (uint256);\n    function exchange(\n        address[11] memory _route,\n        uint256[5][5] memory _swap_params,\n        uint256 _amount,\n        uint256 _expected,\n        address[5] memory _pools,\n        address _receiver\n    ) external payable returns (uint256);\n    function get_dx(\n        address[11] memory _route,\n        uint256[5][5] memory _swap_params,\n        uint256 _out_amount,\n        address[5] memory _pools\n    ) external view returns (uint256);\n    function get_dx(\n        address[11] memory _route,\n        uint256[5][5] memory _swap_params,\n        uint256 _out_amount,\n        address[5] memory _pools,\n        address[5] memory _base_pools\n    ) external view returns (uint256);\n    function get_dx(\n        address[11] memory _route,\n        uint256[5][5] memory _swap_params,\n        uint256 _out_amount,\n        address[5] memory _pools,\n        address[5] memory _base_pools,\n        address[5] memory _base_tokens\n    ) external view returns (uint256);\n    function get_dx(\n        address[11] memory _route,\n        uint256[5][5] memory _swap_params,\n        uint256 _out_amount,\n        address[5] memory _pools,\n        address[5] memory _base_pools,\n        address[5] memory _base_tokens,\n        address[5] memory _second_base_pools\n    ) external view returns (uint256);\n    function get_dx(\n        address[11] memory _route,\n        uint256[5][5] memory _swap_params,\n        uint256 _out_amount,\n        address[5] memory _pools,\n        address[5] memory _base_pools,\n        address[5] memory _base_tokens,\n        address[5] memory _second_base_pools,\n        address[5] memory _second_base_tokens\n    ) external view returns (uint256);\n    function get_dy(address[11] memory _route, uint256[5][5] memory _swap_params, uint256 _amount)\n        external\n        view\n        returns (uint256);\n    function get_dy(\n        address[11] memory _route,\n        uint256[5][5] memory _swap_params,\n        uint256 _amount,\n        address[5] memory _pools\n    ) external view returns (uint256);\n}\n"},"contracts/interfaces/ISwapRouterErrors.sol":{"content":"// SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.8.0;\n\nimport {ISwapRouter} from \"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol\";\n\n/**\n * @title ISwapRouterErrors\n *\n */\ninterface ISwapRouterErrors is ISwapRouter {\n  error OutputAmountLessThanSlippage(uint256 amountOut, uint256 amountOutMinimum);\n  error InputAmountExceedsSlippage(uint256 amountIn, uint256 amountInMaximum);\n  error DeadlineInThePast();\n  error AmountCannotBeZero();\n  error TokenCannotBeZero();\n  error RecipientCannotBeZero();\n  error NotImplemented();\n}\n"},"contracts/mocks/CurveRoutesTesterMock.sol":{"content":"// SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.8.0;\n\nimport {CurveRoutes} from \"./../CurveRoutes.sol\";\nimport {ICurveRouter} from \"../dependencies/ICurveRouter.sol\";\n\ncontract CurveRoutesTesterMock {\n  function validate(bytes memory curveRoutes) external pure {\n    CurveRoutes.validate(curveRoutes);\n  }\n\n  function readRoute(\n    bytes memory curveRoutes,\n    uint256 offset\n  ) external pure returns (uint8 nSwaps, CurveRoutes.CurveRoute memory route) {\n    return CurveRoutes.readRoute(curveRoutes, offset);\n  }\n\n  function routeSize(uint8 nSwaps) external pure returns (uint256) {\n    return CurveRoutes.routeSize(nSwaps);\n  }\n\n  function findRoute(\n    bytes memory curveRoutes,\n    address tokenIn,\n    address tokenOut\n  ) external pure returns (ICurveRouter router, CurveRoutes.CurveRoute memory route) {\n    return CurveRoutes.findRoute(curveRoutes, tokenIn, tokenOut);\n  }\n}\n"},"contracts/mocks/SwapRouterMock.sol":{"content":"// SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.8.0;\n\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {SafeCast} from \"@openzeppelin/contracts/utils/math/SafeCast.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {ISwapRouter} from \"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ISwapRouterErrors} from \"../interfaces/ISwapRouterErrors.sol\";\n\n/**\n * @title SwapRouterMock\n * @notice SwapRouter mock that can swap a single type of token for several others\n */\ncontract SwapRouterMock is ISwapRouterErrors {\n  using SafeERC20 for IERC20Metadata;\n  using Math for uint256;\n  using SafeCast for uint256;\n\n  uint256 internal constant WAD = 1e18;\n\n  error AdminCannotBeZero();\n  event PriceUpdated(address tokenIn, address tokenOut, uint256 price);\n  error NotEnoughBalance(uint256 available, uint256 required);\n\n  mapping(address => mapping(address => uint256)) private _prices;\n\n  constructor(address admin) {\n    require(admin != address(0), AdminCannotBeZero());\n  }\n\n  function _toWadFactor(address token) internal view returns (uint256) {\n    return (10 ** (18 - IERC20Metadata(token).decimals()));\n  }\n\n  /**\n   * @inheritdoc ISwapRouter\n   */\n  function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut) {\n    require(params.recipient != address(0), RecipientCannotBeZero());\n    require(params.deadline >= block.timestamp, DeadlineInThePast());\n    require(params.amountIn > 0, AmountCannotBeZero());\n\n    uint256 amountOutInWad = (params.amountIn * _toWadFactor(params.tokenIn)).mulDiv(\n      WAD,\n      _prices[params.tokenIn][params.tokenOut]\n    );\n    amountOut = amountOutInWad / _toWadFactor(params.tokenOut);\n    require(amountOut >= params.amountOutMinimum, OutputAmountLessThanSlippage(amountOut, params.amountOutMinimum));\n\n    IERC20Metadata(params.tokenIn).safeTransferFrom(msg.sender, address(this), params.amountIn);\n    IERC20Metadata(params.tokenOut).safeTransfer(params.recipient, amountOut);\n  }\n\n  /**\n   * @inheritdoc ISwapRouter\n   */\n  function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn) {\n    require(params.recipient != address(0), RecipientCannotBeZero());\n    require(params.deadline >= block.timestamp, DeadlineInThePast());\n    require(params.amountOut > 0, AmountCannotBeZero());\n    uint256 balance = IERC20Metadata(params.tokenOut).balanceOf(address(this));\n    require(balance >= params.amountOut, NotEnoughBalance(balance, params.amountOut));\n\n    uint256 amountInWad = (params.amountOut * _toWadFactor(params.tokenOut)).mulDiv(\n      _prices[params.tokenIn][params.tokenOut],\n      WAD\n    );\n    amountIn = amountInWad / _toWadFactor(params.tokenIn);\n    require(amountIn <= params.amountInMaximum, InputAmountExceedsSlippage(amountIn, params.amountInMaximum));\n\n    IERC20Metadata(params.tokenIn).safeTransferFrom(msg.sender, address(this), amountIn);\n    IERC20Metadata(params.tokenOut).safeTransfer(params.recipient, params.amountOut);\n  }\n\n  function withdraw(address token, uint256 amount) external {\n    require(token != address(0), TokenCannotBeZero());\n    require(amount > 0, TokenCannotBeZero());\n    IERC20Metadata(token).safeTransfer(msg.sender, amount);\n  }\n\n  function setCurrentPrice(address tokenIn, address tokenOut, uint256 price_) external {\n    require(tokenIn != address(0), TokenCannotBeZero());\n    require(tokenOut != address(0), TokenCannotBeZero());\n    _prices[tokenIn][tokenOut] = price_;\n    emit PriceUpdated(tokenIn, tokenOut, price_);\n  }\n\n  /**\n   * @inheritdoc ISwapRouter\n   * @notice This function is not implemented\n   */\n  function exactOutput(ExactOutputParams calldata) external payable returns (uint256) {\n    revert NotImplemented();\n  }\n\n  /**\n   * @inheritdoc ISwapRouter\n   * @notice This function is not implemented\n   */\n  function exactInput(ExactInputParams calldata) external payable returns (uint256) {\n    revert NotImplemented();\n  }\n\n  /**\n   * @notice This function is not implemented\n   */\n  function uniswapV3SwapCallback(int256, int256, bytes calldata) external pure {\n    revert NotImplemented();\n  }\n}\n"},"contracts/mocks/SwapTesterMock.sol":{"content":"// SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.8.0;\n\nimport {SwapLibrary} from \"./../SwapLibrary.sol\";\n\ncontract SwapTesterMock {\n  using SwapLibrary for SwapLibrary.SwapConfig;\n\n  event ExactInputResult(uint256 input);\n  event ExactOutputResult(uint256 output);\n\n  function executeExactInput(\n    SwapLibrary.SwapConfig calldata swapConfig,\n    address tokenIn,\n    address tokenOut,\n    uint256 amount,\n    uint256 price\n  ) external virtual {\n    uint256 ret = swapConfig.exactInput(tokenIn, tokenOut, amount, price);\n    emit ExactInputResult(ret);\n  }\n\n  function executeExactOutput(\n    SwapLibrary.SwapConfig calldata swapConfig,\n    address tokenIn,\n    address tokenOut,\n    uint256 amount,\n    uint256 price\n  ) external virtual {\n    uint256 ret = swapConfig.exactOutput(tokenIn, tokenOut, amount, price);\n    emit ExactOutputResult(ret);\n  }\n\n  function validateConfig(SwapLibrary.SwapConfig calldata swapConfig) external virtual {\n    swapConfig.validate();\n  }\n}\n"},"contracts/mocks/TestCurrency.sol":{"content":"//SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.8.0;\n\nimport {ERC20} from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n\ncontract TestCurrency is ERC20 {\n  address private _owner;\n  uint8 internal immutable _decimals;\n\n  constructor(\n    string memory name_,\n    string memory symbol_,\n    uint256 initialSupply,\n    uint8 decimals_\n  ) ERC20(name_, symbol_) {\n    _owner = msg.sender;\n    _decimals = decimals_;\n    _mint(msg.sender, initialSupply);\n  }\n\n  function decimals() public view virtual override returns (uint8) {\n    return _decimals;\n  }\n}\n"},"contracts/P2PSwapRouter.sol":{"content":"// SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.8.0;\n\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {AccessControl} from \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport {SafeCast} from \"@openzeppelin/contracts/utils/math/SafeCast.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ISwapRouterErrors} from \"./interfaces/ISwapRouterErrors.sol\";\n\n/**\n * @title P2PSwapRouter\n * @notice Contract following the interface of ISwapRouter that executes single swaps from authorized contracts\n *         at configured prices, on behalf of an account\n */\ncontract P2PSwapRouter is ISwapRouterErrors, AccessControl {\n  using SafeERC20 for IERC20Metadata;\n  using Math for uint256;\n  using SafeCast for uint256;\n\n  uint256 internal constant WAD = 1e18;\n  bytes32 public constant SWAP_ROLE = keccak256(\"SWAP_ROLE\");\n  bytes32 public constant PRICER_ROLE = keccak256(\"PRICER_ROLE\");\n  bytes32 public constant ADMIN_ROLE = keccak256(\"ADMIN_ROLE\");\n\n  event PriceUpdated(address tokenIn, address tokenOut, uint256 price);\n  event OnBehalfOfChanged(address indexed onBehalfOf);\n\n  mapping(address => mapping(address => uint256)) private _prices;\n  address internal _onBehalfOf;\n\n  constructor(address onBehalfOf, address admin) {\n    _grantRole(DEFAULT_ADMIN_ROLE, admin);\n    _setOnBehalfOf(onBehalfOf);\n  }\n\n  function _setOnBehalfOf(address onBehalfOf) internal {\n    _onBehalfOf = onBehalfOf;\n    emit OnBehalfOfChanged(onBehalfOf);\n  }\n\n  function getOnBehalfOf() external view returns (address) {\n    return _onBehalfOf;\n  }\n\n  function _toWadFactor(address token) internal view returns (uint256) {\n    return (10 ** (18 - IERC20Metadata(token).decimals()));\n  }\n\n  function exactInputSingle(\n    ExactInputSingleParams calldata params\n  ) external payable onlyRole(SWAP_ROLE) returns (uint256 amountOut) {\n    require(params.recipient != address(0), RecipientCannotBeZero());\n    require(params.deadline >= block.timestamp, DeadlineInThePast());\n    require(params.amountIn > 0, AmountCannotBeZero());\n\n    uint256 amountOutInWad = (params.amountIn * _toWadFactor(params.tokenIn)).mulDiv(\n      WAD,\n      _prices[params.tokenIn][params.tokenOut]\n    );\n    amountOut = amountOutInWad / _toWadFactor(params.tokenOut);\n    require(amountOut >= params.amountOutMinimum, OutputAmountLessThanSlippage(amountOut, params.amountOutMinimum));\n\n    IERC20Metadata(params.tokenIn).safeTransferFrom(msg.sender, _onBehalfOf, params.amountIn);\n    IERC20Metadata(params.tokenOut).safeTransferFrom(_onBehalfOf, params.recipient, amountOut);\n  }\n\n  function exactOutputSingle(\n    ExactOutputSingleParams calldata params\n  ) external payable onlyRole(SWAP_ROLE) returns (uint256 amountIn) {\n    require(params.recipient != address(0), RecipientCannotBeZero());\n    require(params.deadline >= block.timestamp, DeadlineInThePast());\n    require(params.amountOut > 0, AmountCannotBeZero());\n\n    uint256 amountInWad = (params.amountOut * _toWadFactor(params.tokenOut)).mulDiv(\n      _prices[params.tokenIn][params.tokenOut],\n      WAD\n    );\n    amountIn = amountInWad / _toWadFactor(params.tokenIn);\n    require(amountIn <= params.amountInMaximum, InputAmountExceedsSlippage(amountIn, params.amountInMaximum));\n\n    IERC20Metadata(params.tokenIn).safeTransferFrom(msg.sender, _onBehalfOf, amountIn);\n    IERC20Metadata(params.tokenOut).safeTransferFrom(_onBehalfOf, params.recipient, params.amountOut);\n  }\n\n  function setCurrentPrice(address tokenIn, address tokenOut, uint256 price_) external onlyRole(PRICER_ROLE) {\n    require(tokenIn != address(0), TokenCannotBeZero());\n    require(tokenOut != address(0), TokenCannotBeZero());\n    _prices[tokenIn][tokenOut] = price_;\n    emit PriceUpdated(tokenIn, tokenOut, price_);\n  }\n\n  function getCurrentPrice(address tokenIn, address tokenOut) external view returns (uint256) {\n    return _prices[tokenIn][tokenOut];\n  }\n\n  function setOnBehalfOf(address onBehalfOf) external onlyRole(ADMIN_ROLE) {\n    _setOnBehalfOf(onBehalfOf);\n  }\n\n  function exactOutput(ExactOutputParams calldata) external payable returns (uint256) {\n    revert NotImplemented();\n  }\n\n  function exactInput(ExactInputParams calldata) external payable returns (uint256) {\n    revert NotImplemented();\n  }\n\n  /**\n   * @notice This function is not implemented\n   */\n  function uniswapV3SwapCallback(int256, int256, bytes calldata) external pure {\n    revert NotImplemented();\n  }\n}\n"},"contracts/SwapLibrary.sol":{"content":"// SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.8.0;\n\nimport {ISwapRouter} from \"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol\";\nimport {ICurveRouter} from \"./dependencies/ICurveRouter.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {CurveRoutes} from \"./CurveRoutes.sol\";\n\n/**\n * @title Swap Library\n * @custom:security-contact security@ensuro.co\n * @author Ensuro\n */\nlibrary SwapLibrary {\n  using Math for uint256;\n\n  uint256 internal constant WAD = 1e18;\n  // Limit on the number of exchanges done by the exactOutput curve workaround\n  uint256 internal constant MAX_EXCHANGE = 2;\n\n  /**\n   * @dev Enum with the different protocols\n   */\n  enum SwapProtocol {\n    undefined,\n    uniswap,\n    curveRouter\n  }\n\n  struct SwapConfig {\n    SwapProtocol protocol;\n    uint256 maxSlippage;\n    bytes customParams;\n  }\n\n  struct UniswapCustomParams {\n    uint24 feeTier;\n    ISwapRouter router;\n  }\n\n  error InvalidProtocol();\n  error MaxSlippageCannotBeZero();\n  error UniswapRouterCannotBeZero();\n  error UniswapFeeTierCannotBeZero();\n  error AllowanceShouldGoBackToZero();\n  error ReceivedLessThanAcceptable(uint256 received, uint256 amountOutMin);\n  error SpentMoreThanAcceptable(uint256 spent, uint256 amountInMax);\n\n  function validate(SwapConfig calldata swapConfig) external pure {\n    if (swapConfig.maxSlippage == 0) revert MaxSlippageCannotBeZero();\n    if (swapConfig.protocol == SwapProtocol.uniswap) {\n      UniswapCustomParams memory cp = abi.decode(swapConfig.customParams, (UniswapCustomParams));\n      if (address(cp.router) == address(0)) revert UniswapRouterCannotBeZero();\n      if (cp.feeTier == 0) revert UniswapFeeTierCannotBeZero();\n    } else if (swapConfig.protocol == SwapProtocol.curveRouter) {\n      CurveRoutes.validate(swapConfig.customParams);\n    } else revert InvalidProtocol();\n  }\n\n  function _toWadFactor(address token) internal view returns (uint256) {\n    return (10 ** (18 - IERC20Metadata(token).decimals()));\n  }\n\n  /**\n   * @dev Executes a swap of `amount` from the input token (`tokenIn`) to the output token (`tokenOut`),\n   * @param swapConfig Swap configuration including the swap protocol to use.\n   * @param tokenIn The address of the token to be swapped.\n   * @param tokenOut The address of the token to be received as a result of the swap.\n   * @param amount The exact amount of input token to be swapped.\n   * @param price Approximate amount of units of tokenIn required to acquire a unit of tokenOut.\n   *              It will be validated against the swap rate considering the maxSlippage.\n   *\n   * @notice Should have at least `amount` of tokenIn in the contract to execute the transaction.\n   *\n   * Requirements:\n   * - tokenIn and tokenOut decimals <= 18\n   * - SwapConfig must be valid and should be validated using the `validate()` method.\n   *\n   * @return That exact `amount` went out and an tokenOut amount equal to amount/price +- slippage% came in.\n   */\n  function exactInput(\n    SwapConfig calldata swapConfig,\n    address tokenIn,\n    address tokenOut,\n    uint256 amount,\n    uint256 price\n  ) external returns (uint256) {\n    if (swapConfig.protocol == SwapProtocol.uniswap) {\n      return _exactInputUniswap(swapConfig, tokenIn, tokenOut, amount, price);\n    } else if (swapConfig.protocol == SwapProtocol.curveRouter) {\n      return _exactInputCurve(swapConfig, tokenIn, tokenOut, amount, price);\n    }\n    return 0;\n  }\n\n  /**\n   * @dev Executes a swap, where the desired output amount of `tokenOut` is specified,\n   * @param swapConfig Swap configuration including the protocol to use for the swap.\n   * @param tokenIn The address of the token to be used as input for the swap.\n   * @param tokenOut The address of the token to be received as a result of the swap.\n   * @param amount The desired amount of output tokens (`tokenOut`) to be obtained from the swap.\n   * @param price Approximate amount of units of tokenIn required to acquire a unit of tokenOut.\n   *              It will be validated against the swap rate considering the maxSlippage.\n   *\n   * @notice Should have sufficient `tokenIn` to fulfill the desired output amount.\n   *\n   * Requirements:\n   * - tokenIn and tokenOut decimals <= 18\n   * - SwapConfig must be valid and should be validated using the `validate()` method.\n   *\n   * @return The actual amount of input tokens (`tokenIn`) spent to obtain the desired output amount (`amount`)\n   *   should be within the expected slippage range.\n   */\n  function exactOutput(\n    SwapConfig calldata swapConfig,\n    address tokenIn,\n    address tokenOut,\n    uint256 amount,\n    uint256 price\n  ) external returns (uint256) {\n    if (swapConfig.protocol == SwapProtocol.uniswap) {\n      return _exactOutputUniswap(swapConfig, tokenIn, tokenOut, amount, price);\n    } else if (swapConfig.protocol == SwapProtocol.curveRouter) {\n      return _exactOutputCurve(swapConfig, tokenIn, tokenOut, amount, price);\n    }\n    return 0;\n  }\n\n  function _calcMinAmount(\n    uint256 amount,\n    uint256 maxSlippage,\n    address tokenIn,\n    address tokenOut,\n    uint256 price\n  ) internal view returns (uint256) {\n    return (amount * _toWadFactor(tokenIn)).mulDiv(WAD - maxSlippage, price) / _toWadFactor(tokenOut);\n  }\n\n  function _calcMaxAmount(\n    uint256 amount,\n    uint256 maxSlippage,\n    address tokenIn,\n    address tokenOut,\n    uint256 price\n  ) internal view returns (uint256) {\n    return (amount * _toWadFactor(tokenOut)).mulDiv(price, WAD).mulDiv(WAD + maxSlippage, WAD) / _toWadFactor(tokenIn);\n  }\n\n  function _exactInputUniswap(\n    SwapConfig calldata swapConfig,\n    address tokenIn,\n    address tokenOut,\n    uint256 amount,\n    uint256 price\n  ) internal returns (uint256) {\n    UniswapCustomParams memory cp = abi.decode(swapConfig.customParams, (UniswapCustomParams));\n    uint256 amountOutMin = _calcMinAmount(amount, swapConfig.maxSlippage, tokenIn, tokenOut, price);\n\n    IERC20Metadata(tokenIn).approve(address(cp.router), amount);\n    ISwapRouter.ExactInputSingleParams memory params = ISwapRouter.ExactInputSingleParams({\n      tokenIn: tokenIn,\n      tokenOut: tokenOut,\n      fee: cp.feeTier,\n      recipient: address(this),\n      deadline: block.timestamp,\n      amountIn: amount,\n      amountOutMinimum: amountOutMin,\n      sqrtPriceLimitX96: 0 // Since we're limiting the transfer amount, we don't need to worry about the price impact of the transaction\n    });\n\n    uint256 received = cp.router.exactInputSingle(params);\n    if (IERC20Metadata(tokenIn).allowance(address(this), address(cp.router)) != 0) revert AllowanceShouldGoBackToZero();\n    // Sanity check\n    if (received < amountOutMin) revert ReceivedLessThanAcceptable(received, amountOutMin);\n    return received;\n  }\n\n  function _exactOutputUniswap(\n    SwapConfig calldata swapConfig,\n    address tokenIn,\n    address tokenOut,\n    uint256 amount,\n    uint256 price\n  ) internal returns (uint256) {\n    UniswapCustomParams memory cp = abi.decode(swapConfig.customParams, (UniswapCustomParams));\n\n    uint256 amountInMax = _calcMaxAmount(amount, swapConfig.maxSlippage, tokenIn, tokenOut, price);\n\n    IERC20Metadata(tokenIn).approve(address(cp.router), type(uint256).max);\n    ISwapRouter.ExactOutputSingleParams memory params = ISwapRouter.ExactOutputSingleParams({\n      tokenIn: tokenIn,\n      tokenOut: tokenOut,\n      fee: cp.feeTier,\n      recipient: address(this),\n      deadline: block.timestamp,\n      amountOut: amount,\n      amountInMaximum: amountInMax,\n      sqrtPriceLimitX96: 0 // Since we're limiting the transfer amount, we don't need to worry about the price impact of the transaction\n    });\n    uint256 actualAmount = cp.router.exactOutputSingle(params);\n\n    IERC20Metadata(tokenIn).approve(address(cp.router), 0);\n    // Sanity check\n    if (actualAmount > amountInMax) revert SpentMoreThanAcceptable(actualAmount, amountInMax);\n    return actualAmount;\n  }\n\n  function _exactInputCurve(\n    SwapConfig calldata swapConfig,\n    address tokenIn,\n    address tokenOut,\n    uint256 amount,\n    uint256 price\n  ) internal returns (uint256 received) {\n    (ICurveRouter router, CurveRoutes.CurveRoute memory route) = CurveRoutes.findRoute(\n      swapConfig.customParams,\n      tokenIn,\n      tokenOut\n    );\n    uint256 amountOutMin = _calcMinAmount(amount, swapConfig.maxSlippage, tokenIn, tokenOut, price);\n\n    IERC20Metadata(tokenIn).approve(address(router), amount);\n    received = router.exchange(route.route, route.swapParams, amount, amountOutMin, route.pools, address(this));\n\n    if (IERC20Metadata(tokenIn).allowance(address(this), address(router)) != 0) revert AllowanceShouldGoBackToZero();\n    // Sanity check\n    if (received < amountOutMin) revert ReceivedLessThanAcceptable(received, amountOutMin);\n    return received;\n  }\n\n  function _exchangeCurve(\n    ICurveRouter router,\n    CurveRoutes.CurveRoute memory route,\n    uint256 amount\n  ) internal returns (uint256 received, uint256 amountInActual) {\n    amountInActual = router.get_dx(route.route, route.swapParams, amount, route.pools);\n    received = router.exchange(\n      route.route,\n      route.swapParams,\n      amountInActual,\n      0, // I don't verify here, but anyway the token approval defines the limit\n      route.pools,\n      address(this)\n    );\n  }\n\n  function _exactOutputCurve(\n    SwapConfig calldata swapConfig,\n    address tokenIn,\n    address tokenOut,\n    uint256 amount,\n    uint256 price\n  ) internal returns (uint256) {\n    (ICurveRouter router, CurveRoutes.CurveRoute memory route) = CurveRoutes.findRoute(\n      swapConfig.customParams,\n      tokenIn,\n      tokenOut\n    );\n    uint256 amountInMax = _calcMaxAmount(amount, swapConfig.maxSlippage, tokenIn, tokenOut, price);\n    IERC20Metadata(tokenIn).approve(address(router), amountInMax);\n    uint256 amountInConsumed = 0;\n\n    // Workaround because get_dx isn't reliable - Does up to MAX_EXCHANGE to aproximate as much as possible\n    for (uint256 i; amount != 0 && i < MAX_EXCHANGE; i++) {\n      (uint256 received, uint256 amountInActual) = _exchangeCurve(router, route, amount);\n      amount -= Math.min(amount, received);\n      amountInConsumed += amountInActual;\n    }\n    IERC20Metadata(tokenIn).approve(address(router), 0);\n    return amountInConsumed;\n  }\n}\n"},"solidity-bytes-utils/contracts/BytesLib.sol":{"content":"// SPDX-License-Identifier: Unlicense\n/*\n * @title Solidity Bytes Arrays Utils\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\n *\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\n */\npragma solidity >=0.8.0 <0.9.0;\n\n\nlibrary BytesLib {\n    function concat(\n        bytes memory _preBytes,\n        bytes memory _postBytes\n    )\n        internal\n        pure\n        returns (bytes memory)\n    {\n        bytes memory tempBytes;\n\n        assembly {\n            // Get a location of some free memory and store it in tempBytes as\n            // Solidity does for memory variables.\n            tempBytes := mload(0x40)\n\n            // Store the length of the first bytes array at the beginning of\n            // the memory for tempBytes.\n            let length := mload(_preBytes)\n            mstore(tempBytes, length)\n\n            // Maintain a memory counter for the current write location in the\n            // temp bytes array by adding the 32 bytes for the array length to\n            // the starting location.\n            let mc := add(tempBytes, 0x20)\n            // Stop copying when the memory counter reaches the length of the\n            // first bytes array.\n            let end := add(mc, length)\n\n            for {\n                // Initialize a copy counter to the start of the _preBytes data,\n                // 32 bytes into its memory.\n                let cc := add(_preBytes, 0x20)\n            } lt(mc, end) {\n                // Increase both counters by 32 bytes each iteration.\n                mc := add(mc, 0x20)\n                cc := add(cc, 0x20)\n            } {\n                // Write the _preBytes data into the tempBytes memory 32 bytes\n                // at a time.\n                mstore(mc, mload(cc))\n            }\n\n            // Add the length of _postBytes to the current length of tempBytes\n            // and store it as the new length in the first 32 bytes of the\n            // tempBytes memory.\n            length := mload(_postBytes)\n            mstore(tempBytes, add(length, mload(tempBytes)))\n\n            // Move the memory counter back from a multiple of 0x20 to the\n            // actual end of the _preBytes data.\n            mc := end\n            // Stop copying when the memory counter reaches the new combined\n            // length of the arrays.\n            end := add(mc, length)\n\n            for {\n                let cc := add(_postBytes, 0x20)\n            } lt(mc, end) {\n                mc := add(mc, 0x20)\n                cc := add(cc, 0x20)\n            } {\n                mstore(mc, mload(cc))\n            }\n\n            // Update the free-memory pointer by padding our last write location\n            // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\n            // next 32 byte block, then round down to the nearest multiple of\n            // 32. If the sum of the length of the two arrays is zero then add\n            // one before rounding down to leave a blank 32 bytes (the length block with 0).\n            mstore(0x40, and(\n              add(add(end, iszero(add(length, mload(_preBytes)))), 31),\n              not(31) // Round down to the nearest 32 bytes.\n            ))\n        }\n\n        return tempBytes;\n    }\n\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\n        assembly {\n            // Read the first 32 bytes of _preBytes storage, which is the length\n            // of the array. (We don't need to use the offset into the slot\n            // because arrays use the entire slot.)\n            let fslot := sload(_preBytes.slot)\n            // Arrays of 31 bytes or less have an even value in their slot,\n            // while longer arrays have an odd value. The actual length is\n            // the slot divided by two for odd values, and the lowest order\n            // byte divided by two for even values.\n            // If the slot is even, bitwise and the slot with 255 and divide by\n            // two to get the length. If the slot is odd, bitwise and the slot\n            // with -1 and divide by two.\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\n            let mlength := mload(_postBytes)\n            let newlength := add(slength, mlength)\n            // slength can contain both the length and contents of the array\n            // if length < 32 bytes so let's prepare for that\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\n            switch add(lt(slength, 32), lt(newlength, 32))\n            case 2 {\n                // Since the new array still fits in the slot, we just need to\n                // update the contents of the slot.\n                // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\n                sstore(\n                    _preBytes.slot,\n                    // all the modifications to the slot are inside this\n                    // next block\n                    add(\n                        // we can just add to the slot contents because the\n                        // bytes we want to change are the LSBs\n                        fslot,\n                        add(\n                            mul(\n                                div(\n                                    // load the bytes from memory\n                                    mload(add(_postBytes, 0x20)),\n                                    // zero all bytes to the right\n                                    exp(0x100, sub(32, mlength))\n                                ),\n                                // and now shift left the number of bytes to\n                                // leave space for the length in the slot\n                                exp(0x100, sub(32, newlength))\n                            ),\n                            // increase length by the double of the memory\n                            // bytes length\n                            mul(mlength, 2)\n                        )\n                    )\n                )\n            }\n            case 1 {\n                // The stored value fits in the slot, but the combined value\n                // will exceed it.\n                // get the keccak hash to get the contents of the array\n                mstore(0x0, _preBytes.slot)\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\n\n                // save new length\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\n\n                // The contents of the _postBytes array start 32 bytes into\n                // the structure. Our first read should obtain the `submod`\n                // bytes that can fit into the unused space in the last word\n                // of the stored array. To get this, we read 32 bytes starting\n                // from `submod`, so the data we read overlaps with the array\n                // contents by `submod` bytes. Masking the lowest-order\n                // `submod` bytes allows us to add that value directly to the\n                // stored value.\n\n                let submod := sub(32, slength)\n                let mc := add(_postBytes, submod)\n                let end := add(_postBytes, mlength)\n                let mask := sub(exp(0x100, submod), 1)\n\n                sstore(\n                    sc,\n                    add(\n                        and(\n                            fslot,\n                            0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\n                        ),\n                        and(mload(mc), mask)\n                    )\n                )\n\n                for {\n                    mc := add(mc, 0x20)\n                    sc := add(sc, 1)\n                } lt(mc, end) {\n                    sc := add(sc, 1)\n                    mc := add(mc, 0x20)\n                } {\n                    sstore(sc, mload(mc))\n                }\n\n                mask := exp(0x100, sub(mc, end))\n\n                sstore(sc, mul(div(mload(mc), mask), mask))\n            }\n            default {\n                // get the keccak hash to get the contents of the array\n                mstore(0x0, _preBytes.slot)\n                // Start copying to the last used word of the stored array.\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\n\n                // save new length\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\n\n                // Copy over the first `submod` bytes of the new data as in\n                // case 1 above.\n                let slengthmod := mod(slength, 32)\n                let mlengthmod := mod(mlength, 32)\n                let submod := sub(32, slengthmod)\n                let mc := add(_postBytes, submod)\n                let end := add(_postBytes, mlength)\n                let mask := sub(exp(0x100, submod), 1)\n\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\n\n                for {\n                    sc := add(sc, 1)\n                    mc := add(mc, 0x20)\n                } lt(mc, end) {\n                    sc := add(sc, 1)\n                    mc := add(mc, 0x20)\n                } {\n                    sstore(sc, mload(mc))\n                }\n\n                mask := exp(0x100, sub(mc, end))\n\n                sstore(sc, mul(div(mload(mc), mask), mask))\n            }\n        }\n    }\n\n    function slice(\n        bytes memory _bytes,\n        uint256 _start,\n        uint256 _length\n    )\n        internal\n        pure\n        returns (bytes memory)\n    {\n        require(_length + 31 >= _length, \"slice_overflow\");\n        require(_bytes.length >= _start + _length, \"slice_outOfBounds\");\n\n        bytes memory tempBytes;\n\n        assembly {\n            switch iszero(_length)\n            case 0 {\n                // Get a location of some free memory and store it in tempBytes as\n                // Solidity does for memory variables.\n                tempBytes := mload(0x40)\n\n                // The first word of the slice result is potentially a partial\n                // word read from the original array. To read it, we calculate\n                // the length of that partial word and start copying that many\n                // bytes into the array. The first word we copy will start with\n                // data we don't care about, but the last `lengthmod` bytes will\n                // land at the beginning of the contents of the new array. When\n                // we're done copying, we overwrite the full first word with\n                // the actual length of the slice.\n                let lengthmod := and(_length, 31)\n\n                // The multiplication in the next line is necessary\n                // because when slicing multiples of 32 bytes (lengthmod == 0)\n                // the following copy loop was copying the origin's length\n                // and then ending prematurely not copying everything it should.\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\n                let end := add(mc, _length)\n\n                for {\n                    // The multiplication in the next line has the same exact purpose\n                    // as the one above.\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\n                } lt(mc, end) {\n                    mc := add(mc, 0x20)\n                    cc := add(cc, 0x20)\n                } {\n                    mstore(mc, mload(cc))\n                }\n\n                mstore(tempBytes, _length)\n\n                //update free-memory pointer\n                //allocating the array padded to 32 bytes like the compiler does now\n                mstore(0x40, and(add(mc, 31), not(31)))\n            }\n            //if we want a zero-length slice let's just return a zero-length array\n            default {\n                tempBytes := mload(0x40)\n                //zero out the 32 bytes slice we are about to return\n                //we need to do it because Solidity does not garbage collect\n                mstore(tempBytes, 0)\n\n                mstore(0x40, add(tempBytes, 0x20))\n            }\n        }\n\n        return tempBytes;\n    }\n\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\n        require(_bytes.length >= _start + 20, \"toAddress_outOfBounds\");\n        address tempAddress;\n\n        assembly {\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\n        }\n\n        return tempAddress;\n    }\n\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\n        require(_bytes.length >= _start + 1 , \"toUint8_outOfBounds\");\n        uint8 tempUint;\n\n        assembly {\n            tempUint := mload(add(add(_bytes, 0x1), _start))\n        }\n\n        return tempUint;\n    }\n\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\n        require(_bytes.length >= _start + 2, \"toUint16_outOfBounds\");\n        uint16 tempUint;\n\n        assembly {\n            tempUint := mload(add(add(_bytes, 0x2), _start))\n        }\n\n        return tempUint;\n    }\n\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\n        require(_bytes.length >= _start + 4, \"toUint32_outOfBounds\");\n        uint32 tempUint;\n\n        assembly {\n            tempUint := mload(add(add(_bytes, 0x4), _start))\n        }\n\n        return tempUint;\n    }\n\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\n        require(_bytes.length >= _start + 8, \"toUint64_outOfBounds\");\n        uint64 tempUint;\n\n        assembly {\n            tempUint := mload(add(add(_bytes, 0x8), _start))\n        }\n\n        return tempUint;\n    }\n\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\n        require(_bytes.length >= _start + 12, \"toUint96_outOfBounds\");\n        uint96 tempUint;\n\n        assembly {\n            tempUint := mload(add(add(_bytes, 0xc), _start))\n        }\n\n        return tempUint;\n    }\n\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\n        require(_bytes.length >= _start + 16, \"toUint128_outOfBounds\");\n        uint128 tempUint;\n\n        assembly {\n            tempUint := mload(add(add(_bytes, 0x10), _start))\n        }\n\n        return tempUint;\n    }\n\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\n        require(_bytes.length >= _start + 32, \"toUint256_outOfBounds\");\n        uint256 tempUint;\n\n        assembly {\n            tempUint := mload(add(add(_bytes, 0x20), _start))\n        }\n\n        return tempUint;\n    }\n\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\n        require(_bytes.length >= _start + 32, \"toBytes32_outOfBounds\");\n        bytes32 tempBytes32;\n\n        assembly {\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\n        }\n\n        return tempBytes32;\n    }\n\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\n        bool success = true;\n\n        assembly {\n            let length := mload(_preBytes)\n\n            // if lengths don't match the arrays are not equal\n            switch eq(length, mload(_postBytes))\n            case 1 {\n                // cb is a circuit breaker in the for loop since there's\n                //  no said feature for inline assembly loops\n                // cb = 1 - don't breaker\n                // cb = 0 - break\n                let cb := 1\n\n                let mc := add(_preBytes, 0x20)\n                let end := add(mc, length)\n\n                for {\n                    let cc := add(_postBytes, 0x20)\n                // the next line is the loop condition:\n                // while(uint256(mc < end) + cb == 2)\n                } eq(add(lt(mc, end), cb), 2) {\n                    mc := add(mc, 0x20)\n                    cc := add(cc, 0x20)\n                } {\n                    // if any of these checks fails then arrays are not equal\n                    if iszero(eq(mload(mc), mload(cc))) {\n                        // unsuccess:\n                        success := 0\n                        cb := 0\n                    }\n                }\n            }\n            default {\n                // unsuccess:\n                success := 0\n            }\n        }\n\n        return success;\n    }\n\n    function equalStorage(\n        bytes storage _preBytes,\n        bytes memory _postBytes\n    )\n        internal\n        view\n        returns (bool)\n    {\n        bool success = true;\n\n        assembly {\n            // we know _preBytes_offset is 0\n            let fslot := sload(_preBytes.slot)\n            // Decode the length of the stored array like in concatStorage().\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\n            let mlength := mload(_postBytes)\n\n            // if lengths don't match the arrays are not equal\n            switch eq(slength, mlength)\n            case 1 {\n                // slength can contain both the length and contents of the array\n                // if length < 32 bytes so let's prepare for that\n                // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\n                if iszero(iszero(slength)) {\n                    switch lt(slength, 32)\n                    case 1 {\n                        // blank the last byte which is the length\n                        fslot := mul(div(fslot, 0x100), 0x100)\n\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\n                            // unsuccess:\n                            success := 0\n                        }\n                    }\n                    default {\n                        // cb is a circuit breaker in the for loop since there's\n                        //  no said feature for inline assembly loops\n                        // cb = 1 - don't breaker\n                        // cb = 0 - break\n                        let cb := 1\n\n                        // get the keccak hash to get the contents of the array\n                        mstore(0x0, _preBytes.slot)\n                        let sc := keccak256(0x0, 0x20)\n\n                        let mc := add(_postBytes, 0x20)\n                        let end := add(mc, mlength)\n\n                        // the next line is the loop condition:\n                        // while(uint256(mc < end) + cb == 2)\n                        for {} eq(add(lt(mc, end), cb), 2) {\n                            sc := add(sc, 1)\n                            mc := add(mc, 0x20)\n                        } {\n                            if iszero(eq(sload(sc), mload(mc))) {\n                                // unsuccess:\n                                success := 0\n                                cb := 0\n                            }\n                        }\n                    }\n                }\n            }\n            default {\n                // unsuccess:\n                success := 0\n            }\n        }\n\n        return success;\n    }\n}\n"}},"settings":{"optimizer":{"enabled":true,"runs":200},"evmVersion":"paris","outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},"output":{"sources":{"@openzeppelin/contracts/access/AccessControl.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/access/AccessControl.sol","exportedSymbols":{"AccessControl":[295],"Context":[1924],"ERC165":[2022],"IAccessControl":[378]},"id":296,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"108:24:0"},{"absolutePath":"@openzeppelin/contracts/access/IAccessControl.sol","file":"./IAccessControl.sol","id":3,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":296,"sourceUnit":379,"src":"134:52:0","symbolAliases":[{"foreign":{"id":2,"name":"IAccessControl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":378,"src":"142:14:0","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","file":"../utils/Context.sol","id":5,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":296,"sourceUnit":1925,"src":"187:45:0","symbolAliases":[{"foreign":{"id":4,"name":"Context","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1924,"src":"195:7:0","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/introspection/ERC165.sol","file":"../utils/introspection/ERC165.sol","id":7,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":296,"sourceUnit":2023,"src":"233:57:0","symbolAliases":[{"foreign":{"id":6,"name":"ERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2022,"src":"241:6:0","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":9,"name":"Context","nameLocations":["1988:7:0"],"nodeType":"IdentifierPath","referencedDeclaration":1924,"src":"1988:7:0"},"id":10,"nodeType":"InheritanceSpecifier","src":"1988:7:0"},{"baseName":{"id":11,"name":"IAccessControl","nameLocations":["1997:14:0"],"nodeType":"IdentifierPath","referencedDeclaration":378,"src":"1997:14:0"},"id":12,"nodeType":"InheritanceSpecifier","src":"1997:14:0"},{"baseName":{"id":13,"name":"ERC165","nameLocations":["2013:6:0"],"nodeType":"IdentifierPath","referencedDeclaration":2022,"src":"2013:6:0"},"id":14,"nodeType":"InheritanceSpecifier","src":"2013:6:0"}],"canonicalName":"AccessControl","contractDependencies":[],"contractKind":"contract","documentation":{"id":8,"nodeType":"StructuredDocumentation","src":"292:1660:0","text":" @dev Contract module that allows children to implement role-based access\n control mechanisms. This is a lightweight version that doesn't allow enumerating role\n members except through off-chain means by accessing the contract event logs. Some\n applications may benefit from on-chain enumerability, for those cases see\n {AccessControlEnumerable}.\n Roles are referred to by their `bytes32` identifier. These should be exposed\n in the external API and be unique. The best way to achieve this is by\n using `public constant` hash digests:\n ```solidity\n bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n ```\n Roles can be used to represent a set of permissions. To restrict access to a\n function call, use {hasRole}:\n ```solidity\n function foo() public {\n     require(hasRole(MY_ROLE, msg.sender));\n     ...\n }\n ```\n Roles can be granted and revoked dynamically via the {grantRole} and\n {revokeRole} functions. Each role has an associated admin role, and only\n accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n that only accounts with this role will be able to grant or revoke other\n roles. More complex role relationships can be created by using\n {_setRoleAdmin}.\n WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n grant and revoke this role. Extra precautions should be taken to secure\n accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}\n to enforce additional security measures for this role."},"fullyImplemented":true,"id":295,"linearizedBaseContracts":[295,2022,2034,378,1924],"name":"AccessControl","nameLocation":"1971:13:0","nodeType":"ContractDefinition","nodes":[{"canonicalName":"AccessControl.RoleData","id":21,"members":[{"constant":false,"id":18,"mutability":"mutable","name":"hasRole","nameLocation":"2085:7:0","nodeType":"VariableDeclaration","scope":21,"src":"2052:40:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"},"typeName":{"id":17,"keyName":"account","keyNameLocation":"2068:7:0","keyType":{"id":15,"name":"address","nodeType":"ElementaryTypeName","src":"2060:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"2052:32:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":16,"name":"bool","nodeType":"ElementaryTypeName","src":"2079:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}},"visibility":"internal"},{"constant":false,"id":20,"mutability":"mutable","name":"adminRole","nameLocation":"2110:9:0","nodeType":"VariableDeclaration","scope":21,"src":"2102:17:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":19,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2102:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"name":"RoleData","nameLocation":"2033:8:0","nodeType":"StructDefinition","scope":295,"src":"2026:100:0","visibility":"public"},{"constant":false,"id":26,"mutability":"mutable","name":"_roles","nameLocation":"2174:6:0","nodeType":"VariableDeclaration","scope":295,"src":"2132:48:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$21_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData)"},"typeName":{"id":25,"keyName":"role","keyNameLocation":"2148:4:0","keyType":{"id":22,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2140:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"2132:33:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$21_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":24,"nodeType":"UserDefinedTypeName","pathNode":{"id":23,"name":"RoleData","nameLocations":["2156:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":21,"src":"2156:8:0"},"referencedDeclaration":21,"src":"2156:8:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage_ptr","typeString":"struct AccessControl.RoleData"}}},"visibility":"private"},{"constant":true,"functionSelector":"a217fddf","id":29,"mutability":"constant","name":"DEFAULT_ADMIN_ROLE","nameLocation":"2211:18:0","nodeType":"VariableDeclaration","scope":295,"src":"2187:49:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":27,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2187:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"30783030","id":28,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2232:4:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0x00"},"visibility":"public"},{"body":{"id":39,"nodeType":"Block","src":"2454:44:0","statements":[{"expression":{"arguments":[{"id":35,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":32,"src":"2475:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":34,"name":"_checkRole","nodeType":"Identifier","overloadedDeclarations":[93,114],"referencedDeclaration":93,"src":"2464:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$__$","typeString":"function (bytes32) view"}},"id":36,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2464:16:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":37,"nodeType":"ExpressionStatement","src":"2464:16:0"},{"id":38,"nodeType":"PlaceholderStatement","src":"2490:1:0"}]},"documentation":{"id":30,"nodeType":"StructuredDocumentation","src":"2243:174:0","text":" @dev Modifier that checks that an account has a specific role. Reverts\n with an {AccessControlUnauthorizedAccount} error including the required role."},"id":40,"name":"onlyRole","nameLocation":"2431:8:0","nodeType":"ModifierDefinition","parameters":{"id":33,"nodeType":"ParameterList","parameters":[{"constant":false,"id":32,"mutability":"mutable","name":"role","nameLocation":"2448:4:0","nodeType":"VariableDeclaration","scope":40,"src":"2440:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":31,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2440:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2439:14:0"},"src":"2422:76:0","virtual":false,"visibility":"internal"},{"baseFunctions":[2021],"body":{"id":61,"nodeType":"Block","src":"2656:111:0","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":59,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":54,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":49,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":43,"src":"2673:11:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":51,"name":"IAccessControl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":378,"src":"2693:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAccessControl_$378_$","typeString":"type(contract IAccessControl)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_contract$_IAccessControl_$378_$","typeString":"type(contract IAccessControl)"}],"id":50,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"2688:4:0","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":52,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2688:20:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_contract$_IAccessControl_$378","typeString":"type(contract IAccessControl)"}},"id":53,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2709:11:0","memberName":"interfaceId","nodeType":"MemberAccess","src":"2688:32:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"2673:47:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":57,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":43,"src":"2748:11:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":55,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"2724:5:0","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_AccessControl_$295_$","typeString":"type(contract super AccessControl)"}},"id":56,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2730:17:0","memberName":"supportsInterface","nodeType":"MemberAccess","referencedDeclaration":2021,"src":"2724:23:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) view returns (bool)"}},"id":58,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2724:36:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2673:87:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":48,"id":60,"nodeType":"Return","src":"2666:94:0"}]},"documentation":{"id":41,"nodeType":"StructuredDocumentation","src":"2504:56:0","text":" @dev See {IERC165-supportsInterface}."},"functionSelector":"01ffc9a7","id":62,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"2574:17:0","nodeType":"FunctionDefinition","overrides":{"id":45,"nodeType":"OverrideSpecifier","overrides":[],"src":"2632:8:0"},"parameters":{"id":44,"nodeType":"ParameterList","parameters":[{"constant":false,"id":43,"mutability":"mutable","name":"interfaceId","nameLocation":"2599:11:0","nodeType":"VariableDeclaration","scope":62,"src":"2592:18:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":42,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2592:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"2591:20:0"},"returnParameters":{"id":48,"nodeType":"ParameterList","parameters":[{"constant":false,"id":47,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":62,"src":"2650:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":46,"name":"bool","nodeType":"ElementaryTypeName","src":"2650:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2649:6:0"},"scope":295,"src":"2565:202:0","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[345],"body":{"id":79,"nodeType":"Block","src":"2937:53:0","statements":[{"expression":{"baseExpression":{"expression":{"baseExpression":{"id":72,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"2954:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$21_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":74,"indexExpression":{"id":73,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":65,"src":"2961:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2954:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":75,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2967:7:0","memberName":"hasRole","nodeType":"MemberAccess","referencedDeclaration":18,"src":"2954:20:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":77,"indexExpression":{"id":76,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":67,"src":"2975:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2954:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":71,"id":78,"nodeType":"Return","src":"2947:36:0"}]},"documentation":{"id":63,"nodeType":"StructuredDocumentation","src":"2773:76:0","text":" @dev Returns `true` if `account` has been granted `role`."},"functionSelector":"91d14854","id":80,"implemented":true,"kind":"function","modifiers":[],"name":"hasRole","nameLocation":"2863:7:0","nodeType":"FunctionDefinition","parameters":{"id":68,"nodeType":"ParameterList","parameters":[{"constant":false,"id":65,"mutability":"mutable","name":"role","nameLocation":"2879:4:0","nodeType":"VariableDeclaration","scope":80,"src":"2871:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":64,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2871:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":67,"mutability":"mutable","name":"account","nameLocation":"2893:7:0","nodeType":"VariableDeclaration","scope":80,"src":"2885:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":66,"name":"address","nodeType":"ElementaryTypeName","src":"2885:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2870:31:0"},"returnParameters":{"id":71,"nodeType":"ParameterList","parameters":[{"constant":false,"id":70,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":80,"src":"2931:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":69,"name":"bool","nodeType":"ElementaryTypeName","src":"2931:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2930:6:0"},"scope":295,"src":"2854:136:0","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":92,"nodeType":"Block","src":"3255:47:0","statements":[{"expression":{"arguments":[{"id":87,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":83,"src":"3276:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"arguments":[],"expression":{"argumentTypes":[],"id":88,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1906,"src":"3282:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":89,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3282:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":86,"name":"_checkRole","nodeType":"Identifier","overloadedDeclarations":[93,114],"referencedDeclaration":114,"src":"3265:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address) view"}},"id":90,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3265:30:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":91,"nodeType":"ExpressionStatement","src":"3265:30:0"}]},"documentation":{"id":81,"nodeType":"StructuredDocumentation","src":"2996:198:0","text":" @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`\n is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier."},"id":93,"implemented":true,"kind":"function","modifiers":[],"name":"_checkRole","nameLocation":"3208:10:0","nodeType":"FunctionDefinition","parameters":{"id":84,"nodeType":"ParameterList","parameters":[{"constant":false,"id":83,"mutability":"mutable","name":"role","nameLocation":"3227:4:0","nodeType":"VariableDeclaration","scope":93,"src":"3219:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":82,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3219:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3218:14:0"},"returnParameters":{"id":85,"nodeType":"ParameterList","parameters":[],"src":"3255:0:0"},"scope":295,"src":"3199:103:0","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":113,"nodeType":"Block","src":"3505:124:0","statements":[{"condition":{"id":105,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"3519:23:0","subExpression":{"arguments":[{"id":102,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":96,"src":"3528:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":103,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98,"src":"3534:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":101,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"3520:7:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":104,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3520:22:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":112,"nodeType":"IfStatement","src":"3515:108:0","trueBody":{"id":111,"nodeType":"Block","src":"3544:79:0","statements":[{"errorCall":{"arguments":[{"id":107,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98,"src":"3598:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":108,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":96,"src":"3607:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":106,"name":"AccessControlUnauthorizedAccount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":305,"src":"3565:32:0","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_bytes32_$returns$_t_error_$","typeString":"function (address,bytes32) pure returns (error)"}},"id":109,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3565:47:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":110,"nodeType":"RevertStatement","src":"3558:54:0"}]}}]},"documentation":{"id":94,"nodeType":"StructuredDocumentation","src":"3308:119:0","text":" @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`\n is missing `role`."},"id":114,"implemented":true,"kind":"function","modifiers":[],"name":"_checkRole","nameLocation":"3441:10:0","nodeType":"FunctionDefinition","parameters":{"id":99,"nodeType":"ParameterList","parameters":[{"constant":false,"id":96,"mutability":"mutable","name":"role","nameLocation":"3460:4:0","nodeType":"VariableDeclaration","scope":114,"src":"3452:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":95,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3452:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":98,"mutability":"mutable","name":"account","nameLocation":"3474:7:0","nodeType":"VariableDeclaration","scope":114,"src":"3466:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":97,"name":"address","nodeType":"ElementaryTypeName","src":"3466:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3451:31:0"},"returnParameters":{"id":100,"nodeType":"ParameterList","parameters":[],"src":"3505:0:0"},"scope":295,"src":"3432:197:0","stateMutability":"view","virtual":true,"visibility":"internal"},{"baseFunctions":[353],"body":{"id":127,"nodeType":"Block","src":"3884:46:0","statements":[{"expression":{"expression":{"baseExpression":{"id":122,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"3901:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$21_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":124,"indexExpression":{"id":123,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":117,"src":"3908:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3901:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":125,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3914:9:0","memberName":"adminRole","nodeType":"MemberAccess","referencedDeclaration":20,"src":"3901:22:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":121,"id":126,"nodeType":"Return","src":"3894:29:0"}]},"documentation":{"id":115,"nodeType":"StructuredDocumentation","src":"3635:170:0","text":" @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {_setRoleAdmin}."},"functionSelector":"248a9ca3","id":128,"implemented":true,"kind":"function","modifiers":[],"name":"getRoleAdmin","nameLocation":"3819:12:0","nodeType":"FunctionDefinition","parameters":{"id":118,"nodeType":"ParameterList","parameters":[{"constant":false,"id":117,"mutability":"mutable","name":"role","nameLocation":"3840:4:0","nodeType":"VariableDeclaration","scope":128,"src":"3832:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":116,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3832:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3831:14:0"},"returnParameters":{"id":121,"nodeType":"ParameterList","parameters":[{"constant":false,"id":120,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":128,"src":"3875:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":119,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3875:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3874:9:0"},"scope":295,"src":"3810:120:0","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[361],"body":{"id":146,"nodeType":"Block","src":"4320:42:0","statements":[{"expression":{"arguments":[{"id":142,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":131,"src":"4341:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":143,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":133,"src":"4347:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":141,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"4330:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":144,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4330:25:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":145,"nodeType":"ExpressionStatement","src":"4330:25:0"}]},"documentation":{"id":129,"nodeType":"StructuredDocumentation","src":"3936:285:0","text":" @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role.\n May emit a {RoleGranted} event."},"functionSelector":"2f2ff15d","id":147,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"arguments":[{"id":137,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":131,"src":"4313:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":136,"name":"getRoleAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":128,"src":"4300:12:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view returns (bytes32)"}},"id":138,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4300:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":139,"kind":"modifierInvocation","modifierName":{"id":135,"name":"onlyRole","nameLocations":["4291:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"4291:8:0"},"nodeType":"ModifierInvocation","src":"4291:28:0"}],"name":"grantRole","nameLocation":"4235:9:0","nodeType":"FunctionDefinition","parameters":{"id":134,"nodeType":"ParameterList","parameters":[{"constant":false,"id":131,"mutability":"mutable","name":"role","nameLocation":"4253:4:0","nodeType":"VariableDeclaration","scope":147,"src":"4245:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":130,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4245:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":133,"mutability":"mutable","name":"account","nameLocation":"4267:7:0","nodeType":"VariableDeclaration","scope":147,"src":"4259:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":132,"name":"address","nodeType":"ElementaryTypeName","src":"4259:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4244:31:0"},"returnParameters":{"id":140,"nodeType":"ParameterList","parameters":[],"src":"4320:0:0"},"scope":295,"src":"4226:136:0","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[369],"body":{"id":165,"nodeType":"Block","src":"4737:43:0","statements":[{"expression":{"arguments":[{"id":161,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":150,"src":"4759:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":162,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":152,"src":"4765:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":160,"name":"_revokeRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":294,"src":"4747:11:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":163,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4747:26:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":164,"nodeType":"ExpressionStatement","src":"4747:26:0"}]},"documentation":{"id":148,"nodeType":"StructuredDocumentation","src":"4368:269:0","text":" @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role.\n May emit a {RoleRevoked} event."},"functionSelector":"d547741f","id":166,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"arguments":[{"id":156,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":150,"src":"4730:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":155,"name":"getRoleAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":128,"src":"4717:12:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view returns (bytes32)"}},"id":157,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4717:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":158,"kind":"modifierInvocation","modifierName":{"id":154,"name":"onlyRole","nameLocations":["4708:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"4708:8:0"},"nodeType":"ModifierInvocation","src":"4708:28:0"}],"name":"revokeRole","nameLocation":"4651:10:0","nodeType":"FunctionDefinition","parameters":{"id":153,"nodeType":"ParameterList","parameters":[{"constant":false,"id":150,"mutability":"mutable","name":"role","nameLocation":"4670:4:0","nodeType":"VariableDeclaration","scope":166,"src":"4662:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":149,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4662:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":152,"mutability":"mutable","name":"account","nameLocation":"4684:7:0","nodeType":"VariableDeclaration","scope":166,"src":"4676:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":151,"name":"address","nodeType":"ElementaryTypeName","src":"4676:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4661:31:0"},"returnParameters":{"id":159,"nodeType":"ParameterList","parameters":[],"src":"4737:0:0"},"scope":295,"src":"4642:138:0","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[377],"body":{"id":188,"nodeType":"Block","src":"5407:166:0","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":177,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":174,"name":"callerConfirmation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":171,"src":"5421:18:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":175,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1906,"src":"5443:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":176,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5443:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5421:34:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":182,"nodeType":"IfStatement","src":"5417:102:0","trueBody":{"id":181,"nodeType":"Block","src":"5457:62:0","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":178,"name":"AccessControlBadConfirmation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":308,"src":"5478:28:0","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":179,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5478:30:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":180,"nodeType":"RevertStatement","src":"5471:37:0"}]}},{"expression":{"arguments":[{"id":184,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":169,"src":"5541:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":185,"name":"callerConfirmation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":171,"src":"5547:18:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":183,"name":"_revokeRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":294,"src":"5529:11:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":186,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5529:37:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":187,"nodeType":"ExpressionStatement","src":"5529:37:0"}]},"documentation":{"id":167,"nodeType":"StructuredDocumentation","src":"4786:537:0","text":" @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been revoked `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `callerConfirmation`.\n May emit a {RoleRevoked} event."},"functionSelector":"36568abe","id":189,"implemented":true,"kind":"function","modifiers":[],"name":"renounceRole","nameLocation":"5337:12:0","nodeType":"FunctionDefinition","parameters":{"id":172,"nodeType":"ParameterList","parameters":[{"constant":false,"id":169,"mutability":"mutable","name":"role","nameLocation":"5358:4:0","nodeType":"VariableDeclaration","scope":189,"src":"5350:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":168,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5350:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":171,"mutability":"mutable","name":"callerConfirmation","nameLocation":"5372:18:0","nodeType":"VariableDeclaration","scope":189,"src":"5364:26:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":170,"name":"address","nodeType":"ElementaryTypeName","src":"5364:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5349:42:0"},"returnParameters":{"id":173,"nodeType":"ParameterList","parameters":[],"src":"5407:0:0"},"scope":295,"src":"5328:245:0","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":216,"nodeType":"Block","src":"5771:174:0","statements":[{"assignments":[198],"declarations":[{"constant":false,"id":198,"mutability":"mutable","name":"previousAdminRole","nameLocation":"5789:17:0","nodeType":"VariableDeclaration","scope":216,"src":"5781:25:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":197,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5781:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":202,"initialValue":{"arguments":[{"id":200,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":192,"src":"5822:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":199,"name":"getRoleAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":128,"src":"5809:12:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view returns (bytes32)"}},"id":201,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5809:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"5781:46:0"},{"expression":{"id":208,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":203,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"5837:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$21_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":205,"indexExpression":{"id":204,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":192,"src":"5844:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5837:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":206,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"5850:9:0","memberName":"adminRole","nodeType":"MemberAccess","referencedDeclaration":20,"src":"5837:22:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":207,"name":"adminRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":194,"src":"5862:9:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5837:34:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":209,"nodeType":"ExpressionStatement","src":"5837:34:0"},{"eventCall":{"arguments":[{"id":211,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":192,"src":"5903:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":212,"name":"previousAdminRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":198,"src":"5909:17:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":213,"name":"adminRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":194,"src":"5928:9:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":210,"name":"RoleAdminChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":317,"src":"5886:16:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$__$","typeString":"function (bytes32,bytes32,bytes32)"}},"id":214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5886:52:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":215,"nodeType":"EmitStatement","src":"5881:57:0"}]},"documentation":{"id":190,"nodeType":"StructuredDocumentation","src":"5579:114:0","text":" @dev Sets `adminRole` as ``role``'s admin role.\n Emits a {RoleAdminChanged} event."},"id":217,"implemented":true,"kind":"function","modifiers":[],"name":"_setRoleAdmin","nameLocation":"5707:13:0","nodeType":"FunctionDefinition","parameters":{"id":195,"nodeType":"ParameterList","parameters":[{"constant":false,"id":192,"mutability":"mutable","name":"role","nameLocation":"5729:4:0","nodeType":"VariableDeclaration","scope":217,"src":"5721:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":191,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5721:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":194,"mutability":"mutable","name":"adminRole","nameLocation":"5743:9:0","nodeType":"VariableDeclaration","scope":217,"src":"5735:17:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":193,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5735:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5720:33:0"},"returnParameters":{"id":196,"nodeType":"ParameterList","parameters":[],"src":"5771:0:0"},"scope":295,"src":"5698:247:0","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":255,"nodeType":"Block","src":"6262:233:0","statements":[{"condition":{"id":231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"6276:23:0","subExpression":{"arguments":[{"id":228,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":220,"src":"6285:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":229,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":222,"src":"6291:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":227,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"6277:7:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":230,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6277:22:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":253,"nodeType":"Block","src":"6452:37:0","statements":[{"expression":{"hexValue":"66616c7365","id":251,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6473:5:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":226,"id":252,"nodeType":"Return","src":"6466:12:0"}]},"id":254,"nodeType":"IfStatement","src":"6272:217:0","trueBody":{"id":250,"nodeType":"Block","src":"6301:145:0","statements":[{"expression":{"id":239,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"baseExpression":{"id":232,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"6315:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$21_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":234,"indexExpression":{"id":233,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":220,"src":"6322:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6315:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":235,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6328:7:0","memberName":"hasRole","nodeType":"MemberAccess","referencedDeclaration":18,"src":"6315:20:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":237,"indexExpression":{"id":236,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":222,"src":"6336:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6315:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":238,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6347:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"6315:36:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":240,"nodeType":"ExpressionStatement","src":"6315:36:0"},{"eventCall":{"arguments":[{"id":242,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":220,"src":"6382:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":243,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":222,"src":"6388:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"id":244,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1906,"src":"6397:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":245,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6397:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":241,"name":"RoleGranted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":326,"src":"6370:11:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$","typeString":"function (bytes32,address,address)"}},"id":246,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6370:40:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":247,"nodeType":"EmitStatement","src":"6365:45:0"},{"expression":{"hexValue":"74727565","id":248,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6431:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":226,"id":249,"nodeType":"Return","src":"6424:11:0"}]}}]},"documentation":{"id":218,"nodeType":"StructuredDocumentation","src":"5951:223:0","text":" @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.\n Internal function without access restriction.\n May emit a {RoleGranted} event."},"id":256,"implemented":true,"kind":"function","modifiers":[],"name":"_grantRole","nameLocation":"6188:10:0","nodeType":"FunctionDefinition","parameters":{"id":223,"nodeType":"ParameterList","parameters":[{"constant":false,"id":220,"mutability":"mutable","name":"role","nameLocation":"6207:4:0","nodeType":"VariableDeclaration","scope":256,"src":"6199:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":219,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6199:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":222,"mutability":"mutable","name":"account","nameLocation":"6221:7:0","nodeType":"VariableDeclaration","scope":256,"src":"6213:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":221,"name":"address","nodeType":"ElementaryTypeName","src":"6213:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6198:31:0"},"returnParameters":{"id":226,"nodeType":"ParameterList","parameters":[{"constant":false,"id":225,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":256,"src":"6256:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":224,"name":"bool","nodeType":"ElementaryTypeName","src":"6256:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6255:6:0"},"scope":295,"src":"6179:316:0","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":293,"nodeType":"Block","src":"6814:233:0","statements":[{"condition":{"arguments":[{"id":267,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":259,"src":"6836:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":268,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":261,"src":"6842:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":266,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"6828:7:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":269,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6828:22:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":291,"nodeType":"Block","src":"7004:37:0","statements":[{"expression":{"hexValue":"66616c7365","id":289,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"7025:5:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":265,"id":290,"nodeType":"Return","src":"7018:12:0"}]},"id":292,"nodeType":"IfStatement","src":"6824:217:0","trueBody":{"id":288,"nodeType":"Block","src":"6852:146:0","statements":[{"expression":{"id":277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"baseExpression":{"id":270,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"6866:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$21_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":272,"indexExpression":{"id":271,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":259,"src":"6873:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6866:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":273,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6879:7:0","memberName":"hasRole","nodeType":"MemberAccess","referencedDeclaration":18,"src":"6866:20:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":275,"indexExpression":{"id":274,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":261,"src":"6887:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6866:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":276,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6898:5:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"6866:37:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":278,"nodeType":"ExpressionStatement","src":"6866:37:0"},{"eventCall":{"arguments":[{"id":280,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":259,"src":"6934:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":281,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":261,"src":"6940:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"id":282,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1906,"src":"6949:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":283,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6949:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":279,"name":"RoleRevoked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":335,"src":"6922:11:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$","typeString":"function (bytes32,address,address)"}},"id":284,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6922:40:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":285,"nodeType":"EmitStatement","src":"6917:45:0"},{"expression":{"hexValue":"74727565","id":286,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6983:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":265,"id":287,"nodeType":"Return","src":"6976:11:0"}]}}]},"documentation":{"id":257,"nodeType":"StructuredDocumentation","src":"6501:224:0","text":" @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.\n Internal function without access restriction.\n May emit a {RoleRevoked} event."},"id":294,"implemented":true,"kind":"function","modifiers":[],"name":"_revokeRole","nameLocation":"6739:11:0","nodeType":"FunctionDefinition","parameters":{"id":262,"nodeType":"ParameterList","parameters":[{"constant":false,"id":259,"mutability":"mutable","name":"role","nameLocation":"6759:4:0","nodeType":"VariableDeclaration","scope":294,"src":"6751:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":258,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6751:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":261,"mutability":"mutable","name":"account","nameLocation":"6773:7:0","nodeType":"VariableDeclaration","scope":294,"src":"6765:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":260,"name":"address","nodeType":"ElementaryTypeName","src":"6765:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6750:31:0"},"returnParameters":{"id":265,"nodeType":"ParameterList","parameters":[{"constant":false,"id":264,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":294,"src":"6808:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":263,"name":"bool","nodeType":"ElementaryTypeName","src":"6808:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6807:6:0"},"scope":295,"src":"6730:317:0","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":296,"src":"1953:5096:0","usedErrors":[305,308],"usedEvents":[317,326,335]}],"src":"108:6942:0"},"id":0},"@openzeppelin/contracts/access/IAccessControl.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/access/IAccessControl.sol","exportedSymbols":{"IAccessControl":[378]},"id":379,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":297,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"109:24:1"},{"abstract":false,"baseContracts":[],"canonicalName":"IAccessControl","contractDependencies":[],"contractKind":"interface","documentation":{"id":298,"nodeType":"StructuredDocumentation","src":"135:90:1","text":" @dev External interface of AccessControl declared to support ERC-165 detection."},"fullyImplemented":false,"id":378,"linearizedBaseContracts":[378],"name":"IAccessControl","nameLocation":"236:14:1","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":299,"nodeType":"StructuredDocumentation","src":"257:56:1","text":" @dev The `account` is missing a role."},"errorSelector":"e2517d3f","id":305,"name":"AccessControlUnauthorizedAccount","nameLocation":"324:32:1","nodeType":"ErrorDefinition","parameters":{"id":304,"nodeType":"ParameterList","parameters":[{"constant":false,"id":301,"mutability":"mutable","name":"account","nameLocation":"365:7:1","nodeType":"VariableDeclaration","scope":305,"src":"357:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":300,"name":"address","nodeType":"ElementaryTypeName","src":"357:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":303,"mutability":"mutable","name":"neededRole","nameLocation":"382:10:1","nodeType":"VariableDeclaration","scope":305,"src":"374:18:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":302,"name":"bytes32","nodeType":"ElementaryTypeName","src":"374:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"356:37:1"},"src":"318:76:1"},{"documentation":{"id":306,"nodeType":"StructuredDocumentation","src":"400:148:1","text":" @dev The caller of a function is not the expected one.\n NOTE: Don't confuse with {AccessControlUnauthorizedAccount}."},"errorSelector":"6697b232","id":308,"name":"AccessControlBadConfirmation","nameLocation":"559:28:1","nodeType":"ErrorDefinition","parameters":{"id":307,"nodeType":"ParameterList","parameters":[],"src":"587:2:1"},"src":"553:37:1"},{"anonymous":false,"documentation":{"id":309,"nodeType":"StructuredDocumentation","src":"596:254:1","text":" @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n {RoleAdminChanged} not being emitted signaling this."},"eventSelector":"bd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff","id":317,"name":"RoleAdminChanged","nameLocation":"861:16:1","nodeType":"EventDefinition","parameters":{"id":316,"nodeType":"ParameterList","parameters":[{"constant":false,"id":311,"indexed":true,"mutability":"mutable","name":"role","nameLocation":"894:4:1","nodeType":"VariableDeclaration","scope":317,"src":"878:20:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":310,"name":"bytes32","nodeType":"ElementaryTypeName","src":"878:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":313,"indexed":true,"mutability":"mutable","name":"previousAdminRole","nameLocation":"916:17:1","nodeType":"VariableDeclaration","scope":317,"src":"900:33:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":312,"name":"bytes32","nodeType":"ElementaryTypeName","src":"900:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":315,"indexed":true,"mutability":"mutable","name":"newAdminRole","nameLocation":"951:12:1","nodeType":"VariableDeclaration","scope":317,"src":"935:28:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":314,"name":"bytes32","nodeType":"ElementaryTypeName","src":"935:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"877:87:1"},"src":"855:110:1"},{"anonymous":false,"documentation":{"id":318,"nodeType":"StructuredDocumentation","src":"971:295:1","text":" @dev Emitted when `account` is granted `role`.\n `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).\n Expected in cases where the role was granted using the internal {AccessControl-_grantRole}."},"eventSelector":"2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d","id":326,"name":"RoleGranted","nameLocation":"1277:11:1","nodeType":"EventDefinition","parameters":{"id":325,"nodeType":"ParameterList","parameters":[{"constant":false,"id":320,"indexed":true,"mutability":"mutable","name":"role","nameLocation":"1305:4:1","nodeType":"VariableDeclaration","scope":326,"src":"1289:20:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":319,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1289:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":322,"indexed":true,"mutability":"mutable","name":"account","nameLocation":"1327:7:1","nodeType":"VariableDeclaration","scope":326,"src":"1311:23:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":321,"name":"address","nodeType":"ElementaryTypeName","src":"1311:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":324,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"1352:6:1","nodeType":"VariableDeclaration","scope":326,"src":"1336:22:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":323,"name":"address","nodeType":"ElementaryTypeName","src":"1336:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1288:71:1"},"src":"1271:89:1"},{"anonymous":false,"documentation":{"id":327,"nodeType":"StructuredDocumentation","src":"1366:275:1","text":" @dev Emitted when `account` is revoked `role`.\n `sender` is the account that originated the contract call:\n   - if using `revokeRole`, it is the admin role bearer\n   - if using `renounceRole`, it is the role bearer (i.e. `account`)"},"eventSelector":"f6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b","id":335,"name":"RoleRevoked","nameLocation":"1652:11:1","nodeType":"EventDefinition","parameters":{"id":334,"nodeType":"ParameterList","parameters":[{"constant":false,"id":329,"indexed":true,"mutability":"mutable","name":"role","nameLocation":"1680:4:1","nodeType":"VariableDeclaration","scope":335,"src":"1664:20:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":328,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1664:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":331,"indexed":true,"mutability":"mutable","name":"account","nameLocation":"1702:7:1","nodeType":"VariableDeclaration","scope":335,"src":"1686:23:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":330,"name":"address","nodeType":"ElementaryTypeName","src":"1686:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":333,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"1727:6:1","nodeType":"VariableDeclaration","scope":335,"src":"1711:22:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":332,"name":"address","nodeType":"ElementaryTypeName","src":"1711:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1663:71:1"},"src":"1646:89:1"},{"documentation":{"id":336,"nodeType":"StructuredDocumentation","src":"1741:76:1","text":" @dev Returns `true` if `account` has been granted `role`."},"functionSelector":"91d14854","id":345,"implemented":false,"kind":"function","modifiers":[],"name":"hasRole","nameLocation":"1831:7:1","nodeType":"FunctionDefinition","parameters":{"id":341,"nodeType":"ParameterList","parameters":[{"constant":false,"id":338,"mutability":"mutable","name":"role","nameLocation":"1847:4:1","nodeType":"VariableDeclaration","scope":345,"src":"1839:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":337,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1839:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":340,"mutability":"mutable","name":"account","nameLocation":"1861:7:1","nodeType":"VariableDeclaration","scope":345,"src":"1853:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":339,"name":"address","nodeType":"ElementaryTypeName","src":"1853:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1838:31:1"},"returnParameters":{"id":344,"nodeType":"ParameterList","parameters":[{"constant":false,"id":343,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":345,"src":"1893:4:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":342,"name":"bool","nodeType":"ElementaryTypeName","src":"1893:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1892:6:1"},"scope":378,"src":"1822:77:1","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":346,"nodeType":"StructuredDocumentation","src":"1905:184:1","text":" @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {AccessControl-_setRoleAdmin}."},"functionSelector":"248a9ca3","id":353,"implemented":false,"kind":"function","modifiers":[],"name":"getRoleAdmin","nameLocation":"2103:12:1","nodeType":"FunctionDefinition","parameters":{"id":349,"nodeType":"ParameterList","parameters":[{"constant":false,"id":348,"mutability":"mutable","name":"role","nameLocation":"2124:4:1","nodeType":"VariableDeclaration","scope":353,"src":"2116:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":347,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2116:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2115:14:1"},"returnParameters":{"id":352,"nodeType":"ParameterList","parameters":[{"constant":false,"id":351,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":353,"src":"2153:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":350,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2153:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2152:9:1"},"scope":378,"src":"2094:68:1","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":354,"nodeType":"StructuredDocumentation","src":"2168:239:1","text":" @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role."},"functionSelector":"2f2ff15d","id":361,"implemented":false,"kind":"function","modifiers":[],"name":"grantRole","nameLocation":"2421:9:1","nodeType":"FunctionDefinition","parameters":{"id":359,"nodeType":"ParameterList","parameters":[{"constant":false,"id":356,"mutability":"mutable","name":"role","nameLocation":"2439:4:1","nodeType":"VariableDeclaration","scope":361,"src":"2431:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":355,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2431:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":358,"mutability":"mutable","name":"account","nameLocation":"2453:7:1","nodeType":"VariableDeclaration","scope":361,"src":"2445:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":357,"name":"address","nodeType":"ElementaryTypeName","src":"2445:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2430:31:1"},"returnParameters":{"id":360,"nodeType":"ParameterList","parameters":[],"src":"2470:0:1"},"scope":378,"src":"2412:59:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":362,"nodeType":"StructuredDocumentation","src":"2477:223:1","text":" @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role."},"functionSelector":"d547741f","id":369,"implemented":false,"kind":"function","modifiers":[],"name":"revokeRole","nameLocation":"2714:10:1","nodeType":"FunctionDefinition","parameters":{"id":367,"nodeType":"ParameterList","parameters":[{"constant":false,"id":364,"mutability":"mutable","name":"role","nameLocation":"2733:4:1","nodeType":"VariableDeclaration","scope":369,"src":"2725:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":363,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2725:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":366,"mutability":"mutable","name":"account","nameLocation":"2747:7:1","nodeType":"VariableDeclaration","scope":369,"src":"2739:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":365,"name":"address","nodeType":"ElementaryTypeName","src":"2739:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2724:31:1"},"returnParameters":{"id":368,"nodeType":"ParameterList","parameters":[],"src":"2764:0:1"},"scope":378,"src":"2705:60:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":370,"nodeType":"StructuredDocumentation","src":"2771:491:1","text":" @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been granted `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `callerConfirmation`."},"functionSelector":"36568abe","id":377,"implemented":false,"kind":"function","modifiers":[],"name":"renounceRole","nameLocation":"3276:12:1","nodeType":"FunctionDefinition","parameters":{"id":375,"nodeType":"ParameterList","parameters":[{"constant":false,"id":372,"mutability":"mutable","name":"role","nameLocation":"3297:4:1","nodeType":"VariableDeclaration","scope":377,"src":"3289:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":371,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3289:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":374,"mutability":"mutable","name":"callerConfirmation","nameLocation":"3311:18:1","nodeType":"VariableDeclaration","scope":377,"src":"3303:26:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":373,"name":"address","nodeType":"ElementaryTypeName","src":"3303:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3288:42:1"},"returnParameters":{"id":376,"nodeType":"ParameterList","parameters":[],"src":"3339:0:1"},"scope":378,"src":"3267:73:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":379,"src":"226:3116:1","usedErrors":[305,308],"usedEvents":[317,326,335]}],"src":"109:3234:1"},"id":1},"@openzeppelin/contracts/interfaces/IERC1363.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/interfaces/IERC1363.sol","exportedSymbols":{"IERC1363":[460],"IERC165":[2034],"IERC20":[1198]},"id":461,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":380,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"107:24:2"},{"absolutePath":"@openzeppelin/contracts/interfaces/IERC20.sol","file":"./IERC20.sol","id":382,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":461,"sourceUnit":469,"src":"133:36:2","symbolAliases":[{"foreign":{"id":381,"name":"IERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1198,"src":"141:6:2","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/interfaces/IERC165.sol","file":"./IERC165.sol","id":384,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":461,"sourceUnit":465,"src":"170:38:2","symbolAliases":[{"foreign":{"id":383,"name":"IERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2034,"src":"178:7:2","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":386,"name":"IERC20","nameLocations":["590:6:2"],"nodeType":"IdentifierPath","referencedDeclaration":1198,"src":"590:6:2"},"id":387,"nodeType":"InheritanceSpecifier","src":"590:6:2"},{"baseName":{"id":388,"name":"IERC165","nameLocations":["598:7:2"],"nodeType":"IdentifierPath","referencedDeclaration":2034,"src":"598:7:2"},"id":389,"nodeType":"InheritanceSpecifier","src":"598:7:2"}],"canonicalName":"IERC1363","contractDependencies":[],"contractKind":"interface","documentation":{"id":385,"nodeType":"StructuredDocumentation","src":"210:357:2","text":" @title IERC1363\n @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction."},"fullyImplemented":false,"id":460,"linearizedBaseContracts":[460,2034,1198],"name":"IERC1363","nameLocation":"578:8:2","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":390,"nodeType":"StructuredDocumentation","src":"1148:370:2","text":" @dev Moves a `value` amount of tokens from the caller's account to `to`\n and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n @param to The address which you want to transfer to.\n @param value The amount of tokens to be transferred.\n @return A boolean value indicating whether the operation succeeded unless throwing."},"functionSelector":"1296ee62","id":399,"implemented":false,"kind":"function","modifiers":[],"name":"transferAndCall","nameLocation":"1532:15:2","nodeType":"FunctionDefinition","parameters":{"id":395,"nodeType":"ParameterList","parameters":[{"constant":false,"id":392,"mutability":"mutable","name":"to","nameLocation":"1556:2:2","nodeType":"VariableDeclaration","scope":399,"src":"1548:10:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":391,"name":"address","nodeType":"ElementaryTypeName","src":"1548:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":394,"mutability":"mutable","name":"value","nameLocation":"1568:5:2","nodeType":"VariableDeclaration","scope":399,"src":"1560:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":393,"name":"uint256","nodeType":"ElementaryTypeName","src":"1560:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1547:27:2"},"returnParameters":{"id":398,"nodeType":"ParameterList","parameters":[{"constant":false,"id":397,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":399,"src":"1593:4:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":396,"name":"bool","nodeType":"ElementaryTypeName","src":"1593:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1592:6:2"},"scope":460,"src":"1523:76:2","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":400,"nodeType":"StructuredDocumentation","src":"1605:453:2","text":" @dev Moves a `value` amount of tokens from the caller's account to `to`\n and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n @param to The address which you want to transfer to.\n @param value The amount of tokens to be transferred.\n @param data Additional data with no specified format, sent in call to `to`.\n @return A boolean value indicating whether the operation succeeded unless throwing."},"functionSelector":"4000aea0","id":411,"implemented":false,"kind":"function","modifiers":[],"name":"transferAndCall","nameLocation":"2072:15:2","nodeType":"FunctionDefinition","parameters":{"id":407,"nodeType":"ParameterList","parameters":[{"constant":false,"id":402,"mutability":"mutable","name":"to","nameLocation":"2096:2:2","nodeType":"VariableDeclaration","scope":411,"src":"2088:10:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":401,"name":"address","nodeType":"ElementaryTypeName","src":"2088:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":404,"mutability":"mutable","name":"value","nameLocation":"2108:5:2","nodeType":"VariableDeclaration","scope":411,"src":"2100:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":403,"name":"uint256","nodeType":"ElementaryTypeName","src":"2100:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":406,"mutability":"mutable","name":"data","nameLocation":"2130:4:2","nodeType":"VariableDeclaration","scope":411,"src":"2115:19:2","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":405,"name":"bytes","nodeType":"ElementaryTypeName","src":"2115:5:2","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2087:48:2"},"returnParameters":{"id":410,"nodeType":"ParameterList","parameters":[{"constant":false,"id":409,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":411,"src":"2154:4:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":408,"name":"bool","nodeType":"ElementaryTypeName","src":"2154:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2153:6:2"},"scope":460,"src":"2063:97:2","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":412,"nodeType":"StructuredDocumentation","src":"2166:453:2","text":" @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n @param from The address which you want to send tokens from.\n @param to The address which you want to transfer to.\n @param value The amount of tokens to be transferred.\n @return A boolean value indicating whether the operation succeeded unless throwing."},"functionSelector":"d8fbe994","id":423,"implemented":false,"kind":"function","modifiers":[],"name":"transferFromAndCall","nameLocation":"2633:19:2","nodeType":"FunctionDefinition","parameters":{"id":419,"nodeType":"ParameterList","parameters":[{"constant":false,"id":414,"mutability":"mutable","name":"from","nameLocation":"2661:4:2","nodeType":"VariableDeclaration","scope":423,"src":"2653:12:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":413,"name":"address","nodeType":"ElementaryTypeName","src":"2653:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":416,"mutability":"mutable","name":"to","nameLocation":"2675:2:2","nodeType":"VariableDeclaration","scope":423,"src":"2667:10:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":415,"name":"address","nodeType":"ElementaryTypeName","src":"2667:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":418,"mutability":"mutable","name":"value","nameLocation":"2687:5:2","nodeType":"VariableDeclaration","scope":423,"src":"2679:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":417,"name":"uint256","nodeType":"ElementaryTypeName","src":"2679:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2652:41:2"},"returnParameters":{"id":422,"nodeType":"ParameterList","parameters":[{"constant":false,"id":421,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":423,"src":"2712:4:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":420,"name":"bool","nodeType":"ElementaryTypeName","src":"2712:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2711:6:2"},"scope":460,"src":"2624:94:2","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":424,"nodeType":"StructuredDocumentation","src":"2724:536:2","text":" @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n @param from The address which you want to send tokens from.\n @param to The address which you want to transfer to.\n @param value The amount of tokens to be transferred.\n @param data Additional data with no specified format, sent in call to `to`.\n @return A boolean value indicating whether the operation succeeded unless throwing."},"functionSelector":"c1d34b89","id":437,"implemented":false,"kind":"function","modifiers":[],"name":"transferFromAndCall","nameLocation":"3274:19:2","nodeType":"FunctionDefinition","parameters":{"id":433,"nodeType":"ParameterList","parameters":[{"constant":false,"id":426,"mutability":"mutable","name":"from","nameLocation":"3302:4:2","nodeType":"VariableDeclaration","scope":437,"src":"3294:12:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":425,"name":"address","nodeType":"ElementaryTypeName","src":"3294:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":428,"mutability":"mutable","name":"to","nameLocation":"3316:2:2","nodeType":"VariableDeclaration","scope":437,"src":"3308:10:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":427,"name":"address","nodeType":"ElementaryTypeName","src":"3308:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":430,"mutability":"mutable","name":"value","nameLocation":"3328:5:2","nodeType":"VariableDeclaration","scope":437,"src":"3320:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":429,"name":"uint256","nodeType":"ElementaryTypeName","src":"3320:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":432,"mutability":"mutable","name":"data","nameLocation":"3350:4:2","nodeType":"VariableDeclaration","scope":437,"src":"3335:19:2","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":431,"name":"bytes","nodeType":"ElementaryTypeName","src":"3335:5:2","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3293:62:2"},"returnParameters":{"id":436,"nodeType":"ParameterList","parameters":[{"constant":false,"id":435,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":437,"src":"3374:4:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":434,"name":"bool","nodeType":"ElementaryTypeName","src":"3374:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3373:6:2"},"scope":460,"src":"3265:115:2","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":438,"nodeType":"StructuredDocumentation","src":"3386:390:2","text":" @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n @param spender The address which will spend the funds.\n @param value The amount of tokens to be spent.\n @return A boolean value indicating whether the operation succeeded unless throwing."},"functionSelector":"3177029f","id":447,"implemented":false,"kind":"function","modifiers":[],"name":"approveAndCall","nameLocation":"3790:14:2","nodeType":"FunctionDefinition","parameters":{"id":443,"nodeType":"ParameterList","parameters":[{"constant":false,"id":440,"mutability":"mutable","name":"spender","nameLocation":"3813:7:2","nodeType":"VariableDeclaration","scope":447,"src":"3805:15:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":439,"name":"address","nodeType":"ElementaryTypeName","src":"3805:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":442,"mutability":"mutable","name":"value","nameLocation":"3830:5:2","nodeType":"VariableDeclaration","scope":447,"src":"3822:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":441,"name":"uint256","nodeType":"ElementaryTypeName","src":"3822:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3804:32:2"},"returnParameters":{"id":446,"nodeType":"ParameterList","parameters":[{"constant":false,"id":445,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":447,"src":"3855:4:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":444,"name":"bool","nodeType":"ElementaryTypeName","src":"3855:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3854:6:2"},"scope":460,"src":"3781:80:2","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":448,"nodeType":"StructuredDocumentation","src":"3867:478:2","text":" @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n @param spender The address which will spend the funds.\n @param value The amount of tokens to be spent.\n @param data Additional data with no specified format, sent in call to `spender`.\n @return A boolean value indicating whether the operation succeeded unless throwing."},"functionSelector":"cae9ca51","id":459,"implemented":false,"kind":"function","modifiers":[],"name":"approveAndCall","nameLocation":"4359:14:2","nodeType":"FunctionDefinition","parameters":{"id":455,"nodeType":"ParameterList","parameters":[{"constant":false,"id":450,"mutability":"mutable","name":"spender","nameLocation":"4382:7:2","nodeType":"VariableDeclaration","scope":459,"src":"4374:15:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":449,"name":"address","nodeType":"ElementaryTypeName","src":"4374:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":452,"mutability":"mutable","name":"value","nameLocation":"4399:5:2","nodeType":"VariableDeclaration","scope":459,"src":"4391:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":451,"name":"uint256","nodeType":"ElementaryTypeName","src":"4391:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":454,"mutability":"mutable","name":"data","nameLocation":"4421:4:2","nodeType":"VariableDeclaration","scope":459,"src":"4406:19:2","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":453,"name":"bytes","nodeType":"ElementaryTypeName","src":"4406:5:2","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4373:53:2"},"returnParameters":{"id":458,"nodeType":"ParameterList","parameters":[{"constant":false,"id":457,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":459,"src":"4445:4:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":456,"name":"bool","nodeType":"ElementaryTypeName","src":"4445:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4444:6:2"},"scope":460,"src":"4350:101:2","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":461,"src":"568:3885:2","usedErrors":[],"usedEvents":[1132,1141]}],"src":"107:4347:2"},"id":2},"@openzeppelin/contracts/interfaces/IERC165.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/interfaces/IERC165.sol","exportedSymbols":{"IERC165":[2034]},"id":465,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":462,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"106:24:3"},{"absolutePath":"@openzeppelin/contracts/utils/introspection/IERC165.sol","file":"../utils/introspection/IERC165.sol","id":464,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":465,"sourceUnit":2035,"src":"132:59:3","symbolAliases":[{"foreign":{"id":463,"name":"IERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2034,"src":"140:7:3","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""}],"src":"106:86:3"},"id":3},"@openzeppelin/contracts/interfaces/IERC20.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/interfaces/IERC20.sol","exportedSymbols":{"IERC20":[1198]},"id":469,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":466,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"105:24:4"},{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","file":"../token/ERC20/IERC20.sol","id":468,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":469,"sourceUnit":1199,"src":"131:49:4","symbolAliases":[{"foreign":{"id":467,"name":"IERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1198,"src":"139:6:4","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""}],"src":"105:76:4"},"id":4},"@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/interfaces/draft-IERC6093.sol","exportedSymbols":{"IERC1155Errors":[605],"IERC20Errors":[510],"IERC721Errors":[558]},"id":606,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":470,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"112:24:5"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC20Errors","contractDependencies":[],"contractKind":"interface","documentation":{"id":471,"nodeType":"StructuredDocumentation","src":"138:141:5","text":" @dev Standard ERC-20 Errors\n Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens."},"fullyImplemented":true,"id":510,"linearizedBaseContracts":[510],"name":"IERC20Errors","nameLocation":"290:12:5","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":472,"nodeType":"StructuredDocumentation","src":"309:309:5","text":" @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n @param sender Address whose tokens are being transferred.\n @param balance Current balance for the interacting account.\n @param needed Minimum amount required to perform a transfer."},"errorSelector":"e450d38c","id":480,"name":"ERC20InsufficientBalance","nameLocation":"629:24:5","nodeType":"ErrorDefinition","parameters":{"id":479,"nodeType":"ParameterList","parameters":[{"constant":false,"id":474,"mutability":"mutable","name":"sender","nameLocation":"662:6:5","nodeType":"VariableDeclaration","scope":480,"src":"654:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":473,"name":"address","nodeType":"ElementaryTypeName","src":"654:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":476,"mutability":"mutable","name":"balance","nameLocation":"678:7:5","nodeType":"VariableDeclaration","scope":480,"src":"670:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":475,"name":"uint256","nodeType":"ElementaryTypeName","src":"670:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":478,"mutability":"mutable","name":"needed","nameLocation":"695:6:5","nodeType":"VariableDeclaration","scope":480,"src":"687:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":477,"name":"uint256","nodeType":"ElementaryTypeName","src":"687:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"653:49:5"},"src":"623:80:5"},{"documentation":{"id":481,"nodeType":"StructuredDocumentation","src":"709:152:5","text":" @dev Indicates a failure with the token `sender`. Used in transfers.\n @param sender Address whose tokens are being transferred."},"errorSelector":"96c6fd1e","id":485,"name":"ERC20InvalidSender","nameLocation":"872:18:5","nodeType":"ErrorDefinition","parameters":{"id":484,"nodeType":"ParameterList","parameters":[{"constant":false,"id":483,"mutability":"mutable","name":"sender","nameLocation":"899:6:5","nodeType":"VariableDeclaration","scope":485,"src":"891:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":482,"name":"address","nodeType":"ElementaryTypeName","src":"891:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"890:16:5"},"src":"866:41:5"},{"documentation":{"id":486,"nodeType":"StructuredDocumentation","src":"913:159:5","text":" @dev Indicates a failure with the token `receiver`. Used in transfers.\n @param receiver Address to which tokens are being transferred."},"errorSelector":"ec442f05","id":490,"name":"ERC20InvalidReceiver","nameLocation":"1083:20:5","nodeType":"ErrorDefinition","parameters":{"id":489,"nodeType":"ParameterList","parameters":[{"constant":false,"id":488,"mutability":"mutable","name":"receiver","nameLocation":"1112:8:5","nodeType":"VariableDeclaration","scope":490,"src":"1104:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":487,"name":"address","nodeType":"ElementaryTypeName","src":"1104:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1103:18:5"},"src":"1077:45:5"},{"documentation":{"id":491,"nodeType":"StructuredDocumentation","src":"1128:345:5","text":" @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n @param spender Address that may be allowed to operate on tokens without being their owner.\n @param allowance Amount of tokens a `spender` is allowed to operate with.\n @param needed Minimum amount required to perform a transfer."},"errorSelector":"fb8f41b2","id":499,"name":"ERC20InsufficientAllowance","nameLocation":"1484:26:5","nodeType":"ErrorDefinition","parameters":{"id":498,"nodeType":"ParameterList","parameters":[{"constant":false,"id":493,"mutability":"mutable","name":"spender","nameLocation":"1519:7:5","nodeType":"VariableDeclaration","scope":499,"src":"1511:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":492,"name":"address","nodeType":"ElementaryTypeName","src":"1511:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":495,"mutability":"mutable","name":"allowance","nameLocation":"1536:9:5","nodeType":"VariableDeclaration","scope":499,"src":"1528:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":494,"name":"uint256","nodeType":"ElementaryTypeName","src":"1528:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":497,"mutability":"mutable","name":"needed","nameLocation":"1555:6:5","nodeType":"VariableDeclaration","scope":499,"src":"1547:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":496,"name":"uint256","nodeType":"ElementaryTypeName","src":"1547:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1510:52:5"},"src":"1478:85:5"},{"documentation":{"id":500,"nodeType":"StructuredDocumentation","src":"1569:174:5","text":" @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n @param approver Address initiating an approval operation."},"errorSelector":"e602df05","id":504,"name":"ERC20InvalidApprover","nameLocation":"1754:20:5","nodeType":"ErrorDefinition","parameters":{"id":503,"nodeType":"ParameterList","parameters":[{"constant":false,"id":502,"mutability":"mutable","name":"approver","nameLocation":"1783:8:5","nodeType":"VariableDeclaration","scope":504,"src":"1775:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":501,"name":"address","nodeType":"ElementaryTypeName","src":"1775:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1774:18:5"},"src":"1748:45:5"},{"documentation":{"id":505,"nodeType":"StructuredDocumentation","src":"1799:195:5","text":" @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n @param spender Address that may be allowed to operate on tokens without being their owner."},"errorSelector":"94280d62","id":509,"name":"ERC20InvalidSpender","nameLocation":"2005:19:5","nodeType":"ErrorDefinition","parameters":{"id":508,"nodeType":"ParameterList","parameters":[{"constant":false,"id":507,"mutability":"mutable","name":"spender","nameLocation":"2033:7:5","nodeType":"VariableDeclaration","scope":509,"src":"2025:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":506,"name":"address","nodeType":"ElementaryTypeName","src":"2025:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2024:17:5"},"src":"1999:43:5"}],"scope":606,"src":"280:1764:5","usedErrors":[480,485,490,499,504,509],"usedEvents":[]},{"abstract":false,"baseContracts":[],"canonicalName":"IERC721Errors","contractDependencies":[],"contractKind":"interface","documentation":{"id":511,"nodeType":"StructuredDocumentation","src":"2046:143:5","text":" @dev Standard ERC-721 Errors\n Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens."},"fullyImplemented":true,"id":558,"linearizedBaseContracts":[558],"name":"IERC721Errors","nameLocation":"2200:13:5","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":512,"nodeType":"StructuredDocumentation","src":"2220:219:5","text":" @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.\n Used in balance queries.\n @param owner Address of the current owner of a token."},"errorSelector":"89c62b64","id":516,"name":"ERC721InvalidOwner","nameLocation":"2450:18:5","nodeType":"ErrorDefinition","parameters":{"id":515,"nodeType":"ParameterList","parameters":[{"constant":false,"id":514,"mutability":"mutable","name":"owner","nameLocation":"2477:5:5","nodeType":"VariableDeclaration","scope":516,"src":"2469:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":513,"name":"address","nodeType":"ElementaryTypeName","src":"2469:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2468:15:5"},"src":"2444:40:5"},{"documentation":{"id":517,"nodeType":"StructuredDocumentation","src":"2490:132:5","text":" @dev Indicates a `tokenId` whose `owner` is the zero address.\n @param tokenId Identifier number of a token."},"errorSelector":"7e273289","id":521,"name":"ERC721NonexistentToken","nameLocation":"2633:22:5","nodeType":"ErrorDefinition","parameters":{"id":520,"nodeType":"ParameterList","parameters":[{"constant":false,"id":519,"mutability":"mutable","name":"tokenId","nameLocation":"2664:7:5","nodeType":"VariableDeclaration","scope":521,"src":"2656:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":518,"name":"uint256","nodeType":"ElementaryTypeName","src":"2656:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2655:17:5"},"src":"2627:46:5"},{"documentation":{"id":522,"nodeType":"StructuredDocumentation","src":"2679:289:5","text":" @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n @param sender Address whose tokens are being transferred.\n @param tokenId Identifier number of a token.\n @param owner Address of the current owner of a token."},"errorSelector":"64283d7b","id":530,"name":"ERC721IncorrectOwner","nameLocation":"2979:20:5","nodeType":"ErrorDefinition","parameters":{"id":529,"nodeType":"ParameterList","parameters":[{"constant":false,"id":524,"mutability":"mutable","name":"sender","nameLocation":"3008:6:5","nodeType":"VariableDeclaration","scope":530,"src":"3000:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":523,"name":"address","nodeType":"ElementaryTypeName","src":"3000:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":526,"mutability":"mutable","name":"tokenId","nameLocation":"3024:7:5","nodeType":"VariableDeclaration","scope":530,"src":"3016:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":525,"name":"uint256","nodeType":"ElementaryTypeName","src":"3016:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":528,"mutability":"mutable","name":"owner","nameLocation":"3041:5:5","nodeType":"VariableDeclaration","scope":530,"src":"3033:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":527,"name":"address","nodeType":"ElementaryTypeName","src":"3033:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2999:48:5"},"src":"2973:75:5"},{"documentation":{"id":531,"nodeType":"StructuredDocumentation","src":"3054:152:5","text":" @dev Indicates a failure with the token `sender`. Used in transfers.\n @param sender Address whose tokens are being transferred."},"errorSelector":"73c6ac6e","id":535,"name":"ERC721InvalidSender","nameLocation":"3217:19:5","nodeType":"ErrorDefinition","parameters":{"id":534,"nodeType":"ParameterList","parameters":[{"constant":false,"id":533,"mutability":"mutable","name":"sender","nameLocation":"3245:6:5","nodeType":"VariableDeclaration","scope":535,"src":"3237:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":532,"name":"address","nodeType":"ElementaryTypeName","src":"3237:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3236:16:5"},"src":"3211:42:5"},{"documentation":{"id":536,"nodeType":"StructuredDocumentation","src":"3259:159:5","text":" @dev Indicates a failure with the token `receiver`. Used in transfers.\n @param receiver Address to which tokens are being transferred."},"errorSelector":"64a0ae92","id":540,"name":"ERC721InvalidReceiver","nameLocation":"3429:21:5","nodeType":"ErrorDefinition","parameters":{"id":539,"nodeType":"ParameterList","parameters":[{"constant":false,"id":538,"mutability":"mutable","name":"receiver","nameLocation":"3459:8:5","nodeType":"VariableDeclaration","scope":540,"src":"3451:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":537,"name":"address","nodeType":"ElementaryTypeName","src":"3451:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3450:18:5"},"src":"3423:46:5"},{"documentation":{"id":541,"nodeType":"StructuredDocumentation","src":"3475:247:5","text":" @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n @param operator Address that may be allowed to operate on tokens without being their owner.\n @param tokenId Identifier number of a token."},"errorSelector":"177e802f","id":547,"name":"ERC721InsufficientApproval","nameLocation":"3733:26:5","nodeType":"ErrorDefinition","parameters":{"id":546,"nodeType":"ParameterList","parameters":[{"constant":false,"id":543,"mutability":"mutable","name":"operator","nameLocation":"3768:8:5","nodeType":"VariableDeclaration","scope":547,"src":"3760:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":542,"name":"address","nodeType":"ElementaryTypeName","src":"3760:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":545,"mutability":"mutable","name":"tokenId","nameLocation":"3786:7:5","nodeType":"VariableDeclaration","scope":547,"src":"3778:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":544,"name":"uint256","nodeType":"ElementaryTypeName","src":"3778:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3759:35:5"},"src":"3727:68:5"},{"documentation":{"id":548,"nodeType":"StructuredDocumentation","src":"3801:174:5","text":" @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n @param approver Address initiating an approval operation."},"errorSelector":"a9fbf51f","id":552,"name":"ERC721InvalidApprover","nameLocation":"3986:21:5","nodeType":"ErrorDefinition","parameters":{"id":551,"nodeType":"ParameterList","parameters":[{"constant":false,"id":550,"mutability":"mutable","name":"approver","nameLocation":"4016:8:5","nodeType":"VariableDeclaration","scope":552,"src":"4008:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":549,"name":"address","nodeType":"ElementaryTypeName","src":"4008:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4007:18:5"},"src":"3980:46:5"},{"documentation":{"id":553,"nodeType":"StructuredDocumentation","src":"4032:197:5","text":" @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n @param operator Address that may be allowed to operate on tokens without being their owner."},"errorSelector":"5b08ba18","id":557,"name":"ERC721InvalidOperator","nameLocation":"4240:21:5","nodeType":"ErrorDefinition","parameters":{"id":556,"nodeType":"ParameterList","parameters":[{"constant":false,"id":555,"mutability":"mutable","name":"operator","nameLocation":"4270:8:5","nodeType":"VariableDeclaration","scope":557,"src":"4262:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":554,"name":"address","nodeType":"ElementaryTypeName","src":"4262:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4261:18:5"},"src":"4234:46:5"}],"scope":606,"src":"2190:2092:5","usedErrors":[516,521,530,535,540,547,552,557],"usedEvents":[]},{"abstract":false,"baseContracts":[],"canonicalName":"IERC1155Errors","contractDependencies":[],"contractKind":"interface","documentation":{"id":559,"nodeType":"StructuredDocumentation","src":"4284:145:5","text":" @dev Standard ERC-1155 Errors\n Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens."},"fullyImplemented":true,"id":605,"linearizedBaseContracts":[605],"name":"IERC1155Errors","nameLocation":"4440:14:5","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":560,"nodeType":"StructuredDocumentation","src":"4461:361:5","text":" @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n @param sender Address whose tokens are being transferred.\n @param balance Current balance for the interacting account.\n @param needed Minimum amount required to perform a transfer.\n @param tokenId Identifier number of a token."},"errorSelector":"03dee4c5","id":570,"name":"ERC1155InsufficientBalance","nameLocation":"4833:26:5","nodeType":"ErrorDefinition","parameters":{"id":569,"nodeType":"ParameterList","parameters":[{"constant":false,"id":562,"mutability":"mutable","name":"sender","nameLocation":"4868:6:5","nodeType":"VariableDeclaration","scope":570,"src":"4860:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":561,"name":"address","nodeType":"ElementaryTypeName","src":"4860:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":564,"mutability":"mutable","name":"balance","nameLocation":"4884:7:5","nodeType":"VariableDeclaration","scope":570,"src":"4876:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":563,"name":"uint256","nodeType":"ElementaryTypeName","src":"4876:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":566,"mutability":"mutable","name":"needed","nameLocation":"4901:6:5","nodeType":"VariableDeclaration","scope":570,"src":"4893:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":565,"name":"uint256","nodeType":"ElementaryTypeName","src":"4893:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":568,"mutability":"mutable","name":"tokenId","nameLocation":"4917:7:5","nodeType":"VariableDeclaration","scope":570,"src":"4909:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":567,"name":"uint256","nodeType":"ElementaryTypeName","src":"4909:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4859:66:5"},"src":"4827:99:5"},{"documentation":{"id":571,"nodeType":"StructuredDocumentation","src":"4932:152:5","text":" @dev Indicates a failure with the token `sender`. Used in transfers.\n @param sender Address whose tokens are being transferred."},"errorSelector":"01a83514","id":575,"name":"ERC1155InvalidSender","nameLocation":"5095:20:5","nodeType":"ErrorDefinition","parameters":{"id":574,"nodeType":"ParameterList","parameters":[{"constant":false,"id":573,"mutability":"mutable","name":"sender","nameLocation":"5124:6:5","nodeType":"VariableDeclaration","scope":575,"src":"5116:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":572,"name":"address","nodeType":"ElementaryTypeName","src":"5116:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5115:16:5"},"src":"5089:43:5"},{"documentation":{"id":576,"nodeType":"StructuredDocumentation","src":"5138:159:5","text":" @dev Indicates a failure with the token `receiver`. Used in transfers.\n @param receiver Address to which tokens are being transferred."},"errorSelector":"57f447ce","id":580,"name":"ERC1155InvalidReceiver","nameLocation":"5308:22:5","nodeType":"ErrorDefinition","parameters":{"id":579,"nodeType":"ParameterList","parameters":[{"constant":false,"id":578,"mutability":"mutable","name":"receiver","nameLocation":"5339:8:5","nodeType":"VariableDeclaration","scope":580,"src":"5331:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":577,"name":"address","nodeType":"ElementaryTypeName","src":"5331:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5330:18:5"},"src":"5302:47:5"},{"documentation":{"id":581,"nodeType":"StructuredDocumentation","src":"5355:256:5","text":" @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n @param operator Address that may be allowed to operate on tokens without being their owner.\n @param owner Address of the current owner of a token."},"errorSelector":"e237d922","id":587,"name":"ERC1155MissingApprovalForAll","nameLocation":"5622:28:5","nodeType":"ErrorDefinition","parameters":{"id":586,"nodeType":"ParameterList","parameters":[{"constant":false,"id":583,"mutability":"mutable","name":"operator","nameLocation":"5659:8:5","nodeType":"VariableDeclaration","scope":587,"src":"5651:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":582,"name":"address","nodeType":"ElementaryTypeName","src":"5651:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":585,"mutability":"mutable","name":"owner","nameLocation":"5677:5:5","nodeType":"VariableDeclaration","scope":587,"src":"5669:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":584,"name":"address","nodeType":"ElementaryTypeName","src":"5669:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5650:33:5"},"src":"5616:68:5"},{"documentation":{"id":588,"nodeType":"StructuredDocumentation","src":"5690:174:5","text":" @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n @param approver Address initiating an approval operation."},"errorSelector":"3e31884e","id":592,"name":"ERC1155InvalidApprover","nameLocation":"5875:22:5","nodeType":"ErrorDefinition","parameters":{"id":591,"nodeType":"ParameterList","parameters":[{"constant":false,"id":590,"mutability":"mutable","name":"approver","nameLocation":"5906:8:5","nodeType":"VariableDeclaration","scope":592,"src":"5898:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":589,"name":"address","nodeType":"ElementaryTypeName","src":"5898:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5897:18:5"},"src":"5869:47:5"},{"documentation":{"id":593,"nodeType":"StructuredDocumentation","src":"5922:197:5","text":" @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n @param operator Address that may be allowed to operate on tokens without being their owner."},"errorSelector":"ced3e100","id":597,"name":"ERC1155InvalidOperator","nameLocation":"6130:22:5","nodeType":"ErrorDefinition","parameters":{"id":596,"nodeType":"ParameterList","parameters":[{"constant":false,"id":595,"mutability":"mutable","name":"operator","nameLocation":"6161:8:5","nodeType":"VariableDeclaration","scope":597,"src":"6153:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":594,"name":"address","nodeType":"ElementaryTypeName","src":"6153:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6152:18:5"},"src":"6124:47:5"},{"documentation":{"id":598,"nodeType":"StructuredDocumentation","src":"6177:280:5","text":" @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n Used in batch transfers.\n @param idsLength Length of the array of token identifiers\n @param valuesLength Length of the array of token amounts"},"errorSelector":"5b059991","id":604,"name":"ERC1155InvalidArrayLength","nameLocation":"6468:25:5","nodeType":"ErrorDefinition","parameters":{"id":603,"nodeType":"ParameterList","parameters":[{"constant":false,"id":600,"mutability":"mutable","name":"idsLength","nameLocation":"6502:9:5","nodeType":"VariableDeclaration","scope":604,"src":"6494:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":599,"name":"uint256","nodeType":"ElementaryTypeName","src":"6494:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":602,"mutability":"mutable","name":"valuesLength","nameLocation":"6521:12:5","nodeType":"VariableDeclaration","scope":604,"src":"6513:20:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":601,"name":"uint256","nodeType":"ElementaryTypeName","src":"6513:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6493:41:5"},"src":"6462:73:5"}],"scope":606,"src":"4430:2107:5","usedErrors":[570,575,580,587,592,597,604],"usedEvents":[]}],"src":"112:6426:5"},"id":5},"@openzeppelin/contracts/token/ERC20/ERC20.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC20/ERC20.sol","exportedSymbols":{"Context":[1924],"ERC20":[1120],"IERC20":[1198],"IERC20Errors":[510],"IERC20Metadata":[1224]},"id":1121,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":607,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"105:24:6"},{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","file":"./IERC20.sol","id":609,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1121,"sourceUnit":1199,"src":"131:36:6","symbolAliases":[{"foreign":{"id":608,"name":"IERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1198,"src":"139:6:6","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol","file":"./extensions/IERC20Metadata.sol","id":611,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1121,"sourceUnit":1225,"src":"168:63:6","symbolAliases":[{"foreign":{"id":610,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"176:14:6","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","file":"../../utils/Context.sol","id":613,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1121,"sourceUnit":1925,"src":"232:48:6","symbolAliases":[{"foreign":{"id":612,"name":"Context","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1924,"src":"240:7:6","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/interfaces/draft-IERC6093.sol","file":"../../interfaces/draft-IERC6093.sol","id":615,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1121,"sourceUnit":606,"src":"281:65:6","symbolAliases":[{"foreign":{"id":614,"name":"IERC20Errors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":510,"src":"289:12:6","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":617,"name":"Context","nameLocations":["1133:7:6"],"nodeType":"IdentifierPath","referencedDeclaration":1924,"src":"1133:7:6"},"id":618,"nodeType":"InheritanceSpecifier","src":"1133:7:6"},{"baseName":{"id":619,"name":"IERC20","nameLocations":["1142:6:6"],"nodeType":"IdentifierPath","referencedDeclaration":1198,"src":"1142:6:6"},"id":620,"nodeType":"InheritanceSpecifier","src":"1142:6:6"},{"baseName":{"id":621,"name":"IERC20Metadata","nameLocations":["1150:14:6"],"nodeType":"IdentifierPath","referencedDeclaration":1224,"src":"1150:14:6"},"id":622,"nodeType":"InheritanceSpecifier","src":"1150:14:6"},{"baseName":{"id":623,"name":"IERC20Errors","nameLocations":["1166:12:6"],"nodeType":"IdentifierPath","referencedDeclaration":510,"src":"1166:12:6"},"id":624,"nodeType":"InheritanceSpecifier","src":"1166:12:6"}],"canonicalName":"ERC20","contractDependencies":[],"contractKind":"contract","documentation":{"id":616,"nodeType":"StructuredDocumentation","src":"348:757:6","text":" @dev Implementation of the {IERC20} interface.\n This implementation is agnostic to the way tokens are created. This means\n that a supply mechanism has to be added in a derived contract using {_mint}.\n TIP: For a detailed writeup see our guide\n https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n to implement supply mechanisms].\n The default value of {decimals} is 18. To change this, you should override\n this function so it returns a different value.\n We have followed general OpenZeppelin Contracts guidelines: functions revert\n instead returning `false` on failure. This behavior is nonetheless\n conventional and does not conflict with the expectations of ERC-20\n applications."},"fullyImplemented":true,"id":1120,"linearizedBaseContracts":[1120,510,1224,1198,1924],"name":"ERC20","nameLocation":"1124:5:6","nodeType":"ContractDefinition","nodes":[{"constant":false,"id":628,"mutability":"mutable","name":"_balances","nameLocation":"1229:9:6","nodeType":"VariableDeclaration","scope":1120,"src":"1185:53:6","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":627,"keyName":"account","keyNameLocation":"1201:7:6","keyType":{"id":625,"name":"address","nodeType":"ElementaryTypeName","src":"1193:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1185:35:6","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":626,"name":"uint256","nodeType":"ElementaryTypeName","src":"1212:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"private"},{"constant":false,"id":634,"mutability":"mutable","name":"_allowances","nameLocation":"1317:11:6","nodeType":"VariableDeclaration","scope":1120,"src":"1245:83:6","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"},"typeName":{"id":633,"keyName":"account","keyNameLocation":"1261:7:6","keyType":{"id":629,"name":"address","nodeType":"ElementaryTypeName","src":"1253:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1245:63:6","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":632,"keyName":"spender","keyNameLocation":"1288:7:6","keyType":{"id":630,"name":"address","nodeType":"ElementaryTypeName","src":"1280:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1272:35:6","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":631,"name":"uint256","nodeType":"ElementaryTypeName","src":"1299:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}}},"visibility":"private"},{"constant":false,"id":636,"mutability":"mutable","name":"_totalSupply","nameLocation":"1351:12:6","nodeType":"VariableDeclaration","scope":1120,"src":"1335:28:6","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":635,"name":"uint256","nodeType":"ElementaryTypeName","src":"1335:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"private"},{"constant":false,"id":638,"mutability":"mutable","name":"_name","nameLocation":"1385:5:6","nodeType":"VariableDeclaration","scope":1120,"src":"1370:20:6","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":637,"name":"string","nodeType":"ElementaryTypeName","src":"1370:6:6","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"private"},{"constant":false,"id":640,"mutability":"mutable","name":"_symbol","nameLocation":"1411:7:6","nodeType":"VariableDeclaration","scope":1120,"src":"1396:22:6","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":639,"name":"string","nodeType":"ElementaryTypeName","src":"1396:6:6","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"private"},{"body":{"id":656,"nodeType":"Block","src":"1657:57:6","statements":[{"expression":{"id":650,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":648,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":638,"src":"1667:5:6","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":649,"name":"name_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":643,"src":"1675:5:6","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"1667:13:6","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":651,"nodeType":"ExpressionStatement","src":"1667:13:6"},{"expression":{"id":654,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":652,"name":"_symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":640,"src":"1690:7:6","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":653,"name":"symbol_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":645,"src":"1700:7:6","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"1690:17:6","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":655,"nodeType":"ExpressionStatement","src":"1690:17:6"}]},"documentation":{"id":641,"nodeType":"StructuredDocumentation","src":"1425:171:6","text":" @dev Sets the values for {name} and {symbol}.\n All two of these values are immutable: they can only be set once during\n construction."},"id":657,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":646,"nodeType":"ParameterList","parameters":[{"constant":false,"id":643,"mutability":"mutable","name":"name_","nameLocation":"1627:5:6","nodeType":"VariableDeclaration","scope":657,"src":"1613:19:6","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":642,"name":"string","nodeType":"ElementaryTypeName","src":"1613:6:6","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":645,"mutability":"mutable","name":"symbol_","nameLocation":"1648:7:6","nodeType":"VariableDeclaration","scope":657,"src":"1634:21:6","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":644,"name":"string","nodeType":"ElementaryTypeName","src":"1634:6:6","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1612:44:6"},"returnParameters":{"id":647,"nodeType":"ParameterList","parameters":[],"src":"1657:0:6"},"scope":1120,"src":"1601:113:6","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[1211],"body":{"id":665,"nodeType":"Block","src":"1839:29:6","statements":[{"expression":{"id":663,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":638,"src":"1856:5:6","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"functionReturnParameters":662,"id":664,"nodeType":"Return","src":"1849:12:6"}]},"documentation":{"id":658,"nodeType":"StructuredDocumentation","src":"1720:54:6","text":" @dev Returns the name of the token."},"functionSelector":"06fdde03","id":666,"implemented":true,"kind":"function","modifiers":[],"name":"name","nameLocation":"1788:4:6","nodeType":"FunctionDefinition","parameters":{"id":659,"nodeType":"ParameterList","parameters":[],"src":"1792:2:6"},"returnParameters":{"id":662,"nodeType":"ParameterList","parameters":[{"constant":false,"id":661,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":666,"src":"1824:13:6","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":660,"name":"string","nodeType":"ElementaryTypeName","src":"1824:6:6","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1823:15:6"},"scope":1120,"src":"1779:89:6","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1217],"body":{"id":674,"nodeType":"Block","src":"2043:31:6","statements":[{"expression":{"id":672,"name":"_symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":640,"src":"2060:7:6","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"functionReturnParameters":671,"id":673,"nodeType":"Return","src":"2053:14:6"}]},"documentation":{"id":667,"nodeType":"StructuredDocumentation","src":"1874:102:6","text":" @dev Returns the symbol of the token, usually a shorter version of the\n name."},"functionSelector":"95d89b41","id":675,"implemented":true,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"1990:6:6","nodeType":"FunctionDefinition","parameters":{"id":668,"nodeType":"ParameterList","parameters":[],"src":"1996:2:6"},"returnParameters":{"id":671,"nodeType":"ParameterList","parameters":[{"constant":false,"id":670,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":675,"src":"2028:13:6","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":669,"name":"string","nodeType":"ElementaryTypeName","src":"2028:6:6","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2027:15:6"},"scope":1120,"src":"1981:93:6","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1223],"body":{"id":683,"nodeType":"Block","src":"2763:26:6","statements":[{"expression":{"hexValue":"3138","id":681,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2780:2:6","typeDescriptions":{"typeIdentifier":"t_rational_18_by_1","typeString":"int_const 18"},"value":"18"},"functionReturnParameters":680,"id":682,"nodeType":"Return","src":"2773:9:6"}]},"documentation":{"id":676,"nodeType":"StructuredDocumentation","src":"2080:622:6","text":" @dev Returns the number of decimals used to get its user representation.\n For example, if `decimals` equals `2`, a balance of `505` tokens should\n be displayed to a user as `5.05` (`505 / 10 ** 2`).\n Tokens usually opt for a value of 18, imitating the relationship between\n Ether and Wei. This is the default value returned by this function, unless\n it's overridden.\n NOTE: This information is only used for _display_ purposes: it in\n no way affects any of the arithmetic of the contract, including\n {IERC20-balanceOf} and {IERC20-transfer}."},"functionSelector":"313ce567","id":684,"implemented":true,"kind":"function","modifiers":[],"name":"decimals","nameLocation":"2716:8:6","nodeType":"FunctionDefinition","parameters":{"id":677,"nodeType":"ParameterList","parameters":[],"src":"2724:2:6"},"returnParameters":{"id":680,"nodeType":"ParameterList","parameters":[{"constant":false,"id":679,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":684,"src":"2756:5:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":678,"name":"uint8","nodeType":"ElementaryTypeName","src":"2756:5:6","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"2755:7:6"},"scope":1120,"src":"2707:82:6","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1147],"body":{"id":692,"nodeType":"Block","src":"2910:36:6","statements":[{"expression":{"id":690,"name":"_totalSupply","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":636,"src":"2927:12:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":689,"id":691,"nodeType":"Return","src":"2920:19:6"}]},"documentation":{"id":685,"nodeType":"StructuredDocumentation","src":"2795:49:6","text":" @dev See {IERC20-totalSupply}."},"functionSelector":"18160ddd","id":693,"implemented":true,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"2858:11:6","nodeType":"FunctionDefinition","parameters":{"id":686,"nodeType":"ParameterList","parameters":[],"src":"2869:2:6"},"returnParameters":{"id":689,"nodeType":"ParameterList","parameters":[{"constant":false,"id":688,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":693,"src":"2901:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":687,"name":"uint256","nodeType":"ElementaryTypeName","src":"2901:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2900:9:6"},"scope":1120,"src":"2849:97:6","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1155],"body":{"id":705,"nodeType":"Block","src":"3078:42:6","statements":[{"expression":{"baseExpression":{"id":701,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":628,"src":"3095:9:6","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":703,"indexExpression":{"id":702,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":696,"src":"3105:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3095:18:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":700,"id":704,"nodeType":"Return","src":"3088:25:6"}]},"documentation":{"id":694,"nodeType":"StructuredDocumentation","src":"2952:47:6","text":" @dev See {IERC20-balanceOf}."},"functionSelector":"70a08231","id":706,"implemented":true,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"3013:9:6","nodeType":"FunctionDefinition","parameters":{"id":697,"nodeType":"ParameterList","parameters":[{"constant":false,"id":696,"mutability":"mutable","name":"account","nameLocation":"3031:7:6","nodeType":"VariableDeclaration","scope":706,"src":"3023:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":695,"name":"address","nodeType":"ElementaryTypeName","src":"3023:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3022:17:6"},"returnParameters":{"id":700,"nodeType":"ParameterList","parameters":[{"constant":false,"id":699,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":706,"src":"3069:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":698,"name":"uint256","nodeType":"ElementaryTypeName","src":"3069:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3068:9:6"},"scope":1120,"src":"3004:116:6","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1165],"body":{"id":729,"nodeType":"Block","src":"3390:103:6","statements":[{"assignments":[717],"declarations":[{"constant":false,"id":717,"mutability":"mutable","name":"owner","nameLocation":"3408:5:6","nodeType":"VariableDeclaration","scope":729,"src":"3400:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":716,"name":"address","nodeType":"ElementaryTypeName","src":"3400:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":720,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":718,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1906,"src":"3416:10:6","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":719,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3416:12:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"3400:28:6"},{"expression":{"arguments":[{"id":722,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"3448:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":723,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":709,"src":"3455:2:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":724,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":711,"src":"3459:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":721,"name":"_transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":850,"src":"3438:9:6","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":725,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3438:27:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":726,"nodeType":"ExpressionStatement","src":"3438:27:6"},{"expression":{"hexValue":"74727565","id":727,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3482:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":715,"id":728,"nodeType":"Return","src":"3475:11:6"}]},"documentation":{"id":707,"nodeType":"StructuredDocumentation","src":"3126:184:6","text":" @dev See {IERC20-transfer}.\n Requirements:\n - `to` cannot be the zero address.\n - the caller must have a balance of at least `value`."},"functionSelector":"a9059cbb","id":730,"implemented":true,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"3324:8:6","nodeType":"FunctionDefinition","parameters":{"id":712,"nodeType":"ParameterList","parameters":[{"constant":false,"id":709,"mutability":"mutable","name":"to","nameLocation":"3341:2:6","nodeType":"VariableDeclaration","scope":730,"src":"3333:10:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":708,"name":"address","nodeType":"ElementaryTypeName","src":"3333:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":711,"mutability":"mutable","name":"value","nameLocation":"3353:5:6","nodeType":"VariableDeclaration","scope":730,"src":"3345:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":710,"name":"uint256","nodeType":"ElementaryTypeName","src":"3345:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3332:27:6"},"returnParameters":{"id":715,"nodeType":"ParameterList","parameters":[{"constant":false,"id":714,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":730,"src":"3384:4:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":713,"name":"bool","nodeType":"ElementaryTypeName","src":"3384:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3383:6:6"},"scope":1120,"src":"3315:178:6","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[1175],"body":{"id":746,"nodeType":"Block","src":"3640:51:6","statements":[{"expression":{"baseExpression":{"baseExpression":{"id":740,"name":"_allowances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":634,"src":"3657:11:6","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":742,"indexExpression":{"id":741,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":733,"src":"3669:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3657:18:6","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":744,"indexExpression":{"id":743,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":735,"src":"3676:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3657:27:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":739,"id":745,"nodeType":"Return","src":"3650:34:6"}]},"documentation":{"id":731,"nodeType":"StructuredDocumentation","src":"3499:47:6","text":" @dev See {IERC20-allowance}."},"functionSelector":"dd62ed3e","id":747,"implemented":true,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"3560:9:6","nodeType":"FunctionDefinition","parameters":{"id":736,"nodeType":"ParameterList","parameters":[{"constant":false,"id":733,"mutability":"mutable","name":"owner","nameLocation":"3578:5:6","nodeType":"VariableDeclaration","scope":747,"src":"3570:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":732,"name":"address","nodeType":"ElementaryTypeName","src":"3570:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":735,"mutability":"mutable","name":"spender","nameLocation":"3593:7:6","nodeType":"VariableDeclaration","scope":747,"src":"3585:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":734,"name":"address","nodeType":"ElementaryTypeName","src":"3585:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3569:32:6"},"returnParameters":{"id":739,"nodeType":"ParameterList","parameters":[{"constant":false,"id":738,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":747,"src":"3631:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":737,"name":"uint256","nodeType":"ElementaryTypeName","src":"3631:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3630:9:6"},"scope":1120,"src":"3551:140:6","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1185],"body":{"id":770,"nodeType":"Block","src":"4077:107:6","statements":[{"assignments":[758],"declarations":[{"constant":false,"id":758,"mutability":"mutable","name":"owner","nameLocation":"4095:5:6","nodeType":"VariableDeclaration","scope":770,"src":"4087:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":757,"name":"address","nodeType":"ElementaryTypeName","src":"4087:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":761,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":759,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1906,"src":"4103:10:6","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":760,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4103:12:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"4087:28:6"},{"expression":{"arguments":[{"id":763,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":758,"src":"4134:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":764,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":750,"src":"4141:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":765,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":752,"src":"4150:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":762,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[1011,1071],"referencedDeclaration":1011,"src":"4125:8:6","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":766,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4125:31:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":767,"nodeType":"ExpressionStatement","src":"4125:31:6"},{"expression":{"hexValue":"74727565","id":768,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4173:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":756,"id":769,"nodeType":"Return","src":"4166:11:6"}]},"documentation":{"id":748,"nodeType":"StructuredDocumentation","src":"3697:296:6","text":" @dev See {IERC20-approve}.\n NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n `transferFrom`. This is semantically equivalent to an infinite approval.\n Requirements:\n - `spender` cannot be the zero address."},"functionSelector":"095ea7b3","id":771,"implemented":true,"kind":"function","modifiers":[],"name":"approve","nameLocation":"4007:7:6","nodeType":"FunctionDefinition","parameters":{"id":753,"nodeType":"ParameterList","parameters":[{"constant":false,"id":750,"mutability":"mutable","name":"spender","nameLocation":"4023:7:6","nodeType":"VariableDeclaration","scope":771,"src":"4015:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":749,"name":"address","nodeType":"ElementaryTypeName","src":"4015:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":752,"mutability":"mutable","name":"value","nameLocation":"4040:5:6","nodeType":"VariableDeclaration","scope":771,"src":"4032:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":751,"name":"uint256","nodeType":"ElementaryTypeName","src":"4032:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4014:32:6"},"returnParameters":{"id":756,"nodeType":"ParameterList","parameters":[{"constant":false,"id":755,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":771,"src":"4071:4:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":754,"name":"bool","nodeType":"ElementaryTypeName","src":"4071:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4070:6:6"},"scope":1120,"src":"3998:186:6","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[1197],"body":{"id":802,"nodeType":"Block","src":"4869:151:6","statements":[{"assignments":[784],"declarations":[{"constant":false,"id":784,"mutability":"mutable","name":"spender","nameLocation":"4887:7:6","nodeType":"VariableDeclaration","scope":802,"src":"4879:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":783,"name":"address","nodeType":"ElementaryTypeName","src":"4879:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":787,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":785,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1906,"src":"4897:10:6","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":786,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4897:12:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"4879:30:6"},{"expression":{"arguments":[{"id":789,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":774,"src":"4935:4:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":790,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":784,"src":"4941:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":791,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":778,"src":"4950:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":788,"name":"_spendAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1119,"src":"4919:15:6","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":792,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4919:37:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":793,"nodeType":"ExpressionStatement","src":"4919:37:6"},{"expression":{"arguments":[{"id":795,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":774,"src":"4976:4:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":796,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":776,"src":"4982:2:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":797,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":778,"src":"4986:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":794,"name":"_transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":850,"src":"4966:9:6","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":798,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4966:26:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":799,"nodeType":"ExpressionStatement","src":"4966:26:6"},{"expression":{"hexValue":"74727565","id":800,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5009:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":782,"id":801,"nodeType":"Return","src":"5002:11:6"}]},"documentation":{"id":772,"nodeType":"StructuredDocumentation","src":"4190:581:6","text":" @dev See {IERC20-transferFrom}.\n Skips emitting an {Approval} event indicating an allowance update. This is not\n required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n NOTE: Does not update the allowance if the current allowance\n is the maximum `uint256`.\n Requirements:\n - `from` and `to` cannot be the zero address.\n - `from` must have a balance of at least `value`.\n - the caller must have allowance for ``from``'s tokens of at least\n `value`."},"functionSelector":"23b872dd","id":803,"implemented":true,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"4785:12:6","nodeType":"FunctionDefinition","parameters":{"id":779,"nodeType":"ParameterList","parameters":[{"constant":false,"id":774,"mutability":"mutable","name":"from","nameLocation":"4806:4:6","nodeType":"VariableDeclaration","scope":803,"src":"4798:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":773,"name":"address","nodeType":"ElementaryTypeName","src":"4798:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":776,"mutability":"mutable","name":"to","nameLocation":"4820:2:6","nodeType":"VariableDeclaration","scope":803,"src":"4812:10:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":775,"name":"address","nodeType":"ElementaryTypeName","src":"4812:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":778,"mutability":"mutable","name":"value","nameLocation":"4832:5:6","nodeType":"VariableDeclaration","scope":803,"src":"4824:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":777,"name":"uint256","nodeType":"ElementaryTypeName","src":"4824:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4797:41:6"},"returnParameters":{"id":782,"nodeType":"ParameterList","parameters":[{"constant":false,"id":781,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":803,"src":"4863:4:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":780,"name":"bool","nodeType":"ElementaryTypeName","src":"4863:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4862:6:6"},"scope":1120,"src":"4776:244:6","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":849,"nodeType":"Block","src":"5462:231:6","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":818,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":813,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":806,"src":"5476:4:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":816,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5492:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":815,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5484:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":814,"name":"address","nodeType":"ElementaryTypeName","src":"5484:7:6","typeDescriptions":{}}},"id":817,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5484:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5476:18:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":827,"nodeType":"IfStatement","src":"5472:86:6","trueBody":{"id":826,"nodeType":"Block","src":"5496:62:6","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":822,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5544:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":821,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5536:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":820,"name":"address","nodeType":"ElementaryTypeName","src":"5536:7:6","typeDescriptions":{}}},"id":823,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5536:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":819,"name":"ERC20InvalidSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":485,"src":"5517:18:6","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":824,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5517:30:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":825,"nodeType":"RevertStatement","src":"5510:37:6"}]}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":833,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":828,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":808,"src":"5571:2:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":831,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5585:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":830,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5577:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":829,"name":"address","nodeType":"ElementaryTypeName","src":"5577:7:6","typeDescriptions":{}}},"id":832,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5577:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5571:16:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":842,"nodeType":"IfStatement","src":"5567:86:6","trueBody":{"id":841,"nodeType":"Block","src":"5589:64:6","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":837,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5639:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":836,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5631:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":835,"name":"address","nodeType":"ElementaryTypeName","src":"5631:7:6","typeDescriptions":{}}},"id":838,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5631:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":834,"name":"ERC20InvalidReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":490,"src":"5610:20:6","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":839,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5610:32:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":840,"nodeType":"RevertStatement","src":"5603:39:6"}]}},{"expression":{"arguments":[{"id":844,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":806,"src":"5670:4:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":845,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":808,"src":"5676:2:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":846,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":810,"src":"5680:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":843,"name":"_update","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":927,"src":"5662:7:6","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":847,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5662:24:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":848,"nodeType":"ExpressionStatement","src":"5662:24:6"}]},"documentation":{"id":804,"nodeType":"StructuredDocumentation","src":"5026:362:6","text":" @dev Moves a `value` amount of tokens from `from` to `to`.\n This internal function is equivalent to {transfer}, and can be used to\n e.g. implement automatic token fees, slashing mechanisms, etc.\n Emits a {Transfer} event.\n NOTE: This function is not virtual, {_update} should be overridden instead."},"id":850,"implemented":true,"kind":"function","modifiers":[],"name":"_transfer","nameLocation":"5402:9:6","nodeType":"FunctionDefinition","parameters":{"id":811,"nodeType":"ParameterList","parameters":[{"constant":false,"id":806,"mutability":"mutable","name":"from","nameLocation":"5420:4:6","nodeType":"VariableDeclaration","scope":850,"src":"5412:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":805,"name":"address","nodeType":"ElementaryTypeName","src":"5412:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":808,"mutability":"mutable","name":"to","nameLocation":"5434:2:6","nodeType":"VariableDeclaration","scope":850,"src":"5426:10:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":807,"name":"address","nodeType":"ElementaryTypeName","src":"5426:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":810,"mutability":"mutable","name":"value","nameLocation":"5446:5:6","nodeType":"VariableDeclaration","scope":850,"src":"5438:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":809,"name":"uint256","nodeType":"ElementaryTypeName","src":"5438:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5411:41:6"},"returnParameters":{"id":812,"nodeType":"ParameterList","parameters":[],"src":"5462:0:6"},"scope":1120,"src":"5393:300:6","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":926,"nodeType":"Block","src":"6083:1032:6","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":865,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":860,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":853,"src":"6097:4:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":863,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6113:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":862,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6105:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":861,"name":"address","nodeType":"ElementaryTypeName","src":"6105:7:6","typeDescriptions":{}}},"id":864,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6105:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6097:18:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":897,"nodeType":"Block","src":"6271:362:6","statements":[{"assignments":[872],"declarations":[{"constant":false,"id":872,"mutability":"mutable","name":"fromBalance","nameLocation":"6293:11:6","nodeType":"VariableDeclaration","scope":897,"src":"6285:19:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":871,"name":"uint256","nodeType":"ElementaryTypeName","src":"6285:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":876,"initialValue":{"baseExpression":{"id":873,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":628,"src":"6307:9:6","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":875,"indexExpression":{"id":874,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":853,"src":"6317:4:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6307:15:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6285:37:6"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":879,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":877,"name":"fromBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":872,"src":"6340:11:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":878,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":857,"src":"6354:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6340:19:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":887,"nodeType":"IfStatement","src":"6336:115:6","trueBody":{"id":886,"nodeType":"Block","src":"6361:90:6","statements":[{"errorCall":{"arguments":[{"id":881,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":853,"src":"6411:4:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":882,"name":"fromBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":872,"src":"6417:11:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":883,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":857,"src":"6430:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":880,"name":"ERC20InsufficientBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":480,"src":"6386:24:6","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (address,uint256,uint256) pure returns (error)"}},"id":884,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6386:50:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":885,"nodeType":"RevertStatement","src":"6379:57:6"}]}},{"id":896,"nodeType":"UncheckedBlock","src":"6464:159:6","statements":[{"expression":{"id":894,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":888,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":628,"src":"6571:9:6","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":890,"indexExpression":{"id":889,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":853,"src":"6581:4:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6571:15:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":893,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":891,"name":"fromBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":872,"src":"6589:11:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":892,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":857,"src":"6603:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6589:19:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6571:37:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":895,"nodeType":"ExpressionStatement","src":"6571:37:6"}]}]},"id":898,"nodeType":"IfStatement","src":"6093:540:6","trueBody":{"id":870,"nodeType":"Block","src":"6117:148:6","statements":[{"expression":{"id":868,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":866,"name":"_totalSupply","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":636,"src":"6233:12:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":867,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":857,"src":"6249:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6233:21:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":869,"nodeType":"ExpressionStatement","src":"6233:21:6"}]}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":904,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":899,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":855,"src":"6647:2:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":902,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6661:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":901,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6653:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":900,"name":"address","nodeType":"ElementaryTypeName","src":"6653:7:6","typeDescriptions":{}}},"id":903,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6653:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6647:16:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":918,"nodeType":"Block","src":"6862:206:6","statements":[{"id":917,"nodeType":"UncheckedBlock","src":"6876:182:6","statements":[{"expression":{"id":915,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":911,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":628,"src":"7021:9:6","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":913,"indexExpression":{"id":912,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":855,"src":"7031:2:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7021:13:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":914,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":857,"src":"7038:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7021:22:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":916,"nodeType":"ExpressionStatement","src":"7021:22:6"}]}]},"id":919,"nodeType":"IfStatement","src":"6643:425:6","trueBody":{"id":910,"nodeType":"Block","src":"6665:191:6","statements":[{"id":909,"nodeType":"UncheckedBlock","src":"6679:167:6","statements":[{"expression":{"id":907,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":905,"name":"_totalSupply","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":636,"src":"6810:12:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":906,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":857,"src":"6826:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6810:21:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":908,"nodeType":"ExpressionStatement","src":"6810:21:6"}]}]}},{"eventCall":{"arguments":[{"id":921,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":853,"src":"7092:4:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":922,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":855,"src":"7098:2:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":923,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":857,"src":"7102:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":920,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1132,"src":"7083:8:6","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":924,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7083:25:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":925,"nodeType":"EmitStatement","src":"7078:30:6"}]},"documentation":{"id":851,"nodeType":"StructuredDocumentation","src":"5699:304:6","text":" @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n this function.\n Emits a {Transfer} event."},"id":927,"implemented":true,"kind":"function","modifiers":[],"name":"_update","nameLocation":"6017:7:6","nodeType":"FunctionDefinition","parameters":{"id":858,"nodeType":"ParameterList","parameters":[{"constant":false,"id":853,"mutability":"mutable","name":"from","nameLocation":"6033:4:6","nodeType":"VariableDeclaration","scope":927,"src":"6025:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":852,"name":"address","nodeType":"ElementaryTypeName","src":"6025:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":855,"mutability":"mutable","name":"to","nameLocation":"6047:2:6","nodeType":"VariableDeclaration","scope":927,"src":"6039:10:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":854,"name":"address","nodeType":"ElementaryTypeName","src":"6039:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":857,"mutability":"mutable","name":"value","nameLocation":"6059:5:6","nodeType":"VariableDeclaration","scope":927,"src":"6051:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":856,"name":"uint256","nodeType":"ElementaryTypeName","src":"6051:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6024:41:6"},"returnParameters":{"id":859,"nodeType":"ParameterList","parameters":[],"src":"6083:0:6"},"scope":1120,"src":"6008:1107:6","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":959,"nodeType":"Block","src":"7514:152:6","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":940,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":935,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":930,"src":"7528:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":938,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7547:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":937,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7539:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":936,"name":"address","nodeType":"ElementaryTypeName","src":"7539:7:6","typeDescriptions":{}}},"id":939,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7539:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7528:21:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":949,"nodeType":"IfStatement","src":"7524:91:6","trueBody":{"id":948,"nodeType":"Block","src":"7551:64:6","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":944,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7601:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":943,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7593:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":942,"name":"address","nodeType":"ElementaryTypeName","src":"7593:7:6","typeDescriptions":{}}},"id":945,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7593:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":941,"name":"ERC20InvalidReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":490,"src":"7572:20:6","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":946,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7572:32:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":947,"nodeType":"RevertStatement","src":"7565:39:6"}]}},{"expression":{"arguments":[{"arguments":[{"hexValue":"30","id":953,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7640:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":952,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7632:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":951,"name":"address","nodeType":"ElementaryTypeName","src":"7632:7:6","typeDescriptions":{}}},"id":954,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7632:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":955,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":930,"src":"7644:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":956,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":932,"src":"7653:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":950,"name":"_update","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":927,"src":"7624:7:6","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":957,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7624:35:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":958,"nodeType":"ExpressionStatement","src":"7624:35:6"}]},"documentation":{"id":928,"nodeType":"StructuredDocumentation","src":"7121:332:6","text":" @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n Relies on the `_update` mechanism\n Emits a {Transfer} event with `from` set to the zero address.\n NOTE: This function is not virtual, {_update} should be overridden instead."},"id":960,"implemented":true,"kind":"function","modifiers":[],"name":"_mint","nameLocation":"7467:5:6","nodeType":"FunctionDefinition","parameters":{"id":933,"nodeType":"ParameterList","parameters":[{"constant":false,"id":930,"mutability":"mutable","name":"account","nameLocation":"7481:7:6","nodeType":"VariableDeclaration","scope":960,"src":"7473:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":929,"name":"address","nodeType":"ElementaryTypeName","src":"7473:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":932,"mutability":"mutable","name":"value","nameLocation":"7498:5:6","nodeType":"VariableDeclaration","scope":960,"src":"7490:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":931,"name":"uint256","nodeType":"ElementaryTypeName","src":"7490:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7472:32:6"},"returnParameters":{"id":934,"nodeType":"ParameterList","parameters":[],"src":"7514:0:6"},"scope":1120,"src":"7458:208:6","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":992,"nodeType":"Block","src":"8040:150:6","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":973,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":968,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":963,"src":"8054:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":971,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8073:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":970,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8065:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":969,"name":"address","nodeType":"ElementaryTypeName","src":"8065:7:6","typeDescriptions":{}}},"id":972,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8065:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8054:21:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":982,"nodeType":"IfStatement","src":"8050:89:6","trueBody":{"id":981,"nodeType":"Block","src":"8077:62:6","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":977,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8125:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":976,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8117:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":975,"name":"address","nodeType":"ElementaryTypeName","src":"8117:7:6","typeDescriptions":{}}},"id":978,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8117:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":974,"name":"ERC20InvalidSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":485,"src":"8098:18:6","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":979,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8098:30:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":980,"nodeType":"RevertStatement","src":"8091:37:6"}]}},{"expression":{"arguments":[{"id":984,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":963,"src":"8156:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":987,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8173:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":986,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8165:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":985,"name":"address","nodeType":"ElementaryTypeName","src":"8165:7:6","typeDescriptions":{}}},"id":988,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8165:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":989,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":965,"src":"8177:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":983,"name":"_update","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":927,"src":"8148:7:6","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":990,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8148:35:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":991,"nodeType":"ExpressionStatement","src":"8148:35:6"}]},"documentation":{"id":961,"nodeType":"StructuredDocumentation","src":"7672:307:6","text":" @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n Relies on the `_update` mechanism.\n Emits a {Transfer} event with `to` set to the zero address.\n NOTE: This function is not virtual, {_update} should be overridden instead"},"id":993,"implemented":true,"kind":"function","modifiers":[],"name":"_burn","nameLocation":"7993:5:6","nodeType":"FunctionDefinition","parameters":{"id":966,"nodeType":"ParameterList","parameters":[{"constant":false,"id":963,"mutability":"mutable","name":"account","nameLocation":"8007:7:6","nodeType":"VariableDeclaration","scope":993,"src":"7999:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":962,"name":"address","nodeType":"ElementaryTypeName","src":"7999:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":965,"mutability":"mutable","name":"value","nameLocation":"8024:5:6","nodeType":"VariableDeclaration","scope":993,"src":"8016:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":964,"name":"uint256","nodeType":"ElementaryTypeName","src":"8016:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7998:32:6"},"returnParameters":{"id":967,"nodeType":"ParameterList","parameters":[],"src":"8040:0:6"},"scope":1120,"src":"7984:206:6","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1010,"nodeType":"Block","src":"8800:54:6","statements":[{"expression":{"arguments":[{"id":1004,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":996,"src":"8819:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1005,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":998,"src":"8826:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1006,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1000,"src":"8835:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"74727565","id":1007,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"8842:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":1003,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[1011,1071],"referencedDeclaration":1071,"src":"8810:8:6","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bool_$returns$__$","typeString":"function (address,address,uint256,bool)"}},"id":1008,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8810:37:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1009,"nodeType":"ExpressionStatement","src":"8810:37:6"}]},"documentation":{"id":994,"nodeType":"StructuredDocumentation","src":"8196:525:6","text":" @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n This internal function is equivalent to `approve`, and can be used to\n e.g. set automatic allowances for certain subsystems, etc.\n Emits an {Approval} event.\n Requirements:\n - `owner` cannot be the zero address.\n - `spender` cannot be the zero address.\n Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument."},"id":1011,"implemented":true,"kind":"function","modifiers":[],"name":"_approve","nameLocation":"8735:8:6","nodeType":"FunctionDefinition","parameters":{"id":1001,"nodeType":"ParameterList","parameters":[{"constant":false,"id":996,"mutability":"mutable","name":"owner","nameLocation":"8752:5:6","nodeType":"VariableDeclaration","scope":1011,"src":"8744:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":995,"name":"address","nodeType":"ElementaryTypeName","src":"8744:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":998,"mutability":"mutable","name":"spender","nameLocation":"8767:7:6","nodeType":"VariableDeclaration","scope":1011,"src":"8759:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":997,"name":"address","nodeType":"ElementaryTypeName","src":"8759:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1000,"mutability":"mutable","name":"value","nameLocation":"8784:5:6","nodeType":"VariableDeclaration","scope":1011,"src":"8776:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":999,"name":"uint256","nodeType":"ElementaryTypeName","src":"8776:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8743:47:6"},"returnParameters":{"id":1002,"nodeType":"ParameterList","parameters":[],"src":"8800:0:6"},"scope":1120,"src":"8726:128:6","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1070,"nodeType":"Block","src":"9799:334:6","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1028,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1023,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1014,"src":"9813:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":1026,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9830:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":1025,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9822:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1024,"name":"address","nodeType":"ElementaryTypeName","src":"9822:7:6","typeDescriptions":{}}},"id":1027,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9822:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9813:19:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1037,"nodeType":"IfStatement","src":"9809:89:6","trueBody":{"id":1036,"nodeType":"Block","src":"9834:64:6","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":1032,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9884:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":1031,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9876:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1030,"name":"address","nodeType":"ElementaryTypeName","src":"9876:7:6","typeDescriptions":{}}},"id":1033,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9876:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1029,"name":"ERC20InvalidApprover","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":504,"src":"9855:20:6","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":1034,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9855:32:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1035,"nodeType":"RevertStatement","src":"9848:39:6"}]}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1043,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1038,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1016,"src":"9911:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":1041,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9930:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":1040,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9922:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1039,"name":"address","nodeType":"ElementaryTypeName","src":"9922:7:6","typeDescriptions":{}}},"id":1042,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9922:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9911:21:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1052,"nodeType":"IfStatement","src":"9907:90:6","trueBody":{"id":1051,"nodeType":"Block","src":"9934:63:6","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":1047,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9983:1:6","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":1046,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9975:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1045,"name":"address","nodeType":"ElementaryTypeName","src":"9975:7:6","typeDescriptions":{}}},"id":1048,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9975:10:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1044,"name":"ERC20InvalidSpender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":509,"src":"9955:19:6","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":1049,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9955:31:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1050,"nodeType":"RevertStatement","src":"9948:38:6"}]}},{"expression":{"id":1059,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":1053,"name":"_allowances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":634,"src":"10006:11:6","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":1056,"indexExpression":{"id":1054,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1014,"src":"10018:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"10006:18:6","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":1057,"indexExpression":{"id":1055,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1016,"src":"10025:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10006:27:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1058,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1018,"src":"10036:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10006:35:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1060,"nodeType":"ExpressionStatement","src":"10006:35:6"},{"condition":{"id":1061,"name":"emitEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1020,"src":"10055:9:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1069,"nodeType":"IfStatement","src":"10051:76:6","trueBody":{"id":1068,"nodeType":"Block","src":"10066:61:6","statements":[{"eventCall":{"arguments":[{"id":1063,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1014,"src":"10094:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1064,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1016,"src":"10101:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1065,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1018,"src":"10110:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1062,"name":"Approval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1141,"src":"10085:8:6","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":1066,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10085:31:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1067,"nodeType":"EmitStatement","src":"10080:36:6"}]}}]},"documentation":{"id":1012,"nodeType":"StructuredDocumentation","src":"8860:836:6","text":" @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n `Approval` event during `transferFrom` operations.\n Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n true using the following override:\n ```solidity\n function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     super._approve(owner, spender, value, true);\n }\n ```\n Requirements are the same as {_approve}."},"id":1071,"implemented":true,"kind":"function","modifiers":[],"name":"_approve","nameLocation":"9710:8:6","nodeType":"FunctionDefinition","parameters":{"id":1021,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1014,"mutability":"mutable","name":"owner","nameLocation":"9727:5:6","nodeType":"VariableDeclaration","scope":1071,"src":"9719:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1013,"name":"address","nodeType":"ElementaryTypeName","src":"9719:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1016,"mutability":"mutable","name":"spender","nameLocation":"9742:7:6","nodeType":"VariableDeclaration","scope":1071,"src":"9734:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1015,"name":"address","nodeType":"ElementaryTypeName","src":"9734:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1018,"mutability":"mutable","name":"value","nameLocation":"9759:5:6","nodeType":"VariableDeclaration","scope":1071,"src":"9751:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1017,"name":"uint256","nodeType":"ElementaryTypeName","src":"9751:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1020,"mutability":"mutable","name":"emitEvent","nameLocation":"9771:9:6","nodeType":"VariableDeclaration","scope":1071,"src":"9766:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1019,"name":"bool","nodeType":"ElementaryTypeName","src":"9766:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"9718:63:6"},"returnParameters":{"id":1022,"nodeType":"ParameterList","parameters":[],"src":"9799:0:6"},"scope":1120,"src":"9701:432:6","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1118,"nodeType":"Block","src":"10504:388:6","statements":[{"assignments":[1082],"declarations":[{"constant":false,"id":1082,"mutability":"mutable","name":"currentAllowance","nameLocation":"10522:16:6","nodeType":"VariableDeclaration","scope":1118,"src":"10514:24:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1081,"name":"uint256","nodeType":"ElementaryTypeName","src":"10514:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1087,"initialValue":{"arguments":[{"id":1084,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1074,"src":"10551:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1085,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1076,"src":"10558:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":1083,"name":"allowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":747,"src":"10541:9:6","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_address_$returns$_t_uint256_$","typeString":"function (address,address) view returns (uint256)"}},"id":1086,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10541:25:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"10514:52:6"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1094,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1088,"name":"currentAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1082,"src":"10580:16:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"arguments":[{"id":1091,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10605:7:6","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":1090,"name":"uint256","nodeType":"ElementaryTypeName","src":"10605:7:6","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"}],"id":1089,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"10600:4:6","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":1092,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10600:13:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint256","typeString":"type(uint256)"}},"id":1093,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10614:3:6","memberName":"max","nodeType":"MemberAccess","src":"10600:17:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10580:37:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1117,"nodeType":"IfStatement","src":"10576:310:6","trueBody":{"id":1116,"nodeType":"Block","src":"10619:267:6","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1097,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1095,"name":"currentAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1082,"src":"10637:16:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":1096,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1078,"src":"10656:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10637:24:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1105,"nodeType":"IfStatement","src":"10633:130:6","trueBody":{"id":1104,"nodeType":"Block","src":"10663:100:6","statements":[{"errorCall":{"arguments":[{"id":1099,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1076,"src":"10715:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1100,"name":"currentAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1082,"src":"10724:16:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1101,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1078,"src":"10742:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1098,"name":"ERC20InsufficientAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":499,"src":"10688:26:6","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (address,uint256,uint256) pure returns (error)"}},"id":1102,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10688:60:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1103,"nodeType":"RevertStatement","src":"10681:67:6"}]}},{"id":1115,"nodeType":"UncheckedBlock","src":"10776:100:6","statements":[{"expression":{"arguments":[{"id":1107,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1074,"src":"10813:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1108,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1076,"src":"10820:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1111,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1109,"name":"currentAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1082,"src":"10829:16:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":1110,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1078,"src":"10848:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10829:24:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"66616c7365","id":1112,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"10855:5:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":1106,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[1011,1071],"referencedDeclaration":1071,"src":"10804:8:6","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bool_$returns$__$","typeString":"function (address,address,uint256,bool)"}},"id":1113,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10804:57:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1114,"nodeType":"ExpressionStatement","src":"10804:57:6"}]}]}}]},"documentation":{"id":1072,"nodeType":"StructuredDocumentation","src":"10139:271:6","text":" @dev Updates `owner` s allowance for `spender` based on spent `value`.\n Does not update the allowance value in case of infinite allowance.\n Revert if not enough allowance is available.\n Does not emit an {Approval} event."},"id":1119,"implemented":true,"kind":"function","modifiers":[],"name":"_spendAllowance","nameLocation":"10424:15:6","nodeType":"FunctionDefinition","parameters":{"id":1079,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1074,"mutability":"mutable","name":"owner","nameLocation":"10448:5:6","nodeType":"VariableDeclaration","scope":1119,"src":"10440:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1073,"name":"address","nodeType":"ElementaryTypeName","src":"10440:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1076,"mutability":"mutable","name":"spender","nameLocation":"10463:7:6","nodeType":"VariableDeclaration","scope":1119,"src":"10455:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1075,"name":"address","nodeType":"ElementaryTypeName","src":"10455:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1078,"mutability":"mutable","name":"value","nameLocation":"10480:5:6","nodeType":"VariableDeclaration","scope":1119,"src":"10472:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1077,"name":"uint256","nodeType":"ElementaryTypeName","src":"10472:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10439:47:6"},"returnParameters":{"id":1080,"nodeType":"ParameterList","parameters":[],"src":"10504:0:6"},"scope":1120,"src":"10415:477:6","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":1121,"src":"1106:9788:6","usedErrors":[480,485,490,499,504,509],"usedEvents":[1132,1141]}],"src":"105:10790:6"},"id":6},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","exportedSymbols":{"IERC20":[1198]},"id":1199,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1122,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"106:24:7"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC20","contractDependencies":[],"contractKind":"interface","documentation":{"id":1123,"nodeType":"StructuredDocumentation","src":"132:71:7","text":" @dev Interface of the ERC-20 standard as defined in the ERC."},"fullyImplemented":false,"id":1198,"linearizedBaseContracts":[1198],"name":"IERC20","nameLocation":"214:6:7","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":1124,"nodeType":"StructuredDocumentation","src":"227:158:7","text":" @dev Emitted when `value` tokens are moved from one account (`from`) to\n another (`to`).\n Note that `value` may be zero."},"eventSelector":"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","id":1132,"name":"Transfer","nameLocation":"396:8:7","nodeType":"EventDefinition","parameters":{"id":1131,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1126,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"421:4:7","nodeType":"VariableDeclaration","scope":1132,"src":"405:20:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1125,"name":"address","nodeType":"ElementaryTypeName","src":"405:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1128,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"443:2:7","nodeType":"VariableDeclaration","scope":1132,"src":"427:18:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1127,"name":"address","nodeType":"ElementaryTypeName","src":"427:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1130,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"455:5:7","nodeType":"VariableDeclaration","scope":1132,"src":"447:13:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1129,"name":"uint256","nodeType":"ElementaryTypeName","src":"447:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"404:57:7"},"src":"390:72:7"},{"anonymous":false,"documentation":{"id":1133,"nodeType":"StructuredDocumentation","src":"468:148:7","text":" @dev Emitted when the allowance of a `spender` for an `owner` is set by\n a call to {approve}. `value` is the new allowance."},"eventSelector":"8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","id":1141,"name":"Approval","nameLocation":"627:8:7","nodeType":"EventDefinition","parameters":{"id":1140,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1135,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"652:5:7","nodeType":"VariableDeclaration","scope":1141,"src":"636:21:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1134,"name":"address","nodeType":"ElementaryTypeName","src":"636:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1137,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"675:7:7","nodeType":"VariableDeclaration","scope":1141,"src":"659:23:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1136,"name":"address","nodeType":"ElementaryTypeName","src":"659:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1139,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"692:5:7","nodeType":"VariableDeclaration","scope":1141,"src":"684:13:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1138,"name":"uint256","nodeType":"ElementaryTypeName","src":"684:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"635:63:7"},"src":"621:78:7"},{"documentation":{"id":1142,"nodeType":"StructuredDocumentation","src":"705:65:7","text":" @dev Returns the value of tokens in existence."},"functionSelector":"18160ddd","id":1147,"implemented":false,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"784:11:7","nodeType":"FunctionDefinition","parameters":{"id":1143,"nodeType":"ParameterList","parameters":[],"src":"795:2:7"},"returnParameters":{"id":1146,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1145,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1147,"src":"821:7:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1144,"name":"uint256","nodeType":"ElementaryTypeName","src":"821:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"820:9:7"},"scope":1198,"src":"775:55:7","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1148,"nodeType":"StructuredDocumentation","src":"836:71:7","text":" @dev Returns the value of tokens owned by `account`."},"functionSelector":"70a08231","id":1155,"implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"921:9:7","nodeType":"FunctionDefinition","parameters":{"id":1151,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1150,"mutability":"mutable","name":"account","nameLocation":"939:7:7","nodeType":"VariableDeclaration","scope":1155,"src":"931:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1149,"name":"address","nodeType":"ElementaryTypeName","src":"931:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"930:17:7"},"returnParameters":{"id":1154,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1153,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1155,"src":"971:7:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1152,"name":"uint256","nodeType":"ElementaryTypeName","src":"971:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"970:9:7"},"scope":1198,"src":"912:68:7","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1156,"nodeType":"StructuredDocumentation","src":"986:213:7","text":" @dev Moves a `value` amount of tokens from the caller's account to `to`.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event."},"functionSelector":"a9059cbb","id":1165,"implemented":false,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"1213:8:7","nodeType":"FunctionDefinition","parameters":{"id":1161,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1158,"mutability":"mutable","name":"to","nameLocation":"1230:2:7","nodeType":"VariableDeclaration","scope":1165,"src":"1222:10:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1157,"name":"address","nodeType":"ElementaryTypeName","src":"1222:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1160,"mutability":"mutable","name":"value","nameLocation":"1242:5:7","nodeType":"VariableDeclaration","scope":1165,"src":"1234:13:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1159,"name":"uint256","nodeType":"ElementaryTypeName","src":"1234:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1221:27:7"},"returnParameters":{"id":1164,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1163,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1165,"src":"1267:4:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1162,"name":"bool","nodeType":"ElementaryTypeName","src":"1267:4:7","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1266:6:7"},"scope":1198,"src":"1204:69:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1166,"nodeType":"StructuredDocumentation","src":"1279:264:7","text":" @dev Returns the remaining number of tokens that `spender` will be\n allowed to spend on behalf of `owner` through {transferFrom}. This is\n zero by default.\n This value changes when {approve} or {transferFrom} are called."},"functionSelector":"dd62ed3e","id":1175,"implemented":false,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"1557:9:7","nodeType":"FunctionDefinition","parameters":{"id":1171,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1168,"mutability":"mutable","name":"owner","nameLocation":"1575:5:7","nodeType":"VariableDeclaration","scope":1175,"src":"1567:13:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1167,"name":"address","nodeType":"ElementaryTypeName","src":"1567:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1170,"mutability":"mutable","name":"spender","nameLocation":"1590:7:7","nodeType":"VariableDeclaration","scope":1175,"src":"1582:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1169,"name":"address","nodeType":"ElementaryTypeName","src":"1582:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1566:32:7"},"returnParameters":{"id":1174,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1173,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1175,"src":"1622:7:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1172,"name":"uint256","nodeType":"ElementaryTypeName","src":"1622:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1621:9:7"},"scope":1198,"src":"1548:83:7","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1176,"nodeType":"StructuredDocumentation","src":"1637:667:7","text":" @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n caller's tokens.\n Returns a boolean value indicating whether the operation succeeded.\n IMPORTANT: Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n Emits an {Approval} event."},"functionSelector":"095ea7b3","id":1185,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"2318:7:7","nodeType":"FunctionDefinition","parameters":{"id":1181,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1178,"mutability":"mutable","name":"spender","nameLocation":"2334:7:7","nodeType":"VariableDeclaration","scope":1185,"src":"2326:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1177,"name":"address","nodeType":"ElementaryTypeName","src":"2326:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1180,"mutability":"mutable","name":"value","nameLocation":"2351:5:7","nodeType":"VariableDeclaration","scope":1185,"src":"2343:13:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1179,"name":"uint256","nodeType":"ElementaryTypeName","src":"2343:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2325:32:7"},"returnParameters":{"id":1184,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1183,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1185,"src":"2376:4:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1182,"name":"bool","nodeType":"ElementaryTypeName","src":"2376:4:7","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2375:6:7"},"scope":1198,"src":"2309:73:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1186,"nodeType":"StructuredDocumentation","src":"2388:297:7","text":" @dev Moves a `value` amount of tokens from `from` to `to` using the\n allowance mechanism. `value` is then deducted from the caller's\n allowance.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event."},"functionSelector":"23b872dd","id":1197,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"2699:12:7","nodeType":"FunctionDefinition","parameters":{"id":1193,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1188,"mutability":"mutable","name":"from","nameLocation":"2720:4:7","nodeType":"VariableDeclaration","scope":1197,"src":"2712:12:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1187,"name":"address","nodeType":"ElementaryTypeName","src":"2712:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1190,"mutability":"mutable","name":"to","nameLocation":"2734:2:7","nodeType":"VariableDeclaration","scope":1197,"src":"2726:10:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1189,"name":"address","nodeType":"ElementaryTypeName","src":"2726:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1192,"mutability":"mutable","name":"value","nameLocation":"2746:5:7","nodeType":"VariableDeclaration","scope":1197,"src":"2738:13:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1191,"name":"uint256","nodeType":"ElementaryTypeName","src":"2738:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2711:41:7"},"returnParameters":{"id":1196,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1195,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1197,"src":"2771:4:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1194,"name":"bool","nodeType":"ElementaryTypeName","src":"2771:4:7","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2770:6:7"},"scope":1198,"src":"2690:87:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1199,"src":"204:2575:7","usedErrors":[],"usedEvents":[1132,1141]}],"src":"106:2674:7"},"id":7},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol","exportedSymbols":{"IERC20":[1198],"IERC20Metadata":[1224]},"id":1225,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1200,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"125:24:8"},{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","file":"../IERC20.sol","id":1202,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1225,"sourceUnit":1199,"src":"151:37:8","symbolAliases":[{"foreign":{"id":1201,"name":"IERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1198,"src":"159:6:8","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":1204,"name":"IERC20","nameLocations":["306:6:8"],"nodeType":"IdentifierPath","referencedDeclaration":1198,"src":"306:6:8"},"id":1205,"nodeType":"InheritanceSpecifier","src":"306:6:8"}],"canonicalName":"IERC20Metadata","contractDependencies":[],"contractKind":"interface","documentation":{"id":1203,"nodeType":"StructuredDocumentation","src":"190:87:8","text":" @dev Interface for the optional metadata functions from the ERC-20 standard."},"fullyImplemented":false,"id":1224,"linearizedBaseContracts":[1224,1198],"name":"IERC20Metadata","nameLocation":"288:14:8","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1206,"nodeType":"StructuredDocumentation","src":"319:54:8","text":" @dev Returns the name of the token."},"functionSelector":"06fdde03","id":1211,"implemented":false,"kind":"function","modifiers":[],"name":"name","nameLocation":"387:4:8","nodeType":"FunctionDefinition","parameters":{"id":1207,"nodeType":"ParameterList","parameters":[],"src":"391:2:8"},"returnParameters":{"id":1210,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1209,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1211,"src":"417:13:8","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1208,"name":"string","nodeType":"ElementaryTypeName","src":"417:6:8","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"416:15:8"},"scope":1224,"src":"378:54:8","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1212,"nodeType":"StructuredDocumentation","src":"438:56:8","text":" @dev Returns the symbol of the token."},"functionSelector":"95d89b41","id":1217,"implemented":false,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"508:6:8","nodeType":"FunctionDefinition","parameters":{"id":1213,"nodeType":"ParameterList","parameters":[],"src":"514:2:8"},"returnParameters":{"id":1216,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1215,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1217,"src":"540:13:8","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1214,"name":"string","nodeType":"ElementaryTypeName","src":"540:6:8","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"539:15:8"},"scope":1224,"src":"499:56:8","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1218,"nodeType":"StructuredDocumentation","src":"561:65:8","text":" @dev Returns the decimals places of the token."},"functionSelector":"313ce567","id":1223,"implemented":false,"kind":"function","modifiers":[],"name":"decimals","nameLocation":"640:8:8","nodeType":"FunctionDefinition","parameters":{"id":1219,"nodeType":"ParameterList","parameters":[],"src":"648:2:8"},"returnParameters":{"id":1222,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1221,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1223,"src":"674:5:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1220,"name":"uint8","nodeType":"ElementaryTypeName","src":"674:5:8","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"673:7:8"},"scope":1224,"src":"631:50:8","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1225,"src":"278:405:8","usedErrors":[],"usedEvents":[1132,1141]}],"src":"125:559:8"},"id":8},"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol","exportedSymbols":{"Address":[1894],"IERC1363":[460],"IERC20":[1198],"SafeERC20":[1635]},"id":1636,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1226,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"115:24:9"},{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","file":"../IERC20.sol","id":1228,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1636,"sourceUnit":1199,"src":"141:37:9","symbolAliases":[{"foreign":{"id":1227,"name":"IERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1198,"src":"149:6:9","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/interfaces/IERC1363.sol","file":"../../../interfaces/IERC1363.sol","id":1230,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1636,"sourceUnit":461,"src":"179:58:9","symbolAliases":[{"foreign":{"id":1229,"name":"IERC1363","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":460,"src":"187:8:9","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Address.sol","file":"../../../utils/Address.sol","id":1232,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1636,"sourceUnit":1895,"src":"238:51:9","symbolAliases":[{"foreign":{"id":1231,"name":"Address","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1894,"src":"246:7:9","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SafeERC20","contractDependencies":[],"contractKind":"library","documentation":{"id":1233,"nodeType":"StructuredDocumentation","src":"291:458:9","text":" @title SafeERC20\n @dev Wrappers around ERC-20 operations that throw on failure (when the token\n contract returns false). Tokens that return no value (and instead revert or\n throw on failure) are also supported, non-reverting calls are assumed to be\n successful.\n To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n which allows you to call the safe operations as `token.safeTransfer(...)`, etc."},"fullyImplemented":true,"id":1635,"linearizedBaseContracts":[1635],"name":"SafeERC20","nameLocation":"758:9:9","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1234,"nodeType":"StructuredDocumentation","src":"774:65:9","text":" @dev An operation with an ERC-20 token failed."},"errorSelector":"5274afe7","id":1238,"name":"SafeERC20FailedOperation","nameLocation":"850:24:9","nodeType":"ErrorDefinition","parameters":{"id":1237,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1236,"mutability":"mutable","name":"token","nameLocation":"883:5:9","nodeType":"VariableDeclaration","scope":1238,"src":"875:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1235,"name":"address","nodeType":"ElementaryTypeName","src":"875:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"874:15:9"},"src":"844:46:9"},{"documentation":{"id":1239,"nodeType":"StructuredDocumentation","src":"896:71:9","text":" @dev Indicates a failed `decreaseAllowance` request."},"errorSelector":"e570110f","id":1247,"name":"SafeERC20FailedDecreaseAllowance","nameLocation":"978:32:9","nodeType":"ErrorDefinition","parameters":{"id":1246,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1241,"mutability":"mutable","name":"spender","nameLocation":"1019:7:9","nodeType":"VariableDeclaration","scope":1247,"src":"1011:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1240,"name":"address","nodeType":"ElementaryTypeName","src":"1011:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1243,"mutability":"mutable","name":"currentAllowance","nameLocation":"1036:16:9","nodeType":"VariableDeclaration","scope":1247,"src":"1028:24:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1242,"name":"uint256","nodeType":"ElementaryTypeName","src":"1028:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1245,"mutability":"mutable","name":"requestedDecrease","nameLocation":"1062:17:9","nodeType":"VariableDeclaration","scope":1247,"src":"1054:25:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1244,"name":"uint256","nodeType":"ElementaryTypeName","src":"1054:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1010:70:9"},"src":"972:109:9"},{"body":{"id":1270,"nodeType":"Block","src":"1343:88:9","statements":[{"expression":{"arguments":[{"id":1259,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1251,"src":"1373:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},{"arguments":[{"expression":{"id":1262,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1251,"src":"1395:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"id":1263,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1401:8:9","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":1165,"src":"1395:14:9","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},{"components":[{"id":1264,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1253,"src":"1412:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1265,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1255,"src":"1416:5:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":1266,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1411:11:9","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_uint256_$","typeString":"tuple(address,uint256)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"},{"typeIdentifier":"t_tuple$_t_address_$_t_uint256_$","typeString":"tuple(address,uint256)"}],"expression":{"id":1260,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1380:3:9","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":1261,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1384:10:9","memberName":"encodeCall","nodeType":"MemberAccess","src":"1380:14:9","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":1267,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1380:43:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1258,"name":"_callOptionalReturn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1593,"src":"1353:19:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (contract IERC20,bytes memory)"}},"id":1268,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1353:71:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1269,"nodeType":"ExpressionStatement","src":"1353:71:9"}]},"documentation":{"id":1248,"nodeType":"StructuredDocumentation","src":"1087:179:9","text":" @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n non-reverting calls are assumed to be successful."},"id":1271,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransfer","nameLocation":"1280:12:9","nodeType":"FunctionDefinition","parameters":{"id":1256,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1251,"mutability":"mutable","name":"token","nameLocation":"1300:5:9","nodeType":"VariableDeclaration","scope":1271,"src":"1293:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},"typeName":{"id":1250,"nodeType":"UserDefinedTypeName","pathNode":{"id":1249,"name":"IERC20","nameLocations":["1293:6:9"],"nodeType":"IdentifierPath","referencedDeclaration":1198,"src":"1293:6:9"},"referencedDeclaration":1198,"src":"1293:6:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"visibility":"internal"},{"constant":false,"id":1253,"mutability":"mutable","name":"to","nameLocation":"1315:2:9","nodeType":"VariableDeclaration","scope":1271,"src":"1307:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1252,"name":"address","nodeType":"ElementaryTypeName","src":"1307:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1255,"mutability":"mutable","name":"value","nameLocation":"1327:5:9","nodeType":"VariableDeclaration","scope":1271,"src":"1319:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1254,"name":"uint256","nodeType":"ElementaryTypeName","src":"1319:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1292:41:9"},"returnParameters":{"id":1257,"nodeType":"ParameterList","parameters":[],"src":"1343:0:9"},"scope":1635,"src":"1271:160:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1297,"nodeType":"Block","src":"1760:98:9","statements":[{"expression":{"arguments":[{"id":1285,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1275,"src":"1790:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},{"arguments":[{"expression":{"id":1288,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1275,"src":"1812:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"id":1289,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1818:12:9","memberName":"transferFrom","nodeType":"MemberAccess","referencedDeclaration":1197,"src":"1812:18:9","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,address,uint256) external returns (bool)"}},{"components":[{"id":1290,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1277,"src":"1833:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1291,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1279,"src":"1839:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1292,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1281,"src":"1843:5:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":1293,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1832:17:9","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$_t_uint256_$","typeString":"tuple(address,address,uint256)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,address,uint256) external returns (bool)"},{"typeIdentifier":"t_tuple$_t_address_$_t_address_$_t_uint256_$","typeString":"tuple(address,address,uint256)"}],"expression":{"id":1286,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1797:3:9","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":1287,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1801:10:9","memberName":"encodeCall","nodeType":"MemberAccess","src":"1797:14:9","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":1294,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1797:53:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1284,"name":"_callOptionalReturn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1593,"src":"1770:19:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (contract IERC20,bytes memory)"}},"id":1295,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1770:81:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1296,"nodeType":"ExpressionStatement","src":"1770:81:9"}]},"documentation":{"id":1272,"nodeType":"StructuredDocumentation","src":"1437:228:9","text":" @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n calling contract. If `token` returns no value, non-reverting calls are assumed to be successful."},"id":1298,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"1679:16:9","nodeType":"FunctionDefinition","parameters":{"id":1282,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1275,"mutability":"mutable","name":"token","nameLocation":"1703:5:9","nodeType":"VariableDeclaration","scope":1298,"src":"1696:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},"typeName":{"id":1274,"nodeType":"UserDefinedTypeName","pathNode":{"id":1273,"name":"IERC20","nameLocations":["1696:6:9"],"nodeType":"IdentifierPath","referencedDeclaration":1198,"src":"1696:6:9"},"referencedDeclaration":1198,"src":"1696:6:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"visibility":"internal"},{"constant":false,"id":1277,"mutability":"mutable","name":"from","nameLocation":"1718:4:9","nodeType":"VariableDeclaration","scope":1298,"src":"1710:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1276,"name":"address","nodeType":"ElementaryTypeName","src":"1710:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1279,"mutability":"mutable","name":"to","nameLocation":"1732:2:9","nodeType":"VariableDeclaration","scope":1298,"src":"1724:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1278,"name":"address","nodeType":"ElementaryTypeName","src":"1724:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1281,"mutability":"mutable","name":"value","nameLocation":"1744:5:9","nodeType":"VariableDeclaration","scope":1298,"src":"1736:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1280,"name":"uint256","nodeType":"ElementaryTypeName","src":"1736:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1695:55:9"},"returnParameters":{"id":1283,"nodeType":"ParameterList","parameters":[],"src":"1760:0:9"},"scope":1635,"src":"1670:188:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1328,"nodeType":"Block","src":"2600:139:9","statements":[{"assignments":[1310],"declarations":[{"constant":false,"id":1310,"mutability":"mutable","name":"oldAllowance","nameLocation":"2618:12:9","nodeType":"VariableDeclaration","scope":1328,"src":"2610:20:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1309,"name":"uint256","nodeType":"ElementaryTypeName","src":"2610:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1319,"initialValue":{"arguments":[{"arguments":[{"id":1315,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2657:4:9","typeDescriptions":{"typeIdentifier":"t_contract$_SafeERC20_$1635","typeString":"library SafeERC20"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_SafeERC20_$1635","typeString":"library SafeERC20"}],"id":1314,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2649:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1313,"name":"address","nodeType":"ElementaryTypeName","src":"2649:7:9","typeDescriptions":{}}},"id":1316,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2649:13:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1317,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1304,"src":"2664:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":1311,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1302,"src":"2633:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"id":1312,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2639:9:9","memberName":"allowance","nodeType":"MemberAccess","referencedDeclaration":1175,"src":"2633:15:9","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$_t_address_$returns$_t_uint256_$","typeString":"function (address,address) view external returns (uint256)"}},"id":1318,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2633:39:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2610:62:9"},{"expression":{"arguments":[{"id":1321,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1302,"src":"2695:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},{"id":1322,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1304,"src":"2702:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1325,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1323,"name":"oldAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1310,"src":"2711:12:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":1324,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1306,"src":"2726:5:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2711:20:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1320,"name":"forceApprove","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1419,"src":"2682:12:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_uint256_$returns$__$","typeString":"function (contract IERC20,address,uint256)"}},"id":1326,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2682:50:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1327,"nodeType":"ExpressionStatement","src":"2682:50:9"}]},"documentation":{"id":1299,"nodeType":"StructuredDocumentation","src":"1864:645:9","text":" @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n non-reverting calls are assumed to be successful.\n IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior."},"id":1329,"implemented":true,"kind":"function","modifiers":[],"name":"safeIncreaseAllowance","nameLocation":"2523:21:9","nodeType":"FunctionDefinition","parameters":{"id":1307,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1302,"mutability":"mutable","name":"token","nameLocation":"2552:5:9","nodeType":"VariableDeclaration","scope":1329,"src":"2545:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},"typeName":{"id":1301,"nodeType":"UserDefinedTypeName","pathNode":{"id":1300,"name":"IERC20","nameLocations":["2545:6:9"],"nodeType":"IdentifierPath","referencedDeclaration":1198,"src":"2545:6:9"},"referencedDeclaration":1198,"src":"2545:6:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"visibility":"internal"},{"constant":false,"id":1304,"mutability":"mutable","name":"spender","nameLocation":"2567:7:9","nodeType":"VariableDeclaration","scope":1329,"src":"2559:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1303,"name":"address","nodeType":"ElementaryTypeName","src":"2559:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1306,"mutability":"mutable","name":"value","nameLocation":"2584:5:9","nodeType":"VariableDeclaration","scope":1329,"src":"2576:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1305,"name":"uint256","nodeType":"ElementaryTypeName","src":"2576:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2544:46:9"},"returnParameters":{"id":1308,"nodeType":"ParameterList","parameters":[],"src":"2600:0:9"},"scope":1635,"src":"2514:225:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1371,"nodeType":"Block","src":"3505:370:9","statements":[{"id":1370,"nodeType":"UncheckedBlock","src":"3515:354:9","statements":[{"assignments":[1341],"declarations":[{"constant":false,"id":1341,"mutability":"mutable","name":"currentAllowance","nameLocation":"3547:16:9","nodeType":"VariableDeclaration","scope":1370,"src":"3539:24:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1340,"name":"uint256","nodeType":"ElementaryTypeName","src":"3539:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1350,"initialValue":{"arguments":[{"arguments":[{"id":1346,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3590:4:9","typeDescriptions":{"typeIdentifier":"t_contract$_SafeERC20_$1635","typeString":"library SafeERC20"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_SafeERC20_$1635","typeString":"library SafeERC20"}],"id":1345,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3582:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1344,"name":"address","nodeType":"ElementaryTypeName","src":"3582:7:9","typeDescriptions":{}}},"id":1347,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3582:13:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1348,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1335,"src":"3597:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":1342,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1333,"src":"3566:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"id":1343,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3572:9:9","memberName":"allowance","nodeType":"MemberAccess","referencedDeclaration":1175,"src":"3566:15:9","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$_t_address_$returns$_t_uint256_$","typeString":"function (address,address) view external returns (uint256)"}},"id":1349,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3566:39:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3539:66:9"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1353,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1351,"name":"currentAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1341,"src":"3623:16:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":1352,"name":"requestedDecrease","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1337,"src":"3642:17:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3623:36:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1361,"nodeType":"IfStatement","src":"3619:160:9","trueBody":{"id":1360,"nodeType":"Block","src":"3661:118:9","statements":[{"errorCall":{"arguments":[{"id":1355,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1335,"src":"3719:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1356,"name":"currentAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1341,"src":"3728:16:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1357,"name":"requestedDecrease","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1337,"src":"3746:17:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1354,"name":"SafeERC20FailedDecreaseAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1247,"src":"3686:32:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (address,uint256,uint256) pure returns (error)"}},"id":1358,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3686:78:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1359,"nodeType":"RevertStatement","src":"3679:85:9"}]}},{"expression":{"arguments":[{"id":1363,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1333,"src":"3805:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},{"id":1364,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1335,"src":"3812:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1367,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1365,"name":"currentAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1341,"src":"3821:16:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":1366,"name":"requestedDecrease","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1337,"src":"3840:17:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3821:36:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1362,"name":"forceApprove","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1419,"src":"3792:12:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_uint256_$returns$__$","typeString":"function (contract IERC20,address,uint256)"}},"id":1368,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3792:66:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1369,"nodeType":"ExpressionStatement","src":"3792:66:9"}]}]},"documentation":{"id":1330,"nodeType":"StructuredDocumentation","src":"2745:657:9","text":" @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n value, non-reverting calls are assumed to be successful.\n IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior."},"id":1372,"implemented":true,"kind":"function","modifiers":[],"name":"safeDecreaseAllowance","nameLocation":"3416:21:9","nodeType":"FunctionDefinition","parameters":{"id":1338,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1333,"mutability":"mutable","name":"token","nameLocation":"3445:5:9","nodeType":"VariableDeclaration","scope":1372,"src":"3438:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},"typeName":{"id":1332,"nodeType":"UserDefinedTypeName","pathNode":{"id":1331,"name":"IERC20","nameLocations":["3438:6:9"],"nodeType":"IdentifierPath","referencedDeclaration":1198,"src":"3438:6:9"},"referencedDeclaration":1198,"src":"3438:6:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"visibility":"internal"},{"constant":false,"id":1335,"mutability":"mutable","name":"spender","nameLocation":"3460:7:9","nodeType":"VariableDeclaration","scope":1372,"src":"3452:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1334,"name":"address","nodeType":"ElementaryTypeName","src":"3452:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1337,"mutability":"mutable","name":"requestedDecrease","nameLocation":"3477:17:9","nodeType":"VariableDeclaration","scope":1372,"src":"3469:25:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1336,"name":"uint256","nodeType":"ElementaryTypeName","src":"3469:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3437:58:9"},"returnParameters":{"id":1339,"nodeType":"ParameterList","parameters":[],"src":"3505:0:9"},"scope":1635,"src":"3407:468:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1418,"nodeType":"Block","src":"4529:303:9","statements":[{"assignments":[1384],"declarations":[{"constant":false,"id":1384,"mutability":"mutable","name":"approvalCall","nameLocation":"4552:12:9","nodeType":"VariableDeclaration","scope":1418,"src":"4539:25:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1383,"name":"bytes","nodeType":"ElementaryTypeName","src":"4539:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":1393,"initialValue":{"arguments":[{"expression":{"id":1387,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1376,"src":"4582:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"id":1388,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4588:7:9","memberName":"approve","nodeType":"MemberAccess","referencedDeclaration":1185,"src":"4582:13:9","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},{"components":[{"id":1389,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1378,"src":"4598:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1390,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1380,"src":"4607:5:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":1391,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4597:16:9","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_uint256_$","typeString":"tuple(address,uint256)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"},{"typeIdentifier":"t_tuple$_t_address_$_t_uint256_$","typeString":"tuple(address,uint256)"}],"expression":{"id":1385,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"4567:3:9","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":1386,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4571:10:9","memberName":"encodeCall","nodeType":"MemberAccess","src":"4567:14:9","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":1392,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4567:47:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"4539:75:9"},{"condition":{"id":1398,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"4629:45:9","subExpression":{"arguments":[{"id":1395,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1376,"src":"4654:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},{"id":1396,"name":"approvalCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1384,"src":"4661:12:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1394,"name":"_callOptionalReturnBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1634,"src":"4630:23:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_bytes_memory_ptr_$returns$_t_bool_$","typeString":"function (contract IERC20,bytes memory) returns (bool)"}},"id":1397,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4630:44:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1417,"nodeType":"IfStatement","src":"4625:201:9","trueBody":{"id":1416,"nodeType":"Block","src":"4676:150:9","statements":[{"expression":{"arguments":[{"id":1400,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1376,"src":"4710:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},{"arguments":[{"expression":{"id":1403,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1376,"src":"4732:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"id":1404,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4738:7:9","memberName":"approve","nodeType":"MemberAccess","referencedDeclaration":1185,"src":"4732:13:9","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},{"components":[{"id":1405,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1378,"src":"4748:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"hexValue":"30","id":1406,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4757:1:9","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":1407,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4747:12:9","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_rational_0_by_1_$","typeString":"tuple(address,int_const 0)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"},{"typeIdentifier":"t_tuple$_t_address_$_t_rational_0_by_1_$","typeString":"tuple(address,int_const 0)"}],"expression":{"id":1401,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"4717:3:9","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":1402,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4721:10:9","memberName":"encodeCall","nodeType":"MemberAccess","src":"4717:14:9","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":1408,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4717:43:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1399,"name":"_callOptionalReturn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1593,"src":"4690:19:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (contract IERC20,bytes memory)"}},"id":1409,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4690:71:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1410,"nodeType":"ExpressionStatement","src":"4690:71:9"},{"expression":{"arguments":[{"id":1412,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1376,"src":"4795:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},{"id":1413,"name":"approvalCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1384,"src":"4802:12:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1411,"name":"_callOptionalReturn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1593,"src":"4775:19:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (contract IERC20,bytes memory)"}},"id":1414,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4775:40:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1415,"nodeType":"ExpressionStatement","src":"4775:40:9"}]}}]},"documentation":{"id":1373,"nodeType":"StructuredDocumentation","src":"3881:566:9","text":" @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n to be set to zero before setting it to a non-zero value, such as USDT.\n NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n set here."},"id":1419,"implemented":true,"kind":"function","modifiers":[],"name":"forceApprove","nameLocation":"4461:12:9","nodeType":"FunctionDefinition","parameters":{"id":1381,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1376,"mutability":"mutable","name":"token","nameLocation":"4481:5:9","nodeType":"VariableDeclaration","scope":1419,"src":"4474:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},"typeName":{"id":1375,"nodeType":"UserDefinedTypeName","pathNode":{"id":1374,"name":"IERC20","nameLocations":["4474:6:9"],"nodeType":"IdentifierPath","referencedDeclaration":1198,"src":"4474:6:9"},"referencedDeclaration":1198,"src":"4474:6:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"visibility":"internal"},{"constant":false,"id":1378,"mutability":"mutable","name":"spender","nameLocation":"4496:7:9","nodeType":"VariableDeclaration","scope":1419,"src":"4488:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1377,"name":"address","nodeType":"ElementaryTypeName","src":"4488:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1380,"mutability":"mutable","name":"value","nameLocation":"4513:5:9","nodeType":"VariableDeclaration","scope":1419,"src":"4505:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1379,"name":"uint256","nodeType":"ElementaryTypeName","src":"4505:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4473:46:9"},"returnParameters":{"id":1382,"nodeType":"ParameterList","parameters":[],"src":"4529:0:9"},"scope":1635,"src":"4452:380:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1461,"nodeType":"Block","src":"5279:219:9","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1436,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":1432,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1425,"src":"5293:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1433,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5296:4:9","memberName":"code","nodeType":"MemberAccess","src":"5293:7:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":1434,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5301:6:9","memberName":"length","nodeType":"MemberAccess","src":"5293:14:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":1435,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5311:1:9","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5293:19:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"id":1450,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"5379:39:9","subExpression":{"arguments":[{"id":1446,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1425,"src":"5402:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1447,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1427,"src":"5406:5:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1448,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1429,"src":"5413:4:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":1444,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1423,"src":"5380:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}},"id":1445,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5386:15:9","memberName":"transferAndCall","nodeType":"MemberAccess","referencedDeclaration":411,"src":"5380:21:9","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$","typeString":"function (address,uint256,bytes memory) external returns (bool)"}},"id":1449,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5380:38:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1459,"nodeType":"IfStatement","src":"5375:117:9","trueBody":{"id":1458,"nodeType":"Block","src":"5420:72:9","statements":[{"errorCall":{"arguments":[{"arguments":[{"id":1454,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1423,"src":"5474:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}],"id":1453,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5466:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1452,"name":"address","nodeType":"ElementaryTypeName","src":"5466:7:9","typeDescriptions":{}}},"id":1455,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5466:14:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1451,"name":"SafeERC20FailedOperation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1238,"src":"5441:24:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":1456,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5441:40:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1457,"nodeType":"RevertStatement","src":"5434:47:9"}]}},"id":1460,"nodeType":"IfStatement","src":"5289:203:9","trueBody":{"id":1443,"nodeType":"Block","src":"5314:55:9","statements":[{"expression":{"arguments":[{"id":1438,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1423,"src":"5341:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}},{"id":1439,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1425,"src":"5348:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1440,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1427,"src":"5352:5:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1437,"name":"safeTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1271,"src":"5328:12:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_uint256_$returns$__$","typeString":"function (contract IERC20,address,uint256)"}},"id":1441,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5328:30:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1442,"nodeType":"ExpressionStatement","src":"5328:30:9"}]}}]},"documentation":{"id":1420,"nodeType":"StructuredDocumentation","src":"4838:333:9","text":" @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n targeting contracts.\n Reverts if the returned value is other than `true`."},"id":1462,"implemented":true,"kind":"function","modifiers":[],"name":"transferAndCallRelaxed","nameLocation":"5185:22:9","nodeType":"FunctionDefinition","parameters":{"id":1430,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1423,"mutability":"mutable","name":"token","nameLocation":"5217:5:9","nodeType":"VariableDeclaration","scope":1462,"src":"5208:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"},"typeName":{"id":1422,"nodeType":"UserDefinedTypeName","pathNode":{"id":1421,"name":"IERC1363","nameLocations":["5208:8:9"],"nodeType":"IdentifierPath","referencedDeclaration":460,"src":"5208:8:9"},"referencedDeclaration":460,"src":"5208:8:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}},"visibility":"internal"},{"constant":false,"id":1425,"mutability":"mutable","name":"to","nameLocation":"5232:2:9","nodeType":"VariableDeclaration","scope":1462,"src":"5224:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1424,"name":"address","nodeType":"ElementaryTypeName","src":"5224:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1427,"mutability":"mutable","name":"value","nameLocation":"5244:5:9","nodeType":"VariableDeclaration","scope":1462,"src":"5236:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1426,"name":"uint256","nodeType":"ElementaryTypeName","src":"5236:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1429,"mutability":"mutable","name":"data","nameLocation":"5264:4:9","nodeType":"VariableDeclaration","scope":1462,"src":"5251:17:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1428,"name":"bytes","nodeType":"ElementaryTypeName","src":"5251:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5207:62:9"},"returnParameters":{"id":1431,"nodeType":"ParameterList","parameters":[],"src":"5279:0:9"},"scope":1635,"src":"5176:322:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1508,"nodeType":"Block","src":"6017:239:9","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1481,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":1477,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1470,"src":"6031:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1478,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6034:4:9","memberName":"code","nodeType":"MemberAccess","src":"6031:7:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":1479,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6039:6:9","memberName":"length","nodeType":"MemberAccess","src":"6031:14:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":1480,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6049:1:9","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6031:19:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"id":1497,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"6127:49:9","subExpression":{"arguments":[{"id":1492,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1468,"src":"6154:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1493,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1470,"src":"6160:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1494,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1472,"src":"6164:5:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1495,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1474,"src":"6171:4:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":1490,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1466,"src":"6128:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}},"id":1491,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6134:19:9","memberName":"transferFromAndCall","nodeType":"MemberAccess","referencedDeclaration":437,"src":"6128:25:9","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$","typeString":"function (address,address,uint256,bytes memory) external returns (bool)"}},"id":1496,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6128:48:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1506,"nodeType":"IfStatement","src":"6123:127:9","trueBody":{"id":1505,"nodeType":"Block","src":"6178:72:9","statements":[{"errorCall":{"arguments":[{"arguments":[{"id":1501,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1466,"src":"6232:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}],"id":1500,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6224:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1499,"name":"address","nodeType":"ElementaryTypeName","src":"6224:7:9","typeDescriptions":{}}},"id":1502,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6224:14:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1498,"name":"SafeERC20FailedOperation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1238,"src":"6199:24:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":1503,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6199:40:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1504,"nodeType":"RevertStatement","src":"6192:47:9"}]}},"id":1507,"nodeType":"IfStatement","src":"6027:223:9","trueBody":{"id":1489,"nodeType":"Block","src":"6052:65:9","statements":[{"expression":{"arguments":[{"id":1483,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1466,"src":"6083:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}},{"id":1484,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1468,"src":"6090:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1485,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1470,"src":"6096:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1486,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1472,"src":"6100:5:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1482,"name":"safeTransferFrom","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1298,"src":"6066:16:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (contract IERC20,address,address,uint256)"}},"id":1487,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6066:40:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1488,"nodeType":"ExpressionStatement","src":"6066:40:9"}]}}]},"documentation":{"id":1463,"nodeType":"StructuredDocumentation","src":"5504:341:9","text":" @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n targeting contracts.\n Reverts if the returned value is other than `true`."},"id":1509,"implemented":true,"kind":"function","modifiers":[],"name":"transferFromAndCallRelaxed","nameLocation":"5859:26:9","nodeType":"FunctionDefinition","parameters":{"id":1475,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1466,"mutability":"mutable","name":"token","nameLocation":"5904:5:9","nodeType":"VariableDeclaration","scope":1509,"src":"5895:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"},"typeName":{"id":1465,"nodeType":"UserDefinedTypeName","pathNode":{"id":1464,"name":"IERC1363","nameLocations":["5895:8:9"],"nodeType":"IdentifierPath","referencedDeclaration":460,"src":"5895:8:9"},"referencedDeclaration":460,"src":"5895:8:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}},"visibility":"internal"},{"constant":false,"id":1468,"mutability":"mutable","name":"from","nameLocation":"5927:4:9","nodeType":"VariableDeclaration","scope":1509,"src":"5919:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1467,"name":"address","nodeType":"ElementaryTypeName","src":"5919:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1470,"mutability":"mutable","name":"to","nameLocation":"5949:2:9","nodeType":"VariableDeclaration","scope":1509,"src":"5941:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1469,"name":"address","nodeType":"ElementaryTypeName","src":"5941:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1472,"mutability":"mutable","name":"value","nameLocation":"5969:5:9","nodeType":"VariableDeclaration","scope":1509,"src":"5961:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1471,"name":"uint256","nodeType":"ElementaryTypeName","src":"5961:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1474,"mutability":"mutable","name":"data","nameLocation":"5997:4:9","nodeType":"VariableDeclaration","scope":1509,"src":"5984:17:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1473,"name":"bytes","nodeType":"ElementaryTypeName","src":"5984:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5885:122:9"},"returnParameters":{"id":1476,"nodeType":"ParameterList","parameters":[],"src":"6017:0:9"},"scope":1635,"src":"5850:406:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1551,"nodeType":"Block","src":"7023:218:9","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1526,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":1522,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1515,"src":"7037:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1523,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7040:4:9","memberName":"code","nodeType":"MemberAccess","src":"7037:7:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":1524,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7045:6:9","memberName":"length","nodeType":"MemberAccess","src":"7037:14:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":1525,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7055:1:9","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7037:19:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"id":1540,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"7123:38:9","subExpression":{"arguments":[{"id":1536,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1515,"src":"7145:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1537,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1517,"src":"7149:5:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1538,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1519,"src":"7156:4:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":1534,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1513,"src":"7124:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}},"id":1535,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7130:14:9","memberName":"approveAndCall","nodeType":"MemberAccess","referencedDeclaration":459,"src":"7124:20:9","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$","typeString":"function (address,uint256,bytes memory) external returns (bool)"}},"id":1539,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7124:37:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1549,"nodeType":"IfStatement","src":"7119:116:9","trueBody":{"id":1548,"nodeType":"Block","src":"7163:72:9","statements":[{"errorCall":{"arguments":[{"arguments":[{"id":1544,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1513,"src":"7217:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}],"id":1543,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7209:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1542,"name":"address","nodeType":"ElementaryTypeName","src":"7209:7:9","typeDescriptions":{}}},"id":1545,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7209:14:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1541,"name":"SafeERC20FailedOperation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1238,"src":"7184:24:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":1546,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7184:40:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1547,"nodeType":"RevertStatement","src":"7177:47:9"}]}},"id":1550,"nodeType":"IfStatement","src":"7033:202:9","trueBody":{"id":1533,"nodeType":"Block","src":"7058:55:9","statements":[{"expression":{"arguments":[{"id":1528,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1513,"src":"7085:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}},{"id":1529,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1515,"src":"7092:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1530,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1517,"src":"7096:5:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1527,"name":"forceApprove","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1419,"src":"7072:12:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_uint256_$returns$__$","typeString":"function (contract IERC20,address,uint256)"}},"id":1531,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7072:30:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1532,"nodeType":"ExpressionStatement","src":"7072:30:9"}]}}]},"documentation":{"id":1510,"nodeType":"StructuredDocumentation","src":"6262:654:9","text":" @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n targeting contracts.\n NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n once without retrying, and relies on the returned value to be true.\n Reverts if the returned value is other than `true`."},"id":1552,"implemented":true,"kind":"function","modifiers":[],"name":"approveAndCallRelaxed","nameLocation":"6930:21:9","nodeType":"FunctionDefinition","parameters":{"id":1520,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1513,"mutability":"mutable","name":"token","nameLocation":"6961:5:9","nodeType":"VariableDeclaration","scope":1552,"src":"6952:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"},"typeName":{"id":1512,"nodeType":"UserDefinedTypeName","pathNode":{"id":1511,"name":"IERC1363","nameLocations":["6952:8:9"],"nodeType":"IdentifierPath","referencedDeclaration":460,"src":"6952:8:9"},"referencedDeclaration":460,"src":"6952:8:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC1363_$460","typeString":"contract IERC1363"}},"visibility":"internal"},{"constant":false,"id":1515,"mutability":"mutable","name":"to","nameLocation":"6976:2:9","nodeType":"VariableDeclaration","scope":1552,"src":"6968:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1514,"name":"address","nodeType":"ElementaryTypeName","src":"6968:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1517,"mutability":"mutable","name":"value","nameLocation":"6988:5:9","nodeType":"VariableDeclaration","scope":1552,"src":"6980:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1516,"name":"uint256","nodeType":"ElementaryTypeName","src":"6980:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1519,"mutability":"mutable","name":"data","nameLocation":"7008:4:9","nodeType":"VariableDeclaration","scope":1552,"src":"6995:17:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1518,"name":"bytes","nodeType":"ElementaryTypeName","src":"6995:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6951:62:9"},"returnParameters":{"id":1521,"nodeType":"ParameterList","parameters":[],"src":"7023:0:9"},"scope":1635,"src":"6921:320:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1592,"nodeType":"Block","src":"7808:650:9","statements":[{"assignments":[1562],"declarations":[{"constant":false,"id":1562,"mutability":"mutable","name":"returnSize","nameLocation":"7826:10:9","nodeType":"VariableDeclaration","scope":1592,"src":"7818:18:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1561,"name":"uint256","nodeType":"ElementaryTypeName","src":"7818:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1563,"nodeType":"VariableDeclarationStatement","src":"7818:18:9"},{"assignments":[1565],"declarations":[{"constant":false,"id":1565,"mutability":"mutable","name":"returnValue","nameLocation":"7854:11:9","nodeType":"VariableDeclaration","scope":1592,"src":"7846:19:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1564,"name":"uint256","nodeType":"ElementaryTypeName","src":"7846:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1566,"nodeType":"VariableDeclarationStatement","src":"7846:19:9"},{"AST":{"nativeSrc":"7900:396:9","nodeType":"YulBlock","src":"7900:396:9","statements":[{"nativeSrc":"7914:75:9","nodeType":"YulVariableDeclaration","src":"7914:75:9","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"7934:3:9","nodeType":"YulIdentifier","src":"7934:3:9"},"nativeSrc":"7934:5:9","nodeType":"YulFunctionCall","src":"7934:5:9"},{"name":"token","nativeSrc":"7941:5:9","nodeType":"YulIdentifier","src":"7941:5:9"},{"kind":"number","nativeSrc":"7948:1:9","nodeType":"YulLiteral","src":"7948:1:9","type":"","value":"0"},{"arguments":[{"name":"data","nativeSrc":"7955:4:9","nodeType":"YulIdentifier","src":"7955:4:9"},{"kind":"number","nativeSrc":"7961:4:9","nodeType":"YulLiteral","src":"7961:4:9","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"7951:3:9","nodeType":"YulIdentifier","src":"7951:3:9"},"nativeSrc":"7951:15:9","nodeType":"YulFunctionCall","src":"7951:15:9"},{"arguments":[{"name":"data","nativeSrc":"7974:4:9","nodeType":"YulIdentifier","src":"7974:4:9"}],"functionName":{"name":"mload","nativeSrc":"7968:5:9","nodeType":"YulIdentifier","src":"7968:5:9"},"nativeSrc":"7968:11:9","nodeType":"YulFunctionCall","src":"7968:11:9"},{"kind":"number","nativeSrc":"7981:1:9","nodeType":"YulLiteral","src":"7981:1:9","type":"","value":"0"},{"kind":"number","nativeSrc":"7984:4:9","nodeType":"YulLiteral","src":"7984:4:9","type":"","value":"0x20"}],"functionName":{"name":"call","nativeSrc":"7929:4:9","nodeType":"YulIdentifier","src":"7929:4:9"},"nativeSrc":"7929:60:9","nodeType":"YulFunctionCall","src":"7929:60:9"},"variables":[{"name":"success","nativeSrc":"7918:7:9","nodeType":"YulTypedName","src":"7918:7:9","type":""}]},{"body":{"nativeSrc":"8050:157:9","nodeType":"YulBlock","src":"8050:157:9","statements":[{"nativeSrc":"8068:22:9","nodeType":"YulVariableDeclaration","src":"8068:22:9","value":{"arguments":[{"kind":"number","nativeSrc":"8085:4:9","nodeType":"YulLiteral","src":"8085:4:9","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"8079:5:9","nodeType":"YulIdentifier","src":"8079:5:9"},"nativeSrc":"8079:11:9","nodeType":"YulFunctionCall","src":"8079:11:9"},"variables":[{"name":"ptr","nativeSrc":"8072:3:9","nodeType":"YulTypedName","src":"8072:3:9","type":""}]},{"expression":{"arguments":[{"name":"ptr","nativeSrc":"8122:3:9","nodeType":"YulIdentifier","src":"8122:3:9"},{"kind":"number","nativeSrc":"8127:1:9","nodeType":"YulLiteral","src":"8127:1:9","type":"","value":"0"},{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"8130:14:9","nodeType":"YulIdentifier","src":"8130:14:9"},"nativeSrc":"8130:16:9","nodeType":"YulFunctionCall","src":"8130:16:9"}],"functionName":{"name":"returndatacopy","nativeSrc":"8107:14:9","nodeType":"YulIdentifier","src":"8107:14:9"},"nativeSrc":"8107:40:9","nodeType":"YulFunctionCall","src":"8107:40:9"},"nativeSrc":"8107:40:9","nodeType":"YulExpressionStatement","src":"8107:40:9"},{"expression":{"arguments":[{"name":"ptr","nativeSrc":"8171:3:9","nodeType":"YulIdentifier","src":"8171:3:9"},{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"8176:14:9","nodeType":"YulIdentifier","src":"8176:14:9"},"nativeSrc":"8176:16:9","nodeType":"YulFunctionCall","src":"8176:16:9"}],"functionName":{"name":"revert","nativeSrc":"8164:6:9","nodeType":"YulIdentifier","src":"8164:6:9"},"nativeSrc":"8164:29:9","nodeType":"YulFunctionCall","src":"8164:29:9"},"nativeSrc":"8164:29:9","nodeType":"YulExpressionStatement","src":"8164:29:9"}]},"condition":{"arguments":[{"name":"success","nativeSrc":"8041:7:9","nodeType":"YulIdentifier","src":"8041:7:9"}],"functionName":{"name":"iszero","nativeSrc":"8034:6:9","nodeType":"YulIdentifier","src":"8034:6:9"},"nativeSrc":"8034:15:9","nodeType":"YulFunctionCall","src":"8034:15:9"},"nativeSrc":"8031:176:9","nodeType":"YulIf","src":"8031:176:9"},{"nativeSrc":"8220:30:9","nodeType":"YulAssignment","src":"8220:30:9","value":{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"8234:14:9","nodeType":"YulIdentifier","src":"8234:14:9"},"nativeSrc":"8234:16:9","nodeType":"YulFunctionCall","src":"8234:16:9"},"variableNames":[{"name":"returnSize","nativeSrc":"8220:10:9","nodeType":"YulIdentifier","src":"8220:10:9"}]},{"nativeSrc":"8263:23:9","nodeType":"YulAssignment","src":"8263:23:9","value":{"arguments":[{"kind":"number","nativeSrc":"8284:1:9","nodeType":"YulLiteral","src":"8284:1:9","type":"","value":"0"}],"functionName":{"name":"mload","nativeSrc":"8278:5:9","nodeType":"YulIdentifier","src":"8278:5:9"},"nativeSrc":"8278:8:9","nodeType":"YulFunctionCall","src":"8278:8:9"},"variableNames":[{"name":"returnValue","nativeSrc":"8263:11:9","nodeType":"YulIdentifier","src":"8263:11:9"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":1558,"isOffset":false,"isSlot":false,"src":"7955:4:9","valueSize":1},{"declaration":1558,"isOffset":false,"isSlot":false,"src":"7974:4:9","valueSize":1},{"declaration":1562,"isOffset":false,"isSlot":false,"src":"8220:10:9","valueSize":1},{"declaration":1565,"isOffset":false,"isSlot":false,"src":"8263:11:9","valueSize":1},{"declaration":1556,"isOffset":false,"isSlot":false,"src":"7941:5:9","valueSize":1}],"flags":["memory-safe"],"id":1567,"nodeType":"InlineAssembly","src":"7875:421:9"},{"condition":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1570,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1568,"name":"returnSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1562,"src":"8310:10:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":1569,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8324:1:9","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8310:15:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1581,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1579,"name":"returnValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1565,"src":"8362:11:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"31","id":1580,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8377:1:9","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"8362:16:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1582,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"8310:68:9","trueExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1578,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"arguments":[{"id":1573,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1556,"src":"8336:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}],"id":1572,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8328:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1571,"name":"address","nodeType":"ElementaryTypeName","src":"8328:7:9","typeDescriptions":{}}},"id":1574,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8328:14:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1575,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8343:4:9","memberName":"code","nodeType":"MemberAccess","src":"8328:19:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":1576,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8348:6:9","memberName":"length","nodeType":"MemberAccess","src":"8328:26:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":1577,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8358:1:9","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8328:31:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1591,"nodeType":"IfStatement","src":"8306:146:9","trueBody":{"id":1590,"nodeType":"Block","src":"8380:72:9","statements":[{"errorCall":{"arguments":[{"arguments":[{"id":1586,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1556,"src":"8434:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}],"id":1585,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8426:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1584,"name":"address","nodeType":"ElementaryTypeName","src":"8426:7:9","typeDescriptions":{}}},"id":1587,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8426:14:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1583,"name":"SafeERC20FailedOperation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1238,"src":"8401:24:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":1588,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8401:40:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1589,"nodeType":"RevertStatement","src":"8394:47:9"}]}}]},"documentation":{"id":1553,"nodeType":"StructuredDocumentation","src":"7247:486:9","text":" @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n on the return value: the return value is optional (but if data is returned, it must not be false).\n @param token The token targeted by the call.\n @param data The call data (encoded using abi.encode or one of its variants).\n This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements."},"id":1593,"implemented":true,"kind":"function","modifiers":[],"name":"_callOptionalReturn","nameLocation":"7747:19:9","nodeType":"FunctionDefinition","parameters":{"id":1559,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1556,"mutability":"mutable","name":"token","nameLocation":"7774:5:9","nodeType":"VariableDeclaration","scope":1593,"src":"7767:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},"typeName":{"id":1555,"nodeType":"UserDefinedTypeName","pathNode":{"id":1554,"name":"IERC20","nameLocations":["7767:6:9"],"nodeType":"IdentifierPath","referencedDeclaration":1198,"src":"7767:6:9"},"referencedDeclaration":1198,"src":"7767:6:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"visibility":"internal"},{"constant":false,"id":1558,"mutability":"mutable","name":"data","nameLocation":"7794:4:9","nodeType":"VariableDeclaration","scope":1593,"src":"7781:17:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1557,"name":"bytes","nodeType":"ElementaryTypeName","src":"7781:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7766:33:9"},"returnParameters":{"id":1560,"nodeType":"ParameterList","parameters":[],"src":"7808:0:9"},"scope":1635,"src":"7738:720:9","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":1633,"nodeType":"Block","src":"9049:391:9","statements":[{"assignments":[1605],"declarations":[{"constant":false,"id":1605,"mutability":"mutable","name":"success","nameLocation":"9064:7:9","nodeType":"VariableDeclaration","scope":1633,"src":"9059:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1604,"name":"bool","nodeType":"ElementaryTypeName","src":"9059:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1606,"nodeType":"VariableDeclarationStatement","src":"9059:12:9"},{"assignments":[1608],"declarations":[{"constant":false,"id":1608,"mutability":"mutable","name":"returnSize","nameLocation":"9089:10:9","nodeType":"VariableDeclaration","scope":1633,"src":"9081:18:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1607,"name":"uint256","nodeType":"ElementaryTypeName","src":"9081:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1609,"nodeType":"VariableDeclarationStatement","src":"9081:18:9"},{"assignments":[1611],"declarations":[{"constant":false,"id":1611,"mutability":"mutable","name":"returnValue","nameLocation":"9117:11:9","nodeType":"VariableDeclaration","scope":1633,"src":"9109:19:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1610,"name":"uint256","nodeType":"ElementaryTypeName","src":"9109:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1612,"nodeType":"VariableDeclarationStatement","src":"9109:19:9"},{"AST":{"nativeSrc":"9163:174:9","nodeType":"YulBlock","src":"9163:174:9","statements":[{"nativeSrc":"9177:71:9","nodeType":"YulAssignment","src":"9177:71:9","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"9193:3:9","nodeType":"YulIdentifier","src":"9193:3:9"},"nativeSrc":"9193:5:9","nodeType":"YulFunctionCall","src":"9193:5:9"},{"name":"token","nativeSrc":"9200:5:9","nodeType":"YulIdentifier","src":"9200:5:9"},{"kind":"number","nativeSrc":"9207:1:9","nodeType":"YulLiteral","src":"9207:1:9","type":"","value":"0"},{"arguments":[{"name":"data","nativeSrc":"9214:4:9","nodeType":"YulIdentifier","src":"9214:4:9"},{"kind":"number","nativeSrc":"9220:4:9","nodeType":"YulLiteral","src":"9220:4:9","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"9210:3:9","nodeType":"YulIdentifier","src":"9210:3:9"},"nativeSrc":"9210:15:9","nodeType":"YulFunctionCall","src":"9210:15:9"},{"arguments":[{"name":"data","nativeSrc":"9233:4:9","nodeType":"YulIdentifier","src":"9233:4:9"}],"functionName":{"name":"mload","nativeSrc":"9227:5:9","nodeType":"YulIdentifier","src":"9227:5:9"},"nativeSrc":"9227:11:9","nodeType":"YulFunctionCall","src":"9227:11:9"},{"kind":"number","nativeSrc":"9240:1:9","nodeType":"YulLiteral","src":"9240:1:9","type":"","value":"0"},{"kind":"number","nativeSrc":"9243:4:9","nodeType":"YulLiteral","src":"9243:4:9","type":"","value":"0x20"}],"functionName":{"name":"call","nativeSrc":"9188:4:9","nodeType":"YulIdentifier","src":"9188:4:9"},"nativeSrc":"9188:60:9","nodeType":"YulFunctionCall","src":"9188:60:9"},"variableNames":[{"name":"success","nativeSrc":"9177:7:9","nodeType":"YulIdentifier","src":"9177:7:9"}]},{"nativeSrc":"9261:30:9","nodeType":"YulAssignment","src":"9261:30:9","value":{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"9275:14:9","nodeType":"YulIdentifier","src":"9275:14:9"},"nativeSrc":"9275:16:9","nodeType":"YulFunctionCall","src":"9275:16:9"},"variableNames":[{"name":"returnSize","nativeSrc":"9261:10:9","nodeType":"YulIdentifier","src":"9261:10:9"}]},{"nativeSrc":"9304:23:9","nodeType":"YulAssignment","src":"9304:23:9","value":{"arguments":[{"kind":"number","nativeSrc":"9325:1:9","nodeType":"YulLiteral","src":"9325:1:9","type":"","value":"0"}],"functionName":{"name":"mload","nativeSrc":"9319:5:9","nodeType":"YulIdentifier","src":"9319:5:9"},"nativeSrc":"9319:8:9","nodeType":"YulFunctionCall","src":"9319:8:9"},"variableNames":[{"name":"returnValue","nativeSrc":"9304:11:9","nodeType":"YulIdentifier","src":"9304:11:9"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":1599,"isOffset":false,"isSlot":false,"src":"9214:4:9","valueSize":1},{"declaration":1599,"isOffset":false,"isSlot":false,"src":"9233:4:9","valueSize":1},{"declaration":1608,"isOffset":false,"isSlot":false,"src":"9261:10:9","valueSize":1},{"declaration":1611,"isOffset":false,"isSlot":false,"src":"9304:11:9","valueSize":1},{"declaration":1605,"isOffset":false,"isSlot":false,"src":"9177:7:9","valueSize":1},{"declaration":1597,"isOffset":false,"isSlot":false,"src":"9200:5:9","valueSize":1}],"flags":["memory-safe"],"id":1613,"nodeType":"InlineAssembly","src":"9138:199:9"},{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1631,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1614,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1605,"src":"9353:7:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"components":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1617,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1615,"name":"returnSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1608,"src":"9365:10:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":1616,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9379:1:9","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9365:15:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1628,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1626,"name":"returnValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1611,"src":"9416:11:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"31","id":1627,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9431:1:9","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"9416:16:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1629,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"9365:67:9","trueExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1625,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"arguments":[{"id":1620,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1597,"src":"9391:5:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}],"id":1619,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9383:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1618,"name":"address","nodeType":"ElementaryTypeName","src":"9383:7:9","typeDescriptions":{}}},"id":1621,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9383:14:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1622,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9398:4:9","memberName":"code","nodeType":"MemberAccess","src":"9383:19:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":1623,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9403:6:9","memberName":"length","nodeType":"MemberAccess","src":"9383:26:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":1624,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9412:1:9","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9383:30:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":1630,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9364:69:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"9353:80:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":1603,"id":1632,"nodeType":"Return","src":"9346:87:9"}]},"documentation":{"id":1594,"nodeType":"StructuredDocumentation","src":"8464:491:9","text":" @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n on the return value: the return value is optional (but if data is returned, it must not be false).\n @param token The token targeted by the call.\n @param data The call data (encoded using abi.encode or one of its variants).\n This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead."},"id":1634,"implemented":true,"kind":"function","modifiers":[],"name":"_callOptionalReturnBool","nameLocation":"8969:23:9","nodeType":"FunctionDefinition","parameters":{"id":1600,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1597,"mutability":"mutable","name":"token","nameLocation":"9000:5:9","nodeType":"VariableDeclaration","scope":1634,"src":"8993:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"},"typeName":{"id":1596,"nodeType":"UserDefinedTypeName","pathNode":{"id":1595,"name":"IERC20","nameLocations":["8993:6:9"],"nodeType":"IdentifierPath","referencedDeclaration":1198,"src":"8993:6:9"},"referencedDeclaration":1198,"src":"8993:6:9","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1198","typeString":"contract IERC20"}},"visibility":"internal"},{"constant":false,"id":1599,"mutability":"mutable","name":"data","nameLocation":"9020:4:9","nodeType":"VariableDeclaration","scope":1634,"src":"9007:17:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1598,"name":"bytes","nodeType":"ElementaryTypeName","src":"9007:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8992:33:9"},"returnParameters":{"id":1603,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1602,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1634,"src":"9043:4:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1601,"name":"bool","nodeType":"ElementaryTypeName","src":"9043:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"9042:6:9"},"scope":1635,"src":"8960:480:9","stateMutability":"nonpayable","virtual":false,"visibility":"private"}],"scope":1636,"src":"750:8692:9","usedErrors":[1238,1247],"usedEvents":[]}],"src":"115:9328:9"},"id":9},"@openzeppelin/contracts/utils/Address.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Address.sol","exportedSymbols":{"Address":[1894],"Errors":[1946]},"id":1895,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1637,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"101:24:10"},{"absolutePath":"@openzeppelin/contracts/utils/Errors.sol","file":"./Errors.sol","id":1639,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1895,"sourceUnit":1947,"src":"127:36:10","symbolAliases":[{"foreign":{"id":1638,"name":"Errors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1946,"src":"135:6:10","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"Address","contractDependencies":[],"contractKind":"library","documentation":{"id":1640,"nodeType":"StructuredDocumentation","src":"165:67:10","text":" @dev Collection of functions related to the address type"},"fullyImplemented":true,"id":1894,"linearizedBaseContracts":[1894],"name":"Address","nameLocation":"241:7:10","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1641,"nodeType":"StructuredDocumentation","src":"255:75:10","text":" @dev There's no code at `target` (it is not a contract)."},"errorSelector":"9996b315","id":1645,"name":"AddressEmptyCode","nameLocation":"341:16:10","nodeType":"ErrorDefinition","parameters":{"id":1644,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1643,"mutability":"mutable","name":"target","nameLocation":"366:6:10","nodeType":"VariableDeclaration","scope":1645,"src":"358:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1642,"name":"address","nodeType":"ElementaryTypeName","src":"358:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"357:16:10"},"src":"335:39:10"},{"body":{"id":1691,"nodeType":"Block","src":"1361:278:10","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1659,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":1655,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"1383:4:10","typeDescriptions":{"typeIdentifier":"t_contract$_Address_$1894","typeString":"library Address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Address_$1894","typeString":"library Address"}],"id":1654,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1375:7:10","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1653,"name":"address","nodeType":"ElementaryTypeName","src":"1375:7:10","typeDescriptions":{}}},"id":1656,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1375:13:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1657,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1389:7:10","memberName":"balance","nodeType":"MemberAccess","src":"1375:21:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":1658,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1650,"src":"1399:6:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1375:30:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1672,"nodeType":"IfStatement","src":"1371:125:10","trueBody":{"id":1671,"nodeType":"Block","src":"1407:89:10","statements":[{"errorCall":{"arguments":[{"expression":{"arguments":[{"id":1665,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"1463:4:10","typeDescriptions":{"typeIdentifier":"t_contract$_Address_$1894","typeString":"library Address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Address_$1894","typeString":"library Address"}],"id":1664,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1455:7:10","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1663,"name":"address","nodeType":"ElementaryTypeName","src":"1455:7:10","typeDescriptions":{}}},"id":1666,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1455:13:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1667,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1469:7:10","memberName":"balance","nodeType":"MemberAccess","src":"1455:21:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1668,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1650,"src":"1478:6:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1660,"name":"Errors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1946,"src":"1428:6:10","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Errors_$1946_$","typeString":"type(library Errors)"}},"id":1662,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1435:19:10","memberName":"InsufficientBalance","nodeType":"MemberAccess","referencedDeclaration":1934,"src":"1428:26:10","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":1669,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1428:57:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1670,"nodeType":"RevertStatement","src":"1421:64:10"}]}},{"assignments":[1674,null],"declarations":[{"constant":false,"id":1674,"mutability":"mutable","name":"success","nameLocation":"1512:7:10","nodeType":"VariableDeclaration","scope":1691,"src":"1507:12:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1673,"name":"bool","nodeType":"ElementaryTypeName","src":"1507:4:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},null],"id":1681,"initialValue":{"arguments":[{"hexValue":"","id":1679,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1555:2:10","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"id":1675,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1648,"src":"1525:9:10","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":1676,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1535:4:10","memberName":"call","nodeType":"MemberAccess","src":"1525:14:10","typeDescriptions":{"typeIdentifier":"t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) payable returns (bool,bytes memory)"}},"id":1678,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":1677,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1650,"src":"1547:6:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"1525:29:10","typeDescriptions":{"typeIdentifier":"t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value","typeString":"function (bytes memory) payable returns (bool,bytes memory)"}},"id":1680,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1525:33:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"1506:52:10"},{"condition":{"id":1683,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"1572:8:10","subExpression":{"id":1682,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1674,"src":"1573:7:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1690,"nodeType":"IfStatement","src":"1568:65:10","trueBody":{"id":1689,"nodeType":"Block","src":"1582:51:10","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":1684,"name":"Errors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1946,"src":"1603:6:10","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Errors_$1946_$","typeString":"type(library Errors)"}},"id":1686,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1610:10:10","memberName":"FailedCall","nodeType":"MemberAccess","referencedDeclaration":1937,"src":"1603:17:10","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":1687,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1603:19:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1688,"nodeType":"RevertStatement","src":"1596:26:10"}]}}]},"documentation":{"id":1646,"nodeType":"StructuredDocumentation","src":"380:905:10","text":" @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]."},"id":1692,"implemented":true,"kind":"function","modifiers":[],"name":"sendValue","nameLocation":"1299:9:10","nodeType":"FunctionDefinition","parameters":{"id":1651,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1648,"mutability":"mutable","name":"recipient","nameLocation":"1325:9:10","nodeType":"VariableDeclaration","scope":1692,"src":"1309:25:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"},"typeName":{"id":1647,"name":"address","nodeType":"ElementaryTypeName","src":"1309:15:10","stateMutability":"payable","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"visibility":"internal"},{"constant":false,"id":1650,"mutability":"mutable","name":"amount","nameLocation":"1344:6:10","nodeType":"VariableDeclaration","scope":1692,"src":"1336:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1649,"name":"uint256","nodeType":"ElementaryTypeName","src":"1336:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1308:43:10"},"returnParameters":{"id":1652,"nodeType":"ParameterList","parameters":[],"src":"1361:0:10"},"scope":1894,"src":"1290:349:10","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1708,"nodeType":"Block","src":"2573:62:10","statements":[{"expression":{"arguments":[{"id":1703,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1695,"src":"2612:6:10","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1704,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1697,"src":"2620:4:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":1705,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2626:1:10","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":1702,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1759,"src":"2590:21:10","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory,uint256) returns (bytes memory)"}},"id":1706,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2590:38:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":1701,"id":1707,"nodeType":"Return","src":"2583:45:10"}]},"documentation":{"id":1693,"nodeType":"StructuredDocumentation","src":"1645:834:10","text":" @dev Performs a Solidity function call using a low level `call`. A\n plain `call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason or custom error, it is bubbled\n up by this function (like regular Solidity function calls). However, if\n the call reverted with no returned reason, this function reverts with a\n {Errors.FailedCall} error.\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert."},"id":1709,"implemented":true,"kind":"function","modifiers":[],"name":"functionCall","nameLocation":"2493:12:10","nodeType":"FunctionDefinition","parameters":{"id":1698,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1695,"mutability":"mutable","name":"target","nameLocation":"2514:6:10","nodeType":"VariableDeclaration","scope":1709,"src":"2506:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1694,"name":"address","nodeType":"ElementaryTypeName","src":"2506:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1697,"mutability":"mutable","name":"data","nameLocation":"2535:4:10","nodeType":"VariableDeclaration","scope":1709,"src":"2522:17:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1696,"name":"bytes","nodeType":"ElementaryTypeName","src":"2522:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2505:35:10"},"returnParameters":{"id":1701,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1700,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1709,"src":"2559:12:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1699,"name":"bytes","nodeType":"ElementaryTypeName","src":"2559:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2558:14:10"},"scope":1894,"src":"2484:151:10","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1758,"nodeType":"Block","src":"3072:294:10","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1727,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":1723,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3094:4:10","typeDescriptions":{"typeIdentifier":"t_contract$_Address_$1894","typeString":"library Address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Address_$1894","typeString":"library Address"}],"id":1722,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3086:7:10","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1721,"name":"address","nodeType":"ElementaryTypeName","src":"3086:7:10","typeDescriptions":{}}},"id":1724,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3086:13:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1725,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3100:7:10","memberName":"balance","nodeType":"MemberAccess","src":"3086:21:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":1726,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1716,"src":"3110:5:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3086:29:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1740,"nodeType":"IfStatement","src":"3082:123:10","trueBody":{"id":1739,"nodeType":"Block","src":"3117:88:10","statements":[{"errorCall":{"arguments":[{"expression":{"arguments":[{"id":1733,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3173:4:10","typeDescriptions":{"typeIdentifier":"t_contract$_Address_$1894","typeString":"library Address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Address_$1894","typeString":"library Address"}],"id":1732,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3165:7:10","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1731,"name":"address","nodeType":"ElementaryTypeName","src":"3165:7:10","typeDescriptions":{}}},"id":1734,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3165:13:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1735,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3179:7:10","memberName":"balance","nodeType":"MemberAccess","src":"3165:21:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1736,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1716,"src":"3188:5:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1728,"name":"Errors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1946,"src":"3138:6:10","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Errors_$1946_$","typeString":"type(library Errors)"}},"id":1730,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3145:19:10","memberName":"InsufficientBalance","nodeType":"MemberAccess","referencedDeclaration":1934,"src":"3138:26:10","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":1737,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3138:56:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1738,"nodeType":"RevertStatement","src":"3131:63:10"}]}},{"assignments":[1742,1744],"declarations":[{"constant":false,"id":1742,"mutability":"mutable","name":"success","nameLocation":"3220:7:10","nodeType":"VariableDeclaration","scope":1758,"src":"3215:12:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1741,"name":"bool","nodeType":"ElementaryTypeName","src":"3215:4:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1744,"mutability":"mutable","name":"returndata","nameLocation":"3242:10:10","nodeType":"VariableDeclaration","scope":1758,"src":"3229:23:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1743,"name":"bytes","nodeType":"ElementaryTypeName","src":"3229:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":1751,"initialValue":{"arguments":[{"id":1749,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1714,"src":"3282:4:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":1745,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1712,"src":"3256:6:10","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1746,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3263:4:10","memberName":"call","nodeType":"MemberAccess","src":"3256:11:10","typeDescriptions":{"typeIdentifier":"t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) payable returns (bool,bytes memory)"}},"id":1748,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":1747,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1716,"src":"3275:5:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"3256:25:10","typeDescriptions":{"typeIdentifier":"t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value","typeString":"function (bytes memory) payable returns (bool,bytes memory)"}},"id":1750,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3256:31:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"3214:73:10"},{"expression":{"arguments":[{"id":1753,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1712,"src":"3331:6:10","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1754,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1742,"src":"3339:7:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":1755,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1744,"src":"3348:10:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1752,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1851,"src":"3304:26:10","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory) view returns (bytes memory)"}},"id":1756,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3304:55:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":1720,"id":1757,"nodeType":"Return","src":"3297:62:10"}]},"documentation":{"id":1710,"nodeType":"StructuredDocumentation","src":"2641:313:10","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`."},"id":1759,"implemented":true,"kind":"function","modifiers":[],"name":"functionCallWithValue","nameLocation":"2968:21:10","nodeType":"FunctionDefinition","parameters":{"id":1717,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1712,"mutability":"mutable","name":"target","nameLocation":"2998:6:10","nodeType":"VariableDeclaration","scope":1759,"src":"2990:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1711,"name":"address","nodeType":"ElementaryTypeName","src":"2990:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1714,"mutability":"mutable","name":"data","nameLocation":"3019:4:10","nodeType":"VariableDeclaration","scope":1759,"src":"3006:17:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1713,"name":"bytes","nodeType":"ElementaryTypeName","src":"3006:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":1716,"mutability":"mutable","name":"value","nameLocation":"3033:5:10","nodeType":"VariableDeclaration","scope":1759,"src":"3025:13:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1715,"name":"uint256","nodeType":"ElementaryTypeName","src":"3025:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2989:50:10"},"returnParameters":{"id":1720,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1719,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1759,"src":"3058:12:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1718,"name":"bytes","nodeType":"ElementaryTypeName","src":"3058:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3057:14:10"},"scope":1894,"src":"2959:407:10","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1784,"nodeType":"Block","src":"3605:154:10","statements":[{"assignments":[1770,1772],"declarations":[{"constant":false,"id":1770,"mutability":"mutable","name":"success","nameLocation":"3621:7:10","nodeType":"VariableDeclaration","scope":1784,"src":"3616:12:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1769,"name":"bool","nodeType":"ElementaryTypeName","src":"3616:4:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1772,"mutability":"mutable","name":"returndata","nameLocation":"3643:10:10","nodeType":"VariableDeclaration","scope":1784,"src":"3630:23:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1771,"name":"bytes","nodeType":"ElementaryTypeName","src":"3630:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":1777,"initialValue":{"arguments":[{"id":1775,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1764,"src":"3675:4:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":1773,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1762,"src":"3657:6:10","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1774,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3664:10:10","memberName":"staticcall","nodeType":"MemberAccess","src":"3657:17:10","typeDescriptions":{"typeIdentifier":"t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) view returns (bool,bytes memory)"}},"id":1776,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3657:23:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"3615:65:10"},{"expression":{"arguments":[{"id":1779,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1762,"src":"3724:6:10","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1780,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1770,"src":"3732:7:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":1781,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1772,"src":"3741:10:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1778,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1851,"src":"3697:26:10","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory) view returns (bytes memory)"}},"id":1782,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3697:55:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":1768,"id":1783,"nodeType":"Return","src":"3690:62:10"}]},"documentation":{"id":1760,"nodeType":"StructuredDocumentation","src":"3372:128:10","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call."},"id":1785,"implemented":true,"kind":"function","modifiers":[],"name":"functionStaticCall","nameLocation":"3514:18:10","nodeType":"FunctionDefinition","parameters":{"id":1765,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1762,"mutability":"mutable","name":"target","nameLocation":"3541:6:10","nodeType":"VariableDeclaration","scope":1785,"src":"3533:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1761,"name":"address","nodeType":"ElementaryTypeName","src":"3533:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1764,"mutability":"mutable","name":"data","nameLocation":"3562:4:10","nodeType":"VariableDeclaration","scope":1785,"src":"3549:17:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1763,"name":"bytes","nodeType":"ElementaryTypeName","src":"3549:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3532:35:10"},"returnParameters":{"id":1768,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1767,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1785,"src":"3591:12:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1766,"name":"bytes","nodeType":"ElementaryTypeName","src":"3591:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3590:14:10"},"scope":1894,"src":"3505:254:10","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":1810,"nodeType":"Block","src":"3997:156:10","statements":[{"assignments":[1796,1798],"declarations":[{"constant":false,"id":1796,"mutability":"mutable","name":"success","nameLocation":"4013:7:10","nodeType":"VariableDeclaration","scope":1810,"src":"4008:12:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1795,"name":"bool","nodeType":"ElementaryTypeName","src":"4008:4:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1798,"mutability":"mutable","name":"returndata","nameLocation":"4035:10:10","nodeType":"VariableDeclaration","scope":1810,"src":"4022:23:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1797,"name":"bytes","nodeType":"ElementaryTypeName","src":"4022:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":1803,"initialValue":{"arguments":[{"id":1801,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1790,"src":"4069:4:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":1799,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1788,"src":"4049:6:10","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1800,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4056:12:10","memberName":"delegatecall","nodeType":"MemberAccess","src":"4049:19:10","typeDescriptions":{"typeIdentifier":"t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) returns (bool,bytes memory)"}},"id":1802,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4049:25:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"4007:67:10"},{"expression":{"arguments":[{"id":1805,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1788,"src":"4118:6:10","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1806,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1796,"src":"4126:7:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":1807,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1798,"src":"4135:10:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1804,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1851,"src":"4091:26:10","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory) view returns (bytes memory)"}},"id":1808,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4091:55:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":1794,"id":1809,"nodeType":"Return","src":"4084:62:10"}]},"documentation":{"id":1786,"nodeType":"StructuredDocumentation","src":"3765:130:10","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call."},"id":1811,"implemented":true,"kind":"function","modifiers":[],"name":"functionDelegateCall","nameLocation":"3909:20:10","nodeType":"FunctionDefinition","parameters":{"id":1791,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1788,"mutability":"mutable","name":"target","nameLocation":"3938:6:10","nodeType":"VariableDeclaration","scope":1811,"src":"3930:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1787,"name":"address","nodeType":"ElementaryTypeName","src":"3930:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1790,"mutability":"mutable","name":"data","nameLocation":"3959:4:10","nodeType":"VariableDeclaration","scope":1811,"src":"3946:17:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1789,"name":"bytes","nodeType":"ElementaryTypeName","src":"3946:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3929:35:10"},"returnParameters":{"id":1794,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1793,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1811,"src":"3983:12:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1792,"name":"bytes","nodeType":"ElementaryTypeName","src":"3983:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3982:14:10"},"scope":1894,"src":"3900:253:10","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1850,"nodeType":"Block","src":"4579:424:10","statements":[{"condition":{"id":1824,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"4593:8:10","subExpression":{"id":1823,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1816,"src":"4594:7:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":1848,"nodeType":"Block","src":"4653:344:10","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1839,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1833,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":1830,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1818,"src":"4841:10:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":1831,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4852:6:10","memberName":"length","nodeType":"MemberAccess","src":"4841:17:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":1832,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4862:1:10","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4841:22:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1838,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":1834,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1814,"src":"4867:6:10","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1835,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4874:4:10","memberName":"code","nodeType":"MemberAccess","src":"4867:11:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":1836,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4879:6:10","memberName":"length","nodeType":"MemberAccess","src":"4867:18:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":1837,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4889:1:10","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4867:23:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4841:49:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1845,"nodeType":"IfStatement","src":"4837:119:10","trueBody":{"id":1844,"nodeType":"Block","src":"4892:64:10","statements":[{"errorCall":{"arguments":[{"id":1841,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1814,"src":"4934:6:10","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1840,"name":"AddressEmptyCode","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1645,"src":"4917:16:10","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":1842,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4917:24:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1843,"nodeType":"RevertStatement","src":"4910:31:10"}]}},{"expression":{"id":1846,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1818,"src":"4976:10:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":1822,"id":1847,"nodeType":"Return","src":"4969:17:10"}]},"id":1849,"nodeType":"IfStatement","src":"4589:408:10","trueBody":{"id":1829,"nodeType":"Block","src":"4603:44:10","statements":[{"expression":{"arguments":[{"id":1826,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1818,"src":"4625:10:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1825,"name":"_revert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1893,"src":"4617:7:10","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$","typeString":"function (bytes memory) pure"}},"id":1827,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4617:19:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1828,"nodeType":"ExpressionStatement","src":"4617:19:10"}]}}]},"documentation":{"id":1812,"nodeType":"StructuredDocumentation","src":"4159:257:10","text":" @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n of an unsuccessful call."},"id":1851,"implemented":true,"kind":"function","modifiers":[],"name":"verifyCallResultFromTarget","nameLocation":"4430:26:10","nodeType":"FunctionDefinition","parameters":{"id":1819,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1814,"mutability":"mutable","name":"target","nameLocation":"4474:6:10","nodeType":"VariableDeclaration","scope":1851,"src":"4466:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1813,"name":"address","nodeType":"ElementaryTypeName","src":"4466:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1816,"mutability":"mutable","name":"success","nameLocation":"4495:7:10","nodeType":"VariableDeclaration","scope":1851,"src":"4490:12:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1815,"name":"bool","nodeType":"ElementaryTypeName","src":"4490:4:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1818,"mutability":"mutable","name":"returndata","nameLocation":"4525:10:10","nodeType":"VariableDeclaration","scope":1851,"src":"4512:23:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1817,"name":"bytes","nodeType":"ElementaryTypeName","src":"4512:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4456:85:10"},"returnParameters":{"id":1822,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1821,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1851,"src":"4565:12:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1820,"name":"bytes","nodeType":"ElementaryTypeName","src":"4565:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4564:14:10"},"scope":1894,"src":"4421:582:10","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":1872,"nodeType":"Block","src":"5307:122:10","statements":[{"condition":{"id":1862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"5321:8:10","subExpression":{"id":1861,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1854,"src":"5322:7:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":1870,"nodeType":"Block","src":"5381:42:10","statements":[{"expression":{"id":1868,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1856,"src":"5402:10:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":1860,"id":1869,"nodeType":"Return","src":"5395:17:10"}]},"id":1871,"nodeType":"IfStatement","src":"5317:106:10","trueBody":{"id":1867,"nodeType":"Block","src":"5331:44:10","statements":[{"expression":{"arguments":[{"id":1864,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1856,"src":"5353:10:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1863,"name":"_revert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1893,"src":"5345:7:10","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$","typeString":"function (bytes memory) pure"}},"id":1865,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5345:19:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1866,"nodeType":"ExpressionStatement","src":"5345:19:10"}]}}]},"documentation":{"id":1852,"nodeType":"StructuredDocumentation","src":"5009:191:10","text":" @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n revert reason or with a default {Errors.FailedCall} error."},"id":1873,"implemented":true,"kind":"function","modifiers":[],"name":"verifyCallResult","nameLocation":"5214:16:10","nodeType":"FunctionDefinition","parameters":{"id":1857,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1854,"mutability":"mutable","name":"success","nameLocation":"5236:7:10","nodeType":"VariableDeclaration","scope":1873,"src":"5231:12:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1853,"name":"bool","nodeType":"ElementaryTypeName","src":"5231:4:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1856,"mutability":"mutable","name":"returndata","nameLocation":"5258:10:10","nodeType":"VariableDeclaration","scope":1873,"src":"5245:23:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1855,"name":"bytes","nodeType":"ElementaryTypeName","src":"5245:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5230:39:10"},"returnParameters":{"id":1860,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1859,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1873,"src":"5293:12:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1858,"name":"bytes","nodeType":"ElementaryTypeName","src":"5293:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5292:14:10"},"scope":1894,"src":"5205:224:10","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":1892,"nodeType":"Block","src":"5598:432:10","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1882,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":1879,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1876,"src":"5674:10:10","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":1880,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5685:6:10","memberName":"length","nodeType":"MemberAccess","src":"5674:17:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":1881,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5694:1:10","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5674:21:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":1890,"nodeType":"Block","src":"5973:51:10","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":1885,"name":"Errors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1946,"src":"5994:6:10","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Errors_$1946_$","typeString":"type(library Errors)"}},"id":1887,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6001:10:10","memberName":"FailedCall","nodeType":"MemberAccess","referencedDeclaration":1937,"src":"5994:17:10","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":1888,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5994:19:10","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1889,"nodeType":"RevertStatement","src":"5987:26:10"}]},"id":1891,"nodeType":"IfStatement","src":"5670:354:10","trueBody":{"id":1884,"nodeType":"Block","src":"5697:270:10","statements":[{"AST":{"nativeSrc":"5824:133:10","nodeType":"YulBlock","src":"5824:133:10","statements":[{"nativeSrc":"5842:40:10","nodeType":"YulVariableDeclaration","src":"5842:40:10","value":{"arguments":[{"name":"returndata","nativeSrc":"5871:10:10","nodeType":"YulIdentifier","src":"5871:10:10"}],"functionName":{"name":"mload","nativeSrc":"5865:5:10","nodeType":"YulIdentifier","src":"5865:5:10"},"nativeSrc":"5865:17:10","nodeType":"YulFunctionCall","src":"5865:17:10"},"variables":[{"name":"returndata_size","nativeSrc":"5846:15:10","nodeType":"YulTypedName","src":"5846:15:10","type":""}]},{"expression":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"5910:2:10","nodeType":"YulLiteral","src":"5910:2:10","type":"","value":"32"},{"name":"returndata","nativeSrc":"5914:10:10","nodeType":"YulIdentifier","src":"5914:10:10"}],"functionName":{"name":"add","nativeSrc":"5906:3:10","nodeType":"YulIdentifier","src":"5906:3:10"},"nativeSrc":"5906:19:10","nodeType":"YulFunctionCall","src":"5906:19:10"},{"name":"returndata_size","nativeSrc":"5927:15:10","nodeType":"YulIdentifier","src":"5927:15:10"}],"functionName":{"name":"revert","nativeSrc":"5899:6:10","nodeType":"YulIdentifier","src":"5899:6:10"},"nativeSrc":"5899:44:10","nodeType":"YulFunctionCall","src":"5899:44:10"},"nativeSrc":"5899:44:10","nodeType":"YulExpressionStatement","src":"5899:44:10"}]},"evmVersion":"paris","externalReferences":[{"declaration":1876,"isOffset":false,"isSlot":false,"src":"5871:10:10","valueSize":1},{"declaration":1876,"isOffset":false,"isSlot":false,"src":"5914:10:10","valueSize":1}],"flags":["memory-safe"],"id":1883,"nodeType":"InlineAssembly","src":"5799:158:10"}]}}]},"documentation":{"id":1874,"nodeType":"StructuredDocumentation","src":"5435:103:10","text":" @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}."},"id":1893,"implemented":true,"kind":"function","modifiers":[],"name":"_revert","nameLocation":"5552:7:10","nodeType":"FunctionDefinition","parameters":{"id":1877,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1876,"mutability":"mutable","name":"returndata","nameLocation":"5573:10:10","nodeType":"VariableDeclaration","scope":1893,"src":"5560:23:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1875,"name":"bytes","nodeType":"ElementaryTypeName","src":"5560:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5559:25:10"},"returnParameters":{"id":1878,"nodeType":"ParameterList","parameters":[],"src":"5598:0:10"},"scope":1894,"src":"5543:487:10","stateMutability":"pure","virtual":false,"visibility":"private"}],"scope":1895,"src":"233:5799:10","usedErrors":[1645],"usedEvents":[]}],"src":"101:5932:10"},"id":10},"@openzeppelin/contracts/utils/Context.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","exportedSymbols":{"Context":[1924]},"id":1925,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1896,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"101:24:11"},{"abstract":true,"baseContracts":[],"canonicalName":"Context","contractDependencies":[],"contractKind":"contract","documentation":{"id":1897,"nodeType":"StructuredDocumentation","src":"127:496:11","text":" @dev Provides information about the current execution context, including the\n sender of the transaction and its data. While these are generally available\n via msg.sender and msg.data, they should not be accessed in such a direct\n manner, since when dealing with meta-transactions the account sending and\n paying for execution may not be the actual sender (as far as an application\n is concerned).\n This contract is only required for intermediate, library-like contracts."},"fullyImplemented":true,"id":1924,"linearizedBaseContracts":[1924],"name":"Context","nameLocation":"642:7:11","nodeType":"ContractDefinition","nodes":[{"body":{"id":1905,"nodeType":"Block","src":"718:34:11","statements":[{"expression":{"expression":{"id":1902,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"735:3:11","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1903,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"739:6:11","memberName":"sender","nodeType":"MemberAccess","src":"735:10:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":1901,"id":1904,"nodeType":"Return","src":"728:17:11"}]},"id":1906,"implemented":true,"kind":"function","modifiers":[],"name":"_msgSender","nameLocation":"665:10:11","nodeType":"FunctionDefinition","parameters":{"id":1898,"nodeType":"ParameterList","parameters":[],"src":"675:2:11"},"returnParameters":{"id":1901,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1900,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1906,"src":"709:7:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1899,"name":"address","nodeType":"ElementaryTypeName","src":"709:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"708:9:11"},"scope":1924,"src":"656:96:11","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":1914,"nodeType":"Block","src":"825:32:11","statements":[{"expression":{"expression":{"id":1911,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"842:3:11","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1912,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"846:4:11","memberName":"data","nodeType":"MemberAccess","src":"842:8:11","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"functionReturnParameters":1910,"id":1913,"nodeType":"Return","src":"835:15:11"}]},"id":1915,"implemented":true,"kind":"function","modifiers":[],"name":"_msgData","nameLocation":"767:8:11","nodeType":"FunctionDefinition","parameters":{"id":1907,"nodeType":"ParameterList","parameters":[],"src":"775:2:11"},"returnParameters":{"id":1910,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1909,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1915,"src":"809:14:11","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1908,"name":"bytes","nodeType":"ElementaryTypeName","src":"809:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"808:16:11"},"scope":1924,"src":"758:99:11","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":1922,"nodeType":"Block","src":"935:25:11","statements":[{"expression":{"hexValue":"30","id":1920,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"952:1:11","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":1919,"id":1921,"nodeType":"Return","src":"945:8:11"}]},"id":1923,"implemented":true,"kind":"function","modifiers":[],"name":"_contextSuffixLength","nameLocation":"872:20:11","nodeType":"FunctionDefinition","parameters":{"id":1916,"nodeType":"ParameterList","parameters":[],"src":"892:2:11"},"returnParameters":{"id":1919,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1918,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1923,"src":"926:7:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1917,"name":"uint256","nodeType":"ElementaryTypeName","src":"926:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"925:9:11"},"scope":1924,"src":"863:97:11","stateMutability":"view","virtual":true,"visibility":"internal"}],"scope":1925,"src":"624:338:11","usedErrors":[],"usedEvents":[]}],"src":"101:862:11"},"id":11},"@openzeppelin/contracts/utils/Errors.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Errors.sol","exportedSymbols":{"Errors":[1946]},"id":1947,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1926,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"100:24:12"},{"abstract":false,"baseContracts":[],"canonicalName":"Errors","contractDependencies":[],"contractKind":"library","documentation":{"id":1927,"nodeType":"StructuredDocumentation","src":"126:284:12","text":" @dev Collection of common custom errors used in multiple contracts\n IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n It is recommended to avoid relying on the error API for critical functionality.\n _Available since v5.1._"},"fullyImplemented":true,"id":1946,"linearizedBaseContracts":[1946],"name":"Errors","nameLocation":"419:6:12","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1928,"nodeType":"StructuredDocumentation","src":"432:94:12","text":" @dev The ETH balance of the account is not enough to perform the operation."},"errorSelector":"cf479181","id":1934,"name":"InsufficientBalance","nameLocation":"537:19:12","nodeType":"ErrorDefinition","parameters":{"id":1933,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1930,"mutability":"mutable","name":"balance","nameLocation":"565:7:12","nodeType":"VariableDeclaration","scope":1934,"src":"557:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1929,"name":"uint256","nodeType":"ElementaryTypeName","src":"557:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1932,"mutability":"mutable","name":"needed","nameLocation":"582:6:12","nodeType":"VariableDeclaration","scope":1934,"src":"574:14:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1931,"name":"uint256","nodeType":"ElementaryTypeName","src":"574:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"556:33:12"},"src":"531:59:12"},{"documentation":{"id":1935,"nodeType":"StructuredDocumentation","src":"596:89:12","text":" @dev A call to an address target failed. The target may have reverted."},"errorSelector":"d6bda275","id":1937,"name":"FailedCall","nameLocation":"696:10:12","nodeType":"ErrorDefinition","parameters":{"id":1936,"nodeType":"ParameterList","parameters":[],"src":"706:2:12"},"src":"690:19:12"},{"documentation":{"id":1938,"nodeType":"StructuredDocumentation","src":"715:46:12","text":" @dev The deployment failed."},"errorSelector":"b06ebf3d","id":1940,"name":"FailedDeployment","nameLocation":"772:16:12","nodeType":"ErrorDefinition","parameters":{"id":1939,"nodeType":"ParameterList","parameters":[],"src":"788:2:12"},"src":"766:25:12"},{"documentation":{"id":1941,"nodeType":"StructuredDocumentation","src":"797:58:12","text":" @dev A necessary precompile is missing."},"errorSelector":"42b01bce","id":1945,"name":"MissingPrecompile","nameLocation":"866:17:12","nodeType":"ErrorDefinition","parameters":{"id":1944,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1943,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1945,"src":"884:7:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1942,"name":"address","nodeType":"ElementaryTypeName","src":"884:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"883:9:12"},"src":"860:33:12"}],"scope":1947,"src":"411:484:12","usedErrors":[1934,1937,1940,1945],"usedEvents":[]}],"src":"100:796:12"},"id":12},"@openzeppelin/contracts/utils/Panic.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Panic.sol","exportedSymbols":{"Panic":[1998]},"id":1999,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1948,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"99:24:13"},{"abstract":false,"baseContracts":[],"canonicalName":"Panic","contractDependencies":[],"contractKind":"library","documentation":{"id":1949,"nodeType":"StructuredDocumentation","src":"125:489:13","text":" @dev Helper library for emitting standardized panic codes.\n ```solidity\n contract Example {\n      using Panic for uint256;\n      // Use any of the declared internal constants\n      function foo() { Panic.GENERIC.panic(); }\n      // Alternatively\n      function foo() { Panic.panic(Panic.GENERIC); }\n }\n ```\n Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n _Available since v5.1._"},"fullyImplemented":true,"id":1998,"linearizedBaseContracts":[1998],"name":"Panic","nameLocation":"665:5:13","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":1950,"nodeType":"StructuredDocumentation","src":"677:36:13","text":"@dev generic / unspecified error"},"id":1953,"mutability":"constant","name":"GENERIC","nameLocation":"744:7:13","nodeType":"VariableDeclaration","scope":1998,"src":"718:40:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1951,"name":"uint256","nodeType":"ElementaryTypeName","src":"718:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783030","id":1952,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"754:4:13","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0x00"},"visibility":"internal"},{"constant":true,"documentation":{"id":1954,"nodeType":"StructuredDocumentation","src":"764:37:13","text":"@dev used by the assert() builtin"},"id":1957,"mutability":"constant","name":"ASSERT","nameLocation":"832:6:13","nodeType":"VariableDeclaration","scope":1998,"src":"806:39:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1955,"name":"uint256","nodeType":"ElementaryTypeName","src":"806:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783031","id":1956,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"841:4:13","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"0x01"},"visibility":"internal"},{"constant":true,"documentation":{"id":1958,"nodeType":"StructuredDocumentation","src":"851:41:13","text":"@dev arithmetic underflow or overflow"},"id":1961,"mutability":"constant","name":"UNDER_OVERFLOW","nameLocation":"923:14:13","nodeType":"VariableDeclaration","scope":1998,"src":"897:47:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1959,"name":"uint256","nodeType":"ElementaryTypeName","src":"897:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783131","id":1960,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"940:4:13","typeDescriptions":{"typeIdentifier":"t_rational_17_by_1","typeString":"int_const 17"},"value":"0x11"},"visibility":"internal"},{"constant":true,"documentation":{"id":1962,"nodeType":"StructuredDocumentation","src":"950:35:13","text":"@dev division or modulo by zero"},"id":1965,"mutability":"constant","name":"DIVISION_BY_ZERO","nameLocation":"1016:16:13","nodeType":"VariableDeclaration","scope":1998,"src":"990:49:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1963,"name":"uint256","nodeType":"ElementaryTypeName","src":"990:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783132","id":1964,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1035:4:13","typeDescriptions":{"typeIdentifier":"t_rational_18_by_1","typeString":"int_const 18"},"value":"0x12"},"visibility":"internal"},{"constant":true,"documentation":{"id":1966,"nodeType":"StructuredDocumentation","src":"1045:30:13","text":"@dev enum conversion error"},"id":1969,"mutability":"constant","name":"ENUM_CONVERSION_ERROR","nameLocation":"1106:21:13","nodeType":"VariableDeclaration","scope":1998,"src":"1080:54:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1967,"name":"uint256","nodeType":"ElementaryTypeName","src":"1080:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783231","id":1968,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1130:4:13","typeDescriptions":{"typeIdentifier":"t_rational_33_by_1","typeString":"int_const 33"},"value":"0x21"},"visibility":"internal"},{"constant":true,"documentation":{"id":1970,"nodeType":"StructuredDocumentation","src":"1140:36:13","text":"@dev invalid encoding in storage"},"id":1973,"mutability":"constant","name":"STORAGE_ENCODING_ERROR","nameLocation":"1207:22:13","nodeType":"VariableDeclaration","scope":1998,"src":"1181:55:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1971,"name":"uint256","nodeType":"ElementaryTypeName","src":"1181:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783232","id":1972,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1232:4:13","typeDescriptions":{"typeIdentifier":"t_rational_34_by_1","typeString":"int_const 34"},"value":"0x22"},"visibility":"internal"},{"constant":true,"documentation":{"id":1974,"nodeType":"StructuredDocumentation","src":"1242:24:13","text":"@dev empty array pop"},"id":1977,"mutability":"constant","name":"EMPTY_ARRAY_POP","nameLocation":"1297:15:13","nodeType":"VariableDeclaration","scope":1998,"src":"1271:48:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1975,"name":"uint256","nodeType":"ElementaryTypeName","src":"1271:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783331","id":1976,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1315:4:13","typeDescriptions":{"typeIdentifier":"t_rational_49_by_1","typeString":"int_const 49"},"value":"0x31"},"visibility":"internal"},{"constant":true,"documentation":{"id":1978,"nodeType":"StructuredDocumentation","src":"1325:35:13","text":"@dev array out of bounds access"},"id":1981,"mutability":"constant","name":"ARRAY_OUT_OF_BOUNDS","nameLocation":"1391:19:13","nodeType":"VariableDeclaration","scope":1998,"src":"1365:52:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1979,"name":"uint256","nodeType":"ElementaryTypeName","src":"1365:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783332","id":1980,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1413:4:13","typeDescriptions":{"typeIdentifier":"t_rational_50_by_1","typeString":"int_const 50"},"value":"0x32"},"visibility":"internal"},{"constant":true,"documentation":{"id":1982,"nodeType":"StructuredDocumentation","src":"1423:65:13","text":"@dev resource error (too large allocation or too large array)"},"id":1985,"mutability":"constant","name":"RESOURCE_ERROR","nameLocation":"1519:14:13","nodeType":"VariableDeclaration","scope":1998,"src":"1493:47:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1983,"name":"uint256","nodeType":"ElementaryTypeName","src":"1493:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783431","id":1984,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1536:4:13","typeDescriptions":{"typeIdentifier":"t_rational_65_by_1","typeString":"int_const 65"},"value":"0x41"},"visibility":"internal"},{"constant":true,"documentation":{"id":1986,"nodeType":"StructuredDocumentation","src":"1546:42:13","text":"@dev calling invalid internal function"},"id":1989,"mutability":"constant","name":"INVALID_INTERNAL_FUNCTION","nameLocation":"1619:25:13","nodeType":"VariableDeclaration","scope":1998,"src":"1593:58:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1987,"name":"uint256","nodeType":"ElementaryTypeName","src":"1593:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783531","id":1988,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1647:4:13","typeDescriptions":{"typeIdentifier":"t_rational_81_by_1","typeString":"int_const 81"},"value":"0x51"},"visibility":"internal"},{"body":{"id":1996,"nodeType":"Block","src":"1819:151:13","statements":[{"AST":{"nativeSrc":"1854:110:13","nodeType":"YulBlock","src":"1854:110:13","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1875:4:13","nodeType":"YulLiteral","src":"1875:4:13","type":"","value":"0x00"},{"kind":"number","nativeSrc":"1881:10:13","nodeType":"YulLiteral","src":"1881:10:13","type":"","value":"0x4e487b71"}],"functionName":{"name":"mstore","nativeSrc":"1868:6:13","nodeType":"YulIdentifier","src":"1868:6:13"},"nativeSrc":"1868:24:13","nodeType":"YulFunctionCall","src":"1868:24:13"},"nativeSrc":"1868:24:13","nodeType":"YulExpressionStatement","src":"1868:24:13"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1912:4:13","nodeType":"YulLiteral","src":"1912:4:13","type":"","value":"0x20"},{"name":"code","nativeSrc":"1918:4:13","nodeType":"YulIdentifier","src":"1918:4:13"}],"functionName":{"name":"mstore","nativeSrc":"1905:6:13","nodeType":"YulIdentifier","src":"1905:6:13"},"nativeSrc":"1905:18:13","nodeType":"YulFunctionCall","src":"1905:18:13"},"nativeSrc":"1905:18:13","nodeType":"YulExpressionStatement","src":"1905:18:13"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1943:4:13","nodeType":"YulLiteral","src":"1943:4:13","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"1949:4:13","nodeType":"YulLiteral","src":"1949:4:13","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"1936:6:13","nodeType":"YulIdentifier","src":"1936:6:13"},"nativeSrc":"1936:18:13","nodeType":"YulFunctionCall","src":"1936:18:13"},"nativeSrc":"1936:18:13","nodeType":"YulExpressionStatement","src":"1936:18:13"}]},"evmVersion":"paris","externalReferences":[{"declaration":1992,"isOffset":false,"isSlot":false,"src":"1918:4:13","valueSize":1}],"flags":["memory-safe"],"id":1995,"nodeType":"InlineAssembly","src":"1829:135:13"}]},"documentation":{"id":1990,"nodeType":"StructuredDocumentation","src":"1658:113:13","text":"@dev Reverts with a panic code. Recommended to use with\n the internal constants with predefined codes."},"id":1997,"implemented":true,"kind":"function","modifiers":[],"name":"panic","nameLocation":"1785:5:13","nodeType":"FunctionDefinition","parameters":{"id":1993,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1992,"mutability":"mutable","name":"code","nameLocation":"1799:4:13","nodeType":"VariableDeclaration","scope":1997,"src":"1791:12:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1991,"name":"uint256","nodeType":"ElementaryTypeName","src":"1791:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1790:14:13"},"returnParameters":{"id":1994,"nodeType":"ParameterList","parameters":[],"src":"1819:0:13"},"scope":1998,"src":"1776:194:13","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":1999,"src":"657:1315:13","usedErrors":[],"usedEvents":[]}],"src":"99:1874:13"},"id":13},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/introspection/ERC165.sol","exportedSymbols":{"ERC165":[2022],"IERC165":[2034]},"id":2023,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2000,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"114:24:14"},{"absolutePath":"@openzeppelin/contracts/utils/introspection/IERC165.sol","file":"./IERC165.sol","id":2002,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2023,"sourceUnit":2035,"src":"140:38:14","symbolAliases":[{"foreign":{"id":2001,"name":"IERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2034,"src":"148:7:14","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":2004,"name":"IERC165","nameLocations":["688:7:14"],"nodeType":"IdentifierPath","referencedDeclaration":2034,"src":"688:7:14"},"id":2005,"nodeType":"InheritanceSpecifier","src":"688:7:14"}],"canonicalName":"ERC165","contractDependencies":[],"contractKind":"contract","documentation":{"id":2003,"nodeType":"StructuredDocumentation","src":"180:479:14","text":" @dev Implementation of the {IERC165} interface.\n Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n for the additional interface id that will be supported. For example:\n ```solidity\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n }\n ```"},"fullyImplemented":true,"id":2022,"linearizedBaseContracts":[2022,2034],"name":"ERC165","nameLocation":"678:6:14","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[2033],"body":{"id":2020,"nodeType":"Block","src":"845:64:14","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":2018,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2013,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2008,"src":"862:11:14","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":2015,"name":"IERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2034,"src":"882:7:14","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC165_$2034_$","typeString":"type(contract IERC165)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_contract$_IERC165_$2034_$","typeString":"type(contract IERC165)"}],"id":2014,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"877:4:14","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":2016,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"877:13:14","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_contract$_IERC165_$2034","typeString":"type(contract IERC165)"}},"id":2017,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"891:11:14","memberName":"interfaceId","nodeType":"MemberAccess","src":"877:25:14","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"862:40:14","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":2012,"id":2019,"nodeType":"Return","src":"855:47:14"}]},"documentation":{"id":2006,"nodeType":"StructuredDocumentation","src":"702:56:14","text":" @dev See {IERC165-supportsInterface}."},"functionSelector":"01ffc9a7","id":2021,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"772:17:14","nodeType":"FunctionDefinition","parameters":{"id":2009,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2008,"mutability":"mutable","name":"interfaceId","nameLocation":"797:11:14","nodeType":"VariableDeclaration","scope":2021,"src":"790:18:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":2007,"name":"bytes4","nodeType":"ElementaryTypeName","src":"790:6:14","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"789:20:14"},"returnParameters":{"id":2012,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2011,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2021,"src":"839:4:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2010,"name":"bool","nodeType":"ElementaryTypeName","src":"839:4:14","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"838:6:14"},"scope":2022,"src":"763:146:14","stateMutability":"view","virtual":true,"visibility":"public"}],"scope":2023,"src":"660:251:14","usedErrors":[],"usedEvents":[]}],"src":"114:798:14"},"id":14},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/introspection/IERC165.sol","exportedSymbols":{"IERC165":[2034]},"id":2035,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2024,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"115:24:15"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC165","contractDependencies":[],"contractKind":"interface","documentation":{"id":2025,"nodeType":"StructuredDocumentation","src":"141:280:15","text":" @dev Interface of the ERC-165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[ERC].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}."},"fullyImplemented":false,"id":2034,"linearizedBaseContracts":[2034],"name":"IERC165","nameLocation":"432:7:15","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":2026,"nodeType":"StructuredDocumentation","src":"446:340:15","text":" @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas."},"functionSelector":"01ffc9a7","id":2033,"implemented":false,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"800:17:15","nodeType":"FunctionDefinition","parameters":{"id":2029,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2028,"mutability":"mutable","name":"interfaceId","nameLocation":"825:11:15","nodeType":"VariableDeclaration","scope":2033,"src":"818:18:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":2027,"name":"bytes4","nodeType":"ElementaryTypeName","src":"818:6:15","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"817:20:15"},"returnParameters":{"id":2032,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2031,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2033,"src":"861:4:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2030,"name":"bool","nodeType":"ElementaryTypeName","src":"861:4:15","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"860:6:15"},"scope":2034,"src":"791:76:15","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":2035,"src":"422:447:15","usedErrors":[],"usedEvents":[]}],"src":"115:755:15"},"id":15},"@openzeppelin/contracts/utils/math/Math.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/math/Math.sol","exportedSymbols":{"Math":[3640],"Panic":[1998],"SafeCast":[5405]},"id":3641,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2036,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"103:24:16"},{"absolutePath":"@openzeppelin/contracts/utils/Panic.sol","file":"../Panic.sol","id":2038,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3641,"sourceUnit":1999,"src":"129:35:16","symbolAliases":[{"foreign":{"id":2037,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1998,"src":"137:5:16","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/math/SafeCast.sol","file":"./SafeCast.sol","id":2040,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3641,"sourceUnit":5406,"src":"165:40:16","symbolAliases":[{"foreign":{"id":2039,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"173:8:16","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"Math","contractDependencies":[],"contractKind":"library","documentation":{"id":2041,"nodeType":"StructuredDocumentation","src":"207:73:16","text":" @dev Standard math utilities missing in the Solidity language."},"fullyImplemented":true,"id":3640,"linearizedBaseContracts":[3640],"name":"Math","nameLocation":"289:4:16","nodeType":"ContractDefinition","nodes":[{"canonicalName":"Math.Rounding","id":2046,"members":[{"id":2042,"name":"Floor","nameLocation":"324:5:16","nodeType":"EnumValue","src":"324:5:16"},{"id":2043,"name":"Ceil","nameLocation":"367:4:16","nodeType":"EnumValue","src":"367:4:16"},{"id":2044,"name":"Trunc","nameLocation":"409:5:16","nodeType":"EnumValue","src":"409:5:16"},{"id":2045,"name":"Expand","nameLocation":"439:6:16","nodeType":"EnumValue","src":"439:6:16"}],"name":"Rounding","nameLocation":"305:8:16","nodeType":"EnumDefinition","src":"300:169:16"},{"body":{"id":2077,"nodeType":"Block","src":"677:140:16","statements":[{"id":2076,"nodeType":"UncheckedBlock","src":"687:124:16","statements":[{"assignments":[2059],"declarations":[{"constant":false,"id":2059,"mutability":"mutable","name":"c","nameLocation":"719:1:16","nodeType":"VariableDeclaration","scope":2076,"src":"711:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2058,"name":"uint256","nodeType":"ElementaryTypeName","src":"711:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2063,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2062,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2060,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2049,"src":"723:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":2061,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2051,"src":"727:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"723:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"711:17:16"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2066,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2064,"name":"c","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2059,"src":"746:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":2065,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2049,"src":"750:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"746:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2071,"nodeType":"IfStatement","src":"742:28:16","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":2067,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"761:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":2068,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"768:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":2069,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"760:10:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":2057,"id":2070,"nodeType":"Return","src":"753:17:16"}},{"expression":{"components":[{"hexValue":"74727565","id":2072,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"792:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"id":2073,"name":"c","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2059,"src":"798:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2074,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"791:9:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"functionReturnParameters":2057,"id":2075,"nodeType":"Return","src":"784:16:16"}]}]},"documentation":{"id":2047,"nodeType":"StructuredDocumentation","src":"475:106:16","text":" @dev Returns the addition of two unsigned integers, with an success flag (no overflow)."},"id":2078,"implemented":true,"kind":"function","modifiers":[],"name":"tryAdd","nameLocation":"595:6:16","nodeType":"FunctionDefinition","parameters":{"id":2052,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2049,"mutability":"mutable","name":"a","nameLocation":"610:1:16","nodeType":"VariableDeclaration","scope":2078,"src":"602:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2048,"name":"uint256","nodeType":"ElementaryTypeName","src":"602:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2051,"mutability":"mutable","name":"b","nameLocation":"621:1:16","nodeType":"VariableDeclaration","scope":2078,"src":"613:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2050,"name":"uint256","nodeType":"ElementaryTypeName","src":"613:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"601:22:16"},"returnParameters":{"id":2057,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2054,"mutability":"mutable","name":"success","nameLocation":"652:7:16","nodeType":"VariableDeclaration","scope":2078,"src":"647:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2053,"name":"bool","nodeType":"ElementaryTypeName","src":"647:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2056,"mutability":"mutable","name":"result","nameLocation":"669:6:16","nodeType":"VariableDeclaration","scope":2078,"src":"661:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2055,"name":"uint256","nodeType":"ElementaryTypeName","src":"661:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"646:30:16"},"scope":3640,"src":"586:231:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2105,"nodeType":"Block","src":"1028:113:16","statements":[{"id":2104,"nodeType":"UncheckedBlock","src":"1038:97:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2092,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2090,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2083,"src":"1066:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":2091,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2081,"src":"1070:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1066:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2097,"nodeType":"IfStatement","src":"1062:28:16","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":2093,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1081:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":2094,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1088:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":2095,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"1080:10:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":2089,"id":2096,"nodeType":"Return","src":"1073:17:16"}},{"expression":{"components":[{"hexValue":"74727565","id":2098,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1112:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2101,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2099,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2081,"src":"1118:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":2100,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2083,"src":"1122:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1118:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2102,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1111:13:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"functionReturnParameters":2089,"id":2103,"nodeType":"Return","src":"1104:20:16"}]}]},"documentation":{"id":2079,"nodeType":"StructuredDocumentation","src":"823:109:16","text":" @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow)."},"id":2106,"implemented":true,"kind":"function","modifiers":[],"name":"trySub","nameLocation":"946:6:16","nodeType":"FunctionDefinition","parameters":{"id":2084,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2081,"mutability":"mutable","name":"a","nameLocation":"961:1:16","nodeType":"VariableDeclaration","scope":2106,"src":"953:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2080,"name":"uint256","nodeType":"ElementaryTypeName","src":"953:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2083,"mutability":"mutable","name":"b","nameLocation":"972:1:16","nodeType":"VariableDeclaration","scope":2106,"src":"964:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2082,"name":"uint256","nodeType":"ElementaryTypeName","src":"964:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"952:22:16"},"returnParameters":{"id":2089,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2086,"mutability":"mutable","name":"success","nameLocation":"1003:7:16","nodeType":"VariableDeclaration","scope":2106,"src":"998:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2085,"name":"bool","nodeType":"ElementaryTypeName","src":"998:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2088,"mutability":"mutable","name":"result","nameLocation":"1020:6:16","nodeType":"VariableDeclaration","scope":2106,"src":"1012:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2087,"name":"uint256","nodeType":"ElementaryTypeName","src":"1012:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"997:30:16"},"scope":3640,"src":"937:204:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2147,"nodeType":"Block","src":"1355:417:16","statements":[{"id":2146,"nodeType":"UncheckedBlock","src":"1365:401:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2120,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2118,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"1623:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2119,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1628:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1623:6:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2125,"nodeType":"IfStatement","src":"1619:28:16","trueBody":{"expression":{"components":[{"hexValue":"74727565","id":2121,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1639:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"hexValue":"30","id":2122,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1645:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":2123,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"1638:9:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":2117,"id":2124,"nodeType":"Return","src":"1631:16:16"}},{"assignments":[2127],"declarations":[{"constant":false,"id":2127,"mutability":"mutable","name":"c","nameLocation":"1669:1:16","nodeType":"VariableDeclaration","scope":2146,"src":"1661:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2126,"name":"uint256","nodeType":"ElementaryTypeName","src":"1661:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2131,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2130,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2128,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"1673:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2129,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2111,"src":"1677:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1673:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1661:17:16"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2136,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2134,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2132,"name":"c","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2127,"src":"1696:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2133,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"1700:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1696:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":2135,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2111,"src":"1705:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1696:10:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2141,"nodeType":"IfStatement","src":"1692:33:16","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":2137,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1716:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":2138,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1723:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":2139,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"1715:10:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":2117,"id":2140,"nodeType":"Return","src":"1708:17:16"}},{"expression":{"components":[{"hexValue":"74727565","id":2142,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1747:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"id":2143,"name":"c","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2127,"src":"1753:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2144,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1746:9:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"functionReturnParameters":2117,"id":2145,"nodeType":"Return","src":"1739:16:16"}]}]},"documentation":{"id":2107,"nodeType":"StructuredDocumentation","src":"1147:112:16","text":" @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow)."},"id":2148,"implemented":true,"kind":"function","modifiers":[],"name":"tryMul","nameLocation":"1273:6:16","nodeType":"FunctionDefinition","parameters":{"id":2112,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2109,"mutability":"mutable","name":"a","nameLocation":"1288:1:16","nodeType":"VariableDeclaration","scope":2148,"src":"1280:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2108,"name":"uint256","nodeType":"ElementaryTypeName","src":"1280:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2111,"mutability":"mutable","name":"b","nameLocation":"1299:1:16","nodeType":"VariableDeclaration","scope":2148,"src":"1291:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2110,"name":"uint256","nodeType":"ElementaryTypeName","src":"1291:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1279:22:16"},"returnParameters":{"id":2117,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2114,"mutability":"mutable","name":"success","nameLocation":"1330:7:16","nodeType":"VariableDeclaration","scope":2148,"src":"1325:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2113,"name":"bool","nodeType":"ElementaryTypeName","src":"1325:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2116,"mutability":"mutable","name":"result","nameLocation":"1347:6:16","nodeType":"VariableDeclaration","scope":2148,"src":"1339:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2115,"name":"uint256","nodeType":"ElementaryTypeName","src":"1339:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1324:30:16"},"scope":3640,"src":"1264:508:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2175,"nodeType":"Block","src":"1987:114:16","statements":[{"id":2174,"nodeType":"UncheckedBlock","src":"1997:98:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2162,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2160,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2153,"src":"2025:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2161,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2030:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2025:6:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2167,"nodeType":"IfStatement","src":"2021:29:16","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":2163,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2041:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":2164,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2048:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":2165,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"2040:10:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":2159,"id":2166,"nodeType":"Return","src":"2033:17:16"}},{"expression":{"components":[{"hexValue":"74727565","id":2168,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2072:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2171,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2169,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2151,"src":"2078:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2170,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2153,"src":"2082:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2078:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2172,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2071:13:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"functionReturnParameters":2159,"id":2173,"nodeType":"Return","src":"2064:20:16"}]}]},"documentation":{"id":2149,"nodeType":"StructuredDocumentation","src":"1778:113:16","text":" @dev Returns the division of two unsigned integers, with a success flag (no division by zero)."},"id":2176,"implemented":true,"kind":"function","modifiers":[],"name":"tryDiv","nameLocation":"1905:6:16","nodeType":"FunctionDefinition","parameters":{"id":2154,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2151,"mutability":"mutable","name":"a","nameLocation":"1920:1:16","nodeType":"VariableDeclaration","scope":2176,"src":"1912:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2150,"name":"uint256","nodeType":"ElementaryTypeName","src":"1912:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2153,"mutability":"mutable","name":"b","nameLocation":"1931:1:16","nodeType":"VariableDeclaration","scope":2176,"src":"1923:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2152,"name":"uint256","nodeType":"ElementaryTypeName","src":"1923:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1911:22:16"},"returnParameters":{"id":2159,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2156,"mutability":"mutable","name":"success","nameLocation":"1962:7:16","nodeType":"VariableDeclaration","scope":2176,"src":"1957:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2155,"name":"bool","nodeType":"ElementaryTypeName","src":"1957:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2158,"mutability":"mutable","name":"result","nameLocation":"1979:6:16","nodeType":"VariableDeclaration","scope":2176,"src":"1971:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2157,"name":"uint256","nodeType":"ElementaryTypeName","src":"1971:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1956:30:16"},"scope":3640,"src":"1896:205:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2203,"nodeType":"Block","src":"2326:114:16","statements":[{"id":2202,"nodeType":"UncheckedBlock","src":"2336:98:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2190,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2188,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2181,"src":"2364:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2189,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2369:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2364:6:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2195,"nodeType":"IfStatement","src":"2360:29:16","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":2191,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2380:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":2192,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2387:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":2193,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"2379:10:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":2187,"id":2194,"nodeType":"Return","src":"2372:17:16"}},{"expression":{"components":[{"hexValue":"74727565","id":2196,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2411:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2199,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2197,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2179,"src":"2417:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"%","rightExpression":{"id":2198,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2181,"src":"2421:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2417:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2200,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2410:13:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"functionReturnParameters":2187,"id":2201,"nodeType":"Return","src":"2403:20:16"}]}]},"documentation":{"id":2177,"nodeType":"StructuredDocumentation","src":"2107:123:16","text":" @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero)."},"id":2204,"implemented":true,"kind":"function","modifiers":[],"name":"tryMod","nameLocation":"2244:6:16","nodeType":"FunctionDefinition","parameters":{"id":2182,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2179,"mutability":"mutable","name":"a","nameLocation":"2259:1:16","nodeType":"VariableDeclaration","scope":2204,"src":"2251:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2178,"name":"uint256","nodeType":"ElementaryTypeName","src":"2251:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2181,"mutability":"mutable","name":"b","nameLocation":"2270:1:16","nodeType":"VariableDeclaration","scope":2204,"src":"2262:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2180,"name":"uint256","nodeType":"ElementaryTypeName","src":"2262:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2250:22:16"},"returnParameters":{"id":2187,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2184,"mutability":"mutable","name":"success","nameLocation":"2301:7:16","nodeType":"VariableDeclaration","scope":2204,"src":"2296:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2183,"name":"bool","nodeType":"ElementaryTypeName","src":"2296:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2186,"mutability":"mutable","name":"result","nameLocation":"2318:6:16","nodeType":"VariableDeclaration","scope":2204,"src":"2310:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2185,"name":"uint256","nodeType":"ElementaryTypeName","src":"2310:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2295:30:16"},"scope":3640,"src":"2235:205:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2230,"nodeType":"Block","src":"2912:207:16","statements":[{"id":2229,"nodeType":"UncheckedBlock","src":"2922:191:16","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2227,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2216,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2211,"src":"3060:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2225,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2219,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2217,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2209,"src":"3066:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"id":2218,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2211,"src":"3070:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3066:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2220,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3065:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"id":2223,"name":"condition","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2207,"src":"3091:9:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":2221,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"3075:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":2222,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3084:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"3075:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":2224,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3075:26:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3065:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2226,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3064:38:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3060:42:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2215,"id":2228,"nodeType":"Return","src":"3053:49:16"}]}]},"documentation":{"id":2205,"nodeType":"StructuredDocumentation","src":"2446:374:16","text":" @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n one branch when needed, making this function more expensive."},"id":2231,"implemented":true,"kind":"function","modifiers":[],"name":"ternary","nameLocation":"2834:7:16","nodeType":"FunctionDefinition","parameters":{"id":2212,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2207,"mutability":"mutable","name":"condition","nameLocation":"2847:9:16","nodeType":"VariableDeclaration","scope":2231,"src":"2842:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2206,"name":"bool","nodeType":"ElementaryTypeName","src":"2842:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2209,"mutability":"mutable","name":"a","nameLocation":"2866:1:16","nodeType":"VariableDeclaration","scope":2231,"src":"2858:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2208,"name":"uint256","nodeType":"ElementaryTypeName","src":"2858:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2211,"mutability":"mutable","name":"b","nameLocation":"2877:1:16","nodeType":"VariableDeclaration","scope":2231,"src":"2869:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2210,"name":"uint256","nodeType":"ElementaryTypeName","src":"2869:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2841:38:16"},"returnParameters":{"id":2215,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2214,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2231,"src":"2903:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2213,"name":"uint256","nodeType":"ElementaryTypeName","src":"2903:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2902:9:16"},"scope":3640,"src":"2825:294:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2249,"nodeType":"Block","src":"3256:44:16","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2244,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2242,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2234,"src":"3281:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":2243,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2236,"src":"3285:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3281:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":2245,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2234,"src":"3288:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2246,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2236,"src":"3291:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2241,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2231,"src":"3273:7:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (bool,uint256,uint256) pure returns (uint256)"}},"id":2247,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3273:20:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2240,"id":2248,"nodeType":"Return","src":"3266:27:16"}]},"documentation":{"id":2232,"nodeType":"StructuredDocumentation","src":"3125:59:16","text":" @dev Returns the largest of two numbers."},"id":2250,"implemented":true,"kind":"function","modifiers":[],"name":"max","nameLocation":"3198:3:16","nodeType":"FunctionDefinition","parameters":{"id":2237,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2234,"mutability":"mutable","name":"a","nameLocation":"3210:1:16","nodeType":"VariableDeclaration","scope":2250,"src":"3202:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2233,"name":"uint256","nodeType":"ElementaryTypeName","src":"3202:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2236,"mutability":"mutable","name":"b","nameLocation":"3221:1:16","nodeType":"VariableDeclaration","scope":2250,"src":"3213:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2235,"name":"uint256","nodeType":"ElementaryTypeName","src":"3213:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3201:22:16"},"returnParameters":{"id":2240,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2239,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2250,"src":"3247:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2238,"name":"uint256","nodeType":"ElementaryTypeName","src":"3247:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3246:9:16"},"scope":3640,"src":"3189:111:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2268,"nodeType":"Block","src":"3438:44:16","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2263,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2261,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2253,"src":"3463:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":2262,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2255,"src":"3467:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3463:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":2264,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2253,"src":"3470:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2265,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2255,"src":"3473:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2260,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2231,"src":"3455:7:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (bool,uint256,uint256) pure returns (uint256)"}},"id":2266,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3455:20:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2259,"id":2267,"nodeType":"Return","src":"3448:27:16"}]},"documentation":{"id":2251,"nodeType":"StructuredDocumentation","src":"3306:60:16","text":" @dev Returns the smallest of two numbers."},"id":2269,"implemented":true,"kind":"function","modifiers":[],"name":"min","nameLocation":"3380:3:16","nodeType":"FunctionDefinition","parameters":{"id":2256,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2253,"mutability":"mutable","name":"a","nameLocation":"3392:1:16","nodeType":"VariableDeclaration","scope":2269,"src":"3384:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2252,"name":"uint256","nodeType":"ElementaryTypeName","src":"3384:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2255,"mutability":"mutable","name":"b","nameLocation":"3403:1:16","nodeType":"VariableDeclaration","scope":2269,"src":"3395:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2254,"name":"uint256","nodeType":"ElementaryTypeName","src":"3395:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3383:22:16"},"returnParameters":{"id":2259,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2258,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2269,"src":"3429:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2257,"name":"uint256","nodeType":"ElementaryTypeName","src":"3429:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3428:9:16"},"scope":3640,"src":"3371:111:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2291,"nodeType":"Block","src":"3666:82:16","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2289,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2281,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2279,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2272,"src":"3721:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":2280,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2274,"src":"3725:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3721:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2282,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3720:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2288,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2285,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2283,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2272,"src":"3731:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"id":2284,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2274,"src":"3735:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3731:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2286,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3730:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"32","id":2287,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3740:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"3730:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3720:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2278,"id":2290,"nodeType":"Return","src":"3713:28:16"}]},"documentation":{"id":2270,"nodeType":"StructuredDocumentation","src":"3488:102:16","text":" @dev Returns the average of two numbers. The result is rounded towards\n zero."},"id":2292,"implemented":true,"kind":"function","modifiers":[],"name":"average","nameLocation":"3604:7:16","nodeType":"FunctionDefinition","parameters":{"id":2275,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2272,"mutability":"mutable","name":"a","nameLocation":"3620:1:16","nodeType":"VariableDeclaration","scope":2292,"src":"3612:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2271,"name":"uint256","nodeType":"ElementaryTypeName","src":"3612:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2274,"mutability":"mutable","name":"b","nameLocation":"3631:1:16","nodeType":"VariableDeclaration","scope":2292,"src":"3623:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2273,"name":"uint256","nodeType":"ElementaryTypeName","src":"3623:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3611:22:16"},"returnParameters":{"id":2278,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2277,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2292,"src":"3657:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2276,"name":"uint256","nodeType":"ElementaryTypeName","src":"3657:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3656:9:16"},"scope":3640,"src":"3595:153:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2332,"nodeType":"Block","src":"4040:633:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2304,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2302,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2297,"src":"4054:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2303,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4059:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4054:6:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2313,"nodeType":"IfStatement","src":"4050:150:16","trueBody":{"id":2312,"nodeType":"Block","src":"4062:138:16","statements":[{"expression":{"arguments":[{"expression":{"id":2308,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1998,"src":"4166:5:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Panic_$1998_$","typeString":"type(library Panic)"}},"id":2309,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4172:16:16","memberName":"DIVISION_BY_ZERO","nodeType":"MemberAccess","referencedDeclaration":1965,"src":"4166:22:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2305,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1998,"src":"4154:5:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Panic_$1998_$","typeString":"type(library Panic)"}},"id":2307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4160:5:16","memberName":"panic","nodeType":"MemberAccess","referencedDeclaration":1997,"src":"4154:11:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$__$","typeString":"function (uint256) pure"}},"id":2310,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4154:35:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2311,"nodeType":"ExpressionStatement","src":"4154:35:16"}]}},{"id":2331,"nodeType":"UncheckedBlock","src":"4583:84:16","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2318,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2316,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2295,"src":"4630:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2317,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4634:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4630:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":2314,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"4614:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":2315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4623:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"4614:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":2319,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4614:22:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2327,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2325,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2322,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2320,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2295,"src":"4641:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":2321,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4645:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"4641:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2323,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4640:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2324,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2297,"src":"4650:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4640:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":2326,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4654:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"4640:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2328,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4639:17:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4614:42:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2301,"id":2330,"nodeType":"Return","src":"4607:49:16"}]}]},"documentation":{"id":2293,"nodeType":"StructuredDocumentation","src":"3754:210:16","text":" @dev Returns the ceiling of the division of two numbers.\n This differs from standard division with `/` in that it rounds towards infinity instead\n of rounding towards zero."},"id":2333,"implemented":true,"kind":"function","modifiers":[],"name":"ceilDiv","nameLocation":"3978:7:16","nodeType":"FunctionDefinition","parameters":{"id":2298,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2295,"mutability":"mutable","name":"a","nameLocation":"3994:1:16","nodeType":"VariableDeclaration","scope":2333,"src":"3986:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2294,"name":"uint256","nodeType":"ElementaryTypeName","src":"3986:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2297,"mutability":"mutable","name":"b","nameLocation":"4005:1:16","nodeType":"VariableDeclaration","scope":2333,"src":"3997:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2296,"name":"uint256","nodeType":"ElementaryTypeName","src":"3997:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3985:22:16"},"returnParameters":{"id":2301,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2300,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2333,"src":"4031:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2299,"name":"uint256","nodeType":"ElementaryTypeName","src":"4031:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4030:9:16"},"scope":3640,"src":"3969:704:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2469,"nodeType":"Block","src":"5094:4128:16","statements":[{"id":2468,"nodeType":"UncheckedBlock","src":"5104:4112:16","statements":[{"assignments":[2346],"declarations":[{"constant":false,"id":2346,"mutability":"mutable","name":"prod0","nameLocation":"5441:5:16","nodeType":"VariableDeclaration","scope":2468,"src":"5433:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2345,"name":"uint256","nodeType":"ElementaryTypeName","src":"5433:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2350,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2349,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2347,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2336,"src":"5449:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2348,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2338,"src":"5453:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5449:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5433:21:16"},{"assignments":[2352],"declarations":[{"constant":false,"id":2352,"mutability":"mutable","name":"prod1","nameLocation":"5521:5:16","nodeType":"VariableDeclaration","scope":2468,"src":"5513:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2351,"name":"uint256","nodeType":"ElementaryTypeName","src":"5513:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2353,"nodeType":"VariableDeclarationStatement","src":"5513:13:16"},{"AST":{"nativeSrc":"5593:122:16","nodeType":"YulBlock","src":"5593:122:16","statements":[{"nativeSrc":"5611:30:16","nodeType":"YulVariableDeclaration","src":"5611:30:16","value":{"arguments":[{"name":"x","nativeSrc":"5628:1:16","nodeType":"YulIdentifier","src":"5628:1:16"},{"name":"y","nativeSrc":"5631:1:16","nodeType":"YulIdentifier","src":"5631:1:16"},{"arguments":[{"kind":"number","nativeSrc":"5638:1:16","nodeType":"YulLiteral","src":"5638:1:16","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"5634:3:16","nodeType":"YulIdentifier","src":"5634:3:16"},"nativeSrc":"5634:6:16","nodeType":"YulFunctionCall","src":"5634:6:16"}],"functionName":{"name":"mulmod","nativeSrc":"5621:6:16","nodeType":"YulIdentifier","src":"5621:6:16"},"nativeSrc":"5621:20:16","nodeType":"YulFunctionCall","src":"5621:20:16"},"variables":[{"name":"mm","nativeSrc":"5615:2:16","nodeType":"YulTypedName","src":"5615:2:16","type":""}]},{"nativeSrc":"5658:43:16","nodeType":"YulAssignment","src":"5658:43:16","value":{"arguments":[{"arguments":[{"name":"mm","nativeSrc":"5675:2:16","nodeType":"YulIdentifier","src":"5675:2:16"},{"name":"prod0","nativeSrc":"5679:5:16","nodeType":"YulIdentifier","src":"5679:5:16"}],"functionName":{"name":"sub","nativeSrc":"5671:3:16","nodeType":"YulIdentifier","src":"5671:3:16"},"nativeSrc":"5671:14:16","nodeType":"YulFunctionCall","src":"5671:14:16"},{"arguments":[{"name":"mm","nativeSrc":"5690:2:16","nodeType":"YulIdentifier","src":"5690:2:16"},{"name":"prod0","nativeSrc":"5694:5:16","nodeType":"YulIdentifier","src":"5694:5:16"}],"functionName":{"name":"lt","nativeSrc":"5687:2:16","nodeType":"YulIdentifier","src":"5687:2:16"},"nativeSrc":"5687:13:16","nodeType":"YulFunctionCall","src":"5687:13:16"}],"functionName":{"name":"sub","nativeSrc":"5667:3:16","nodeType":"YulIdentifier","src":"5667:3:16"},"nativeSrc":"5667:34:16","nodeType":"YulFunctionCall","src":"5667:34:16"},"variableNames":[{"name":"prod1","nativeSrc":"5658:5:16","nodeType":"YulIdentifier","src":"5658:5:16"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2346,"isOffset":false,"isSlot":false,"src":"5679:5:16","valueSize":1},{"declaration":2346,"isOffset":false,"isSlot":false,"src":"5694:5:16","valueSize":1},{"declaration":2352,"isOffset":false,"isSlot":false,"src":"5658:5:16","valueSize":1},{"declaration":2336,"isOffset":false,"isSlot":false,"src":"5628:1:16","valueSize":1},{"declaration":2338,"isOffset":false,"isSlot":false,"src":"5631:1:16","valueSize":1}],"id":2354,"nodeType":"InlineAssembly","src":"5584:131:16"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2357,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2355,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2352,"src":"5796:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2356,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5805:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5796:10:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2363,"nodeType":"IfStatement","src":"5792:368:16","trueBody":{"id":2362,"nodeType":"Block","src":"5808:352:16","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2360,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2358,"name":"prod0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2346,"src":"6126:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2359,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"6134:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6126:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2344,"id":2361,"nodeType":"Return","src":"6119:26:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2366,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2364,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"6270:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":2365,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2352,"src":"6285:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6270:20:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2382,"nodeType":"IfStatement","src":"6266:143:16","trueBody":{"id":2381,"nodeType":"Block","src":"6292:117:16","statements":[{"expression":{"arguments":[{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2373,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2371,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"6330:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2372,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6345:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6330:16:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":2374,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1998,"src":"6348:5:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Panic_$1998_$","typeString":"type(library Panic)"}},"id":2375,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6354:16:16","memberName":"DIVISION_BY_ZERO","nodeType":"MemberAccess","referencedDeclaration":1965,"src":"6348:22:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":2376,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1998,"src":"6372:5:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Panic_$1998_$","typeString":"type(library Panic)"}},"id":2377,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6378:14:16","memberName":"UNDER_OVERFLOW","nodeType":"MemberAccess","referencedDeclaration":1961,"src":"6372:20:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2370,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2231,"src":"6322:7:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (bool,uint256,uint256) pure returns (uint256)"}},"id":2378,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6322:71:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2367,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1998,"src":"6310:5:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Panic_$1998_$","typeString":"type(library Panic)"}},"id":2369,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6316:5:16","memberName":"panic","nodeType":"MemberAccess","referencedDeclaration":1997,"src":"6310:11:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$__$","typeString":"function (uint256) pure"}},"id":2379,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6310:84:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2380,"nodeType":"ExpressionStatement","src":"6310:84:16"}]}},{"assignments":[2384],"declarations":[{"constant":false,"id":2384,"mutability":"mutable","name":"remainder","nameLocation":"6672:9:16","nodeType":"VariableDeclaration","scope":2468,"src":"6664:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2383,"name":"uint256","nodeType":"ElementaryTypeName","src":"6664:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2385,"nodeType":"VariableDeclarationStatement","src":"6664:17:16"},{"AST":{"nativeSrc":"6704:291:16","nodeType":"YulBlock","src":"6704:291:16","statements":[{"nativeSrc":"6773:38:16","nodeType":"YulAssignment","src":"6773:38:16","value":{"arguments":[{"name":"x","nativeSrc":"6793:1:16","nodeType":"YulIdentifier","src":"6793:1:16"},{"name":"y","nativeSrc":"6796:1:16","nodeType":"YulIdentifier","src":"6796:1:16"},{"name":"denominator","nativeSrc":"6799:11:16","nodeType":"YulIdentifier","src":"6799:11:16"}],"functionName":{"name":"mulmod","nativeSrc":"6786:6:16","nodeType":"YulIdentifier","src":"6786:6:16"},"nativeSrc":"6786:25:16","nodeType":"YulFunctionCall","src":"6786:25:16"},"variableNames":[{"name":"remainder","nativeSrc":"6773:9:16","nodeType":"YulIdentifier","src":"6773:9:16"}]},{"nativeSrc":"6893:41:16","nodeType":"YulAssignment","src":"6893:41:16","value":{"arguments":[{"name":"prod1","nativeSrc":"6906:5:16","nodeType":"YulIdentifier","src":"6906:5:16"},{"arguments":[{"name":"remainder","nativeSrc":"6916:9:16","nodeType":"YulIdentifier","src":"6916:9:16"},{"name":"prod0","nativeSrc":"6927:5:16","nodeType":"YulIdentifier","src":"6927:5:16"}],"functionName":{"name":"gt","nativeSrc":"6913:2:16","nodeType":"YulIdentifier","src":"6913:2:16"},"nativeSrc":"6913:20:16","nodeType":"YulFunctionCall","src":"6913:20:16"}],"functionName":{"name":"sub","nativeSrc":"6902:3:16","nodeType":"YulIdentifier","src":"6902:3:16"},"nativeSrc":"6902:32:16","nodeType":"YulFunctionCall","src":"6902:32:16"},"variableNames":[{"name":"prod1","nativeSrc":"6893:5:16","nodeType":"YulIdentifier","src":"6893:5:16"}]},{"nativeSrc":"6951:30:16","nodeType":"YulAssignment","src":"6951:30:16","value":{"arguments":[{"name":"prod0","nativeSrc":"6964:5:16","nodeType":"YulIdentifier","src":"6964:5:16"},{"name":"remainder","nativeSrc":"6971:9:16","nodeType":"YulIdentifier","src":"6971:9:16"}],"functionName":{"name":"sub","nativeSrc":"6960:3:16","nodeType":"YulIdentifier","src":"6960:3:16"},"nativeSrc":"6960:21:16","nodeType":"YulFunctionCall","src":"6960:21:16"},"variableNames":[{"name":"prod0","nativeSrc":"6951:5:16","nodeType":"YulIdentifier","src":"6951:5:16"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2340,"isOffset":false,"isSlot":false,"src":"6799:11:16","valueSize":1},{"declaration":2346,"isOffset":false,"isSlot":false,"src":"6927:5:16","valueSize":1},{"declaration":2346,"isOffset":false,"isSlot":false,"src":"6951:5:16","valueSize":1},{"declaration":2346,"isOffset":false,"isSlot":false,"src":"6964:5:16","valueSize":1},{"declaration":2352,"isOffset":false,"isSlot":false,"src":"6893:5:16","valueSize":1},{"declaration":2352,"isOffset":false,"isSlot":false,"src":"6906:5:16","valueSize":1},{"declaration":2384,"isOffset":false,"isSlot":false,"src":"6773:9:16","valueSize":1},{"declaration":2384,"isOffset":false,"isSlot":false,"src":"6916:9:16","valueSize":1},{"declaration":2384,"isOffset":false,"isSlot":false,"src":"6971:9:16","valueSize":1},{"declaration":2336,"isOffset":false,"isSlot":false,"src":"6793:1:16","valueSize":1},{"declaration":2338,"isOffset":false,"isSlot":false,"src":"6796:1:16","valueSize":1}],"id":2386,"nodeType":"InlineAssembly","src":"6695:300:16"},{"assignments":[2388],"declarations":[{"constant":false,"id":2388,"mutability":"mutable","name":"twos","nameLocation":"7207:4:16","nodeType":"VariableDeclaration","scope":2468,"src":"7199:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2387,"name":"uint256","nodeType":"ElementaryTypeName","src":"7199:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2395,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2394,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2389,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"7214:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2392,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"30","id":2390,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7229:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":2391,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"7233:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7229:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2393,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7228:17:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7214:31:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"7199:46:16"},{"AST":{"nativeSrc":"7268:366:16","nodeType":"YulBlock","src":"7268:366:16","statements":[{"nativeSrc":"7333:37:16","nodeType":"YulAssignment","src":"7333:37:16","value":{"arguments":[{"name":"denominator","nativeSrc":"7352:11:16","nodeType":"YulIdentifier","src":"7352:11:16"},{"name":"twos","nativeSrc":"7365:4:16","nodeType":"YulIdentifier","src":"7365:4:16"}],"functionName":{"name":"div","nativeSrc":"7348:3:16","nodeType":"YulIdentifier","src":"7348:3:16"},"nativeSrc":"7348:22:16","nodeType":"YulFunctionCall","src":"7348:22:16"},"variableNames":[{"name":"denominator","nativeSrc":"7333:11:16","nodeType":"YulIdentifier","src":"7333:11:16"}]},{"nativeSrc":"7437:25:16","nodeType":"YulAssignment","src":"7437:25:16","value":{"arguments":[{"name":"prod0","nativeSrc":"7450:5:16","nodeType":"YulIdentifier","src":"7450:5:16"},{"name":"twos","nativeSrc":"7457:4:16","nodeType":"YulIdentifier","src":"7457:4:16"}],"functionName":{"name":"div","nativeSrc":"7446:3:16","nodeType":"YulIdentifier","src":"7446:3:16"},"nativeSrc":"7446:16:16","nodeType":"YulFunctionCall","src":"7446:16:16"},"variableNames":[{"name":"prod0","nativeSrc":"7437:5:16","nodeType":"YulIdentifier","src":"7437:5:16"}]},{"nativeSrc":"7581:39:16","nodeType":"YulAssignment","src":"7581:39:16","value":{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"7601:1:16","nodeType":"YulLiteral","src":"7601:1:16","type":"","value":"0"},{"name":"twos","nativeSrc":"7604:4:16","nodeType":"YulIdentifier","src":"7604:4:16"}],"functionName":{"name":"sub","nativeSrc":"7597:3:16","nodeType":"YulIdentifier","src":"7597:3:16"},"nativeSrc":"7597:12:16","nodeType":"YulFunctionCall","src":"7597:12:16"},{"name":"twos","nativeSrc":"7611:4:16","nodeType":"YulIdentifier","src":"7611:4:16"}],"functionName":{"name":"div","nativeSrc":"7593:3:16","nodeType":"YulIdentifier","src":"7593:3:16"},"nativeSrc":"7593:23:16","nodeType":"YulFunctionCall","src":"7593:23:16"},{"kind":"number","nativeSrc":"7618:1:16","nodeType":"YulLiteral","src":"7618:1:16","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"7589:3:16","nodeType":"YulIdentifier","src":"7589:3:16"},"nativeSrc":"7589:31:16","nodeType":"YulFunctionCall","src":"7589:31:16"},"variableNames":[{"name":"twos","nativeSrc":"7581:4:16","nodeType":"YulIdentifier","src":"7581:4:16"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2340,"isOffset":false,"isSlot":false,"src":"7333:11:16","valueSize":1},{"declaration":2340,"isOffset":false,"isSlot":false,"src":"7352:11:16","valueSize":1},{"declaration":2346,"isOffset":false,"isSlot":false,"src":"7437:5:16","valueSize":1},{"declaration":2346,"isOffset":false,"isSlot":false,"src":"7450:5:16","valueSize":1},{"declaration":2388,"isOffset":false,"isSlot":false,"src":"7365:4:16","valueSize":1},{"declaration":2388,"isOffset":false,"isSlot":false,"src":"7457:4:16","valueSize":1},{"declaration":2388,"isOffset":false,"isSlot":false,"src":"7581:4:16","valueSize":1},{"declaration":2388,"isOffset":false,"isSlot":false,"src":"7604:4:16","valueSize":1},{"declaration":2388,"isOffset":false,"isSlot":false,"src":"7611:4:16","valueSize":1}],"id":2396,"nodeType":"InlineAssembly","src":"7259:375:16"},{"expression":{"id":2401,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2397,"name":"prod0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2346,"src":"7700:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2400,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2398,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2352,"src":"7709:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2399,"name":"twos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2388,"src":"7717:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7709:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7700:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2402,"nodeType":"ExpressionStatement","src":"7700:21:16"},{"assignments":[2404],"declarations":[{"constant":false,"id":2404,"mutability":"mutable","name":"inverse","nameLocation":"8064:7:16","nodeType":"VariableDeclaration","scope":2468,"src":"8056:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2403,"name":"uint256","nodeType":"ElementaryTypeName","src":"8056:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2411,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2410,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2407,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"33","id":2405,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8075:1:16","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2406,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"8079:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8075:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2408,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8074:17:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"hexValue":"32","id":2409,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8094:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"8074:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"8056:39:16"},{"expression":{"id":2418,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2412,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8312:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2417,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2413,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8323:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2416,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2414,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"8327:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2415,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8341:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8327:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8323:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8312:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2419,"nodeType":"ExpressionStatement","src":"8312:36:16"},{"expression":{"id":2426,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2420,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8382:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2425,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2421,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8393:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2424,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2422,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"8397:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2423,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8411:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8397:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8393:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8382:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2427,"nodeType":"ExpressionStatement","src":"8382:36:16"},{"expression":{"id":2434,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2428,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8454:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2433,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2429,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8465:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2432,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2430,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"8469:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2431,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8483:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8469:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8465:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8454:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2435,"nodeType":"ExpressionStatement","src":"8454:36:16"},{"expression":{"id":2442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2436,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8525:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2441,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2437,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8536:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2440,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2438,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"8540:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2439,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8554:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8540:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8536:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8525:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2443,"nodeType":"ExpressionStatement","src":"8525:36:16"},{"expression":{"id":2450,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2444,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8598:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2449,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2445,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8609:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2448,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2446,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"8613:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2447,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8627:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8613:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8609:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8598:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2451,"nodeType":"ExpressionStatement","src":"8598:36:16"},{"expression":{"id":2458,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2452,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8672:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2457,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2453,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8683:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2456,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2454,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"8687:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2455,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"8701:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8687:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8683:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8672:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2459,"nodeType":"ExpressionStatement","src":"8672:36:16"},{"expression":{"id":2464,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2460,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2343,"src":"9154:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2461,"name":"prod0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2346,"src":"9163:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2462,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2404,"src":"9171:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9163:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9154:24:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2465,"nodeType":"ExpressionStatement","src":"9154:24:16"},{"expression":{"id":2466,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2343,"src":"9199:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2344,"id":2467,"nodeType":"Return","src":"9192:13:16"}]}]},"documentation":{"id":2334,"nodeType":"StructuredDocumentation","src":"4679:312:16","text":" @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n denominator == 0.\n Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n Uniswap Labs also under MIT license."},"id":2470,"implemented":true,"kind":"function","modifiers":[],"name":"mulDiv","nameLocation":"5005:6:16","nodeType":"FunctionDefinition","parameters":{"id":2341,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2336,"mutability":"mutable","name":"x","nameLocation":"5020:1:16","nodeType":"VariableDeclaration","scope":2470,"src":"5012:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2335,"name":"uint256","nodeType":"ElementaryTypeName","src":"5012:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2338,"mutability":"mutable","name":"y","nameLocation":"5031:1:16","nodeType":"VariableDeclaration","scope":2470,"src":"5023:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2337,"name":"uint256","nodeType":"ElementaryTypeName","src":"5023:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2340,"mutability":"mutable","name":"denominator","nameLocation":"5042:11:16","nodeType":"VariableDeclaration","scope":2470,"src":"5034:19:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2339,"name":"uint256","nodeType":"ElementaryTypeName","src":"5034:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5011:43:16"},"returnParameters":{"id":2344,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2343,"mutability":"mutable","name":"result","nameLocation":"5086:6:16","nodeType":"VariableDeclaration","scope":2470,"src":"5078:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2342,"name":"uint256","nodeType":"ElementaryTypeName","src":"5078:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5077:16:16"},"scope":3640,"src":"4996:4226:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2506,"nodeType":"Block","src":"9461:128:16","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2504,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":2486,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2473,"src":"9485:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2487,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2475,"src":"9488:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2488,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2477,"src":"9491:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2485,"name":"mulDiv","nodeType":"Identifier","overloadedDeclarations":[2470,2507],"referencedDeclaration":2470,"src":"9478:6:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":2489,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9478:25:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":2502,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":2493,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2480,"src":"9539:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}],"id":2492,"name":"unsignedRoundsUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3639,"src":"9522:16:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_Rounding_$2046_$returns$_t_bool_$","typeString":"function (enum Math.Rounding) pure returns (bool)"}},"id":2494,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9522:26:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2501,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":2496,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2473,"src":"9559:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2497,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2475,"src":"9562:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2498,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2477,"src":"9565:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2495,"name":"mulmod","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-16,"src":"9552:6:16","typeDescriptions":{"typeIdentifier":"t_function_mulmod_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":2499,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9552:25:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2500,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9580:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9552:29:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"9522:59:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":2490,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"9506:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":2491,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9515:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"9506:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":2503,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9506:76:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9478:104:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2484,"id":2505,"nodeType":"Return","src":"9471:111:16"}]},"documentation":{"id":2471,"nodeType":"StructuredDocumentation","src":"9228:118:16","text":" @dev Calculates x * y / denominator with full precision, following the selected rounding direction."},"id":2507,"implemented":true,"kind":"function","modifiers":[],"name":"mulDiv","nameLocation":"9360:6:16","nodeType":"FunctionDefinition","parameters":{"id":2481,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2473,"mutability":"mutable","name":"x","nameLocation":"9375:1:16","nodeType":"VariableDeclaration","scope":2507,"src":"9367:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2472,"name":"uint256","nodeType":"ElementaryTypeName","src":"9367:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2475,"mutability":"mutable","name":"y","nameLocation":"9386:1:16","nodeType":"VariableDeclaration","scope":2507,"src":"9378:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2474,"name":"uint256","nodeType":"ElementaryTypeName","src":"9378:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2477,"mutability":"mutable","name":"denominator","nameLocation":"9397:11:16","nodeType":"VariableDeclaration","scope":2507,"src":"9389:19:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2476,"name":"uint256","nodeType":"ElementaryTypeName","src":"9389:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2480,"mutability":"mutable","name":"rounding","nameLocation":"9419:8:16","nodeType":"VariableDeclaration","scope":2507,"src":"9410:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"},"typeName":{"id":2479,"nodeType":"UserDefinedTypeName","pathNode":{"id":2478,"name":"Rounding","nameLocations":["9410:8:16"],"nodeType":"IdentifierPath","referencedDeclaration":2046,"src":"9410:8:16"},"referencedDeclaration":2046,"src":"9410:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"9366:62:16"},"returnParameters":{"id":2484,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2483,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2507,"src":"9452:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2482,"name":"uint256","nodeType":"ElementaryTypeName","src":"9452:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9451:9:16"},"scope":3640,"src":"9351:238:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2603,"nodeType":"Block","src":"10223:1849:16","statements":[{"id":2602,"nodeType":"UncheckedBlock","src":"10233:1833:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2519,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2517,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2512,"src":"10261:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2518,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10266:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"10261:6:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2522,"nodeType":"IfStatement","src":"10257:20:16","trueBody":{"expression":{"hexValue":"30","id":2520,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10276:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":2516,"id":2521,"nodeType":"Return","src":"10269:8:16"}},{"assignments":[2524],"declarations":[{"constant":false,"id":2524,"mutability":"mutable","name":"remainder","nameLocation":"10756:9:16","nodeType":"VariableDeclaration","scope":2602,"src":"10748:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2523,"name":"uint256","nodeType":"ElementaryTypeName","src":"10748:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2528,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2527,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2525,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2510,"src":"10768:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"%","rightExpression":{"id":2526,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2512,"src":"10772:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10768:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"10748:25:16"},{"assignments":[2530],"declarations":[{"constant":false,"id":2530,"mutability":"mutable","name":"gcd","nameLocation":"10795:3:16","nodeType":"VariableDeclaration","scope":2602,"src":"10787:11:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2529,"name":"uint256","nodeType":"ElementaryTypeName","src":"10787:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2532,"initialValue":{"id":2531,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2512,"src":"10801:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"10787:15:16"},{"assignments":[2534],"declarations":[{"constant":false,"id":2534,"mutability":"mutable","name":"x","nameLocation":"10945:1:16","nodeType":"VariableDeclaration","scope":2602,"src":"10938:8:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":2533,"name":"int256","nodeType":"ElementaryTypeName","src":"10938:6:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":2536,"initialValue":{"hexValue":"30","id":2535,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10949:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"10938:12:16"},{"assignments":[2538],"declarations":[{"constant":false,"id":2538,"mutability":"mutable","name":"y","nameLocation":"10971:1:16","nodeType":"VariableDeclaration","scope":2602,"src":"10964:8:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":2537,"name":"int256","nodeType":"ElementaryTypeName","src":"10964:6:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":2540,"initialValue":{"hexValue":"31","id":2539,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10975:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"VariableDeclarationStatement","src":"10964:12:16"},{"body":{"id":2577,"nodeType":"Block","src":"11014:882:16","statements":[{"assignments":[2545],"declarations":[{"constant":false,"id":2545,"mutability":"mutable","name":"quotient","nameLocation":"11040:8:16","nodeType":"VariableDeclaration","scope":2577,"src":"11032:16:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2544,"name":"uint256","nodeType":"ElementaryTypeName","src":"11032:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2549,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2548,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2546,"name":"gcd","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2530,"src":"11051:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2547,"name":"remainder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2524,"src":"11057:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11051:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"11032:34:16"},{"expression":{"id":2560,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":2550,"name":"gcd","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2530,"src":"11086:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2551,"name":"remainder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2524,"src":"11091:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2552,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"11085:16:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":2553,"name":"remainder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2524,"src":"11191:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2558,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2554,"name":"gcd","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2530,"src":"11436:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2557,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2555,"name":"remainder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2524,"src":"11442:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2556,"name":"quotient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2545,"src":"11454:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11442:20:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11436:26:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2559,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11104:376:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"src":"11085:395:16","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2561,"nodeType":"ExpressionStatement","src":"11085:395:16"},{"expression":{"id":2575,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":2562,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2534,"src":"11500:1:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":2563,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2538,"src":"11503:1:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":2564,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"11499:6:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_int256_$","typeString":"tuple(int256,int256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":2565,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2538,"src":"11585:1:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":2573,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2566,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2534,"src":"11839:1:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":2572,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2567,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2538,"src":"11843:1:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"id":2570,"name":"quotient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2545,"src":"11854:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2569,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11847:6:16","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":2568,"name":"int256","nodeType":"ElementaryTypeName","src":"11847:6:16","typeDescriptions":{}}},"id":2571,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11847:16:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"11843:20:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"11839:24:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":2574,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11508:373:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_int256_$","typeString":"tuple(int256,int256)"}},"src":"11499:382:16","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2576,"nodeType":"ExpressionStatement","src":"11499:382:16"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2543,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2541,"name":"remainder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2524,"src":"10998:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":2542,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11011:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"10998:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2578,"nodeType":"WhileStatement","src":"10991:905:16"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2581,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2579,"name":"gcd","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2530,"src":"11914:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"31","id":2580,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11921:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"11914:8:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2584,"nodeType":"IfStatement","src":"11910:22:16","trueBody":{"expression":{"hexValue":"30","id":2582,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11931:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":2516,"id":2583,"nodeType":"Return","src":"11924:8:16"}},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":2588,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2586,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2534,"src":"11983:1:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":2587,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11987:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"11983:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2595,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2589,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2512,"src":"11990:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[{"id":2593,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"12002:2:16","subExpression":{"id":2592,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2534,"src":"12003:1:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":2591,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11994:7:16","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":2590,"name":"uint256","nodeType":"ElementaryTypeName","src":"11994:7:16","typeDescriptions":{}}},"id":2594,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11994:11:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11990:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":2598,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2534,"src":"12015:1:16","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":2597,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12007:7:16","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":2596,"name":"uint256","nodeType":"ElementaryTypeName","src":"12007:7:16","typeDescriptions":{}}},"id":2599,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12007:10:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2585,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2231,"src":"11975:7:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (bool,uint256,uint256) pure returns (uint256)"}},"id":2600,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11975:43:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2516,"id":2601,"nodeType":"Return","src":"11968:50:16"}]}]},"documentation":{"id":2508,"nodeType":"StructuredDocumentation","src":"9595:553:16","text":" @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n If the input value is not inversible, 0 is returned.\n NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}."},"id":2604,"implemented":true,"kind":"function","modifiers":[],"name":"invMod","nameLocation":"10162:6:16","nodeType":"FunctionDefinition","parameters":{"id":2513,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2510,"mutability":"mutable","name":"a","nameLocation":"10177:1:16","nodeType":"VariableDeclaration","scope":2604,"src":"10169:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2509,"name":"uint256","nodeType":"ElementaryTypeName","src":"10169:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2512,"mutability":"mutable","name":"n","nameLocation":"10188:1:16","nodeType":"VariableDeclaration","scope":2604,"src":"10180:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2511,"name":"uint256","nodeType":"ElementaryTypeName","src":"10180:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10168:22:16"},"returnParameters":{"id":2516,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2515,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2604,"src":"10214:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2514,"name":"uint256","nodeType":"ElementaryTypeName","src":"10214:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10213:9:16"},"scope":3640,"src":"10153:1919:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2624,"nodeType":"Block","src":"12672:82:16","statements":[{"id":2623,"nodeType":"UncheckedBlock","src":"12682:66:16","statements":[{"expression":{"arguments":[{"id":2616,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2607,"src":"12725:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2619,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2617,"name":"p","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2609,"src":"12728:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"32","id":2618,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12732:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"12728:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2620,"name":"p","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2609,"src":"12735:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2614,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3640,"src":"12713:4:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Math_$3640_$","typeString":"type(library Math)"}},"id":2615,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12718:6:16","memberName":"modExp","nodeType":"MemberAccess","referencedDeclaration":2661,"src":"12713:11:16","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) view returns (uint256)"}},"id":2621,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12713:24:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2613,"id":2622,"nodeType":"Return","src":"12706:31:16"}]}]},"documentation":{"id":2605,"nodeType":"StructuredDocumentation","src":"12078:514:16","text":" @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n NOTE: this function does NOT check that `p` is a prime greater than `2`."},"id":2625,"implemented":true,"kind":"function","modifiers":[],"name":"invModPrime","nameLocation":"12606:11:16","nodeType":"FunctionDefinition","parameters":{"id":2610,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2607,"mutability":"mutable","name":"a","nameLocation":"12626:1:16","nodeType":"VariableDeclaration","scope":2625,"src":"12618:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2606,"name":"uint256","nodeType":"ElementaryTypeName","src":"12618:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2609,"mutability":"mutable","name":"p","nameLocation":"12637:1:16","nodeType":"VariableDeclaration","scope":2625,"src":"12629:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2608,"name":"uint256","nodeType":"ElementaryTypeName","src":"12629:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12617:22:16"},"returnParameters":{"id":2613,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2612,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2625,"src":"12663:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2611,"name":"uint256","nodeType":"ElementaryTypeName","src":"12663:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12662:9:16"},"scope":3640,"src":"12597:157:16","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2660,"nodeType":"Block","src":"13524:174:16","statements":[{"assignments":[2638,2640],"declarations":[{"constant":false,"id":2638,"mutability":"mutable","name":"success","nameLocation":"13540:7:16","nodeType":"VariableDeclaration","scope":2660,"src":"13535:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2637,"name":"bool","nodeType":"ElementaryTypeName","src":"13535:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2640,"mutability":"mutable","name":"result","nameLocation":"13557:6:16","nodeType":"VariableDeclaration","scope":2660,"src":"13549:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2639,"name":"uint256","nodeType":"ElementaryTypeName","src":"13549:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2646,"initialValue":{"arguments":[{"id":2642,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2628,"src":"13577:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2643,"name":"e","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2630,"src":"13580:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2644,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2632,"src":"13583:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2641,"name":"tryModExp","nodeType":"Identifier","overloadedDeclarations":[2685,2767],"referencedDeclaration":2685,"src":"13567:9:16","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (uint256,uint256,uint256) view returns (bool,uint256)"}},"id":2645,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13567:18:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"13534:51:16"},{"condition":{"id":2648,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"13599:8:16","subExpression":{"id":2647,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2638,"src":"13600:7:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2657,"nodeType":"IfStatement","src":"13595:74:16","trueBody":{"id":2656,"nodeType":"Block","src":"13609:60:16","statements":[{"expression":{"arguments":[{"expression":{"id":2652,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1998,"src":"13635:5:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Panic_$1998_$","typeString":"type(library Panic)"}},"id":2653,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13641:16:16","memberName":"DIVISION_BY_ZERO","nodeType":"MemberAccess","referencedDeclaration":1965,"src":"13635:22:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2649,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1998,"src":"13623:5:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Panic_$1998_$","typeString":"type(library Panic)"}},"id":2651,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13629:5:16","memberName":"panic","nodeType":"MemberAccess","referencedDeclaration":1997,"src":"13623:11:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$__$","typeString":"function (uint256) pure"}},"id":2654,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13623:35:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2655,"nodeType":"ExpressionStatement","src":"13623:35:16"}]}},{"expression":{"id":2658,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2640,"src":"13685:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2636,"id":2659,"nodeType":"Return","src":"13678:13:16"}]},"documentation":{"id":2626,"nodeType":"StructuredDocumentation","src":"12760:678:16","text":" @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n Requirements:\n - modulus can't be zero\n - underlying staticcall to precompile must succeed\n IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n sure the chain you're using it on supports the precompiled contract for modular exponentiation\n at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n interpreted as 0."},"id":2661,"implemented":true,"kind":"function","modifiers":[],"name":"modExp","nameLocation":"13452:6:16","nodeType":"FunctionDefinition","parameters":{"id":2633,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2628,"mutability":"mutable","name":"b","nameLocation":"13467:1:16","nodeType":"VariableDeclaration","scope":2661,"src":"13459:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2627,"name":"uint256","nodeType":"ElementaryTypeName","src":"13459:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2630,"mutability":"mutable","name":"e","nameLocation":"13478:1:16","nodeType":"VariableDeclaration","scope":2661,"src":"13470:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2629,"name":"uint256","nodeType":"ElementaryTypeName","src":"13470:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2632,"mutability":"mutable","name":"m","nameLocation":"13489:1:16","nodeType":"VariableDeclaration","scope":2661,"src":"13481:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2631,"name":"uint256","nodeType":"ElementaryTypeName","src":"13481:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13458:33:16"},"returnParameters":{"id":2636,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2635,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2661,"src":"13515:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2634,"name":"uint256","nodeType":"ElementaryTypeName","src":"13515:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13514:9:16"},"scope":3640,"src":"13443:255:16","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2684,"nodeType":"Block","src":"14552:1493:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2677,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2675,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2668,"src":"14566:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2676,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14571:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"14566:6:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2682,"nodeType":"IfStatement","src":"14562:29:16","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":2678,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"14582:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":2679,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14589:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":2680,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"14581:10:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":2674,"id":2681,"nodeType":"Return","src":"14574:17:16"}},{"AST":{"nativeSrc":"14626:1413:16","nodeType":"YulBlock","src":"14626:1413:16","statements":[{"nativeSrc":"14640:22:16","nodeType":"YulVariableDeclaration","src":"14640:22:16","value":{"arguments":[{"kind":"number","nativeSrc":"14657:4:16","nodeType":"YulLiteral","src":"14657:4:16","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"14651:5:16","nodeType":"YulIdentifier","src":"14651:5:16"},"nativeSrc":"14651:11:16","nodeType":"YulFunctionCall","src":"14651:11:16"},"variables":[{"name":"ptr","nativeSrc":"14644:3:16","nodeType":"YulTypedName","src":"14644:3:16","type":""}]},{"expression":{"arguments":[{"name":"ptr","nativeSrc":"15570:3:16","nodeType":"YulIdentifier","src":"15570:3:16"},{"kind":"number","nativeSrc":"15575:4:16","nodeType":"YulLiteral","src":"15575:4:16","type":"","value":"0x20"}],"functionName":{"name":"mstore","nativeSrc":"15563:6:16","nodeType":"YulIdentifier","src":"15563:6:16"},"nativeSrc":"15563:17:16","nodeType":"YulFunctionCall","src":"15563:17:16"},"nativeSrc":"15563:17:16","nodeType":"YulExpressionStatement","src":"15563:17:16"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"15604:3:16","nodeType":"YulIdentifier","src":"15604:3:16"},{"kind":"number","nativeSrc":"15609:4:16","nodeType":"YulLiteral","src":"15609:4:16","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"15600:3:16","nodeType":"YulIdentifier","src":"15600:3:16"},"nativeSrc":"15600:14:16","nodeType":"YulFunctionCall","src":"15600:14:16"},{"kind":"number","nativeSrc":"15616:4:16","nodeType":"YulLiteral","src":"15616:4:16","type":"","value":"0x20"}],"functionName":{"name":"mstore","nativeSrc":"15593:6:16","nodeType":"YulIdentifier","src":"15593:6:16"},"nativeSrc":"15593:28:16","nodeType":"YulFunctionCall","src":"15593:28:16"},"nativeSrc":"15593:28:16","nodeType":"YulExpressionStatement","src":"15593:28:16"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"15645:3:16","nodeType":"YulIdentifier","src":"15645:3:16"},{"kind":"number","nativeSrc":"15650:4:16","nodeType":"YulLiteral","src":"15650:4:16","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"15641:3:16","nodeType":"YulIdentifier","src":"15641:3:16"},"nativeSrc":"15641:14:16","nodeType":"YulFunctionCall","src":"15641:14:16"},{"kind":"number","nativeSrc":"15657:4:16","nodeType":"YulLiteral","src":"15657:4:16","type":"","value":"0x20"}],"functionName":{"name":"mstore","nativeSrc":"15634:6:16","nodeType":"YulIdentifier","src":"15634:6:16"},"nativeSrc":"15634:28:16","nodeType":"YulFunctionCall","src":"15634:28:16"},"nativeSrc":"15634:28:16","nodeType":"YulExpressionStatement","src":"15634:28:16"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"15686:3:16","nodeType":"YulIdentifier","src":"15686:3:16"},{"kind":"number","nativeSrc":"15691:4:16","nodeType":"YulLiteral","src":"15691:4:16","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"15682:3:16","nodeType":"YulIdentifier","src":"15682:3:16"},"nativeSrc":"15682:14:16","nodeType":"YulFunctionCall","src":"15682:14:16"},{"name":"b","nativeSrc":"15698:1:16","nodeType":"YulIdentifier","src":"15698:1:16"}],"functionName":{"name":"mstore","nativeSrc":"15675:6:16","nodeType":"YulIdentifier","src":"15675:6:16"},"nativeSrc":"15675:25:16","nodeType":"YulFunctionCall","src":"15675:25:16"},"nativeSrc":"15675:25:16","nodeType":"YulExpressionStatement","src":"15675:25:16"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"15724:3:16","nodeType":"YulIdentifier","src":"15724:3:16"},{"kind":"number","nativeSrc":"15729:4:16","nodeType":"YulLiteral","src":"15729:4:16","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"15720:3:16","nodeType":"YulIdentifier","src":"15720:3:16"},"nativeSrc":"15720:14:16","nodeType":"YulFunctionCall","src":"15720:14:16"},{"name":"e","nativeSrc":"15736:1:16","nodeType":"YulIdentifier","src":"15736:1:16"}],"functionName":{"name":"mstore","nativeSrc":"15713:6:16","nodeType":"YulIdentifier","src":"15713:6:16"},"nativeSrc":"15713:25:16","nodeType":"YulFunctionCall","src":"15713:25:16"},"nativeSrc":"15713:25:16","nodeType":"YulExpressionStatement","src":"15713:25:16"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"15762:3:16","nodeType":"YulIdentifier","src":"15762:3:16"},{"kind":"number","nativeSrc":"15767:4:16","nodeType":"YulLiteral","src":"15767:4:16","type":"","value":"0xa0"}],"functionName":{"name":"add","nativeSrc":"15758:3:16","nodeType":"YulIdentifier","src":"15758:3:16"},"nativeSrc":"15758:14:16","nodeType":"YulFunctionCall","src":"15758:14:16"},{"name":"m","nativeSrc":"15774:1:16","nodeType":"YulIdentifier","src":"15774:1:16"}],"functionName":{"name":"mstore","nativeSrc":"15751:6:16","nodeType":"YulIdentifier","src":"15751:6:16"},"nativeSrc":"15751:25:16","nodeType":"YulFunctionCall","src":"15751:25:16"},"nativeSrc":"15751:25:16","nodeType":"YulExpressionStatement","src":"15751:25:16"},{"nativeSrc":"15938:57:16","nodeType":"YulAssignment","src":"15938:57:16","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"15960:3:16","nodeType":"YulIdentifier","src":"15960:3:16"},"nativeSrc":"15960:5:16","nodeType":"YulFunctionCall","src":"15960:5:16"},{"kind":"number","nativeSrc":"15967:4:16","nodeType":"YulLiteral","src":"15967:4:16","type":"","value":"0x05"},{"name":"ptr","nativeSrc":"15973:3:16","nodeType":"YulIdentifier","src":"15973:3:16"},{"kind":"number","nativeSrc":"15978:4:16","nodeType":"YulLiteral","src":"15978:4:16","type":"","value":"0xc0"},{"kind":"number","nativeSrc":"15984:4:16","nodeType":"YulLiteral","src":"15984:4:16","type":"","value":"0x00"},{"kind":"number","nativeSrc":"15990:4:16","nodeType":"YulLiteral","src":"15990:4:16","type":"","value":"0x20"}],"functionName":{"name":"staticcall","nativeSrc":"15949:10:16","nodeType":"YulIdentifier","src":"15949:10:16"},"nativeSrc":"15949:46:16","nodeType":"YulFunctionCall","src":"15949:46:16"},"variableNames":[{"name":"success","nativeSrc":"15938:7:16","nodeType":"YulIdentifier","src":"15938:7:16"}]},{"nativeSrc":"16008:21:16","nodeType":"YulAssignment","src":"16008:21:16","value":{"arguments":[{"kind":"number","nativeSrc":"16024:4:16","nodeType":"YulLiteral","src":"16024:4:16","type":"","value":"0x00"}],"functionName":{"name":"mload","nativeSrc":"16018:5:16","nodeType":"YulIdentifier","src":"16018:5:16"},"nativeSrc":"16018:11:16","nodeType":"YulFunctionCall","src":"16018:11:16"},"variableNames":[{"name":"result","nativeSrc":"16008:6:16","nodeType":"YulIdentifier","src":"16008:6:16"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2664,"isOffset":false,"isSlot":false,"src":"15698:1:16","valueSize":1},{"declaration":2666,"isOffset":false,"isSlot":false,"src":"15736:1:16","valueSize":1},{"declaration":2668,"isOffset":false,"isSlot":false,"src":"15774:1:16","valueSize":1},{"declaration":2673,"isOffset":false,"isSlot":false,"src":"16008:6:16","valueSize":1},{"declaration":2671,"isOffset":false,"isSlot":false,"src":"15938:7:16","valueSize":1}],"flags":["memory-safe"],"id":2683,"nodeType":"InlineAssembly","src":"14601:1438:16"}]},"documentation":{"id":2662,"nodeType":"StructuredDocumentation","src":"13704:738:16","text":" @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n to operate modulo 0 or if the underlying precompile reverted.\n IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n of a revert, but the result may be incorrectly interpreted as 0."},"id":2685,"implemented":true,"kind":"function","modifiers":[],"name":"tryModExp","nameLocation":"14456:9:16","nodeType":"FunctionDefinition","parameters":{"id":2669,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2664,"mutability":"mutable","name":"b","nameLocation":"14474:1:16","nodeType":"VariableDeclaration","scope":2685,"src":"14466:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2663,"name":"uint256","nodeType":"ElementaryTypeName","src":"14466:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2666,"mutability":"mutable","name":"e","nameLocation":"14485:1:16","nodeType":"VariableDeclaration","scope":2685,"src":"14477:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2665,"name":"uint256","nodeType":"ElementaryTypeName","src":"14477:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2668,"mutability":"mutable","name":"m","nameLocation":"14496:1:16","nodeType":"VariableDeclaration","scope":2685,"src":"14488:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2667,"name":"uint256","nodeType":"ElementaryTypeName","src":"14488:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14465:33:16"},"returnParameters":{"id":2674,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2671,"mutability":"mutable","name":"success","nameLocation":"14527:7:16","nodeType":"VariableDeclaration","scope":2685,"src":"14522:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2670,"name":"bool","nodeType":"ElementaryTypeName","src":"14522:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2673,"mutability":"mutable","name":"result","nameLocation":"14544:6:16","nodeType":"VariableDeclaration","scope":2685,"src":"14536:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2672,"name":"uint256","nodeType":"ElementaryTypeName","src":"14536:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14521:30:16"},"scope":3640,"src":"14447:1598:16","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2720,"nodeType":"Block","src":"16242:179:16","statements":[{"assignments":[2698,2700],"declarations":[{"constant":false,"id":2698,"mutability":"mutable","name":"success","nameLocation":"16258:7:16","nodeType":"VariableDeclaration","scope":2720,"src":"16253:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2697,"name":"bool","nodeType":"ElementaryTypeName","src":"16253:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2700,"mutability":"mutable","name":"result","nameLocation":"16280:6:16","nodeType":"VariableDeclaration","scope":2720,"src":"16267:19:16","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2699,"name":"bytes","nodeType":"ElementaryTypeName","src":"16267:5:16","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":2706,"initialValue":{"arguments":[{"id":2702,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2688,"src":"16300:1:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2703,"name":"e","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2690,"src":"16303:1:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2704,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2692,"src":"16306:1:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":2701,"name":"tryModExp","nodeType":"Identifier","overloadedDeclarations":[2685,2767],"referencedDeclaration":2767,"src":"16290:9:16","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,bytes memory,bytes memory) view returns (bool,bytes memory)"}},"id":2705,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16290:18:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"16252:56:16"},{"condition":{"id":2708,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"16322:8:16","subExpression":{"id":2707,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2698,"src":"16323:7:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2717,"nodeType":"IfStatement","src":"16318:74:16","trueBody":{"id":2716,"nodeType":"Block","src":"16332:60:16","statements":[{"expression":{"arguments":[{"expression":{"id":2712,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1998,"src":"16358:5:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Panic_$1998_$","typeString":"type(library Panic)"}},"id":2713,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16364:16:16","memberName":"DIVISION_BY_ZERO","nodeType":"MemberAccess","referencedDeclaration":1965,"src":"16358:22:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2709,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1998,"src":"16346:5:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Panic_$1998_$","typeString":"type(library Panic)"}},"id":2711,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16352:5:16","memberName":"panic","nodeType":"MemberAccess","referencedDeclaration":1997,"src":"16346:11:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$__$","typeString":"function (uint256) pure"}},"id":2714,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16346:35:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2715,"nodeType":"ExpressionStatement","src":"16346:35:16"}]}},{"expression":{"id":2718,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2700,"src":"16408:6:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2696,"id":2719,"nodeType":"Return","src":"16401:13:16"}]},"documentation":{"id":2686,"nodeType":"StructuredDocumentation","src":"16051:85:16","text":" @dev Variant of {modExp} that supports inputs of arbitrary length."},"id":2721,"implemented":true,"kind":"function","modifiers":[],"name":"modExp","nameLocation":"16150:6:16","nodeType":"FunctionDefinition","parameters":{"id":2693,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2688,"mutability":"mutable","name":"b","nameLocation":"16170:1:16","nodeType":"VariableDeclaration","scope":2721,"src":"16157:14:16","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2687,"name":"bytes","nodeType":"ElementaryTypeName","src":"16157:5:16","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2690,"mutability":"mutable","name":"e","nameLocation":"16186:1:16","nodeType":"VariableDeclaration","scope":2721,"src":"16173:14:16","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2689,"name":"bytes","nodeType":"ElementaryTypeName","src":"16173:5:16","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2692,"mutability":"mutable","name":"m","nameLocation":"16202:1:16","nodeType":"VariableDeclaration","scope":2721,"src":"16189:14:16","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2691,"name":"bytes","nodeType":"ElementaryTypeName","src":"16189:5:16","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"16156:48:16"},"returnParameters":{"id":2696,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2695,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2721,"src":"16228:12:16","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2694,"name":"bytes","nodeType":"ElementaryTypeName","src":"16228:5:16","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"16227:14:16"},"scope":3640,"src":"16141:280:16","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2766,"nodeType":"Block","src":"16675:771:16","statements":[{"condition":{"arguments":[{"id":2736,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2728,"src":"16700:1:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":2735,"name":"_zeroBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2800,"src":"16689:10:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bool_$","typeString":"function (bytes memory) pure returns (bool)"}},"id":2737,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16689:13:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2745,"nodeType":"IfStatement","src":"16685:47:16","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":2738,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"16712:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"arguments":[{"hexValue":"30","id":2741,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16729:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":2740,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"16719:9:16","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"},"typeName":{"id":2739,"name":"bytes","nodeType":"ElementaryTypeName","src":"16723:5:16","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},"id":2742,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16719:12:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":2743,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"16711:21:16","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"functionReturnParameters":2734,"id":2744,"nodeType":"Return","src":"16704:28:16"}},{"assignments":[2747],"declarations":[{"constant":false,"id":2747,"mutability":"mutable","name":"mLen","nameLocation":"16751:4:16","nodeType":"VariableDeclaration","scope":2766,"src":"16743:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2746,"name":"uint256","nodeType":"ElementaryTypeName","src":"16743:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2750,"initialValue":{"expression":{"id":2748,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2728,"src":"16758:1:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2749,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16760:6:16","memberName":"length","nodeType":"MemberAccess","src":"16758:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"16743:23:16"},{"expression":{"id":2763,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2751,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2733,"src":"16848:6:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":2754,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2724,"src":"16874:1:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2755,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16876:6:16","memberName":"length","nodeType":"MemberAccess","src":"16874:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":2756,"name":"e","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2726,"src":"16884:1:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2757,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16886:6:16","memberName":"length","nodeType":"MemberAccess","src":"16884:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2758,"name":"mLen","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2747,"src":"16894:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2759,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2724,"src":"16900:1:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2760,"name":"e","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2726,"src":"16903:1:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2761,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2728,"src":"16906:1:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":2752,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"16857:3:16","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":2753,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16861:12:16","memberName":"encodePacked","nodeType":"MemberAccess","src":"16857:16:16","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":2762,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16857:51:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"16848:60:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2764,"nodeType":"ExpressionStatement","src":"16848:60:16"},{"AST":{"nativeSrc":"16944:496:16","nodeType":"YulBlock","src":"16944:496:16","statements":[{"nativeSrc":"16958:32:16","nodeType":"YulVariableDeclaration","src":"16958:32:16","value":{"arguments":[{"name":"result","nativeSrc":"16977:6:16","nodeType":"YulIdentifier","src":"16977:6:16"},{"kind":"number","nativeSrc":"16985:4:16","nodeType":"YulLiteral","src":"16985:4:16","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"16973:3:16","nodeType":"YulIdentifier","src":"16973:3:16"},"nativeSrc":"16973:17:16","nodeType":"YulFunctionCall","src":"16973:17:16"},"variables":[{"name":"dataPtr","nativeSrc":"16962:7:16","nodeType":"YulTypedName","src":"16962:7:16","type":""}]},{"nativeSrc":"17080:73:16","nodeType":"YulAssignment","src":"17080:73:16","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"17102:3:16","nodeType":"YulIdentifier","src":"17102:3:16"},"nativeSrc":"17102:5:16","nodeType":"YulFunctionCall","src":"17102:5:16"},{"kind":"number","nativeSrc":"17109:4:16","nodeType":"YulLiteral","src":"17109:4:16","type":"","value":"0x05"},{"name":"dataPtr","nativeSrc":"17115:7:16","nodeType":"YulIdentifier","src":"17115:7:16"},{"arguments":[{"name":"result","nativeSrc":"17130:6:16","nodeType":"YulIdentifier","src":"17130:6:16"}],"functionName":{"name":"mload","nativeSrc":"17124:5:16","nodeType":"YulIdentifier","src":"17124:5:16"},"nativeSrc":"17124:13:16","nodeType":"YulFunctionCall","src":"17124:13:16"},{"name":"dataPtr","nativeSrc":"17139:7:16","nodeType":"YulIdentifier","src":"17139:7:16"},{"name":"mLen","nativeSrc":"17148:4:16","nodeType":"YulIdentifier","src":"17148:4:16"}],"functionName":{"name":"staticcall","nativeSrc":"17091:10:16","nodeType":"YulIdentifier","src":"17091:10:16"},"nativeSrc":"17091:62:16","nodeType":"YulFunctionCall","src":"17091:62:16"},"variableNames":[{"name":"success","nativeSrc":"17080:7:16","nodeType":"YulIdentifier","src":"17080:7:16"}]},{"expression":{"arguments":[{"name":"result","nativeSrc":"17309:6:16","nodeType":"YulIdentifier","src":"17309:6:16"},{"name":"mLen","nativeSrc":"17317:4:16","nodeType":"YulIdentifier","src":"17317:4:16"}],"functionName":{"name":"mstore","nativeSrc":"17302:6:16","nodeType":"YulIdentifier","src":"17302:6:16"},"nativeSrc":"17302:20:16","nodeType":"YulFunctionCall","src":"17302:20:16"},"nativeSrc":"17302:20:16","nodeType":"YulExpressionStatement","src":"17302:20:16"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"17405:4:16","nodeType":"YulLiteral","src":"17405:4:16","type":"","value":"0x40"},{"arguments":[{"name":"dataPtr","nativeSrc":"17415:7:16","nodeType":"YulIdentifier","src":"17415:7:16"},{"name":"mLen","nativeSrc":"17424:4:16","nodeType":"YulIdentifier","src":"17424:4:16"}],"functionName":{"name":"add","nativeSrc":"17411:3:16","nodeType":"YulIdentifier","src":"17411:3:16"},"nativeSrc":"17411:18:16","nodeType":"YulFunctionCall","src":"17411:18:16"}],"functionName":{"name":"mstore","nativeSrc":"17398:6:16","nodeType":"YulIdentifier","src":"17398:6:16"},"nativeSrc":"17398:32:16","nodeType":"YulFunctionCall","src":"17398:32:16"},"nativeSrc":"17398:32:16","nodeType":"YulExpressionStatement","src":"17398:32:16"}]},"evmVersion":"paris","externalReferences":[{"declaration":2747,"isOffset":false,"isSlot":false,"src":"17148:4:16","valueSize":1},{"declaration":2747,"isOffset":false,"isSlot":false,"src":"17317:4:16","valueSize":1},{"declaration":2747,"isOffset":false,"isSlot":false,"src":"17424:4:16","valueSize":1},{"declaration":2733,"isOffset":false,"isSlot":false,"src":"16977:6:16","valueSize":1},{"declaration":2733,"isOffset":false,"isSlot":false,"src":"17130:6:16","valueSize":1},{"declaration":2733,"isOffset":false,"isSlot":false,"src":"17309:6:16","valueSize":1},{"declaration":2731,"isOffset":false,"isSlot":false,"src":"17080:7:16","valueSize":1}],"flags":["memory-safe"],"id":2765,"nodeType":"InlineAssembly","src":"16919:521:16"}]},"documentation":{"id":2722,"nodeType":"StructuredDocumentation","src":"16427:88:16","text":" @dev Variant of {tryModExp} that supports inputs of arbitrary length."},"id":2767,"implemented":true,"kind":"function","modifiers":[],"name":"tryModExp","nameLocation":"16529:9:16","nodeType":"FunctionDefinition","parameters":{"id":2729,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2724,"mutability":"mutable","name":"b","nameLocation":"16561:1:16","nodeType":"VariableDeclaration","scope":2767,"src":"16548:14:16","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2723,"name":"bytes","nodeType":"ElementaryTypeName","src":"16548:5:16","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2726,"mutability":"mutable","name":"e","nameLocation":"16585:1:16","nodeType":"VariableDeclaration","scope":2767,"src":"16572:14:16","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2725,"name":"bytes","nodeType":"ElementaryTypeName","src":"16572:5:16","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2728,"mutability":"mutable","name":"m","nameLocation":"16609:1:16","nodeType":"VariableDeclaration","scope":2767,"src":"16596:14:16","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2727,"name":"bytes","nodeType":"ElementaryTypeName","src":"16596:5:16","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"16538:78:16"},"returnParameters":{"id":2734,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2731,"mutability":"mutable","name":"success","nameLocation":"16645:7:16","nodeType":"VariableDeclaration","scope":2767,"src":"16640:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2730,"name":"bool","nodeType":"ElementaryTypeName","src":"16640:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2733,"mutability":"mutable","name":"result","nameLocation":"16667:6:16","nodeType":"VariableDeclaration","scope":2767,"src":"16654:19:16","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2732,"name":"bytes","nodeType":"ElementaryTypeName","src":"16654:5:16","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"16639:35:16"},"scope":3640,"src":"16520:926:16","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2799,"nodeType":"Block","src":"17601:176:16","statements":[{"body":{"id":2795,"nodeType":"Block","src":"17658:92:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":2790,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":2786,"name":"byteArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2770,"src":"17676:9:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2788,"indexExpression":{"id":2787,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2776,"src":"17686:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"17676:12:16","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":2789,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17692:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"17676:17:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2794,"nodeType":"IfStatement","src":"17672:68:16","trueBody":{"id":2793,"nodeType":"Block","src":"17695:45:16","statements":[{"expression":{"hexValue":"66616c7365","id":2791,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"17720:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":2774,"id":2792,"nodeType":"Return","src":"17713:12:16"}]}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2782,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2779,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2776,"src":"17631:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":2780,"name":"byteArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2770,"src":"17635:9:16","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2781,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17645:6:16","memberName":"length","nodeType":"MemberAccess","src":"17635:16:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"17631:20:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2796,"initializationExpression":{"assignments":[2776],"declarations":[{"constant":false,"id":2776,"mutability":"mutable","name":"i","nameLocation":"17624:1:16","nodeType":"VariableDeclaration","scope":2796,"src":"17616:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2775,"name":"uint256","nodeType":"ElementaryTypeName","src":"17616:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2778,"initialValue":{"hexValue":"30","id":2777,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17628:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"17616:13:16"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":2784,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"17653:3:16","subExpression":{"id":2783,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2776,"src":"17655:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2785,"nodeType":"ExpressionStatement","src":"17653:3:16"},"nodeType":"ForStatement","src":"17611:139:16"},{"expression":{"hexValue":"74727565","id":2797,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"17766:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":2774,"id":2798,"nodeType":"Return","src":"17759:11:16"}]},"documentation":{"id":2768,"nodeType":"StructuredDocumentation","src":"17452:72:16","text":" @dev Returns whether the provided byte array is zero."},"id":2800,"implemented":true,"kind":"function","modifiers":[],"name":"_zeroBytes","nameLocation":"17538:10:16","nodeType":"FunctionDefinition","parameters":{"id":2771,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2770,"mutability":"mutable","name":"byteArray","nameLocation":"17562:9:16","nodeType":"VariableDeclaration","scope":2800,"src":"17549:22:16","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2769,"name":"bytes","nodeType":"ElementaryTypeName","src":"17549:5:16","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"17548:24:16"},"returnParameters":{"id":2774,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2773,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2800,"src":"17595:4:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2772,"name":"bool","nodeType":"ElementaryTypeName","src":"17595:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"17594:6:16"},"scope":3640,"src":"17529:248:16","stateMutability":"pure","virtual":false,"visibility":"private"},{"body":{"id":3018,"nodeType":"Block","src":"18137:5124:16","statements":[{"id":3017,"nodeType":"UncheckedBlock","src":"18147:5108:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2810,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2808,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2803,"src":"18241:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"hexValue":"31","id":2809,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18246:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"18241:6:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2814,"nodeType":"IfStatement","src":"18237:53:16","trueBody":{"id":2813,"nodeType":"Block","src":"18249:41:16","statements":[{"expression":{"id":2811,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2803,"src":"18274:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2807,"id":2812,"nodeType":"Return","src":"18267:8:16"}]}},{"assignments":[2816],"declarations":[{"constant":false,"id":2816,"mutability":"mutable","name":"aa","nameLocation":"19225:2:16","nodeType":"VariableDeclaration","scope":3017,"src":"19217:10:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2815,"name":"uint256","nodeType":"ElementaryTypeName","src":"19217:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2818,"initialValue":{"id":2817,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2803,"src":"19230:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"19217:14:16"},{"assignments":[2820],"declarations":[{"constant":false,"id":2820,"mutability":"mutable","name":"xn","nameLocation":"19253:2:16","nodeType":"VariableDeclaration","scope":3017,"src":"19245:10:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2819,"name":"uint256","nodeType":"ElementaryTypeName","src":"19245:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2822,"initialValue":{"hexValue":"31","id":2821,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19258:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"VariableDeclarationStatement","src":"19245:14:16"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2828,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2823,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19278:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"},"id":2826,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2824,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19285:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"313238","id":2825,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19290:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"19285:8:16","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"}}],"id":2827,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"19284:10:16","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"}},"src":"19278:16:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2838,"nodeType":"IfStatement","src":"19274:92:16","trueBody":{"id":2837,"nodeType":"Block","src":"19296:70:16","statements":[{"expression":{"id":2831,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2829,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19314:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"313238","id":2830,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19321:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"19314:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2832,"nodeType":"ExpressionStatement","src":"19314:10:16"},{"expression":{"id":2835,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2833,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"19342:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"3634","id":2834,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19349:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"19342:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2836,"nodeType":"ExpressionStatement","src":"19342:9:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2844,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2839,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19383:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"},"id":2842,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2840,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19390:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3634","id":2841,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19395:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"19390:7:16","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"}}],"id":2843,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"19389:9:16","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"}},"src":"19383:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2854,"nodeType":"IfStatement","src":"19379:90:16","trueBody":{"id":2853,"nodeType":"Block","src":"19400:69:16","statements":[{"expression":{"id":2847,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2845,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19418:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3634","id":2846,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19425:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"19418:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2848,"nodeType":"ExpressionStatement","src":"19418:9:16"},{"expression":{"id":2851,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2849,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"19445:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"3332","id":2850,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19452:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"19445:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2852,"nodeType":"ExpressionStatement","src":"19445:9:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2860,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2855,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19486:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"},"id":2858,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2856,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19493:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3332","id":2857,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19498:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"19493:7:16","typeDescriptions":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"}}],"id":2859,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"19492:9:16","typeDescriptions":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"}},"src":"19486:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2870,"nodeType":"IfStatement","src":"19482:90:16","trueBody":{"id":2869,"nodeType":"Block","src":"19503:69:16","statements":[{"expression":{"id":2863,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2861,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19521:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3332","id":2862,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19528:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"19521:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2864,"nodeType":"ExpressionStatement","src":"19521:9:16"},{"expression":{"id":2867,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2865,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"19548:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"3136","id":2866,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19555:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"19548:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2868,"nodeType":"ExpressionStatement","src":"19548:9:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2876,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2871,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19589:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"},"id":2874,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2872,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19596:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3136","id":2873,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19601:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"19596:7:16","typeDescriptions":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"}}],"id":2875,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"19595:9:16","typeDescriptions":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"}},"src":"19589:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2886,"nodeType":"IfStatement","src":"19585:89:16","trueBody":{"id":2885,"nodeType":"Block","src":"19606:68:16","statements":[{"expression":{"id":2879,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2877,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19624:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3136","id":2878,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19631:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"19624:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2880,"nodeType":"ExpressionStatement","src":"19624:9:16"},{"expression":{"id":2883,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2881,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"19651:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"38","id":2882,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19658:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"19651:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2884,"nodeType":"ExpressionStatement","src":"19651:8:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2892,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2887,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19691:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"},"id":2890,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2888,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19698:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"38","id":2889,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19703:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"19698:6:16","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"}}],"id":2891,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"19697:8:16","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"}},"src":"19691:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2902,"nodeType":"IfStatement","src":"19687:87:16","trueBody":{"id":2901,"nodeType":"Block","src":"19707:67:16","statements":[{"expression":{"id":2895,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2893,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19725:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"38","id":2894,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19732:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"19725:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2896,"nodeType":"ExpressionStatement","src":"19725:8:16"},{"expression":{"id":2899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2897,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"19751:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"34","id":2898,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19758:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"19751:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2900,"nodeType":"ExpressionStatement","src":"19751:8:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2908,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2903,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19791:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"id":2906,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2904,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19798:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"34","id":2905,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19803:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"19798:6:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"}}],"id":2907,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"19797:8:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"}},"src":"19791:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2918,"nodeType":"IfStatement","src":"19787:87:16","trueBody":{"id":2917,"nodeType":"Block","src":"19807:67:16","statements":[{"expression":{"id":2911,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2909,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19825:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"34","id":2910,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19832:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"19825:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2912,"nodeType":"ExpressionStatement","src":"19825:8:16"},{"expression":{"id":2915,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2913,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"19851:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"32","id":2914,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19858:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"19851:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2916,"nodeType":"ExpressionStatement","src":"19851:8:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2924,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2919,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2816,"src":"19891:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"id":2922,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2920,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19898:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"32","id":2921,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19903:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"19898:6:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"}}],"id":2923,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"19897:8:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"}},"src":"19891:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2930,"nodeType":"IfStatement","src":"19887:61:16","trueBody":{"id":2929,"nodeType":"Block","src":"19907:41:16","statements":[{"expression":{"id":2927,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2925,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"19925:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"31","id":2926,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19932:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"19925:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2928,"nodeType":"ExpressionStatement","src":"19925:8:16"}]}},{"expression":{"id":2938,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2931,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"20368:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2937,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2934,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"33","id":2932,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20374:1:16","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2933,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"20378:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"20374:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2935,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"20373:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":2936,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20385:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"20373:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"20368:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2939,"nodeType":"ExpressionStatement","src":"20368:18:16"},{"expression":{"id":2949,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2940,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22273:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2948,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2945,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2941,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22279:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2944,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2942,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2803,"src":"22284:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2943,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22288:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22284:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22279:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2946,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"22278:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":2947,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22295:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"22278:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22273:23:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2950,"nodeType":"ExpressionStatement","src":"22273:23:16"},{"expression":{"id":2960,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2951,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22382:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2959,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2956,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2952,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22388:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2955,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2953,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2803,"src":"22393:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2954,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22397:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22393:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22388:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2957,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"22387:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":2958,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22404:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"22387:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22382:23:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2961,"nodeType":"ExpressionStatement","src":"22382:23:16"},{"expression":{"id":2971,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2962,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22493:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2970,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2967,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2963,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22499:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2966,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2964,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2803,"src":"22504:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2965,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22508:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22504:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22499:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2968,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"22498:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":2969,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22515:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"22498:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22493:23:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2972,"nodeType":"ExpressionStatement","src":"22493:23:16"},{"expression":{"id":2982,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2973,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22602:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2981,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2978,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2974,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22608:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2977,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2975,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2803,"src":"22613:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2976,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22617:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22613:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22608:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2979,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"22607:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":2980,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22624:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"22607:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22602:23:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2983,"nodeType":"ExpressionStatement","src":"22602:23:16"},{"expression":{"id":2993,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2984,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22712:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2992,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2989,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2985,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22718:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2988,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2986,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2803,"src":"22723:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2987,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22727:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22723:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22718:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2990,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"22717:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":2991,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22734:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"22717:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22712:23:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2994,"nodeType":"ExpressionStatement","src":"22712:23:16"},{"expression":{"id":3004,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2995,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22822:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3003,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2996,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22828:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2999,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2997,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2803,"src":"22833:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2998,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"22837:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22833:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22828:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3001,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"22827:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":3002,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22844:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"22827:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22822:23:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3005,"nodeType":"ExpressionStatement","src":"22822:23:16"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3015,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3006,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"23211:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3013,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3009,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"23232:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3012,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3010,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2803,"src":"23237:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":3011,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"23241:2:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23237:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23232:11:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3007,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"23216:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3008,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"23225:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"23216:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3014,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23216:28:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23211:33:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2807,"id":3016,"nodeType":"Return","src":"23204:40:16"}]}]},"documentation":{"id":2801,"nodeType":"StructuredDocumentation","src":"17783:292:16","text":" @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n towards zero.\n This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n using integer operations."},"id":3019,"implemented":true,"kind":"function","modifiers":[],"name":"sqrt","nameLocation":"18089:4:16","nodeType":"FunctionDefinition","parameters":{"id":2804,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2803,"mutability":"mutable","name":"a","nameLocation":"18102:1:16","nodeType":"VariableDeclaration","scope":3019,"src":"18094:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2802,"name":"uint256","nodeType":"ElementaryTypeName","src":"18094:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"18093:11:16"},"returnParameters":{"id":2807,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2806,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3019,"src":"18128:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2805,"name":"uint256","nodeType":"ElementaryTypeName","src":"18128:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"18127:9:16"},"scope":3640,"src":"18080:5181:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3052,"nodeType":"Block","src":"23434:171:16","statements":[{"id":3051,"nodeType":"UncheckedBlock","src":"23444:155:16","statements":[{"assignments":[3031],"declarations":[{"constant":false,"id":3031,"mutability":"mutable","name":"result","nameLocation":"23476:6:16","nodeType":"VariableDeclaration","scope":3051,"src":"23468:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3030,"name":"uint256","nodeType":"ElementaryTypeName","src":"23468:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3035,"initialValue":{"arguments":[{"id":3033,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3022,"src":"23490:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3032,"name":"sqrt","nodeType":"Identifier","overloadedDeclarations":[3019,3053],"referencedDeclaration":3019,"src":"23485:4:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":3034,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23485:7:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"23468:24:16"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3049,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3036,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3031,"src":"23513:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3047,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3040,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3025,"src":"23555:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}],"id":3039,"name":"unsignedRoundsUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3639,"src":"23538:16:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_Rounding_$2046_$returns$_t_bool_$","typeString":"function (enum Math.Rounding) pure returns (bool)"}},"id":3041,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23538:26:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3046,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3044,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3042,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3031,"src":"23568:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":3043,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3031,"src":"23577:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23568:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3045,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3022,"src":"23586:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23568:19:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"23538:49:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3037,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"23522:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3038,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"23531:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"23522:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3048,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23522:66:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23513:75:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3029,"id":3050,"nodeType":"Return","src":"23506:82:16"}]}]},"documentation":{"id":3020,"nodeType":"StructuredDocumentation","src":"23267:86:16","text":" @dev Calculates sqrt(a), following the selected rounding direction."},"id":3053,"implemented":true,"kind":"function","modifiers":[],"name":"sqrt","nameLocation":"23367:4:16","nodeType":"FunctionDefinition","parameters":{"id":3026,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3022,"mutability":"mutable","name":"a","nameLocation":"23380:1:16","nodeType":"VariableDeclaration","scope":3053,"src":"23372:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3021,"name":"uint256","nodeType":"ElementaryTypeName","src":"23372:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3025,"mutability":"mutable","name":"rounding","nameLocation":"23392:8:16","nodeType":"VariableDeclaration","scope":3053,"src":"23383:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"},"typeName":{"id":3024,"nodeType":"UserDefinedTypeName","pathNode":{"id":3023,"name":"Rounding","nameLocations":["23383:8:16"],"nodeType":"IdentifierPath","referencedDeclaration":2046,"src":"23383:8:16"},"referencedDeclaration":2046,"src":"23383:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"23371:30:16"},"returnParameters":{"id":3029,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3028,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3053,"src":"23425:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3027,"name":"uint256","nodeType":"ElementaryTypeName","src":"23425:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"23424:9:16"},"scope":3640,"src":"23358:247:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3248,"nodeType":"Block","src":"23796:981:16","statements":[{"assignments":[3062],"declarations":[{"constant":false,"id":3062,"mutability":"mutable","name":"result","nameLocation":"23814:6:16","nodeType":"VariableDeclaration","scope":3248,"src":"23806:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3061,"name":"uint256","nodeType":"ElementaryTypeName","src":"23806:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3064,"initialValue":{"hexValue":"30","id":3063,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23823:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"23806:18:16"},{"assignments":[3066],"declarations":[{"constant":false,"id":3066,"mutability":"mutable","name":"exp","nameLocation":"23842:3:16","nodeType":"VariableDeclaration","scope":3248,"src":"23834:11:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3065,"name":"uint256","nodeType":"ElementaryTypeName","src":"23834:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3067,"nodeType":"VariableDeclarationStatement","src":"23834:11:16"},{"id":3245,"nodeType":"UncheckedBlock","src":"23855:893:16","statements":[{"expression":{"id":3082,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3068,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"23879:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3081,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"313238","id":3069,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23885:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3079,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3072,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"23907:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_340282366920938463463374607431768211455_by_1","typeString":"int_const 3402...(31 digits omitted)...1455"},"id":3078,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"},"id":3075,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3073,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23916:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"313238","id":3074,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23921:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"23916:8:16","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"}}],"id":3076,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"23915:10:16","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3077,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23928:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"23915:14:16","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211455_by_1","typeString":"int_const 3402...(31 digits omitted)...1455"}},"src":"23907:22:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3070,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"23891:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"23900:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"23891:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3080,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23891:39:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23885:45:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23879:51:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3083,"nodeType":"ExpressionStatement","src":"23879:51:16"},{"expression":{"id":3086,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3084,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"23944:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"id":3085,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"23954:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23944:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3087,"nodeType":"ExpressionStatement","src":"23944:13:16"},{"expression":{"id":3090,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3088,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3062,"src":"23971:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":3089,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"23981:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23971:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3091,"nodeType":"ExpressionStatement","src":"23971:13:16"},{"expression":{"id":3106,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3092,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"23999:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3105,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3634","id":3093,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24005:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3103,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3096,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24026:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_18446744073709551615_by_1","typeString":"int_const 18446744073709551615"},"id":3102,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"},"id":3099,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3097,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24035:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3634","id":3098,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24040:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"24035:7:16","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"}}],"id":3100,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"24034:9:16","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3101,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24046:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"24034:13:16","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551615_by_1","typeString":"int_const 18446744073709551615"}},"src":"24026:21:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3094,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"24010:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3095,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"24019:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"24010:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3104,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24010:38:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24005:43:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23999:49:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3107,"nodeType":"ExpressionStatement","src":"23999:49:16"},{"expression":{"id":3110,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3108,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24062:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"id":3109,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24072:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24062:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3111,"nodeType":"ExpressionStatement","src":"24062:13:16"},{"expression":{"id":3114,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3112,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3062,"src":"24089:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":3113,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24099:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24089:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3115,"nodeType":"ExpressionStatement","src":"24089:13:16"},{"expression":{"id":3130,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3116,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24117:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3129,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3332","id":3117,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24123:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3127,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3120,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24144:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_4294967295_by_1","typeString":"int_const 4294967295"},"id":3126,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"},"id":3123,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3121,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24153:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3332","id":3122,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24158:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"24153:7:16","typeDescriptions":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"}}],"id":3124,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"24152:9:16","typeDescriptions":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3125,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24164:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"24152:13:16","typeDescriptions":{"typeIdentifier":"t_rational_4294967295_by_1","typeString":"int_const 4294967295"}},"src":"24144:21:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3118,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"24128:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3119,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"24137:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"24128:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3128,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24128:38:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24123:43:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24117:49:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3131,"nodeType":"ExpressionStatement","src":"24117:49:16"},{"expression":{"id":3134,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3132,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24180:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"id":3133,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24190:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24180:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3135,"nodeType":"ExpressionStatement","src":"24180:13:16"},{"expression":{"id":3138,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3136,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3062,"src":"24207:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":3137,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24217:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24207:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3139,"nodeType":"ExpressionStatement","src":"24207:13:16"},{"expression":{"id":3154,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3140,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24235:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3153,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3136","id":3141,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24241:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3151,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3144,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24262:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_65535_by_1","typeString":"int_const 65535"},"id":3150,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"},"id":3147,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3145,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24271:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3136","id":3146,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24276:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"24271:7:16","typeDescriptions":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"}}],"id":3148,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"24270:9:16","typeDescriptions":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3149,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24282:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"24270:13:16","typeDescriptions":{"typeIdentifier":"t_rational_65535_by_1","typeString":"int_const 65535"}},"src":"24262:21:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3142,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"24246:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3143,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"24255:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"24246:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3152,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24246:38:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24241:43:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24235:49:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3155,"nodeType":"ExpressionStatement","src":"24235:49:16"},{"expression":{"id":3158,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3156,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24298:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"id":3157,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24308:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24298:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3159,"nodeType":"ExpressionStatement","src":"24298:13:16"},{"expression":{"id":3162,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3160,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3062,"src":"24325:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":3161,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24335:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24325:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3163,"nodeType":"ExpressionStatement","src":"24325:13:16"},{"expression":{"id":3178,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3164,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24353:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3177,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"38","id":3165,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24359:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3175,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3168,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24379:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"id":3174,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"},"id":3171,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3169,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24388:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"38","id":3170,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24393:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"24388:6:16","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"}}],"id":3172,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"24387:8:16","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3173,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24398:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"24387:12:16","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"}},"src":"24379:20:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3166,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"24363:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3167,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"24372:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"24363:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3176,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24363:37:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24359:41:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24353:47:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3179,"nodeType":"ExpressionStatement","src":"24353:47:16"},{"expression":{"id":3182,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3180,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24414:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"id":3181,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24424:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24414:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3183,"nodeType":"ExpressionStatement","src":"24414:13:16"},{"expression":{"id":3186,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3184,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3062,"src":"24441:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":3185,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24451:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24441:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3187,"nodeType":"ExpressionStatement","src":"24441:13:16"},{"expression":{"id":3202,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3188,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24469:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3201,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"34","id":3189,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24475:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3199,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3192,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24495:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_15_by_1","typeString":"int_const 15"},"id":3198,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"id":3195,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3193,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24504:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"34","id":3194,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24509:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"24504:6:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"}}],"id":3196,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"24503:8:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3197,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24514:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"24503:12:16","typeDescriptions":{"typeIdentifier":"t_rational_15_by_1","typeString":"int_const 15"}},"src":"24495:20:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3190,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"24479:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3191,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"24488:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"24479:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3200,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24479:37:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24475:41:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24469:47:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3203,"nodeType":"ExpressionStatement","src":"24469:47:16"},{"expression":{"id":3206,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3204,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24530:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"id":3205,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24540:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24530:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3207,"nodeType":"ExpressionStatement","src":"24530:13:16"},{"expression":{"id":3210,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3208,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3062,"src":"24557:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":3209,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24567:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24557:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3211,"nodeType":"ExpressionStatement","src":"24557:13:16"},{"expression":{"id":3226,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3212,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24585:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3225,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":3213,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24591:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3223,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3216,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24611:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"id":3222,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"id":3219,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3217,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24620:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"32","id":3218,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24625:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"24620:6:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"}}],"id":3220,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"24619:8:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3221,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24630:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"24619:12:16","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"}},"src":"24611:20:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3214,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"24595:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3215,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"24604:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"24595:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3224,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24595:37:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24591:41:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24585:47:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3227,"nodeType":"ExpressionStatement","src":"24585:47:16"},{"expression":{"id":3230,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3228,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24646:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"id":3229,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24656:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24646:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3231,"nodeType":"ExpressionStatement","src":"24646:13:16"},{"expression":{"id":3234,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3232,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3062,"src":"24673:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":3233,"name":"exp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3066,"src":"24683:3:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24673:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3235,"nodeType":"ExpressionStatement","src":"24673:13:16"},{"expression":{"id":3243,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3236,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3062,"src":"24701:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3241,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3239,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3056,"src":"24727:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"31","id":3240,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24735:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"24727:9:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3237,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"24711:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3238,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"24720:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"24711:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3242,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24711:26:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24701:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3244,"nodeType":"ExpressionStatement","src":"24701:36:16"}]},{"expression":{"id":3246,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3062,"src":"24764:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3060,"id":3247,"nodeType":"Return","src":"24757:13:16"}]},"documentation":{"id":3054,"nodeType":"StructuredDocumentation","src":"23611:119:16","text":" @dev Return the log in base 2 of a positive value rounded towards zero.\n Returns 0 if given 0."},"id":3249,"implemented":true,"kind":"function","modifiers":[],"name":"log2","nameLocation":"23744:4:16","nodeType":"FunctionDefinition","parameters":{"id":3057,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3056,"mutability":"mutable","name":"value","nameLocation":"23757:5:16","nodeType":"VariableDeclaration","scope":3249,"src":"23749:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3055,"name":"uint256","nodeType":"ElementaryTypeName","src":"23749:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"23748:15:16"},"returnParameters":{"id":3060,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3059,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3249,"src":"23787:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3058,"name":"uint256","nodeType":"ElementaryTypeName","src":"23787:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"23786:9:16"},"scope":3640,"src":"23735:1042:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3282,"nodeType":"Block","src":"25010:175:16","statements":[{"id":3281,"nodeType":"UncheckedBlock","src":"25020:159:16","statements":[{"assignments":[3261],"declarations":[{"constant":false,"id":3261,"mutability":"mutable","name":"result","nameLocation":"25052:6:16","nodeType":"VariableDeclaration","scope":3281,"src":"25044:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3260,"name":"uint256","nodeType":"ElementaryTypeName","src":"25044:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3265,"initialValue":{"arguments":[{"id":3263,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3252,"src":"25066:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3262,"name":"log2","nodeType":"Identifier","overloadedDeclarations":[3249,3283],"referencedDeclaration":3249,"src":"25061:4:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":3264,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25061:11:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"25044:28:16"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3279,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3266,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3261,"src":"25093:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3270,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3255,"src":"25135:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}],"id":3269,"name":"unsignedRoundsUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3639,"src":"25118:16:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_Rounding_$2046_$returns$_t_bool_$","typeString":"function (enum Math.Rounding) pure returns (bool)"}},"id":3271,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25118:26:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3276,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3274,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3272,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25148:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"id":3273,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3261,"src":"25153:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25148:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3275,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3252,"src":"25162:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25148:19:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"25118:49:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3267,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"25102:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3268,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25111:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"25102:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3278,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25102:66:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25093:75:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3259,"id":3280,"nodeType":"Return","src":"25086:82:16"}]}]},"documentation":{"id":3250,"nodeType":"StructuredDocumentation","src":"24783:142:16","text":" @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n Returns 0 if given 0."},"id":3283,"implemented":true,"kind":"function","modifiers":[],"name":"log2","nameLocation":"24939:4:16","nodeType":"FunctionDefinition","parameters":{"id":3256,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3252,"mutability":"mutable","name":"value","nameLocation":"24952:5:16","nodeType":"VariableDeclaration","scope":3283,"src":"24944:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3251,"name":"uint256","nodeType":"ElementaryTypeName","src":"24944:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3255,"mutability":"mutable","name":"rounding","nameLocation":"24968:8:16","nodeType":"VariableDeclaration","scope":3283,"src":"24959:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"},"typeName":{"id":3254,"nodeType":"UserDefinedTypeName","pathNode":{"id":3253,"name":"Rounding","nameLocations":["24959:8:16"],"nodeType":"IdentifierPath","referencedDeclaration":2046,"src":"24959:8:16"},"referencedDeclaration":2046,"src":"24959:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"24943:34:16"},"returnParameters":{"id":3259,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3258,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3283,"src":"25001:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3257,"name":"uint256","nodeType":"ElementaryTypeName","src":"25001:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"25000:9:16"},"scope":3640,"src":"24930:255:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3411,"nodeType":"Block","src":"25378:854:16","statements":[{"assignments":[3292],"declarations":[{"constant":false,"id":3292,"mutability":"mutable","name":"result","nameLocation":"25396:6:16","nodeType":"VariableDeclaration","scope":3411,"src":"25388:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3291,"name":"uint256","nodeType":"ElementaryTypeName","src":"25388:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3294,"initialValue":{"hexValue":"30","id":3293,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25405:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"25388:18:16"},{"id":3408,"nodeType":"UncheckedBlock","src":"25416:787:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3299,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3295,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"25444:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1","typeString":"int_const 1000...(57 digits omitted)...0000"},"id":3298,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3296,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25453:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3634","id":3297,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25459:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"25453:8:16","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1","typeString":"int_const 1000...(57 digits omitted)...0000"}},"src":"25444:17:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3311,"nodeType":"IfStatement","src":"25440:103:16","trueBody":{"id":3310,"nodeType":"Block","src":"25463:80:16","statements":[{"expression":{"id":3304,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3300,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"25481:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1","typeString":"int_const 1000...(57 digits omitted)...0000"},"id":3303,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3301,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25490:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3634","id":3302,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25496:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"25490:8:16","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1","typeString":"int_const 1000...(57 digits omitted)...0000"}},"src":"25481:17:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3305,"nodeType":"ExpressionStatement","src":"25481:17:16"},{"expression":{"id":3308,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3306,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3292,"src":"25516:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3634","id":3307,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25526:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"25516:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3309,"nodeType":"ExpressionStatement","src":"25516:12:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3316,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3312,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"25560:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_100000000000000000000000000000000_by_1","typeString":"int_const 1000...(25 digits omitted)...0000"},"id":3315,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3313,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25569:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3332","id":3314,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25575:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"25569:8:16","typeDescriptions":{"typeIdentifier":"t_rational_100000000000000000000000000000000_by_1","typeString":"int_const 1000...(25 digits omitted)...0000"}},"src":"25560:17:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3328,"nodeType":"IfStatement","src":"25556:103:16","trueBody":{"id":3327,"nodeType":"Block","src":"25579:80:16","statements":[{"expression":{"id":3321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3317,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"25597:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_100000000000000000000000000000000_by_1","typeString":"int_const 1000...(25 digits omitted)...0000"},"id":3320,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3318,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25606:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3332","id":3319,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25612:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"25606:8:16","typeDescriptions":{"typeIdentifier":"t_rational_100000000000000000000000000000000_by_1","typeString":"int_const 1000...(25 digits omitted)...0000"}},"src":"25597:17:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3322,"nodeType":"ExpressionStatement","src":"25597:17:16"},{"expression":{"id":3325,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3323,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3292,"src":"25632:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3332","id":3324,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25642:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"25632:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3326,"nodeType":"ExpressionStatement","src":"25632:12:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3333,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3329,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"25676:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"},"id":3332,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3330,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25685:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3136","id":3331,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25691:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"25685:8:16","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"}},"src":"25676:17:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3345,"nodeType":"IfStatement","src":"25672:103:16","trueBody":{"id":3344,"nodeType":"Block","src":"25695:80:16","statements":[{"expression":{"id":3338,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3334,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"25713:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"},"id":3337,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3335,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25722:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3136","id":3336,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25728:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"25722:8:16","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"}},"src":"25713:17:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3339,"nodeType":"ExpressionStatement","src":"25713:17:16"},{"expression":{"id":3342,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3340,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3292,"src":"25748:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3136","id":3341,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25758:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"25748:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3343,"nodeType":"ExpressionStatement","src":"25748:12:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3350,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3346,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"25792:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"},"id":3349,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3347,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25801:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"38","id":3348,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25807:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"25801:7:16","typeDescriptions":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"}},"src":"25792:16:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3362,"nodeType":"IfStatement","src":"25788:100:16","trueBody":{"id":3361,"nodeType":"Block","src":"25810:78:16","statements":[{"expression":{"id":3355,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3351,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"25828:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"},"id":3354,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3352,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25837:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"38","id":3353,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25843:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"25837:7:16","typeDescriptions":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"}},"src":"25828:16:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3356,"nodeType":"ExpressionStatement","src":"25828:16:16"},{"expression":{"id":3359,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3357,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3292,"src":"25862:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"38","id":3358,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25872:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"25862:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3360,"nodeType":"ExpressionStatement","src":"25862:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3367,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3363,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"25905:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"},"id":3366,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3364,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25914:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"34","id":3365,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25920:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"25914:7:16","typeDescriptions":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"}},"src":"25905:16:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3379,"nodeType":"IfStatement","src":"25901:100:16","trueBody":{"id":3378,"nodeType":"Block","src":"25923:78:16","statements":[{"expression":{"id":3372,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3368,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"25941:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"},"id":3371,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3369,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25950:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"34","id":3370,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25956:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"25950:7:16","typeDescriptions":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"}},"src":"25941:16:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3373,"nodeType":"ExpressionStatement","src":"25941:16:16"},{"expression":{"id":3376,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3374,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3292,"src":"25975:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"34","id":3375,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25985:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"25975:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3377,"nodeType":"ExpressionStatement","src":"25975:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3384,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3380,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"26018:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"},"id":3383,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3381,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26027:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"32","id":3382,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26033:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"26027:7:16","typeDescriptions":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"}},"src":"26018:16:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3396,"nodeType":"IfStatement","src":"26014:100:16","trueBody":{"id":3395,"nodeType":"Block","src":"26036:78:16","statements":[{"expression":{"id":3389,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3385,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"26054:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"},"id":3388,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3386,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26063:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"32","id":3387,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26069:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"26063:7:16","typeDescriptions":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"}},"src":"26054:16:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3390,"nodeType":"ExpressionStatement","src":"26054:16:16"},{"expression":{"id":3393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3391,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3292,"src":"26088:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"32","id":3392,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26098:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"26088:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3394,"nodeType":"ExpressionStatement","src":"26088:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3401,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3397,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3286,"src":"26131:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"id":3400,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3398,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26140:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"31","id":3399,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26146:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"26140:7:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"}},"src":"26131:16:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3407,"nodeType":"IfStatement","src":"26127:66:16","trueBody":{"id":3406,"nodeType":"Block","src":"26149:44:16","statements":[{"expression":{"id":3404,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3402,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3292,"src":"26167:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":3403,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26177:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"26167:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3405,"nodeType":"ExpressionStatement","src":"26167:11:16"}]}}]},{"expression":{"id":3409,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3292,"src":"26219:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3290,"id":3410,"nodeType":"Return","src":"26212:13:16"}]},"documentation":{"id":3284,"nodeType":"StructuredDocumentation","src":"25191:120:16","text":" @dev Return the log in base 10 of a positive value rounded towards zero.\n Returns 0 if given 0."},"id":3412,"implemented":true,"kind":"function","modifiers":[],"name":"log10","nameLocation":"25325:5:16","nodeType":"FunctionDefinition","parameters":{"id":3287,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3286,"mutability":"mutable","name":"value","nameLocation":"25339:5:16","nodeType":"VariableDeclaration","scope":3412,"src":"25331:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3285,"name":"uint256","nodeType":"ElementaryTypeName","src":"25331:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"25330:15:16"},"returnParameters":{"id":3290,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3289,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3412,"src":"25369:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3288,"name":"uint256","nodeType":"ElementaryTypeName","src":"25369:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"25368:9:16"},"scope":3640,"src":"25316:916:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3445,"nodeType":"Block","src":"26467:177:16","statements":[{"id":3444,"nodeType":"UncheckedBlock","src":"26477:161:16","statements":[{"assignments":[3424],"declarations":[{"constant":false,"id":3424,"mutability":"mutable","name":"result","nameLocation":"26509:6:16","nodeType":"VariableDeclaration","scope":3444,"src":"26501:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3423,"name":"uint256","nodeType":"ElementaryTypeName","src":"26501:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3428,"initialValue":{"arguments":[{"id":3426,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3415,"src":"26524:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3425,"name":"log10","nodeType":"Identifier","overloadedDeclarations":[3412,3446],"referencedDeclaration":3412,"src":"26518:5:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":3427,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26518:12:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"26501:29:16"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3429,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3424,"src":"26551:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3440,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3433,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3418,"src":"26593:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}],"id":3432,"name":"unsignedRoundsUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3639,"src":"26576:16:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_Rounding_$2046_$returns$_t_bool_$","typeString":"function (enum Math.Rounding) pure returns (bool)"}},"id":3434,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26576:26:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3439,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3435,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26606:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"id":3436,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3424,"src":"26612:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26606:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3438,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3415,"src":"26621:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26606:20:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"26576:50:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3430,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"26560:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3431,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26569:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"26560:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3441,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26560:67:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26551:76:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3422,"id":3443,"nodeType":"Return","src":"26544:83:16"}]}]},"documentation":{"id":3413,"nodeType":"StructuredDocumentation","src":"26238:143:16","text":" @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n Returns 0 if given 0."},"id":3446,"implemented":true,"kind":"function","modifiers":[],"name":"log10","nameLocation":"26395:5:16","nodeType":"FunctionDefinition","parameters":{"id":3419,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3415,"mutability":"mutable","name":"value","nameLocation":"26409:5:16","nodeType":"VariableDeclaration","scope":3446,"src":"26401:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3414,"name":"uint256","nodeType":"ElementaryTypeName","src":"26401:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3418,"mutability":"mutable","name":"rounding","nameLocation":"26425:8:16","nodeType":"VariableDeclaration","scope":3446,"src":"26416:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"},"typeName":{"id":3417,"nodeType":"UserDefinedTypeName","pathNode":{"id":3416,"name":"Rounding","nameLocations":["26416:8:16"],"nodeType":"IdentifierPath","referencedDeclaration":2046,"src":"26416:8:16"},"referencedDeclaration":2046,"src":"26416:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"26400:34:16"},"returnParameters":{"id":3422,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3421,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3446,"src":"26458:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3420,"name":"uint256","nodeType":"ElementaryTypeName","src":"26458:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"26457:9:16"},"scope":3640,"src":"26386:258:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3582,"nodeType":"Block","src":"26964:674:16","statements":[{"assignments":[3455],"declarations":[{"constant":false,"id":3455,"mutability":"mutable","name":"result","nameLocation":"26982:6:16","nodeType":"VariableDeclaration","scope":3582,"src":"26974:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3454,"name":"uint256","nodeType":"ElementaryTypeName","src":"26974:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3457,"initialValue":{"hexValue":"30","id":3456,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26991:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"26974:18:16"},{"assignments":[3459],"declarations":[{"constant":false,"id":3459,"mutability":"mutable","name":"isGt","nameLocation":"27010:4:16","nodeType":"VariableDeclaration","scope":3582,"src":"27002:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3458,"name":"uint256","nodeType":"ElementaryTypeName","src":"27002:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3460,"nodeType":"VariableDeclarationStatement","src":"27002:12:16"},{"id":3579,"nodeType":"UncheckedBlock","src":"27024:585:16","statements":[{"expression":{"id":3473,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3461,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27048:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3471,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3464,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3449,"src":"27071:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_340282366920938463463374607431768211455_by_1","typeString":"int_const 3402...(31 digits omitted)...1455"},"id":3470,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"},"id":3467,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3465,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27080:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"313238","id":3466,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27085:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"27080:8:16","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"}}],"id":3468,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"27079:10:16","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3469,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27092:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"27079:14:16","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211455_by_1","typeString":"int_const 3402...(31 digits omitted)...1455"}},"src":"27071:22:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3462,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"27055:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27064:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"27055:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3472,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27055:39:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27048:46:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3474,"nodeType":"ExpressionStatement","src":"27048:46:16"},{"expression":{"id":3479,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3475,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3449,"src":"27108:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3478,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3476,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27118:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"313238","id":3477,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27125:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"27118:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27108:20:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3480,"nodeType":"ExpressionStatement","src":"27108:20:16"},{"expression":{"id":3485,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3481,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3455,"src":"27142:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3484,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3482,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27152:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3136","id":3483,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27159:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"27152:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27142:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3486,"nodeType":"ExpressionStatement","src":"27142:19:16"},{"expression":{"id":3499,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3487,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27176:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3497,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3490,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3449,"src":"27199:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_18446744073709551615_by_1","typeString":"int_const 18446744073709551615"},"id":3496,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"},"id":3493,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3491,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27208:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3634","id":3492,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27213:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"27208:7:16","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"}}],"id":3494,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"27207:9:16","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3495,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27219:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"27207:13:16","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551615_by_1","typeString":"int_const 18446744073709551615"}},"src":"27199:21:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3488,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"27183:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3489,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27192:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"27183:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3498,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27183:38:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27176:45:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3500,"nodeType":"ExpressionStatement","src":"27176:45:16"},{"expression":{"id":3505,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3501,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3449,"src":"27235:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3504,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3502,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27245:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3634","id":3503,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27252:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"27245:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27235:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3506,"nodeType":"ExpressionStatement","src":"27235:19:16"},{"expression":{"id":3511,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3507,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3455,"src":"27268:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3510,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3508,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27278:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"38","id":3509,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27285:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"27278:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27268:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3512,"nodeType":"ExpressionStatement","src":"27268:18:16"},{"expression":{"id":3525,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3513,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27301:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3523,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3516,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3449,"src":"27324:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_4294967295_by_1","typeString":"int_const 4294967295"},"id":3522,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"},"id":3519,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3517,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27333:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3332","id":3518,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27338:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"27333:7:16","typeDescriptions":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"}}],"id":3520,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"27332:9:16","typeDescriptions":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3521,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27344:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"27332:13:16","typeDescriptions":{"typeIdentifier":"t_rational_4294967295_by_1","typeString":"int_const 4294967295"}},"src":"27324:21:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3514,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"27308:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3515,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27317:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"27308:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3524,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27308:38:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27301:45:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3526,"nodeType":"ExpressionStatement","src":"27301:45:16"},{"expression":{"id":3531,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3527,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3449,"src":"27360:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3530,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3528,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27370:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":3529,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27377:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"27370:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27360:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3532,"nodeType":"ExpressionStatement","src":"27360:19:16"},{"expression":{"id":3537,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3533,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3455,"src":"27393:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3536,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3534,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27403:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"34","id":3535,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27410:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"27403:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27393:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3538,"nodeType":"ExpressionStatement","src":"27393:18:16"},{"expression":{"id":3551,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3539,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27426:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3549,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3542,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3449,"src":"27449:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_65535_by_1","typeString":"int_const 65535"},"id":3548,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"},"id":3545,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3543,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27458:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3136","id":3544,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27463:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"27458:7:16","typeDescriptions":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"}}],"id":3546,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"27457:9:16","typeDescriptions":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3547,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27469:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"27457:13:16","typeDescriptions":{"typeIdentifier":"t_rational_65535_by_1","typeString":"int_const 65535"}},"src":"27449:21:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3540,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"27433:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3541,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27442:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"27433:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3550,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27433:38:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27426:45:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3552,"nodeType":"ExpressionStatement","src":"27426:45:16"},{"expression":{"id":3557,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3553,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3449,"src":"27485:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3556,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3554,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27495:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3136","id":3555,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27502:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"27495:9:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27485:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3558,"nodeType":"ExpressionStatement","src":"27485:19:16"},{"expression":{"id":3563,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3559,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3455,"src":"27518:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3560,"name":"isGt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"27528:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"32","id":3561,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27535:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"27528:8:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27518:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3564,"nodeType":"ExpressionStatement","src":"27518:18:16"},{"expression":{"id":3577,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3565,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3455,"src":"27551:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3575,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3568,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3449,"src":"27577:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"id":3574,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"},"id":3571,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3569,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27586:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"38","id":3570,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27591:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"27586:6:16","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"}}],"id":3572,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"27585:8:16","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3573,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27596:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"27585:12:16","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"}},"src":"27577:20:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3566,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"27561:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3567,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27570:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"27561:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3576,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27561:37:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27551:47:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3578,"nodeType":"ExpressionStatement","src":"27551:47:16"}]},{"expression":{"id":3580,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3455,"src":"27625:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3453,"id":3581,"nodeType":"Return","src":"27618:13:16"}]},"documentation":{"id":3447,"nodeType":"StructuredDocumentation","src":"26650:246:16","text":" @dev Return the log in base 256 of a positive value rounded towards zero.\n Returns 0 if given 0.\n Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string."},"id":3583,"implemented":true,"kind":"function","modifiers":[],"name":"log256","nameLocation":"26910:6:16","nodeType":"FunctionDefinition","parameters":{"id":3450,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3449,"mutability":"mutable","name":"value","nameLocation":"26925:5:16","nodeType":"VariableDeclaration","scope":3583,"src":"26917:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3448,"name":"uint256","nodeType":"ElementaryTypeName","src":"26917:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"26916:15:16"},"returnParameters":{"id":3453,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3452,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3583,"src":"26955:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3451,"name":"uint256","nodeType":"ElementaryTypeName","src":"26955:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"26954:9:16"},"scope":3640,"src":"26901:737:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3619,"nodeType":"Block","src":"27875:184:16","statements":[{"id":3618,"nodeType":"UncheckedBlock","src":"27885:168:16","statements":[{"assignments":[3595],"declarations":[{"constant":false,"id":3595,"mutability":"mutable","name":"result","nameLocation":"27917:6:16","nodeType":"VariableDeclaration","scope":3618,"src":"27909:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3594,"name":"uint256","nodeType":"ElementaryTypeName","src":"27909:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3599,"initialValue":{"arguments":[{"id":3597,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3586,"src":"27933:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3596,"name":"log256","nodeType":"Identifier","overloadedDeclarations":[3583,3620],"referencedDeclaration":3583,"src":"27926:6:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":3598,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27926:13:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"27909:30:16"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3616,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3600,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3595,"src":"27960:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3614,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3604,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3589,"src":"28002:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}],"id":3603,"name":"unsignedRoundsUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3639,"src":"27985:16:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_Rounding_$2046_$returns$_t_bool_$","typeString":"function (enum Math.Rounding) pure returns (bool)"}},"id":3605,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27985:26:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3613,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3611,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3606,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28015:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3609,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3607,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3595,"src":"28021:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"33","id":3608,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28031:1:16","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"src":"28021:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3610,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"28020:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"28015:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3612,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3586,"src":"28036:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"28015:26:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"27985:56:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":3601,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"27969:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$5405_$","typeString":"type(library SafeCast)"}},"id":3602,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27978:6:16","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":5404,"src":"27969:15:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":3615,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27969:73:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27960:82:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3593,"id":3617,"nodeType":"Return","src":"27953:89:16"}]}]},"documentation":{"id":3584,"nodeType":"StructuredDocumentation","src":"27644:144:16","text":" @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n Returns 0 if given 0."},"id":3620,"implemented":true,"kind":"function","modifiers":[],"name":"log256","nameLocation":"27802:6:16","nodeType":"FunctionDefinition","parameters":{"id":3590,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3586,"mutability":"mutable","name":"value","nameLocation":"27817:5:16","nodeType":"VariableDeclaration","scope":3620,"src":"27809:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3585,"name":"uint256","nodeType":"ElementaryTypeName","src":"27809:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3589,"mutability":"mutable","name":"rounding","nameLocation":"27833:8:16","nodeType":"VariableDeclaration","scope":3620,"src":"27824:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"},"typeName":{"id":3588,"nodeType":"UserDefinedTypeName","pathNode":{"id":3587,"name":"Rounding","nameLocations":["27824:8:16"],"nodeType":"IdentifierPath","referencedDeclaration":2046,"src":"27824:8:16"},"referencedDeclaration":2046,"src":"27824:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"27808:34:16"},"returnParameters":{"id":3593,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3592,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3620,"src":"27866:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3591,"name":"uint256","nodeType":"ElementaryTypeName","src":"27866:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"27865:9:16"},"scope":3640,"src":"27793:266:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3638,"nodeType":"Block","src":"28257:48:16","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":3636,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":3634,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3631,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3624,"src":"28280:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}],"id":3630,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"28274:5:16","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":3629,"name":"uint8","nodeType":"ElementaryTypeName","src":"28274:5:16","typeDescriptions":{}}},"id":3632,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28274:15:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"%","rightExpression":{"hexValue":"32","id":3633,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28292:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"28274:19:16","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"31","id":3635,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28297:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"28274:24:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":3628,"id":3637,"nodeType":"Return","src":"28267:31:16"}]},"documentation":{"id":3621,"nodeType":"StructuredDocumentation","src":"28065:113:16","text":" @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers."},"id":3639,"implemented":true,"kind":"function","modifiers":[],"name":"unsignedRoundsUp","nameLocation":"28192:16:16","nodeType":"FunctionDefinition","parameters":{"id":3625,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3624,"mutability":"mutable","name":"rounding","nameLocation":"28218:8:16","nodeType":"VariableDeclaration","scope":3639,"src":"28209:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"},"typeName":{"id":3623,"nodeType":"UserDefinedTypeName","pathNode":{"id":3622,"name":"Rounding","nameLocations":["28209:8:16"],"nodeType":"IdentifierPath","referencedDeclaration":2046,"src":"28209:8:16"},"referencedDeclaration":2046,"src":"28209:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2046","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"28208:19:16"},"returnParameters":{"id":3628,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3627,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3639,"src":"28251:4:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3626,"name":"bool","nodeType":"ElementaryTypeName","src":"28251:4:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"28250:6:16"},"scope":3640,"src":"28183:122:16","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":3641,"src":"281:28026:16","usedErrors":[],"usedEvents":[]}],"src":"103:28205:16"},"id":16},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/math/SafeCast.sol","exportedSymbols":{"SafeCast":[5405]},"id":5406,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":3642,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"192:24:17"},{"abstract":false,"baseContracts":[],"canonicalName":"SafeCast","contractDependencies":[],"contractKind":"library","documentation":{"id":3643,"nodeType":"StructuredDocumentation","src":"218:550:17","text":" @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n checks.\n Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n easily result in undesired exploitation or bugs, since developers usually\n assume that overflows raise errors. `SafeCast` restores this intuition by\n reverting the transaction when such an operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always."},"fullyImplemented":true,"id":5405,"linearizedBaseContracts":[5405],"name":"SafeCast","nameLocation":"777:8:17","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":3644,"nodeType":"StructuredDocumentation","src":"792:68:17","text":" @dev Value doesn't fit in an uint of `bits` size."},"errorSelector":"6dfcc650","id":3650,"name":"SafeCastOverflowedUintDowncast","nameLocation":"871:30:17","nodeType":"ErrorDefinition","parameters":{"id":3649,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3646,"mutability":"mutable","name":"bits","nameLocation":"908:4:17","nodeType":"VariableDeclaration","scope":3650,"src":"902:10:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":3645,"name":"uint8","nodeType":"ElementaryTypeName","src":"902:5:17","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":3648,"mutability":"mutable","name":"value","nameLocation":"922:5:17","nodeType":"VariableDeclaration","scope":3650,"src":"914:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3647,"name":"uint256","nodeType":"ElementaryTypeName","src":"914:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"901:27:17"},"src":"865:64:17"},{"documentation":{"id":3651,"nodeType":"StructuredDocumentation","src":"935:75:17","text":" @dev An int value doesn't fit in an uint of `bits` size."},"errorSelector":"a8ce4432","id":3655,"name":"SafeCastOverflowedIntToUint","nameLocation":"1021:27:17","nodeType":"ErrorDefinition","parameters":{"id":3654,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3653,"mutability":"mutable","name":"value","nameLocation":"1056:5:17","nodeType":"VariableDeclaration","scope":3655,"src":"1049:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3652,"name":"int256","nodeType":"ElementaryTypeName","src":"1049:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1048:14:17"},"src":"1015:48:17"},{"documentation":{"id":3656,"nodeType":"StructuredDocumentation","src":"1069:67:17","text":" @dev Value doesn't fit in an int of `bits` size."},"errorSelector":"327269a7","id":3662,"name":"SafeCastOverflowedIntDowncast","nameLocation":"1147:29:17","nodeType":"ErrorDefinition","parameters":{"id":3661,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3658,"mutability":"mutable","name":"bits","nameLocation":"1183:4:17","nodeType":"VariableDeclaration","scope":3662,"src":"1177:10:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":3657,"name":"uint8","nodeType":"ElementaryTypeName","src":"1177:5:17","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":3660,"mutability":"mutable","name":"value","nameLocation":"1196:5:17","nodeType":"VariableDeclaration","scope":3662,"src":"1189:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3659,"name":"int256","nodeType":"ElementaryTypeName","src":"1189:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1176:26:17"},"src":"1141:62:17"},{"documentation":{"id":3663,"nodeType":"StructuredDocumentation","src":"1209:75:17","text":" @dev An uint value doesn't fit in an int of `bits` size."},"errorSelector":"24775e06","id":3667,"name":"SafeCastOverflowedUintToInt","nameLocation":"1295:27:17","nodeType":"ErrorDefinition","parameters":{"id":3666,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3665,"mutability":"mutable","name":"value","nameLocation":"1331:5:17","nodeType":"VariableDeclaration","scope":3667,"src":"1323:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3664,"name":"uint256","nodeType":"ElementaryTypeName","src":"1323:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1322:15:17"},"src":"1289:49:17"},{"body":{"id":3694,"nodeType":"Block","src":"1695:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3681,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3675,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3670,"src":"1709:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3678,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1722:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint248_$","typeString":"type(uint248)"},"typeName":{"id":3677,"name":"uint248","nodeType":"ElementaryTypeName","src":"1722:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint248_$","typeString":"type(uint248)"}],"id":3676,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"1717:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3679,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1717:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint248","typeString":"type(uint248)"}},"id":3680,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1731:3:17","memberName":"max","nodeType":"MemberAccess","src":"1717:17:17","typeDescriptions":{"typeIdentifier":"t_uint248","typeString":"uint248"}},"src":"1709:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3688,"nodeType":"IfStatement","src":"1705:105:17","trueBody":{"id":3687,"nodeType":"Block","src":"1736:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323438","id":3683,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1788:3:17","typeDescriptions":{"typeIdentifier":"t_rational_248_by_1","typeString":"int_const 248"},"value":"248"},{"id":3684,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3670,"src":"1793:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_248_by_1","typeString":"int_const 248"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3682,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"1757:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3685,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1757:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3686,"nodeType":"RevertStatement","src":"1750:49:17"}]}},{"expression":{"arguments":[{"id":3691,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3670,"src":"1834:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3690,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1826:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint248_$","typeString":"type(uint248)"},"typeName":{"id":3689,"name":"uint248","nodeType":"ElementaryTypeName","src":"1826:7:17","typeDescriptions":{}}},"id":3692,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1826:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint248","typeString":"uint248"}},"functionReturnParameters":3674,"id":3693,"nodeType":"Return","src":"1819:21:17"}]},"documentation":{"id":3668,"nodeType":"StructuredDocumentation","src":"1344:280:17","text":" @dev Returns the downcasted uint248 from uint256, reverting on\n overflow (when the input is greater than largest uint248).\n Counterpart to Solidity's `uint248` operator.\n Requirements:\n - input must fit into 248 bits"},"id":3695,"implemented":true,"kind":"function","modifiers":[],"name":"toUint248","nameLocation":"1638:9:17","nodeType":"FunctionDefinition","parameters":{"id":3671,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3670,"mutability":"mutable","name":"value","nameLocation":"1656:5:17","nodeType":"VariableDeclaration","scope":3695,"src":"1648:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3669,"name":"uint256","nodeType":"ElementaryTypeName","src":"1648:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1647:15:17"},"returnParameters":{"id":3674,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3673,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3695,"src":"1686:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint248","typeString":"uint248"},"typeName":{"id":3672,"name":"uint248","nodeType":"ElementaryTypeName","src":"1686:7:17","typeDescriptions":{"typeIdentifier":"t_uint248","typeString":"uint248"}},"visibility":"internal"}],"src":"1685:9:17"},"scope":5405,"src":"1629:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3722,"nodeType":"Block","src":"2204:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3709,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3703,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3698,"src":"2218:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3706,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2231:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint240_$","typeString":"type(uint240)"},"typeName":{"id":3705,"name":"uint240","nodeType":"ElementaryTypeName","src":"2231:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint240_$","typeString":"type(uint240)"}],"id":3704,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"2226:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3707,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2226:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint240","typeString":"type(uint240)"}},"id":3708,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2240:3:17","memberName":"max","nodeType":"MemberAccess","src":"2226:17:17","typeDescriptions":{"typeIdentifier":"t_uint240","typeString":"uint240"}},"src":"2218:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3716,"nodeType":"IfStatement","src":"2214:105:17","trueBody":{"id":3715,"nodeType":"Block","src":"2245:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323430","id":3711,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2297:3:17","typeDescriptions":{"typeIdentifier":"t_rational_240_by_1","typeString":"int_const 240"},"value":"240"},{"id":3712,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3698,"src":"2302:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_240_by_1","typeString":"int_const 240"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3710,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"2266:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3713,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2266:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3714,"nodeType":"RevertStatement","src":"2259:49:17"}]}},{"expression":{"arguments":[{"id":3719,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3698,"src":"2343:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3718,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2335:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint240_$","typeString":"type(uint240)"},"typeName":{"id":3717,"name":"uint240","nodeType":"ElementaryTypeName","src":"2335:7:17","typeDescriptions":{}}},"id":3720,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2335:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint240","typeString":"uint240"}},"functionReturnParameters":3702,"id":3721,"nodeType":"Return","src":"2328:21:17"}]},"documentation":{"id":3696,"nodeType":"StructuredDocumentation","src":"1853:280:17","text":" @dev Returns the downcasted uint240 from uint256, reverting on\n overflow (when the input is greater than largest uint240).\n Counterpart to Solidity's `uint240` operator.\n Requirements:\n - input must fit into 240 bits"},"id":3723,"implemented":true,"kind":"function","modifiers":[],"name":"toUint240","nameLocation":"2147:9:17","nodeType":"FunctionDefinition","parameters":{"id":3699,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3698,"mutability":"mutable","name":"value","nameLocation":"2165:5:17","nodeType":"VariableDeclaration","scope":3723,"src":"2157:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3697,"name":"uint256","nodeType":"ElementaryTypeName","src":"2157:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2156:15:17"},"returnParameters":{"id":3702,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3701,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3723,"src":"2195:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint240","typeString":"uint240"},"typeName":{"id":3700,"name":"uint240","nodeType":"ElementaryTypeName","src":"2195:7:17","typeDescriptions":{"typeIdentifier":"t_uint240","typeString":"uint240"}},"visibility":"internal"}],"src":"2194:9:17"},"scope":5405,"src":"2138:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3750,"nodeType":"Block","src":"2713:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3737,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3731,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3726,"src":"2727:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3734,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2740:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint232_$","typeString":"type(uint232)"},"typeName":{"id":3733,"name":"uint232","nodeType":"ElementaryTypeName","src":"2740:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint232_$","typeString":"type(uint232)"}],"id":3732,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"2735:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3735,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2735:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint232","typeString":"type(uint232)"}},"id":3736,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2749:3:17","memberName":"max","nodeType":"MemberAccess","src":"2735:17:17","typeDescriptions":{"typeIdentifier":"t_uint232","typeString":"uint232"}},"src":"2727:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3744,"nodeType":"IfStatement","src":"2723:105:17","trueBody":{"id":3743,"nodeType":"Block","src":"2754:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323332","id":3739,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2806:3:17","typeDescriptions":{"typeIdentifier":"t_rational_232_by_1","typeString":"int_const 232"},"value":"232"},{"id":3740,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3726,"src":"2811:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_232_by_1","typeString":"int_const 232"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3738,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"2775:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3741,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2775:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3742,"nodeType":"RevertStatement","src":"2768:49:17"}]}},{"expression":{"arguments":[{"id":3747,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3726,"src":"2852:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3746,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2844:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint232_$","typeString":"type(uint232)"},"typeName":{"id":3745,"name":"uint232","nodeType":"ElementaryTypeName","src":"2844:7:17","typeDescriptions":{}}},"id":3748,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2844:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint232","typeString":"uint232"}},"functionReturnParameters":3730,"id":3749,"nodeType":"Return","src":"2837:21:17"}]},"documentation":{"id":3724,"nodeType":"StructuredDocumentation","src":"2362:280:17","text":" @dev Returns the downcasted uint232 from uint256, reverting on\n overflow (when the input is greater than largest uint232).\n Counterpart to Solidity's `uint232` operator.\n Requirements:\n - input must fit into 232 bits"},"id":3751,"implemented":true,"kind":"function","modifiers":[],"name":"toUint232","nameLocation":"2656:9:17","nodeType":"FunctionDefinition","parameters":{"id":3727,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3726,"mutability":"mutable","name":"value","nameLocation":"2674:5:17","nodeType":"VariableDeclaration","scope":3751,"src":"2666:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3725,"name":"uint256","nodeType":"ElementaryTypeName","src":"2666:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2665:15:17"},"returnParameters":{"id":3730,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3729,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3751,"src":"2704:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint232","typeString":"uint232"},"typeName":{"id":3728,"name":"uint232","nodeType":"ElementaryTypeName","src":"2704:7:17","typeDescriptions":{"typeIdentifier":"t_uint232","typeString":"uint232"}},"visibility":"internal"}],"src":"2703:9:17"},"scope":5405,"src":"2647:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3778,"nodeType":"Block","src":"3222:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3765,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3759,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3754,"src":"3236:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3762,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3249:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint224_$","typeString":"type(uint224)"},"typeName":{"id":3761,"name":"uint224","nodeType":"ElementaryTypeName","src":"3249:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint224_$","typeString":"type(uint224)"}],"id":3760,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"3244:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3763,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3244:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint224","typeString":"type(uint224)"}},"id":3764,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3258:3:17","memberName":"max","nodeType":"MemberAccess","src":"3244:17:17","typeDescriptions":{"typeIdentifier":"t_uint224","typeString":"uint224"}},"src":"3236:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3772,"nodeType":"IfStatement","src":"3232:105:17","trueBody":{"id":3771,"nodeType":"Block","src":"3263:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323234","id":3767,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3315:3:17","typeDescriptions":{"typeIdentifier":"t_rational_224_by_1","typeString":"int_const 224"},"value":"224"},{"id":3768,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3754,"src":"3320:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_224_by_1","typeString":"int_const 224"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3766,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"3284:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3769,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3284:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3770,"nodeType":"RevertStatement","src":"3277:49:17"}]}},{"expression":{"arguments":[{"id":3775,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3754,"src":"3361:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3774,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3353:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint224_$","typeString":"type(uint224)"},"typeName":{"id":3773,"name":"uint224","nodeType":"ElementaryTypeName","src":"3353:7:17","typeDescriptions":{}}},"id":3776,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3353:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint224","typeString":"uint224"}},"functionReturnParameters":3758,"id":3777,"nodeType":"Return","src":"3346:21:17"}]},"documentation":{"id":3752,"nodeType":"StructuredDocumentation","src":"2871:280:17","text":" @dev Returns the downcasted uint224 from uint256, reverting on\n overflow (when the input is greater than largest uint224).\n Counterpart to Solidity's `uint224` operator.\n Requirements:\n - input must fit into 224 bits"},"id":3779,"implemented":true,"kind":"function","modifiers":[],"name":"toUint224","nameLocation":"3165:9:17","nodeType":"FunctionDefinition","parameters":{"id":3755,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3754,"mutability":"mutable","name":"value","nameLocation":"3183:5:17","nodeType":"VariableDeclaration","scope":3779,"src":"3175:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3753,"name":"uint256","nodeType":"ElementaryTypeName","src":"3175:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3174:15:17"},"returnParameters":{"id":3758,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3757,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3779,"src":"3213:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint224","typeString":"uint224"},"typeName":{"id":3756,"name":"uint224","nodeType":"ElementaryTypeName","src":"3213:7:17","typeDescriptions":{"typeIdentifier":"t_uint224","typeString":"uint224"}},"visibility":"internal"}],"src":"3212:9:17"},"scope":5405,"src":"3156:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3806,"nodeType":"Block","src":"3731:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3793,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3787,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3782,"src":"3745:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3790,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3758:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint216_$","typeString":"type(uint216)"},"typeName":{"id":3789,"name":"uint216","nodeType":"ElementaryTypeName","src":"3758:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint216_$","typeString":"type(uint216)"}],"id":3788,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"3753:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3791,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3753:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint216","typeString":"type(uint216)"}},"id":3792,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3767:3:17","memberName":"max","nodeType":"MemberAccess","src":"3753:17:17","typeDescriptions":{"typeIdentifier":"t_uint216","typeString":"uint216"}},"src":"3745:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3800,"nodeType":"IfStatement","src":"3741:105:17","trueBody":{"id":3799,"nodeType":"Block","src":"3772:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323136","id":3795,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3824:3:17","typeDescriptions":{"typeIdentifier":"t_rational_216_by_1","typeString":"int_const 216"},"value":"216"},{"id":3796,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3782,"src":"3829:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_216_by_1","typeString":"int_const 216"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3794,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"3793:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3797,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3793:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3798,"nodeType":"RevertStatement","src":"3786:49:17"}]}},{"expression":{"arguments":[{"id":3803,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3782,"src":"3870:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3802,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3862:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint216_$","typeString":"type(uint216)"},"typeName":{"id":3801,"name":"uint216","nodeType":"ElementaryTypeName","src":"3862:7:17","typeDescriptions":{}}},"id":3804,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3862:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint216","typeString":"uint216"}},"functionReturnParameters":3786,"id":3805,"nodeType":"Return","src":"3855:21:17"}]},"documentation":{"id":3780,"nodeType":"StructuredDocumentation","src":"3380:280:17","text":" @dev Returns the downcasted uint216 from uint256, reverting on\n overflow (when the input is greater than largest uint216).\n Counterpart to Solidity's `uint216` operator.\n Requirements:\n - input must fit into 216 bits"},"id":3807,"implemented":true,"kind":"function","modifiers":[],"name":"toUint216","nameLocation":"3674:9:17","nodeType":"FunctionDefinition","parameters":{"id":3783,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3782,"mutability":"mutable","name":"value","nameLocation":"3692:5:17","nodeType":"VariableDeclaration","scope":3807,"src":"3684:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3781,"name":"uint256","nodeType":"ElementaryTypeName","src":"3684:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3683:15:17"},"returnParameters":{"id":3786,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3785,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3807,"src":"3722:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint216","typeString":"uint216"},"typeName":{"id":3784,"name":"uint216","nodeType":"ElementaryTypeName","src":"3722:7:17","typeDescriptions":{"typeIdentifier":"t_uint216","typeString":"uint216"}},"visibility":"internal"}],"src":"3721:9:17"},"scope":5405,"src":"3665:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3834,"nodeType":"Block","src":"4240:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3821,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3815,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3810,"src":"4254:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3818,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4267:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint208_$","typeString":"type(uint208)"},"typeName":{"id":3817,"name":"uint208","nodeType":"ElementaryTypeName","src":"4267:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint208_$","typeString":"type(uint208)"}],"id":3816,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"4262:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3819,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4262:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint208","typeString":"type(uint208)"}},"id":3820,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4276:3:17","memberName":"max","nodeType":"MemberAccess","src":"4262:17:17","typeDescriptions":{"typeIdentifier":"t_uint208","typeString":"uint208"}},"src":"4254:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3828,"nodeType":"IfStatement","src":"4250:105:17","trueBody":{"id":3827,"nodeType":"Block","src":"4281:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323038","id":3823,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4333:3:17","typeDescriptions":{"typeIdentifier":"t_rational_208_by_1","typeString":"int_const 208"},"value":"208"},{"id":3824,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3810,"src":"4338:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_208_by_1","typeString":"int_const 208"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3822,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"4302:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3825,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4302:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3826,"nodeType":"RevertStatement","src":"4295:49:17"}]}},{"expression":{"arguments":[{"id":3831,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3810,"src":"4379:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3830,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4371:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint208_$","typeString":"type(uint208)"},"typeName":{"id":3829,"name":"uint208","nodeType":"ElementaryTypeName","src":"4371:7:17","typeDescriptions":{}}},"id":3832,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4371:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint208","typeString":"uint208"}},"functionReturnParameters":3814,"id":3833,"nodeType":"Return","src":"4364:21:17"}]},"documentation":{"id":3808,"nodeType":"StructuredDocumentation","src":"3889:280:17","text":" @dev Returns the downcasted uint208 from uint256, reverting on\n overflow (when the input is greater than largest uint208).\n Counterpart to Solidity's `uint208` operator.\n Requirements:\n - input must fit into 208 bits"},"id":3835,"implemented":true,"kind":"function","modifiers":[],"name":"toUint208","nameLocation":"4183:9:17","nodeType":"FunctionDefinition","parameters":{"id":3811,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3810,"mutability":"mutable","name":"value","nameLocation":"4201:5:17","nodeType":"VariableDeclaration","scope":3835,"src":"4193:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3809,"name":"uint256","nodeType":"ElementaryTypeName","src":"4193:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4192:15:17"},"returnParameters":{"id":3814,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3813,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3835,"src":"4231:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint208","typeString":"uint208"},"typeName":{"id":3812,"name":"uint208","nodeType":"ElementaryTypeName","src":"4231:7:17","typeDescriptions":{"typeIdentifier":"t_uint208","typeString":"uint208"}},"visibility":"internal"}],"src":"4230:9:17"},"scope":5405,"src":"4174:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3862,"nodeType":"Block","src":"4749:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3849,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3843,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3838,"src":"4763:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3846,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4776:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint200_$","typeString":"type(uint200)"},"typeName":{"id":3845,"name":"uint200","nodeType":"ElementaryTypeName","src":"4776:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint200_$","typeString":"type(uint200)"}],"id":3844,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"4771:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3847,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4771:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint200","typeString":"type(uint200)"}},"id":3848,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4785:3:17","memberName":"max","nodeType":"MemberAccess","src":"4771:17:17","typeDescriptions":{"typeIdentifier":"t_uint200","typeString":"uint200"}},"src":"4763:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3856,"nodeType":"IfStatement","src":"4759:105:17","trueBody":{"id":3855,"nodeType":"Block","src":"4790:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323030","id":3851,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4842:3:17","typeDescriptions":{"typeIdentifier":"t_rational_200_by_1","typeString":"int_const 200"},"value":"200"},{"id":3852,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3838,"src":"4847:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_200_by_1","typeString":"int_const 200"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3850,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"4811:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3853,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4811:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3854,"nodeType":"RevertStatement","src":"4804:49:17"}]}},{"expression":{"arguments":[{"id":3859,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3838,"src":"4888:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3858,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4880:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint200_$","typeString":"type(uint200)"},"typeName":{"id":3857,"name":"uint200","nodeType":"ElementaryTypeName","src":"4880:7:17","typeDescriptions":{}}},"id":3860,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4880:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint200","typeString":"uint200"}},"functionReturnParameters":3842,"id":3861,"nodeType":"Return","src":"4873:21:17"}]},"documentation":{"id":3836,"nodeType":"StructuredDocumentation","src":"4398:280:17","text":" @dev Returns the downcasted uint200 from uint256, reverting on\n overflow (when the input is greater than largest uint200).\n Counterpart to Solidity's `uint200` operator.\n Requirements:\n - input must fit into 200 bits"},"id":3863,"implemented":true,"kind":"function","modifiers":[],"name":"toUint200","nameLocation":"4692:9:17","nodeType":"FunctionDefinition","parameters":{"id":3839,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3838,"mutability":"mutable","name":"value","nameLocation":"4710:5:17","nodeType":"VariableDeclaration","scope":3863,"src":"4702:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3837,"name":"uint256","nodeType":"ElementaryTypeName","src":"4702:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4701:15:17"},"returnParameters":{"id":3842,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3841,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3863,"src":"4740:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint200","typeString":"uint200"},"typeName":{"id":3840,"name":"uint200","nodeType":"ElementaryTypeName","src":"4740:7:17","typeDescriptions":{"typeIdentifier":"t_uint200","typeString":"uint200"}},"visibility":"internal"}],"src":"4739:9:17"},"scope":5405,"src":"4683:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3890,"nodeType":"Block","src":"5258:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3877,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3871,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3866,"src":"5272:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3874,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5285:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint192_$","typeString":"type(uint192)"},"typeName":{"id":3873,"name":"uint192","nodeType":"ElementaryTypeName","src":"5285:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint192_$","typeString":"type(uint192)"}],"id":3872,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"5280:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3875,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5280:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint192","typeString":"type(uint192)"}},"id":3876,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5294:3:17","memberName":"max","nodeType":"MemberAccess","src":"5280:17:17","typeDescriptions":{"typeIdentifier":"t_uint192","typeString":"uint192"}},"src":"5272:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3884,"nodeType":"IfStatement","src":"5268:105:17","trueBody":{"id":3883,"nodeType":"Block","src":"5299:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313932","id":3879,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5351:3:17","typeDescriptions":{"typeIdentifier":"t_rational_192_by_1","typeString":"int_const 192"},"value":"192"},{"id":3880,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3866,"src":"5356:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_192_by_1","typeString":"int_const 192"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3878,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"5320:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3881,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5320:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3882,"nodeType":"RevertStatement","src":"5313:49:17"}]}},{"expression":{"arguments":[{"id":3887,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3866,"src":"5397:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3886,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5389:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint192_$","typeString":"type(uint192)"},"typeName":{"id":3885,"name":"uint192","nodeType":"ElementaryTypeName","src":"5389:7:17","typeDescriptions":{}}},"id":3888,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5389:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint192","typeString":"uint192"}},"functionReturnParameters":3870,"id":3889,"nodeType":"Return","src":"5382:21:17"}]},"documentation":{"id":3864,"nodeType":"StructuredDocumentation","src":"4907:280:17","text":" @dev Returns the downcasted uint192 from uint256, reverting on\n overflow (when the input is greater than largest uint192).\n Counterpart to Solidity's `uint192` operator.\n Requirements:\n - input must fit into 192 bits"},"id":3891,"implemented":true,"kind":"function","modifiers":[],"name":"toUint192","nameLocation":"5201:9:17","nodeType":"FunctionDefinition","parameters":{"id":3867,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3866,"mutability":"mutable","name":"value","nameLocation":"5219:5:17","nodeType":"VariableDeclaration","scope":3891,"src":"5211:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3865,"name":"uint256","nodeType":"ElementaryTypeName","src":"5211:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5210:15:17"},"returnParameters":{"id":3870,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3869,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3891,"src":"5249:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint192","typeString":"uint192"},"typeName":{"id":3868,"name":"uint192","nodeType":"ElementaryTypeName","src":"5249:7:17","typeDescriptions":{"typeIdentifier":"t_uint192","typeString":"uint192"}},"visibility":"internal"}],"src":"5248:9:17"},"scope":5405,"src":"5192:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3918,"nodeType":"Block","src":"5767:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3905,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3899,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3894,"src":"5781:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3902,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5794:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint184_$","typeString":"type(uint184)"},"typeName":{"id":3901,"name":"uint184","nodeType":"ElementaryTypeName","src":"5794:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint184_$","typeString":"type(uint184)"}],"id":3900,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"5789:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3903,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5789:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint184","typeString":"type(uint184)"}},"id":3904,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5803:3:17","memberName":"max","nodeType":"MemberAccess","src":"5789:17:17","typeDescriptions":{"typeIdentifier":"t_uint184","typeString":"uint184"}},"src":"5781:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3912,"nodeType":"IfStatement","src":"5777:105:17","trueBody":{"id":3911,"nodeType":"Block","src":"5808:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313834","id":3907,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5860:3:17","typeDescriptions":{"typeIdentifier":"t_rational_184_by_1","typeString":"int_const 184"},"value":"184"},{"id":3908,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3894,"src":"5865:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_184_by_1","typeString":"int_const 184"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3906,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"5829:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3909,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5829:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3910,"nodeType":"RevertStatement","src":"5822:49:17"}]}},{"expression":{"arguments":[{"id":3915,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3894,"src":"5906:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3914,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5898:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint184_$","typeString":"type(uint184)"},"typeName":{"id":3913,"name":"uint184","nodeType":"ElementaryTypeName","src":"5898:7:17","typeDescriptions":{}}},"id":3916,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5898:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint184","typeString":"uint184"}},"functionReturnParameters":3898,"id":3917,"nodeType":"Return","src":"5891:21:17"}]},"documentation":{"id":3892,"nodeType":"StructuredDocumentation","src":"5416:280:17","text":" @dev Returns the downcasted uint184 from uint256, reverting on\n overflow (when the input is greater than largest uint184).\n Counterpart to Solidity's `uint184` operator.\n Requirements:\n - input must fit into 184 bits"},"id":3919,"implemented":true,"kind":"function","modifiers":[],"name":"toUint184","nameLocation":"5710:9:17","nodeType":"FunctionDefinition","parameters":{"id":3895,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3894,"mutability":"mutable","name":"value","nameLocation":"5728:5:17","nodeType":"VariableDeclaration","scope":3919,"src":"5720:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3893,"name":"uint256","nodeType":"ElementaryTypeName","src":"5720:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5719:15:17"},"returnParameters":{"id":3898,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3897,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3919,"src":"5758:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint184","typeString":"uint184"},"typeName":{"id":3896,"name":"uint184","nodeType":"ElementaryTypeName","src":"5758:7:17","typeDescriptions":{"typeIdentifier":"t_uint184","typeString":"uint184"}},"visibility":"internal"}],"src":"5757:9:17"},"scope":5405,"src":"5701:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3946,"nodeType":"Block","src":"6276:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3933,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3927,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3922,"src":"6290:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3930,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6303:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint176_$","typeString":"type(uint176)"},"typeName":{"id":3929,"name":"uint176","nodeType":"ElementaryTypeName","src":"6303:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint176_$","typeString":"type(uint176)"}],"id":3928,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"6298:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3931,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6298:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint176","typeString":"type(uint176)"}},"id":3932,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6312:3:17","memberName":"max","nodeType":"MemberAccess","src":"6298:17:17","typeDescriptions":{"typeIdentifier":"t_uint176","typeString":"uint176"}},"src":"6290:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3940,"nodeType":"IfStatement","src":"6286:105:17","trueBody":{"id":3939,"nodeType":"Block","src":"6317:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313736","id":3935,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6369:3:17","typeDescriptions":{"typeIdentifier":"t_rational_176_by_1","typeString":"int_const 176"},"value":"176"},{"id":3936,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3922,"src":"6374:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_176_by_1","typeString":"int_const 176"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3934,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"6338:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3937,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6338:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3938,"nodeType":"RevertStatement","src":"6331:49:17"}]}},{"expression":{"arguments":[{"id":3943,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3922,"src":"6415:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3942,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6407:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint176_$","typeString":"type(uint176)"},"typeName":{"id":3941,"name":"uint176","nodeType":"ElementaryTypeName","src":"6407:7:17","typeDescriptions":{}}},"id":3944,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6407:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint176","typeString":"uint176"}},"functionReturnParameters":3926,"id":3945,"nodeType":"Return","src":"6400:21:17"}]},"documentation":{"id":3920,"nodeType":"StructuredDocumentation","src":"5925:280:17","text":" @dev Returns the downcasted uint176 from uint256, reverting on\n overflow (when the input is greater than largest uint176).\n Counterpart to Solidity's `uint176` operator.\n Requirements:\n - input must fit into 176 bits"},"id":3947,"implemented":true,"kind":"function","modifiers":[],"name":"toUint176","nameLocation":"6219:9:17","nodeType":"FunctionDefinition","parameters":{"id":3923,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3922,"mutability":"mutable","name":"value","nameLocation":"6237:5:17","nodeType":"VariableDeclaration","scope":3947,"src":"6229:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3921,"name":"uint256","nodeType":"ElementaryTypeName","src":"6229:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6228:15:17"},"returnParameters":{"id":3926,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3925,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3947,"src":"6267:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint176","typeString":"uint176"},"typeName":{"id":3924,"name":"uint176","nodeType":"ElementaryTypeName","src":"6267:7:17","typeDescriptions":{"typeIdentifier":"t_uint176","typeString":"uint176"}},"visibility":"internal"}],"src":"6266:9:17"},"scope":5405,"src":"6210:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3974,"nodeType":"Block","src":"6785:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3961,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3955,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3950,"src":"6799:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3958,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6812:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint168_$","typeString":"type(uint168)"},"typeName":{"id":3957,"name":"uint168","nodeType":"ElementaryTypeName","src":"6812:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint168_$","typeString":"type(uint168)"}],"id":3956,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"6807:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3959,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6807:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint168","typeString":"type(uint168)"}},"id":3960,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6821:3:17","memberName":"max","nodeType":"MemberAccess","src":"6807:17:17","typeDescriptions":{"typeIdentifier":"t_uint168","typeString":"uint168"}},"src":"6799:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3968,"nodeType":"IfStatement","src":"6795:105:17","trueBody":{"id":3967,"nodeType":"Block","src":"6826:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313638","id":3963,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6878:3:17","typeDescriptions":{"typeIdentifier":"t_rational_168_by_1","typeString":"int_const 168"},"value":"168"},{"id":3964,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3950,"src":"6883:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_168_by_1","typeString":"int_const 168"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3962,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"6847:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3965,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6847:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3966,"nodeType":"RevertStatement","src":"6840:49:17"}]}},{"expression":{"arguments":[{"id":3971,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3950,"src":"6924:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3970,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6916:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint168_$","typeString":"type(uint168)"},"typeName":{"id":3969,"name":"uint168","nodeType":"ElementaryTypeName","src":"6916:7:17","typeDescriptions":{}}},"id":3972,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6916:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint168","typeString":"uint168"}},"functionReturnParameters":3954,"id":3973,"nodeType":"Return","src":"6909:21:17"}]},"documentation":{"id":3948,"nodeType":"StructuredDocumentation","src":"6434:280:17","text":" @dev Returns the downcasted uint168 from uint256, reverting on\n overflow (when the input is greater than largest uint168).\n Counterpart to Solidity's `uint168` operator.\n Requirements:\n - input must fit into 168 bits"},"id":3975,"implemented":true,"kind":"function","modifiers":[],"name":"toUint168","nameLocation":"6728:9:17","nodeType":"FunctionDefinition","parameters":{"id":3951,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3950,"mutability":"mutable","name":"value","nameLocation":"6746:5:17","nodeType":"VariableDeclaration","scope":3975,"src":"6738:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3949,"name":"uint256","nodeType":"ElementaryTypeName","src":"6738:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6737:15:17"},"returnParameters":{"id":3954,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3953,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3975,"src":"6776:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint168","typeString":"uint168"},"typeName":{"id":3952,"name":"uint168","nodeType":"ElementaryTypeName","src":"6776:7:17","typeDescriptions":{"typeIdentifier":"t_uint168","typeString":"uint168"}},"visibility":"internal"}],"src":"6775:9:17"},"scope":5405,"src":"6719:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4002,"nodeType":"Block","src":"7294:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3989,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3983,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3978,"src":"7308:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3986,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7321:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":3985,"name":"uint160","nodeType":"ElementaryTypeName","src":"7321:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"}],"id":3984,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"7316:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3987,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7316:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint160","typeString":"type(uint160)"}},"id":3988,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7330:3:17","memberName":"max","nodeType":"MemberAccess","src":"7316:17:17","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"7308:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3996,"nodeType":"IfStatement","src":"7304:105:17","trueBody":{"id":3995,"nodeType":"Block","src":"7335:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313630","id":3991,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7387:3:17","typeDescriptions":{"typeIdentifier":"t_rational_160_by_1","typeString":"int_const 160"},"value":"160"},{"id":3992,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3978,"src":"7392:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_160_by_1","typeString":"int_const 160"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3990,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"7356:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":3993,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7356:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3994,"nodeType":"RevertStatement","src":"7349:49:17"}]}},{"expression":{"arguments":[{"id":3999,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3978,"src":"7433:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3998,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7425:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":3997,"name":"uint160","nodeType":"ElementaryTypeName","src":"7425:7:17","typeDescriptions":{}}},"id":4000,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7425:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":3982,"id":4001,"nodeType":"Return","src":"7418:21:17"}]},"documentation":{"id":3976,"nodeType":"StructuredDocumentation","src":"6943:280:17","text":" @dev Returns the downcasted uint160 from uint256, reverting on\n overflow (when the input is greater than largest uint160).\n Counterpart to Solidity's `uint160` operator.\n Requirements:\n - input must fit into 160 bits"},"id":4003,"implemented":true,"kind":"function","modifiers":[],"name":"toUint160","nameLocation":"7237:9:17","nodeType":"FunctionDefinition","parameters":{"id":3979,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3978,"mutability":"mutable","name":"value","nameLocation":"7255:5:17","nodeType":"VariableDeclaration","scope":4003,"src":"7247:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3977,"name":"uint256","nodeType":"ElementaryTypeName","src":"7247:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7246:15:17"},"returnParameters":{"id":3982,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3981,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4003,"src":"7285:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3980,"name":"uint160","nodeType":"ElementaryTypeName","src":"7285:7:17","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"7284:9:17"},"scope":5405,"src":"7228:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4030,"nodeType":"Block","src":"7803:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4017,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4011,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4006,"src":"7817:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4014,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7830:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint152_$","typeString":"type(uint152)"},"typeName":{"id":4013,"name":"uint152","nodeType":"ElementaryTypeName","src":"7830:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint152_$","typeString":"type(uint152)"}],"id":4012,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"7825:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4015,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7825:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint152","typeString":"type(uint152)"}},"id":4016,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7839:3:17","memberName":"max","nodeType":"MemberAccess","src":"7825:17:17","typeDescriptions":{"typeIdentifier":"t_uint152","typeString":"uint152"}},"src":"7817:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4024,"nodeType":"IfStatement","src":"7813:105:17","trueBody":{"id":4023,"nodeType":"Block","src":"7844:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313532","id":4019,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7896:3:17","typeDescriptions":{"typeIdentifier":"t_rational_152_by_1","typeString":"int_const 152"},"value":"152"},{"id":4020,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4006,"src":"7901:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_152_by_1","typeString":"int_const 152"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4018,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"7865:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4021,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7865:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4022,"nodeType":"RevertStatement","src":"7858:49:17"}]}},{"expression":{"arguments":[{"id":4027,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4006,"src":"7942:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4026,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7934:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint152_$","typeString":"type(uint152)"},"typeName":{"id":4025,"name":"uint152","nodeType":"ElementaryTypeName","src":"7934:7:17","typeDescriptions":{}}},"id":4028,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7934:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint152","typeString":"uint152"}},"functionReturnParameters":4010,"id":4029,"nodeType":"Return","src":"7927:21:17"}]},"documentation":{"id":4004,"nodeType":"StructuredDocumentation","src":"7452:280:17","text":" @dev Returns the downcasted uint152 from uint256, reverting on\n overflow (when the input is greater than largest uint152).\n Counterpart to Solidity's `uint152` operator.\n Requirements:\n - input must fit into 152 bits"},"id":4031,"implemented":true,"kind":"function","modifiers":[],"name":"toUint152","nameLocation":"7746:9:17","nodeType":"FunctionDefinition","parameters":{"id":4007,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4006,"mutability":"mutable","name":"value","nameLocation":"7764:5:17","nodeType":"VariableDeclaration","scope":4031,"src":"7756:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4005,"name":"uint256","nodeType":"ElementaryTypeName","src":"7756:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7755:15:17"},"returnParameters":{"id":4010,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4009,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4031,"src":"7794:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint152","typeString":"uint152"},"typeName":{"id":4008,"name":"uint152","nodeType":"ElementaryTypeName","src":"7794:7:17","typeDescriptions":{"typeIdentifier":"t_uint152","typeString":"uint152"}},"visibility":"internal"}],"src":"7793:9:17"},"scope":5405,"src":"7737:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4058,"nodeType":"Block","src":"8312:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4045,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4039,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4034,"src":"8326:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4042,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8339:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint144_$","typeString":"type(uint144)"},"typeName":{"id":4041,"name":"uint144","nodeType":"ElementaryTypeName","src":"8339:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint144_$","typeString":"type(uint144)"}],"id":4040,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"8334:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4043,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8334:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint144","typeString":"type(uint144)"}},"id":4044,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8348:3:17","memberName":"max","nodeType":"MemberAccess","src":"8334:17:17","typeDescriptions":{"typeIdentifier":"t_uint144","typeString":"uint144"}},"src":"8326:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4052,"nodeType":"IfStatement","src":"8322:105:17","trueBody":{"id":4051,"nodeType":"Block","src":"8353:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313434","id":4047,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8405:3:17","typeDescriptions":{"typeIdentifier":"t_rational_144_by_1","typeString":"int_const 144"},"value":"144"},{"id":4048,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4034,"src":"8410:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_144_by_1","typeString":"int_const 144"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4046,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"8374:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4049,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8374:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4050,"nodeType":"RevertStatement","src":"8367:49:17"}]}},{"expression":{"arguments":[{"id":4055,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4034,"src":"8451:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4054,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8443:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint144_$","typeString":"type(uint144)"},"typeName":{"id":4053,"name":"uint144","nodeType":"ElementaryTypeName","src":"8443:7:17","typeDescriptions":{}}},"id":4056,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8443:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint144","typeString":"uint144"}},"functionReturnParameters":4038,"id":4057,"nodeType":"Return","src":"8436:21:17"}]},"documentation":{"id":4032,"nodeType":"StructuredDocumentation","src":"7961:280:17","text":" @dev Returns the downcasted uint144 from uint256, reverting on\n overflow (when the input is greater than largest uint144).\n Counterpart to Solidity's `uint144` operator.\n Requirements:\n - input must fit into 144 bits"},"id":4059,"implemented":true,"kind":"function","modifiers":[],"name":"toUint144","nameLocation":"8255:9:17","nodeType":"FunctionDefinition","parameters":{"id":4035,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4034,"mutability":"mutable","name":"value","nameLocation":"8273:5:17","nodeType":"VariableDeclaration","scope":4059,"src":"8265:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4033,"name":"uint256","nodeType":"ElementaryTypeName","src":"8265:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8264:15:17"},"returnParameters":{"id":4038,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4037,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4059,"src":"8303:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint144","typeString":"uint144"},"typeName":{"id":4036,"name":"uint144","nodeType":"ElementaryTypeName","src":"8303:7:17","typeDescriptions":{"typeIdentifier":"t_uint144","typeString":"uint144"}},"visibility":"internal"}],"src":"8302:9:17"},"scope":5405,"src":"8246:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4086,"nodeType":"Block","src":"8821:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4073,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4067,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4062,"src":"8835:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4070,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8848:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint136_$","typeString":"type(uint136)"},"typeName":{"id":4069,"name":"uint136","nodeType":"ElementaryTypeName","src":"8848:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint136_$","typeString":"type(uint136)"}],"id":4068,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"8843:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4071,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8843:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint136","typeString":"type(uint136)"}},"id":4072,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8857:3:17","memberName":"max","nodeType":"MemberAccess","src":"8843:17:17","typeDescriptions":{"typeIdentifier":"t_uint136","typeString":"uint136"}},"src":"8835:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4080,"nodeType":"IfStatement","src":"8831:105:17","trueBody":{"id":4079,"nodeType":"Block","src":"8862:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313336","id":4075,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8914:3:17","typeDescriptions":{"typeIdentifier":"t_rational_136_by_1","typeString":"int_const 136"},"value":"136"},{"id":4076,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4062,"src":"8919:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_136_by_1","typeString":"int_const 136"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4074,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"8883:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4077,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8883:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4078,"nodeType":"RevertStatement","src":"8876:49:17"}]}},{"expression":{"arguments":[{"id":4083,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4062,"src":"8960:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4082,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8952:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint136_$","typeString":"type(uint136)"},"typeName":{"id":4081,"name":"uint136","nodeType":"ElementaryTypeName","src":"8952:7:17","typeDescriptions":{}}},"id":4084,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8952:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint136","typeString":"uint136"}},"functionReturnParameters":4066,"id":4085,"nodeType":"Return","src":"8945:21:17"}]},"documentation":{"id":4060,"nodeType":"StructuredDocumentation","src":"8470:280:17","text":" @dev Returns the downcasted uint136 from uint256, reverting on\n overflow (when the input is greater than largest uint136).\n Counterpart to Solidity's `uint136` operator.\n Requirements:\n - input must fit into 136 bits"},"id":4087,"implemented":true,"kind":"function","modifiers":[],"name":"toUint136","nameLocation":"8764:9:17","nodeType":"FunctionDefinition","parameters":{"id":4063,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4062,"mutability":"mutable","name":"value","nameLocation":"8782:5:17","nodeType":"VariableDeclaration","scope":4087,"src":"8774:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4061,"name":"uint256","nodeType":"ElementaryTypeName","src":"8774:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8773:15:17"},"returnParameters":{"id":4066,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4065,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4087,"src":"8812:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint136","typeString":"uint136"},"typeName":{"id":4064,"name":"uint136","nodeType":"ElementaryTypeName","src":"8812:7:17","typeDescriptions":{"typeIdentifier":"t_uint136","typeString":"uint136"}},"visibility":"internal"}],"src":"8811:9:17"},"scope":5405,"src":"8755:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4114,"nodeType":"Block","src":"9330:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4101,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4095,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4090,"src":"9344:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4098,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9357:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":4097,"name":"uint128","nodeType":"ElementaryTypeName","src":"9357:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"}],"id":4096,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"9352:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4099,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9352:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint128","typeString":"type(uint128)"}},"id":4100,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9366:3:17","memberName":"max","nodeType":"MemberAccess","src":"9352:17:17","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"9344:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4108,"nodeType":"IfStatement","src":"9340:105:17","trueBody":{"id":4107,"nodeType":"Block","src":"9371:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313238","id":4103,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9423:3:17","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},{"id":4104,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4090,"src":"9428:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4102,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"9392:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4105,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9392:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4106,"nodeType":"RevertStatement","src":"9385:49:17"}]}},{"expression":{"arguments":[{"id":4111,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4090,"src":"9469:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4110,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9461:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":4109,"name":"uint128","nodeType":"ElementaryTypeName","src":"9461:7:17","typeDescriptions":{}}},"id":4112,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9461:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"functionReturnParameters":4094,"id":4113,"nodeType":"Return","src":"9454:21:17"}]},"documentation":{"id":4088,"nodeType":"StructuredDocumentation","src":"8979:280:17","text":" @dev Returns the downcasted uint128 from uint256, reverting on\n overflow (when the input is greater than largest uint128).\n Counterpart to Solidity's `uint128` operator.\n Requirements:\n - input must fit into 128 bits"},"id":4115,"implemented":true,"kind":"function","modifiers":[],"name":"toUint128","nameLocation":"9273:9:17","nodeType":"FunctionDefinition","parameters":{"id":4091,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4090,"mutability":"mutable","name":"value","nameLocation":"9291:5:17","nodeType":"VariableDeclaration","scope":4115,"src":"9283:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4089,"name":"uint256","nodeType":"ElementaryTypeName","src":"9283:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9282:15:17"},"returnParameters":{"id":4094,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4093,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4115,"src":"9321:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":4092,"name":"uint128","nodeType":"ElementaryTypeName","src":"9321:7:17","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"9320:9:17"},"scope":5405,"src":"9264:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4142,"nodeType":"Block","src":"9839:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4129,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4123,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4118,"src":"9853:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4126,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9866:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint120_$","typeString":"type(uint120)"},"typeName":{"id":4125,"name":"uint120","nodeType":"ElementaryTypeName","src":"9866:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint120_$","typeString":"type(uint120)"}],"id":4124,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"9861:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4127,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9861:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint120","typeString":"type(uint120)"}},"id":4128,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9875:3:17","memberName":"max","nodeType":"MemberAccess","src":"9861:17:17","typeDescriptions":{"typeIdentifier":"t_uint120","typeString":"uint120"}},"src":"9853:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4136,"nodeType":"IfStatement","src":"9849:105:17","trueBody":{"id":4135,"nodeType":"Block","src":"9880:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313230","id":4131,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9932:3:17","typeDescriptions":{"typeIdentifier":"t_rational_120_by_1","typeString":"int_const 120"},"value":"120"},{"id":4132,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4118,"src":"9937:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_120_by_1","typeString":"int_const 120"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4130,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"9901:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4133,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9901:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4134,"nodeType":"RevertStatement","src":"9894:49:17"}]}},{"expression":{"arguments":[{"id":4139,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4118,"src":"9978:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4138,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9970:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint120_$","typeString":"type(uint120)"},"typeName":{"id":4137,"name":"uint120","nodeType":"ElementaryTypeName","src":"9970:7:17","typeDescriptions":{}}},"id":4140,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9970:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint120","typeString":"uint120"}},"functionReturnParameters":4122,"id":4141,"nodeType":"Return","src":"9963:21:17"}]},"documentation":{"id":4116,"nodeType":"StructuredDocumentation","src":"9488:280:17","text":" @dev Returns the downcasted uint120 from uint256, reverting on\n overflow (when the input is greater than largest uint120).\n Counterpart to Solidity's `uint120` operator.\n Requirements:\n - input must fit into 120 bits"},"id":4143,"implemented":true,"kind":"function","modifiers":[],"name":"toUint120","nameLocation":"9782:9:17","nodeType":"FunctionDefinition","parameters":{"id":4119,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4118,"mutability":"mutable","name":"value","nameLocation":"9800:5:17","nodeType":"VariableDeclaration","scope":4143,"src":"9792:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4117,"name":"uint256","nodeType":"ElementaryTypeName","src":"9792:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9791:15:17"},"returnParameters":{"id":4122,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4121,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4143,"src":"9830:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint120","typeString":"uint120"},"typeName":{"id":4120,"name":"uint120","nodeType":"ElementaryTypeName","src":"9830:7:17","typeDescriptions":{"typeIdentifier":"t_uint120","typeString":"uint120"}},"visibility":"internal"}],"src":"9829:9:17"},"scope":5405,"src":"9773:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4170,"nodeType":"Block","src":"10348:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4157,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4151,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4146,"src":"10362:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4154,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10375:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint112_$","typeString":"type(uint112)"},"typeName":{"id":4153,"name":"uint112","nodeType":"ElementaryTypeName","src":"10375:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint112_$","typeString":"type(uint112)"}],"id":4152,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"10370:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4155,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10370:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint112","typeString":"type(uint112)"}},"id":4156,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10384:3:17","memberName":"max","nodeType":"MemberAccess","src":"10370:17:17","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"}},"src":"10362:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4164,"nodeType":"IfStatement","src":"10358:105:17","trueBody":{"id":4163,"nodeType":"Block","src":"10389:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313132","id":4159,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10441:3:17","typeDescriptions":{"typeIdentifier":"t_rational_112_by_1","typeString":"int_const 112"},"value":"112"},{"id":4160,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4146,"src":"10446:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_112_by_1","typeString":"int_const 112"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4158,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"10410:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4161,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10410:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4162,"nodeType":"RevertStatement","src":"10403:49:17"}]}},{"expression":{"arguments":[{"id":4167,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4146,"src":"10487:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4166,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10479:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint112_$","typeString":"type(uint112)"},"typeName":{"id":4165,"name":"uint112","nodeType":"ElementaryTypeName","src":"10479:7:17","typeDescriptions":{}}},"id":4168,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10479:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"}},"functionReturnParameters":4150,"id":4169,"nodeType":"Return","src":"10472:21:17"}]},"documentation":{"id":4144,"nodeType":"StructuredDocumentation","src":"9997:280:17","text":" @dev Returns the downcasted uint112 from uint256, reverting on\n overflow (when the input is greater than largest uint112).\n Counterpart to Solidity's `uint112` operator.\n Requirements:\n - input must fit into 112 bits"},"id":4171,"implemented":true,"kind":"function","modifiers":[],"name":"toUint112","nameLocation":"10291:9:17","nodeType":"FunctionDefinition","parameters":{"id":4147,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4146,"mutability":"mutable","name":"value","nameLocation":"10309:5:17","nodeType":"VariableDeclaration","scope":4171,"src":"10301:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4145,"name":"uint256","nodeType":"ElementaryTypeName","src":"10301:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10300:15:17"},"returnParameters":{"id":4150,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4149,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4171,"src":"10339:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"},"typeName":{"id":4148,"name":"uint112","nodeType":"ElementaryTypeName","src":"10339:7:17","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"}},"visibility":"internal"}],"src":"10338:9:17"},"scope":5405,"src":"10282:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4198,"nodeType":"Block","src":"10857:152:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4185,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4179,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4174,"src":"10871:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4182,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10884:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint104_$","typeString":"type(uint104)"},"typeName":{"id":4181,"name":"uint104","nodeType":"ElementaryTypeName","src":"10884:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint104_$","typeString":"type(uint104)"}],"id":4180,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"10879:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4183,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10879:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint104","typeString":"type(uint104)"}},"id":4184,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10893:3:17","memberName":"max","nodeType":"MemberAccess","src":"10879:17:17","typeDescriptions":{"typeIdentifier":"t_uint104","typeString":"uint104"}},"src":"10871:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4192,"nodeType":"IfStatement","src":"10867:105:17","trueBody":{"id":4191,"nodeType":"Block","src":"10898:74:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313034","id":4187,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10950:3:17","typeDescriptions":{"typeIdentifier":"t_rational_104_by_1","typeString":"int_const 104"},"value":"104"},{"id":4188,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4174,"src":"10955:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_104_by_1","typeString":"int_const 104"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4186,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"10919:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4189,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10919:42:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4190,"nodeType":"RevertStatement","src":"10912:49:17"}]}},{"expression":{"arguments":[{"id":4195,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4174,"src":"10996:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4194,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10988:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint104_$","typeString":"type(uint104)"},"typeName":{"id":4193,"name":"uint104","nodeType":"ElementaryTypeName","src":"10988:7:17","typeDescriptions":{}}},"id":4196,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10988:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint104","typeString":"uint104"}},"functionReturnParameters":4178,"id":4197,"nodeType":"Return","src":"10981:21:17"}]},"documentation":{"id":4172,"nodeType":"StructuredDocumentation","src":"10506:280:17","text":" @dev Returns the downcasted uint104 from uint256, reverting on\n overflow (when the input is greater than largest uint104).\n Counterpart to Solidity's `uint104` operator.\n Requirements:\n - input must fit into 104 bits"},"id":4199,"implemented":true,"kind":"function","modifiers":[],"name":"toUint104","nameLocation":"10800:9:17","nodeType":"FunctionDefinition","parameters":{"id":4175,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4174,"mutability":"mutable","name":"value","nameLocation":"10818:5:17","nodeType":"VariableDeclaration","scope":4199,"src":"10810:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4173,"name":"uint256","nodeType":"ElementaryTypeName","src":"10810:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10809:15:17"},"returnParameters":{"id":4178,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4177,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4199,"src":"10848:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint104","typeString":"uint104"},"typeName":{"id":4176,"name":"uint104","nodeType":"ElementaryTypeName","src":"10848:7:17","typeDescriptions":{"typeIdentifier":"t_uint104","typeString":"uint104"}},"visibility":"internal"}],"src":"10847:9:17"},"scope":5405,"src":"10791:218:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4226,"nodeType":"Block","src":"11360:149:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4213,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4207,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4202,"src":"11374:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4210,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11387:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":4209,"name":"uint96","nodeType":"ElementaryTypeName","src":"11387:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"}],"id":4208,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"11382:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4211,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11382:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint96","typeString":"type(uint96)"}},"id":4212,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11395:3:17","memberName":"max","nodeType":"MemberAccess","src":"11382:16:17","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"11374:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4220,"nodeType":"IfStatement","src":"11370:103:17","trueBody":{"id":4219,"nodeType":"Block","src":"11400:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3936","id":4215,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11452:2:17","typeDescriptions":{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},"value":"96"},{"id":4216,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4202,"src":"11456:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4214,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"11421:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4217,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11421:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4218,"nodeType":"RevertStatement","src":"11414:48:17"}]}},{"expression":{"arguments":[{"id":4223,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4202,"src":"11496:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4222,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11489:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":4221,"name":"uint96","nodeType":"ElementaryTypeName","src":"11489:6:17","typeDescriptions":{}}},"id":4224,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11489:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"functionReturnParameters":4206,"id":4225,"nodeType":"Return","src":"11482:20:17"}]},"documentation":{"id":4200,"nodeType":"StructuredDocumentation","src":"11015:276:17","text":" @dev Returns the downcasted uint96 from uint256, reverting on\n overflow (when the input is greater than largest uint96).\n Counterpart to Solidity's `uint96` operator.\n Requirements:\n - input must fit into 96 bits"},"id":4227,"implemented":true,"kind":"function","modifiers":[],"name":"toUint96","nameLocation":"11305:8:17","nodeType":"FunctionDefinition","parameters":{"id":4203,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4202,"mutability":"mutable","name":"value","nameLocation":"11322:5:17","nodeType":"VariableDeclaration","scope":4227,"src":"11314:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4201,"name":"uint256","nodeType":"ElementaryTypeName","src":"11314:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11313:15:17"},"returnParameters":{"id":4206,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4205,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4227,"src":"11352:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"},"typeName":{"id":4204,"name":"uint96","nodeType":"ElementaryTypeName","src":"11352:6:17","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"visibility":"internal"}],"src":"11351:8:17"},"scope":5405,"src":"11296:213:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4254,"nodeType":"Block","src":"11860:149:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4241,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4235,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4230,"src":"11874:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4238,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11887:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint88_$","typeString":"type(uint88)"},"typeName":{"id":4237,"name":"uint88","nodeType":"ElementaryTypeName","src":"11887:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint88_$","typeString":"type(uint88)"}],"id":4236,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"11882:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4239,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11882:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint88","typeString":"type(uint88)"}},"id":4240,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11895:3:17","memberName":"max","nodeType":"MemberAccess","src":"11882:16:17","typeDescriptions":{"typeIdentifier":"t_uint88","typeString":"uint88"}},"src":"11874:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4248,"nodeType":"IfStatement","src":"11870:103:17","trueBody":{"id":4247,"nodeType":"Block","src":"11900:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3838","id":4243,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11952:2:17","typeDescriptions":{"typeIdentifier":"t_rational_88_by_1","typeString":"int_const 88"},"value":"88"},{"id":4244,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4230,"src":"11956:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_88_by_1","typeString":"int_const 88"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4242,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"11921:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4245,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11921:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4246,"nodeType":"RevertStatement","src":"11914:48:17"}]}},{"expression":{"arguments":[{"id":4251,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4230,"src":"11996:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4250,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11989:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint88_$","typeString":"type(uint88)"},"typeName":{"id":4249,"name":"uint88","nodeType":"ElementaryTypeName","src":"11989:6:17","typeDescriptions":{}}},"id":4252,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11989:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint88","typeString":"uint88"}},"functionReturnParameters":4234,"id":4253,"nodeType":"Return","src":"11982:20:17"}]},"documentation":{"id":4228,"nodeType":"StructuredDocumentation","src":"11515:276:17","text":" @dev Returns the downcasted uint88 from uint256, reverting on\n overflow (when the input is greater than largest uint88).\n Counterpart to Solidity's `uint88` operator.\n Requirements:\n - input must fit into 88 bits"},"id":4255,"implemented":true,"kind":"function","modifiers":[],"name":"toUint88","nameLocation":"11805:8:17","nodeType":"FunctionDefinition","parameters":{"id":4231,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4230,"mutability":"mutable","name":"value","nameLocation":"11822:5:17","nodeType":"VariableDeclaration","scope":4255,"src":"11814:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4229,"name":"uint256","nodeType":"ElementaryTypeName","src":"11814:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11813:15:17"},"returnParameters":{"id":4234,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4233,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4255,"src":"11852:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint88","typeString":"uint88"},"typeName":{"id":4232,"name":"uint88","nodeType":"ElementaryTypeName","src":"11852:6:17","typeDescriptions":{"typeIdentifier":"t_uint88","typeString":"uint88"}},"visibility":"internal"}],"src":"11851:8:17"},"scope":5405,"src":"11796:213:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4282,"nodeType":"Block","src":"12360:149:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4269,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4263,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4258,"src":"12374:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4266,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12387:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint80_$","typeString":"type(uint80)"},"typeName":{"id":4265,"name":"uint80","nodeType":"ElementaryTypeName","src":"12387:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint80_$","typeString":"type(uint80)"}],"id":4264,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"12382:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4267,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12382:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint80","typeString":"type(uint80)"}},"id":4268,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12395:3:17","memberName":"max","nodeType":"MemberAccess","src":"12382:16:17","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"src":"12374:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4276,"nodeType":"IfStatement","src":"12370:103:17","trueBody":{"id":4275,"nodeType":"Block","src":"12400:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3830","id":4271,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12452:2:17","typeDescriptions":{"typeIdentifier":"t_rational_80_by_1","typeString":"int_const 80"},"value":"80"},{"id":4272,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4258,"src":"12456:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_80_by_1","typeString":"int_const 80"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4270,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"12421:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4273,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12421:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4274,"nodeType":"RevertStatement","src":"12414:48:17"}]}},{"expression":{"arguments":[{"id":4279,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4258,"src":"12496:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4278,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12489:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint80_$","typeString":"type(uint80)"},"typeName":{"id":4277,"name":"uint80","nodeType":"ElementaryTypeName","src":"12489:6:17","typeDescriptions":{}}},"id":4280,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12489:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"functionReturnParameters":4262,"id":4281,"nodeType":"Return","src":"12482:20:17"}]},"documentation":{"id":4256,"nodeType":"StructuredDocumentation","src":"12015:276:17","text":" @dev Returns the downcasted uint80 from uint256, reverting on\n overflow (when the input is greater than largest uint80).\n Counterpart to Solidity's `uint80` operator.\n Requirements:\n - input must fit into 80 bits"},"id":4283,"implemented":true,"kind":"function","modifiers":[],"name":"toUint80","nameLocation":"12305:8:17","nodeType":"FunctionDefinition","parameters":{"id":4259,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4258,"mutability":"mutable","name":"value","nameLocation":"12322:5:17","nodeType":"VariableDeclaration","scope":4283,"src":"12314:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4257,"name":"uint256","nodeType":"ElementaryTypeName","src":"12314:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12313:15:17"},"returnParameters":{"id":4262,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4261,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4283,"src":"12352:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"},"typeName":{"id":4260,"name":"uint80","nodeType":"ElementaryTypeName","src":"12352:6:17","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"visibility":"internal"}],"src":"12351:8:17"},"scope":5405,"src":"12296:213:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4310,"nodeType":"Block","src":"12860:149:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4297,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4291,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4286,"src":"12874:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4294,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12887:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint72_$","typeString":"type(uint72)"},"typeName":{"id":4293,"name":"uint72","nodeType":"ElementaryTypeName","src":"12887:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint72_$","typeString":"type(uint72)"}],"id":4292,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"12882:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4295,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12882:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint72","typeString":"type(uint72)"}},"id":4296,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12895:3:17","memberName":"max","nodeType":"MemberAccess","src":"12882:16:17","typeDescriptions":{"typeIdentifier":"t_uint72","typeString":"uint72"}},"src":"12874:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4304,"nodeType":"IfStatement","src":"12870:103:17","trueBody":{"id":4303,"nodeType":"Block","src":"12900:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3732","id":4299,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12952:2:17","typeDescriptions":{"typeIdentifier":"t_rational_72_by_1","typeString":"int_const 72"},"value":"72"},{"id":4300,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4286,"src":"12956:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_72_by_1","typeString":"int_const 72"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4298,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"12921:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4301,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12921:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4302,"nodeType":"RevertStatement","src":"12914:48:17"}]}},{"expression":{"arguments":[{"id":4307,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4286,"src":"12996:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4306,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12989:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint72_$","typeString":"type(uint72)"},"typeName":{"id":4305,"name":"uint72","nodeType":"ElementaryTypeName","src":"12989:6:17","typeDescriptions":{}}},"id":4308,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12989:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint72","typeString":"uint72"}},"functionReturnParameters":4290,"id":4309,"nodeType":"Return","src":"12982:20:17"}]},"documentation":{"id":4284,"nodeType":"StructuredDocumentation","src":"12515:276:17","text":" @dev Returns the downcasted uint72 from uint256, reverting on\n overflow (when the input is greater than largest uint72).\n Counterpart to Solidity's `uint72` operator.\n Requirements:\n - input must fit into 72 bits"},"id":4311,"implemented":true,"kind":"function","modifiers":[],"name":"toUint72","nameLocation":"12805:8:17","nodeType":"FunctionDefinition","parameters":{"id":4287,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4286,"mutability":"mutable","name":"value","nameLocation":"12822:5:17","nodeType":"VariableDeclaration","scope":4311,"src":"12814:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4285,"name":"uint256","nodeType":"ElementaryTypeName","src":"12814:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12813:15:17"},"returnParameters":{"id":4290,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4289,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4311,"src":"12852:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint72","typeString":"uint72"},"typeName":{"id":4288,"name":"uint72","nodeType":"ElementaryTypeName","src":"12852:6:17","typeDescriptions":{"typeIdentifier":"t_uint72","typeString":"uint72"}},"visibility":"internal"}],"src":"12851:8:17"},"scope":5405,"src":"12796:213:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4338,"nodeType":"Block","src":"13360:149:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4325,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4319,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4314,"src":"13374:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4322,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13387:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint64_$","typeString":"type(uint64)"},"typeName":{"id":4321,"name":"uint64","nodeType":"ElementaryTypeName","src":"13387:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint64_$","typeString":"type(uint64)"}],"id":4320,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"13382:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4323,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13382:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint64","typeString":"type(uint64)"}},"id":4324,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13395:3:17","memberName":"max","nodeType":"MemberAccess","src":"13382:16:17","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"src":"13374:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4332,"nodeType":"IfStatement","src":"13370:103:17","trueBody":{"id":4331,"nodeType":"Block","src":"13400:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3634","id":4327,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13452:2:17","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},{"id":4328,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4314,"src":"13456:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4326,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"13421:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4329,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13421:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4330,"nodeType":"RevertStatement","src":"13414:48:17"}]}},{"expression":{"arguments":[{"id":4335,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4314,"src":"13496:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4334,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13489:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint64_$","typeString":"type(uint64)"},"typeName":{"id":4333,"name":"uint64","nodeType":"ElementaryTypeName","src":"13489:6:17","typeDescriptions":{}}},"id":4336,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13489:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"functionReturnParameters":4318,"id":4337,"nodeType":"Return","src":"13482:20:17"}]},"documentation":{"id":4312,"nodeType":"StructuredDocumentation","src":"13015:276:17","text":" @dev Returns the downcasted uint64 from uint256, reverting on\n overflow (when the input is greater than largest uint64).\n Counterpart to Solidity's `uint64` operator.\n Requirements:\n - input must fit into 64 bits"},"id":4339,"implemented":true,"kind":"function","modifiers":[],"name":"toUint64","nameLocation":"13305:8:17","nodeType":"FunctionDefinition","parameters":{"id":4315,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4314,"mutability":"mutable","name":"value","nameLocation":"13322:5:17","nodeType":"VariableDeclaration","scope":4339,"src":"13314:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4313,"name":"uint256","nodeType":"ElementaryTypeName","src":"13314:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13313:15:17"},"returnParameters":{"id":4318,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4317,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4339,"src":"13352:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":4316,"name":"uint64","nodeType":"ElementaryTypeName","src":"13352:6:17","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"src":"13351:8:17"},"scope":5405,"src":"13296:213:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4366,"nodeType":"Block","src":"13860:149:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4353,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4347,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4342,"src":"13874:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4350,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13887:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint56_$","typeString":"type(uint56)"},"typeName":{"id":4349,"name":"uint56","nodeType":"ElementaryTypeName","src":"13887:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint56_$","typeString":"type(uint56)"}],"id":4348,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"13882:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4351,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13882:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint56","typeString":"type(uint56)"}},"id":4352,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13895:3:17","memberName":"max","nodeType":"MemberAccess","src":"13882:16:17","typeDescriptions":{"typeIdentifier":"t_uint56","typeString":"uint56"}},"src":"13874:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4360,"nodeType":"IfStatement","src":"13870:103:17","trueBody":{"id":4359,"nodeType":"Block","src":"13900:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3536","id":4355,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13952:2:17","typeDescriptions":{"typeIdentifier":"t_rational_56_by_1","typeString":"int_const 56"},"value":"56"},{"id":4356,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4342,"src":"13956:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_56_by_1","typeString":"int_const 56"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4354,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"13921:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4357,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13921:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4358,"nodeType":"RevertStatement","src":"13914:48:17"}]}},{"expression":{"arguments":[{"id":4363,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4342,"src":"13996:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4362,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13989:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint56_$","typeString":"type(uint56)"},"typeName":{"id":4361,"name":"uint56","nodeType":"ElementaryTypeName","src":"13989:6:17","typeDescriptions":{}}},"id":4364,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13989:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint56","typeString":"uint56"}},"functionReturnParameters":4346,"id":4365,"nodeType":"Return","src":"13982:20:17"}]},"documentation":{"id":4340,"nodeType":"StructuredDocumentation","src":"13515:276:17","text":" @dev Returns the downcasted uint56 from uint256, reverting on\n overflow (when the input is greater than largest uint56).\n Counterpart to Solidity's `uint56` operator.\n Requirements:\n - input must fit into 56 bits"},"id":4367,"implemented":true,"kind":"function","modifiers":[],"name":"toUint56","nameLocation":"13805:8:17","nodeType":"FunctionDefinition","parameters":{"id":4343,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4342,"mutability":"mutable","name":"value","nameLocation":"13822:5:17","nodeType":"VariableDeclaration","scope":4367,"src":"13814:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4341,"name":"uint256","nodeType":"ElementaryTypeName","src":"13814:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13813:15:17"},"returnParameters":{"id":4346,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4345,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4367,"src":"13852:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint56","typeString":"uint56"},"typeName":{"id":4344,"name":"uint56","nodeType":"ElementaryTypeName","src":"13852:6:17","typeDescriptions":{"typeIdentifier":"t_uint56","typeString":"uint56"}},"visibility":"internal"}],"src":"13851:8:17"},"scope":5405,"src":"13796:213:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4394,"nodeType":"Block","src":"14360:149:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4381,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4375,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4370,"src":"14374:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4378,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14387:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint48_$","typeString":"type(uint48)"},"typeName":{"id":4377,"name":"uint48","nodeType":"ElementaryTypeName","src":"14387:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint48_$","typeString":"type(uint48)"}],"id":4376,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"14382:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4379,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14382:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint48","typeString":"type(uint48)"}},"id":4380,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14395:3:17","memberName":"max","nodeType":"MemberAccess","src":"14382:16:17","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"src":"14374:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4388,"nodeType":"IfStatement","src":"14370:103:17","trueBody":{"id":4387,"nodeType":"Block","src":"14400:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3438","id":4383,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14452:2:17","typeDescriptions":{"typeIdentifier":"t_rational_48_by_1","typeString":"int_const 48"},"value":"48"},{"id":4384,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4370,"src":"14456:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_48_by_1","typeString":"int_const 48"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4382,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"14421:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4385,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14421:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4386,"nodeType":"RevertStatement","src":"14414:48:17"}]}},{"expression":{"arguments":[{"id":4391,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4370,"src":"14496:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4390,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14489:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint48_$","typeString":"type(uint48)"},"typeName":{"id":4389,"name":"uint48","nodeType":"ElementaryTypeName","src":"14489:6:17","typeDescriptions":{}}},"id":4392,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14489:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"functionReturnParameters":4374,"id":4393,"nodeType":"Return","src":"14482:20:17"}]},"documentation":{"id":4368,"nodeType":"StructuredDocumentation","src":"14015:276:17","text":" @dev Returns the downcasted uint48 from uint256, reverting on\n overflow (when the input is greater than largest uint48).\n Counterpart to Solidity's `uint48` operator.\n Requirements:\n - input must fit into 48 bits"},"id":4395,"implemented":true,"kind":"function","modifiers":[],"name":"toUint48","nameLocation":"14305:8:17","nodeType":"FunctionDefinition","parameters":{"id":4371,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4370,"mutability":"mutable","name":"value","nameLocation":"14322:5:17","nodeType":"VariableDeclaration","scope":4395,"src":"14314:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4369,"name":"uint256","nodeType":"ElementaryTypeName","src":"14314:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14313:15:17"},"returnParameters":{"id":4374,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4373,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4395,"src":"14352:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":4372,"name":"uint48","nodeType":"ElementaryTypeName","src":"14352:6:17","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"}],"src":"14351:8:17"},"scope":5405,"src":"14296:213:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4422,"nodeType":"Block","src":"14860:149:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4409,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4403,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4398,"src":"14874:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4406,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14887:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":4405,"name":"uint40","nodeType":"ElementaryTypeName","src":"14887:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"}],"id":4404,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"14882:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4407,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14882:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint40","typeString":"type(uint40)"}},"id":4408,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14895:3:17","memberName":"max","nodeType":"MemberAccess","src":"14882:16:17","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"src":"14874:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4416,"nodeType":"IfStatement","src":"14870:103:17","trueBody":{"id":4415,"nodeType":"Block","src":"14900:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3430","id":4411,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14952:2:17","typeDescriptions":{"typeIdentifier":"t_rational_40_by_1","typeString":"int_const 40"},"value":"40"},{"id":4412,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4398,"src":"14956:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_40_by_1","typeString":"int_const 40"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4410,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"14921:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4413,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14921:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4414,"nodeType":"RevertStatement","src":"14914:48:17"}]}},{"expression":{"arguments":[{"id":4419,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4398,"src":"14996:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4418,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14989:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":4417,"name":"uint40","nodeType":"ElementaryTypeName","src":"14989:6:17","typeDescriptions":{}}},"id":4420,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14989:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"functionReturnParameters":4402,"id":4421,"nodeType":"Return","src":"14982:20:17"}]},"documentation":{"id":4396,"nodeType":"StructuredDocumentation","src":"14515:276:17","text":" @dev Returns the downcasted uint40 from uint256, reverting on\n overflow (when the input is greater than largest uint40).\n Counterpart to Solidity's `uint40` operator.\n Requirements:\n - input must fit into 40 bits"},"id":4423,"implemented":true,"kind":"function","modifiers":[],"name":"toUint40","nameLocation":"14805:8:17","nodeType":"FunctionDefinition","parameters":{"id":4399,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4398,"mutability":"mutable","name":"value","nameLocation":"14822:5:17","nodeType":"VariableDeclaration","scope":4423,"src":"14814:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4397,"name":"uint256","nodeType":"ElementaryTypeName","src":"14814:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14813:15:17"},"returnParameters":{"id":4402,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4401,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4423,"src":"14852:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"},"typeName":{"id":4400,"name":"uint40","nodeType":"ElementaryTypeName","src":"14852:6:17","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"visibility":"internal"}],"src":"14851:8:17"},"scope":5405,"src":"14796:213:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4450,"nodeType":"Block","src":"15360:149:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4431,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4426,"src":"15374:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4434,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15387:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":4433,"name":"uint32","nodeType":"ElementaryTypeName","src":"15387:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"}],"id":4432,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"15382:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4435,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15382:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint32","typeString":"type(uint32)"}},"id":4436,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15395:3:17","memberName":"max","nodeType":"MemberAccess","src":"15382:16:17","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"15374:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4444,"nodeType":"IfStatement","src":"15370:103:17","trueBody":{"id":4443,"nodeType":"Block","src":"15400:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3332","id":4439,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15452:2:17","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},{"id":4440,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4426,"src":"15456:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4438,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"15421:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4441,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15421:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4442,"nodeType":"RevertStatement","src":"15414:48:17"}]}},{"expression":{"arguments":[{"id":4447,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4426,"src":"15496:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4446,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15489:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":4445,"name":"uint32","nodeType":"ElementaryTypeName","src":"15489:6:17","typeDescriptions":{}}},"id":4448,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15489:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"functionReturnParameters":4430,"id":4449,"nodeType":"Return","src":"15482:20:17"}]},"documentation":{"id":4424,"nodeType":"StructuredDocumentation","src":"15015:276:17","text":" @dev Returns the downcasted uint32 from uint256, reverting on\n overflow (when the input is greater than largest uint32).\n Counterpart to Solidity's `uint32` operator.\n Requirements:\n - input must fit into 32 bits"},"id":4451,"implemented":true,"kind":"function","modifiers":[],"name":"toUint32","nameLocation":"15305:8:17","nodeType":"FunctionDefinition","parameters":{"id":4427,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4426,"mutability":"mutable","name":"value","nameLocation":"15322:5:17","nodeType":"VariableDeclaration","scope":4451,"src":"15314:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4425,"name":"uint256","nodeType":"ElementaryTypeName","src":"15314:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15313:15:17"},"returnParameters":{"id":4430,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4429,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4451,"src":"15352:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":4428,"name":"uint32","nodeType":"ElementaryTypeName","src":"15352:6:17","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"15351:8:17"},"scope":5405,"src":"15296:213:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4478,"nodeType":"Block","src":"15860:149:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4465,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4459,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4454,"src":"15874:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4462,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15887:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":4461,"name":"uint24","nodeType":"ElementaryTypeName","src":"15887:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"}],"id":4460,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"15882:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4463,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15882:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint24","typeString":"type(uint24)"}},"id":4464,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15895:3:17","memberName":"max","nodeType":"MemberAccess","src":"15882:16:17","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"15874:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4472,"nodeType":"IfStatement","src":"15870:103:17","trueBody":{"id":4471,"nodeType":"Block","src":"15900:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3234","id":4467,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15952:2:17","typeDescriptions":{"typeIdentifier":"t_rational_24_by_1","typeString":"int_const 24"},"value":"24"},{"id":4468,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4454,"src":"15956:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_24_by_1","typeString":"int_const 24"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4466,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"15921:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4469,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15921:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4470,"nodeType":"RevertStatement","src":"15914:48:17"}]}},{"expression":{"arguments":[{"id":4475,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4454,"src":"15996:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4474,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15989:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":4473,"name":"uint24","nodeType":"ElementaryTypeName","src":"15989:6:17","typeDescriptions":{}}},"id":4476,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15989:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"functionReturnParameters":4458,"id":4477,"nodeType":"Return","src":"15982:20:17"}]},"documentation":{"id":4452,"nodeType":"StructuredDocumentation","src":"15515:276:17","text":" @dev Returns the downcasted uint24 from uint256, reverting on\n overflow (when the input is greater than largest uint24).\n Counterpart to Solidity's `uint24` operator.\n Requirements:\n - input must fit into 24 bits"},"id":4479,"implemented":true,"kind":"function","modifiers":[],"name":"toUint24","nameLocation":"15805:8:17","nodeType":"FunctionDefinition","parameters":{"id":4455,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4454,"mutability":"mutable","name":"value","nameLocation":"15822:5:17","nodeType":"VariableDeclaration","scope":4479,"src":"15814:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4453,"name":"uint256","nodeType":"ElementaryTypeName","src":"15814:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15813:15:17"},"returnParameters":{"id":4458,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4457,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4479,"src":"15852:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":4456,"name":"uint24","nodeType":"ElementaryTypeName","src":"15852:6:17","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"15851:8:17"},"scope":5405,"src":"15796:213:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4506,"nodeType":"Block","src":"16360:149:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4493,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4487,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4482,"src":"16374:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4490,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16387:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":4489,"name":"uint16","nodeType":"ElementaryTypeName","src":"16387:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"}],"id":4488,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"16382:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4491,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16382:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint16","typeString":"type(uint16)"}},"id":4492,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16395:3:17","memberName":"max","nodeType":"MemberAccess","src":"16382:16:17","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"16374:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4500,"nodeType":"IfStatement","src":"16370:103:17","trueBody":{"id":4499,"nodeType":"Block","src":"16400:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3136","id":4495,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16452:2:17","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},{"id":4496,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4482,"src":"16456:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4494,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"16421:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4497,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16421:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4498,"nodeType":"RevertStatement","src":"16414:48:17"}]}},{"expression":{"arguments":[{"id":4503,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4482,"src":"16496:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4502,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16489:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":4501,"name":"uint16","nodeType":"ElementaryTypeName","src":"16489:6:17","typeDescriptions":{}}},"id":4504,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16489:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"functionReturnParameters":4486,"id":4505,"nodeType":"Return","src":"16482:20:17"}]},"documentation":{"id":4480,"nodeType":"StructuredDocumentation","src":"16015:276:17","text":" @dev Returns the downcasted uint16 from uint256, reverting on\n overflow (when the input is greater than largest uint16).\n Counterpart to Solidity's `uint16` operator.\n Requirements:\n - input must fit into 16 bits"},"id":4507,"implemented":true,"kind":"function","modifiers":[],"name":"toUint16","nameLocation":"16305:8:17","nodeType":"FunctionDefinition","parameters":{"id":4483,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4482,"mutability":"mutable","name":"value","nameLocation":"16322:5:17","nodeType":"VariableDeclaration","scope":4507,"src":"16314:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4481,"name":"uint256","nodeType":"ElementaryTypeName","src":"16314:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"16313:15:17"},"returnParameters":{"id":4486,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4485,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4507,"src":"16352:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":4484,"name":"uint16","nodeType":"ElementaryTypeName","src":"16352:6:17","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"16351:8:17"},"scope":5405,"src":"16296:213:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4534,"nodeType":"Block","src":"16854:146:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4521,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4515,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4510,"src":"16868:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4518,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16881:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":4517,"name":"uint8","nodeType":"ElementaryTypeName","src":"16881:5:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":4516,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"16876:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4519,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16876:11:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":4520,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16888:3:17","memberName":"max","nodeType":"MemberAccess","src":"16876:15:17","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"16868:23:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4528,"nodeType":"IfStatement","src":"16864:101:17","trueBody":{"id":4527,"nodeType":"Block","src":"16893:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"38","id":4523,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16945:1:17","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},{"id":4524,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4510,"src":"16948:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4522,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"16914:30:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":4525,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16914:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4526,"nodeType":"RevertStatement","src":"16907:47:17"}]}},{"expression":{"arguments":[{"id":4531,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4510,"src":"16987:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4530,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16981:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":4529,"name":"uint8","nodeType":"ElementaryTypeName","src":"16981:5:17","typeDescriptions":{}}},"id":4532,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16981:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":4514,"id":4533,"nodeType":"Return","src":"16974:19:17"}]},"documentation":{"id":4508,"nodeType":"StructuredDocumentation","src":"16515:272:17","text":" @dev Returns the downcasted uint8 from uint256, reverting on\n overflow (when the input is greater than largest uint8).\n Counterpart to Solidity's `uint8` operator.\n Requirements:\n - input must fit into 8 bits"},"id":4535,"implemented":true,"kind":"function","modifiers":[],"name":"toUint8","nameLocation":"16801:7:17","nodeType":"FunctionDefinition","parameters":{"id":4511,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4510,"mutability":"mutable","name":"value","nameLocation":"16817:5:17","nodeType":"VariableDeclaration","scope":4535,"src":"16809:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4509,"name":"uint256","nodeType":"ElementaryTypeName","src":"16809:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"16808:15:17"},"returnParameters":{"id":4514,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4513,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4535,"src":"16847:5:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4512,"name":"uint8","nodeType":"ElementaryTypeName","src":"16847:5:17","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"16846:7:17"},"scope":5405,"src":"16792:208:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4557,"nodeType":"Block","src":"17236:128:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4545,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4543,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4538,"src":"17250:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":4544,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17258:1:17","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"17250:9:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4551,"nodeType":"IfStatement","src":"17246:81:17","trueBody":{"id":4550,"nodeType":"Block","src":"17261:66:17","statements":[{"errorCall":{"arguments":[{"id":4547,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4538,"src":"17310:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4546,"name":"SafeCastOverflowedIntToUint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3655,"src":"17282:27:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_int256_$returns$_t_error_$","typeString":"function (int256) pure returns (error)"}},"id":4548,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17282:34:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4549,"nodeType":"RevertStatement","src":"17275:41:17"}]}},{"expression":{"arguments":[{"id":4554,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4538,"src":"17351:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4553,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17343:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":4552,"name":"uint256","nodeType":"ElementaryTypeName","src":"17343:7:17","typeDescriptions":{}}},"id":4555,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17343:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":4542,"id":4556,"nodeType":"Return","src":"17336:21:17"}]},"documentation":{"id":4536,"nodeType":"StructuredDocumentation","src":"17006:160:17","text":" @dev Converts a signed int256 into an unsigned uint256.\n Requirements:\n - input must be greater than or equal to 0."},"id":4558,"implemented":true,"kind":"function","modifiers":[],"name":"toUint256","nameLocation":"17180:9:17","nodeType":"FunctionDefinition","parameters":{"id":4539,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4538,"mutability":"mutable","name":"value","nameLocation":"17197:5:17","nodeType":"VariableDeclaration","scope":4558,"src":"17190:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4537,"name":"int256","nodeType":"ElementaryTypeName","src":"17190:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"17189:14:17"},"returnParameters":{"id":4542,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4541,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4558,"src":"17227:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4540,"name":"uint256","nodeType":"ElementaryTypeName","src":"17227:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"17226:9:17"},"scope":5405,"src":"17171:193:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4583,"nodeType":"Block","src":"17761:150:17","statements":[{"expression":{"id":4571,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4566,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4564,"src":"17771:10:17","typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4569,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4561,"src":"17791:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4568,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17784:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int248_$","typeString":"type(int248)"},"typeName":{"id":4567,"name":"int248","nodeType":"ElementaryTypeName","src":"17784:6:17","typeDescriptions":{}}},"id":4570,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17784:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"}},"src":"17771:26:17","typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"}},"id":4572,"nodeType":"ExpressionStatement","src":"17771:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4575,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4573,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4564,"src":"17811:10:17","typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4574,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4561,"src":"17825:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"17811:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4582,"nodeType":"IfStatement","src":"17807:98:17","trueBody":{"id":4581,"nodeType":"Block","src":"17832:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323438","id":4577,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17883:3:17","typeDescriptions":{"typeIdentifier":"t_rational_248_by_1","typeString":"int_const 248"},"value":"248"},{"id":4578,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4561,"src":"17888:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_248_by_1","typeString":"int_const 248"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4576,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"17853:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4579,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17853:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4580,"nodeType":"RevertStatement","src":"17846:48:17"}]}}]},"documentation":{"id":4559,"nodeType":"StructuredDocumentation","src":"17370:312:17","text":" @dev Returns the downcasted int248 from int256, reverting on\n overflow (when the input is less than smallest int248 or\n greater than largest int248).\n Counterpart to Solidity's `int248` operator.\n Requirements:\n - input must fit into 248 bits"},"id":4584,"implemented":true,"kind":"function","modifiers":[],"name":"toInt248","nameLocation":"17696:8:17","nodeType":"FunctionDefinition","parameters":{"id":4562,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4561,"mutability":"mutable","name":"value","nameLocation":"17712:5:17","nodeType":"VariableDeclaration","scope":4584,"src":"17705:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4560,"name":"int256","nodeType":"ElementaryTypeName","src":"17705:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"17704:14:17"},"returnParameters":{"id":4565,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4564,"mutability":"mutable","name":"downcasted","nameLocation":"17749:10:17","nodeType":"VariableDeclaration","scope":4584,"src":"17742:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"},"typeName":{"id":4563,"name":"int248","nodeType":"ElementaryTypeName","src":"17742:6:17","typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"}},"visibility":"internal"}],"src":"17741:19:17"},"scope":5405,"src":"17687:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4609,"nodeType":"Block","src":"18308:150:17","statements":[{"expression":{"id":4597,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4592,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4590,"src":"18318:10:17","typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4595,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4587,"src":"18338:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4594,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"18331:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int240_$","typeString":"type(int240)"},"typeName":{"id":4593,"name":"int240","nodeType":"ElementaryTypeName","src":"18331:6:17","typeDescriptions":{}}},"id":4596,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18331:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"}},"src":"18318:26:17","typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"}},"id":4598,"nodeType":"ExpressionStatement","src":"18318:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4601,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4599,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4590,"src":"18358:10:17","typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4600,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4587,"src":"18372:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"18358:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4608,"nodeType":"IfStatement","src":"18354:98:17","trueBody":{"id":4607,"nodeType":"Block","src":"18379:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323430","id":4603,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18430:3:17","typeDescriptions":{"typeIdentifier":"t_rational_240_by_1","typeString":"int_const 240"},"value":"240"},{"id":4604,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4587,"src":"18435:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_240_by_1","typeString":"int_const 240"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4602,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"18400:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4605,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18400:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4606,"nodeType":"RevertStatement","src":"18393:48:17"}]}}]},"documentation":{"id":4585,"nodeType":"StructuredDocumentation","src":"17917:312:17","text":" @dev Returns the downcasted int240 from int256, reverting on\n overflow (when the input is less than smallest int240 or\n greater than largest int240).\n Counterpart to Solidity's `int240` operator.\n Requirements:\n - input must fit into 240 bits"},"id":4610,"implemented":true,"kind":"function","modifiers":[],"name":"toInt240","nameLocation":"18243:8:17","nodeType":"FunctionDefinition","parameters":{"id":4588,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4587,"mutability":"mutable","name":"value","nameLocation":"18259:5:17","nodeType":"VariableDeclaration","scope":4610,"src":"18252:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4586,"name":"int256","nodeType":"ElementaryTypeName","src":"18252:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"18251:14:17"},"returnParameters":{"id":4591,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4590,"mutability":"mutable","name":"downcasted","nameLocation":"18296:10:17","nodeType":"VariableDeclaration","scope":4610,"src":"18289:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"},"typeName":{"id":4589,"name":"int240","nodeType":"ElementaryTypeName","src":"18289:6:17","typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"}},"visibility":"internal"}],"src":"18288:19:17"},"scope":5405,"src":"18234:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4635,"nodeType":"Block","src":"18855:150:17","statements":[{"expression":{"id":4623,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4618,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4616,"src":"18865:10:17","typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4621,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4613,"src":"18885:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4620,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"18878:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int232_$","typeString":"type(int232)"},"typeName":{"id":4619,"name":"int232","nodeType":"ElementaryTypeName","src":"18878:6:17","typeDescriptions":{}}},"id":4622,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18878:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"}},"src":"18865:26:17","typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"}},"id":4624,"nodeType":"ExpressionStatement","src":"18865:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4627,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4625,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4616,"src":"18905:10:17","typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4626,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4613,"src":"18919:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"18905:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4634,"nodeType":"IfStatement","src":"18901:98:17","trueBody":{"id":4633,"nodeType":"Block","src":"18926:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323332","id":4629,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18977:3:17","typeDescriptions":{"typeIdentifier":"t_rational_232_by_1","typeString":"int_const 232"},"value":"232"},{"id":4630,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4613,"src":"18982:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_232_by_1","typeString":"int_const 232"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4628,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"18947:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4631,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18947:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4632,"nodeType":"RevertStatement","src":"18940:48:17"}]}}]},"documentation":{"id":4611,"nodeType":"StructuredDocumentation","src":"18464:312:17","text":" @dev Returns the downcasted int232 from int256, reverting on\n overflow (when the input is less than smallest int232 or\n greater than largest int232).\n Counterpart to Solidity's `int232` operator.\n Requirements:\n - input must fit into 232 bits"},"id":4636,"implemented":true,"kind":"function","modifiers":[],"name":"toInt232","nameLocation":"18790:8:17","nodeType":"FunctionDefinition","parameters":{"id":4614,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4613,"mutability":"mutable","name":"value","nameLocation":"18806:5:17","nodeType":"VariableDeclaration","scope":4636,"src":"18799:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4612,"name":"int256","nodeType":"ElementaryTypeName","src":"18799:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"18798:14:17"},"returnParameters":{"id":4617,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4616,"mutability":"mutable","name":"downcasted","nameLocation":"18843:10:17","nodeType":"VariableDeclaration","scope":4636,"src":"18836:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"},"typeName":{"id":4615,"name":"int232","nodeType":"ElementaryTypeName","src":"18836:6:17","typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"}},"visibility":"internal"}],"src":"18835:19:17"},"scope":5405,"src":"18781:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4661,"nodeType":"Block","src":"19402:150:17","statements":[{"expression":{"id":4649,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4644,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4642,"src":"19412:10:17","typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4647,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4639,"src":"19432:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4646,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"19425:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int224_$","typeString":"type(int224)"},"typeName":{"id":4645,"name":"int224","nodeType":"ElementaryTypeName","src":"19425:6:17","typeDescriptions":{}}},"id":4648,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19425:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"}},"src":"19412:26:17","typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"}},"id":4650,"nodeType":"ExpressionStatement","src":"19412:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4653,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4651,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4642,"src":"19452:10:17","typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4652,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4639,"src":"19466:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"19452:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4660,"nodeType":"IfStatement","src":"19448:98:17","trueBody":{"id":4659,"nodeType":"Block","src":"19473:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323234","id":4655,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19524:3:17","typeDescriptions":{"typeIdentifier":"t_rational_224_by_1","typeString":"int_const 224"},"value":"224"},{"id":4656,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4639,"src":"19529:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_224_by_1","typeString":"int_const 224"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4654,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"19494:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4657,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19494:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4658,"nodeType":"RevertStatement","src":"19487:48:17"}]}}]},"documentation":{"id":4637,"nodeType":"StructuredDocumentation","src":"19011:312:17","text":" @dev Returns the downcasted int224 from int256, reverting on\n overflow (when the input is less than smallest int224 or\n greater than largest int224).\n Counterpart to Solidity's `int224` operator.\n Requirements:\n - input must fit into 224 bits"},"id":4662,"implemented":true,"kind":"function","modifiers":[],"name":"toInt224","nameLocation":"19337:8:17","nodeType":"FunctionDefinition","parameters":{"id":4640,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4639,"mutability":"mutable","name":"value","nameLocation":"19353:5:17","nodeType":"VariableDeclaration","scope":4662,"src":"19346:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4638,"name":"int256","nodeType":"ElementaryTypeName","src":"19346:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"19345:14:17"},"returnParameters":{"id":4643,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4642,"mutability":"mutable","name":"downcasted","nameLocation":"19390:10:17","nodeType":"VariableDeclaration","scope":4662,"src":"19383:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"},"typeName":{"id":4641,"name":"int224","nodeType":"ElementaryTypeName","src":"19383:6:17","typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"}},"visibility":"internal"}],"src":"19382:19:17"},"scope":5405,"src":"19328:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4687,"nodeType":"Block","src":"19949:150:17","statements":[{"expression":{"id":4675,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4670,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4668,"src":"19959:10:17","typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4673,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4665,"src":"19979:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4672,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"19972:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int216_$","typeString":"type(int216)"},"typeName":{"id":4671,"name":"int216","nodeType":"ElementaryTypeName","src":"19972:6:17","typeDescriptions":{}}},"id":4674,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19972:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"}},"src":"19959:26:17","typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"}},"id":4676,"nodeType":"ExpressionStatement","src":"19959:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4679,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4677,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4668,"src":"19999:10:17","typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4678,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4665,"src":"20013:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"19999:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4686,"nodeType":"IfStatement","src":"19995:98:17","trueBody":{"id":4685,"nodeType":"Block","src":"20020:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323136","id":4681,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20071:3:17","typeDescriptions":{"typeIdentifier":"t_rational_216_by_1","typeString":"int_const 216"},"value":"216"},{"id":4682,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4665,"src":"20076:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_216_by_1","typeString":"int_const 216"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4680,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"20041:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4683,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20041:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4684,"nodeType":"RevertStatement","src":"20034:48:17"}]}}]},"documentation":{"id":4663,"nodeType":"StructuredDocumentation","src":"19558:312:17","text":" @dev Returns the downcasted int216 from int256, reverting on\n overflow (when the input is less than smallest int216 or\n greater than largest int216).\n Counterpart to Solidity's `int216` operator.\n Requirements:\n - input must fit into 216 bits"},"id":4688,"implemented":true,"kind":"function","modifiers":[],"name":"toInt216","nameLocation":"19884:8:17","nodeType":"FunctionDefinition","parameters":{"id":4666,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4665,"mutability":"mutable","name":"value","nameLocation":"19900:5:17","nodeType":"VariableDeclaration","scope":4688,"src":"19893:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4664,"name":"int256","nodeType":"ElementaryTypeName","src":"19893:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"19892:14:17"},"returnParameters":{"id":4669,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4668,"mutability":"mutable","name":"downcasted","nameLocation":"19937:10:17","nodeType":"VariableDeclaration","scope":4688,"src":"19930:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"},"typeName":{"id":4667,"name":"int216","nodeType":"ElementaryTypeName","src":"19930:6:17","typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"}},"visibility":"internal"}],"src":"19929:19:17"},"scope":5405,"src":"19875:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4713,"nodeType":"Block","src":"20496:150:17","statements":[{"expression":{"id":4701,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4696,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4694,"src":"20506:10:17","typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4699,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4691,"src":"20526:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4698,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"20519:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int208_$","typeString":"type(int208)"},"typeName":{"id":4697,"name":"int208","nodeType":"ElementaryTypeName","src":"20519:6:17","typeDescriptions":{}}},"id":4700,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20519:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"}},"src":"20506:26:17","typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"}},"id":4702,"nodeType":"ExpressionStatement","src":"20506:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4705,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4703,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4694,"src":"20546:10:17","typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4704,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4691,"src":"20560:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"20546:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4712,"nodeType":"IfStatement","src":"20542:98:17","trueBody":{"id":4711,"nodeType":"Block","src":"20567:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323038","id":4707,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20618:3:17","typeDescriptions":{"typeIdentifier":"t_rational_208_by_1","typeString":"int_const 208"},"value":"208"},{"id":4708,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4691,"src":"20623:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_208_by_1","typeString":"int_const 208"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4706,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"20588:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4709,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20588:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4710,"nodeType":"RevertStatement","src":"20581:48:17"}]}}]},"documentation":{"id":4689,"nodeType":"StructuredDocumentation","src":"20105:312:17","text":" @dev Returns the downcasted int208 from int256, reverting on\n overflow (when the input is less than smallest int208 or\n greater than largest int208).\n Counterpart to Solidity's `int208` operator.\n Requirements:\n - input must fit into 208 bits"},"id":4714,"implemented":true,"kind":"function","modifiers":[],"name":"toInt208","nameLocation":"20431:8:17","nodeType":"FunctionDefinition","parameters":{"id":4692,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4691,"mutability":"mutable","name":"value","nameLocation":"20447:5:17","nodeType":"VariableDeclaration","scope":4714,"src":"20440:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4690,"name":"int256","nodeType":"ElementaryTypeName","src":"20440:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"20439:14:17"},"returnParameters":{"id":4695,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4694,"mutability":"mutable","name":"downcasted","nameLocation":"20484:10:17","nodeType":"VariableDeclaration","scope":4714,"src":"20477:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"},"typeName":{"id":4693,"name":"int208","nodeType":"ElementaryTypeName","src":"20477:6:17","typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"}},"visibility":"internal"}],"src":"20476:19:17"},"scope":5405,"src":"20422:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4739,"nodeType":"Block","src":"21043:150:17","statements":[{"expression":{"id":4727,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4722,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4720,"src":"21053:10:17","typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4725,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4717,"src":"21073:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4724,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"21066:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int200_$","typeString":"type(int200)"},"typeName":{"id":4723,"name":"int200","nodeType":"ElementaryTypeName","src":"21066:6:17","typeDescriptions":{}}},"id":4726,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21066:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"}},"src":"21053:26:17","typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"}},"id":4728,"nodeType":"ExpressionStatement","src":"21053:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4731,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4729,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4720,"src":"21093:10:17","typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4730,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4717,"src":"21107:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"21093:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4738,"nodeType":"IfStatement","src":"21089:98:17","trueBody":{"id":4737,"nodeType":"Block","src":"21114:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"323030","id":4733,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21165:3:17","typeDescriptions":{"typeIdentifier":"t_rational_200_by_1","typeString":"int_const 200"},"value":"200"},{"id":4734,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4717,"src":"21170:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_200_by_1","typeString":"int_const 200"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4732,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"21135:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4735,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21135:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4736,"nodeType":"RevertStatement","src":"21128:48:17"}]}}]},"documentation":{"id":4715,"nodeType":"StructuredDocumentation","src":"20652:312:17","text":" @dev Returns the downcasted int200 from int256, reverting on\n overflow (when the input is less than smallest int200 or\n greater than largest int200).\n Counterpart to Solidity's `int200` operator.\n Requirements:\n - input must fit into 200 bits"},"id":4740,"implemented":true,"kind":"function","modifiers":[],"name":"toInt200","nameLocation":"20978:8:17","nodeType":"FunctionDefinition","parameters":{"id":4718,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4717,"mutability":"mutable","name":"value","nameLocation":"20994:5:17","nodeType":"VariableDeclaration","scope":4740,"src":"20987:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4716,"name":"int256","nodeType":"ElementaryTypeName","src":"20987:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"20986:14:17"},"returnParameters":{"id":4721,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4720,"mutability":"mutable","name":"downcasted","nameLocation":"21031:10:17","nodeType":"VariableDeclaration","scope":4740,"src":"21024:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"},"typeName":{"id":4719,"name":"int200","nodeType":"ElementaryTypeName","src":"21024:6:17","typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"}},"visibility":"internal"}],"src":"21023:19:17"},"scope":5405,"src":"20969:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4765,"nodeType":"Block","src":"21590:150:17","statements":[{"expression":{"id":4753,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4748,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4746,"src":"21600:10:17","typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4751,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4743,"src":"21620:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4750,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"21613:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int192_$","typeString":"type(int192)"},"typeName":{"id":4749,"name":"int192","nodeType":"ElementaryTypeName","src":"21613:6:17","typeDescriptions":{}}},"id":4752,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21613:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"}},"src":"21600:26:17","typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"}},"id":4754,"nodeType":"ExpressionStatement","src":"21600:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4757,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4755,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4746,"src":"21640:10:17","typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4756,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4743,"src":"21654:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"21640:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4764,"nodeType":"IfStatement","src":"21636:98:17","trueBody":{"id":4763,"nodeType":"Block","src":"21661:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313932","id":4759,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21712:3:17","typeDescriptions":{"typeIdentifier":"t_rational_192_by_1","typeString":"int_const 192"},"value":"192"},{"id":4760,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4743,"src":"21717:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_192_by_1","typeString":"int_const 192"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4758,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"21682:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4761,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21682:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4762,"nodeType":"RevertStatement","src":"21675:48:17"}]}}]},"documentation":{"id":4741,"nodeType":"StructuredDocumentation","src":"21199:312:17","text":" @dev Returns the downcasted int192 from int256, reverting on\n overflow (when the input is less than smallest int192 or\n greater than largest int192).\n Counterpart to Solidity's `int192` operator.\n Requirements:\n - input must fit into 192 bits"},"id":4766,"implemented":true,"kind":"function","modifiers":[],"name":"toInt192","nameLocation":"21525:8:17","nodeType":"FunctionDefinition","parameters":{"id":4744,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4743,"mutability":"mutable","name":"value","nameLocation":"21541:5:17","nodeType":"VariableDeclaration","scope":4766,"src":"21534:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4742,"name":"int256","nodeType":"ElementaryTypeName","src":"21534:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"21533:14:17"},"returnParameters":{"id":4747,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4746,"mutability":"mutable","name":"downcasted","nameLocation":"21578:10:17","nodeType":"VariableDeclaration","scope":4766,"src":"21571:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"},"typeName":{"id":4745,"name":"int192","nodeType":"ElementaryTypeName","src":"21571:6:17","typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"}},"visibility":"internal"}],"src":"21570:19:17"},"scope":5405,"src":"21516:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4791,"nodeType":"Block","src":"22137:150:17","statements":[{"expression":{"id":4779,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4774,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4772,"src":"22147:10:17","typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4777,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4769,"src":"22167:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4776,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"22160:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int184_$","typeString":"type(int184)"},"typeName":{"id":4775,"name":"int184","nodeType":"ElementaryTypeName","src":"22160:6:17","typeDescriptions":{}}},"id":4778,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22160:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"}},"src":"22147:26:17","typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"}},"id":4780,"nodeType":"ExpressionStatement","src":"22147:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4783,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4781,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4772,"src":"22187:10:17","typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4782,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4769,"src":"22201:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"22187:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4790,"nodeType":"IfStatement","src":"22183:98:17","trueBody":{"id":4789,"nodeType":"Block","src":"22208:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313834","id":4785,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22259:3:17","typeDescriptions":{"typeIdentifier":"t_rational_184_by_1","typeString":"int_const 184"},"value":"184"},{"id":4786,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4769,"src":"22264:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_184_by_1","typeString":"int_const 184"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4784,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"22229:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4787,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22229:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4788,"nodeType":"RevertStatement","src":"22222:48:17"}]}}]},"documentation":{"id":4767,"nodeType":"StructuredDocumentation","src":"21746:312:17","text":" @dev Returns the downcasted int184 from int256, reverting on\n overflow (when the input is less than smallest int184 or\n greater than largest int184).\n Counterpart to Solidity's `int184` operator.\n Requirements:\n - input must fit into 184 bits"},"id":4792,"implemented":true,"kind":"function","modifiers":[],"name":"toInt184","nameLocation":"22072:8:17","nodeType":"FunctionDefinition","parameters":{"id":4770,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4769,"mutability":"mutable","name":"value","nameLocation":"22088:5:17","nodeType":"VariableDeclaration","scope":4792,"src":"22081:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4768,"name":"int256","nodeType":"ElementaryTypeName","src":"22081:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"22080:14:17"},"returnParameters":{"id":4773,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4772,"mutability":"mutable","name":"downcasted","nameLocation":"22125:10:17","nodeType":"VariableDeclaration","scope":4792,"src":"22118:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"},"typeName":{"id":4771,"name":"int184","nodeType":"ElementaryTypeName","src":"22118:6:17","typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"}},"visibility":"internal"}],"src":"22117:19:17"},"scope":5405,"src":"22063:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4817,"nodeType":"Block","src":"22684:150:17","statements":[{"expression":{"id":4805,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4800,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4798,"src":"22694:10:17","typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4803,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4795,"src":"22714:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4802,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"22707:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int176_$","typeString":"type(int176)"},"typeName":{"id":4801,"name":"int176","nodeType":"ElementaryTypeName","src":"22707:6:17","typeDescriptions":{}}},"id":4804,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22707:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"}},"src":"22694:26:17","typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"}},"id":4806,"nodeType":"ExpressionStatement","src":"22694:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4809,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4807,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4798,"src":"22734:10:17","typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4808,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4795,"src":"22748:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"22734:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4816,"nodeType":"IfStatement","src":"22730:98:17","trueBody":{"id":4815,"nodeType":"Block","src":"22755:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313736","id":4811,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22806:3:17","typeDescriptions":{"typeIdentifier":"t_rational_176_by_1","typeString":"int_const 176"},"value":"176"},{"id":4812,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4795,"src":"22811:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_176_by_1","typeString":"int_const 176"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4810,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"22776:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4813,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22776:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4814,"nodeType":"RevertStatement","src":"22769:48:17"}]}}]},"documentation":{"id":4793,"nodeType":"StructuredDocumentation","src":"22293:312:17","text":" @dev Returns the downcasted int176 from int256, reverting on\n overflow (when the input is less than smallest int176 or\n greater than largest int176).\n Counterpart to Solidity's `int176` operator.\n Requirements:\n - input must fit into 176 bits"},"id":4818,"implemented":true,"kind":"function","modifiers":[],"name":"toInt176","nameLocation":"22619:8:17","nodeType":"FunctionDefinition","parameters":{"id":4796,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4795,"mutability":"mutable","name":"value","nameLocation":"22635:5:17","nodeType":"VariableDeclaration","scope":4818,"src":"22628:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4794,"name":"int256","nodeType":"ElementaryTypeName","src":"22628:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"22627:14:17"},"returnParameters":{"id":4799,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4798,"mutability":"mutable","name":"downcasted","nameLocation":"22672:10:17","nodeType":"VariableDeclaration","scope":4818,"src":"22665:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"},"typeName":{"id":4797,"name":"int176","nodeType":"ElementaryTypeName","src":"22665:6:17","typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"}},"visibility":"internal"}],"src":"22664:19:17"},"scope":5405,"src":"22610:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4843,"nodeType":"Block","src":"23231:150:17","statements":[{"expression":{"id":4831,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4826,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4824,"src":"23241:10:17","typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4829,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4821,"src":"23261:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4828,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23254:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int168_$","typeString":"type(int168)"},"typeName":{"id":4827,"name":"int168","nodeType":"ElementaryTypeName","src":"23254:6:17","typeDescriptions":{}}},"id":4830,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23254:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"}},"src":"23241:26:17","typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"}},"id":4832,"nodeType":"ExpressionStatement","src":"23241:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4835,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4833,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4824,"src":"23281:10:17","typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4834,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4821,"src":"23295:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"23281:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4842,"nodeType":"IfStatement","src":"23277:98:17","trueBody":{"id":4841,"nodeType":"Block","src":"23302:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313638","id":4837,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23353:3:17","typeDescriptions":{"typeIdentifier":"t_rational_168_by_1","typeString":"int_const 168"},"value":"168"},{"id":4838,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4821,"src":"23358:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_168_by_1","typeString":"int_const 168"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4836,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"23323:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4839,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23323:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4840,"nodeType":"RevertStatement","src":"23316:48:17"}]}}]},"documentation":{"id":4819,"nodeType":"StructuredDocumentation","src":"22840:312:17","text":" @dev Returns the downcasted int168 from int256, reverting on\n overflow (when the input is less than smallest int168 or\n greater than largest int168).\n Counterpart to Solidity's `int168` operator.\n Requirements:\n - input must fit into 168 bits"},"id":4844,"implemented":true,"kind":"function","modifiers":[],"name":"toInt168","nameLocation":"23166:8:17","nodeType":"FunctionDefinition","parameters":{"id":4822,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4821,"mutability":"mutable","name":"value","nameLocation":"23182:5:17","nodeType":"VariableDeclaration","scope":4844,"src":"23175:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4820,"name":"int256","nodeType":"ElementaryTypeName","src":"23175:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"23174:14:17"},"returnParameters":{"id":4825,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4824,"mutability":"mutable","name":"downcasted","nameLocation":"23219:10:17","nodeType":"VariableDeclaration","scope":4844,"src":"23212:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"},"typeName":{"id":4823,"name":"int168","nodeType":"ElementaryTypeName","src":"23212:6:17","typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"}},"visibility":"internal"}],"src":"23211:19:17"},"scope":5405,"src":"23157:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4869,"nodeType":"Block","src":"23778:150:17","statements":[{"expression":{"id":4857,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4852,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4850,"src":"23788:10:17","typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4855,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4847,"src":"23808:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4854,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23801:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int160_$","typeString":"type(int160)"},"typeName":{"id":4853,"name":"int160","nodeType":"ElementaryTypeName","src":"23801:6:17","typeDescriptions":{}}},"id":4856,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23801:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"}},"src":"23788:26:17","typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"}},"id":4858,"nodeType":"ExpressionStatement","src":"23788:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4861,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4859,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4850,"src":"23828:10:17","typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4860,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4847,"src":"23842:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"23828:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4868,"nodeType":"IfStatement","src":"23824:98:17","trueBody":{"id":4867,"nodeType":"Block","src":"23849:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313630","id":4863,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23900:3:17","typeDescriptions":{"typeIdentifier":"t_rational_160_by_1","typeString":"int_const 160"},"value":"160"},{"id":4864,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4847,"src":"23905:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_160_by_1","typeString":"int_const 160"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4862,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"23870:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4865,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23870:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4866,"nodeType":"RevertStatement","src":"23863:48:17"}]}}]},"documentation":{"id":4845,"nodeType":"StructuredDocumentation","src":"23387:312:17","text":" @dev Returns the downcasted int160 from int256, reverting on\n overflow (when the input is less than smallest int160 or\n greater than largest int160).\n Counterpart to Solidity's `int160` operator.\n Requirements:\n - input must fit into 160 bits"},"id":4870,"implemented":true,"kind":"function","modifiers":[],"name":"toInt160","nameLocation":"23713:8:17","nodeType":"FunctionDefinition","parameters":{"id":4848,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4847,"mutability":"mutable","name":"value","nameLocation":"23729:5:17","nodeType":"VariableDeclaration","scope":4870,"src":"23722:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4846,"name":"int256","nodeType":"ElementaryTypeName","src":"23722:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"23721:14:17"},"returnParameters":{"id":4851,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4850,"mutability":"mutable","name":"downcasted","nameLocation":"23766:10:17","nodeType":"VariableDeclaration","scope":4870,"src":"23759:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"},"typeName":{"id":4849,"name":"int160","nodeType":"ElementaryTypeName","src":"23759:6:17","typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"}},"visibility":"internal"}],"src":"23758:19:17"},"scope":5405,"src":"23704:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4895,"nodeType":"Block","src":"24325:150:17","statements":[{"expression":{"id":4883,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4878,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4876,"src":"24335:10:17","typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4881,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4873,"src":"24355:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4880,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"24348:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int152_$","typeString":"type(int152)"},"typeName":{"id":4879,"name":"int152","nodeType":"ElementaryTypeName","src":"24348:6:17","typeDescriptions":{}}},"id":4882,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24348:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"}},"src":"24335:26:17","typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"}},"id":4884,"nodeType":"ExpressionStatement","src":"24335:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4887,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4885,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4876,"src":"24375:10:17","typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4886,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4873,"src":"24389:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"24375:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4894,"nodeType":"IfStatement","src":"24371:98:17","trueBody":{"id":4893,"nodeType":"Block","src":"24396:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313532","id":4889,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24447:3:17","typeDescriptions":{"typeIdentifier":"t_rational_152_by_1","typeString":"int_const 152"},"value":"152"},{"id":4890,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4873,"src":"24452:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_152_by_1","typeString":"int_const 152"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4888,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"24417:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4891,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24417:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4892,"nodeType":"RevertStatement","src":"24410:48:17"}]}}]},"documentation":{"id":4871,"nodeType":"StructuredDocumentation","src":"23934:312:17","text":" @dev Returns the downcasted int152 from int256, reverting on\n overflow (when the input is less than smallest int152 or\n greater than largest int152).\n Counterpart to Solidity's `int152` operator.\n Requirements:\n - input must fit into 152 bits"},"id":4896,"implemented":true,"kind":"function","modifiers":[],"name":"toInt152","nameLocation":"24260:8:17","nodeType":"FunctionDefinition","parameters":{"id":4874,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4873,"mutability":"mutable","name":"value","nameLocation":"24276:5:17","nodeType":"VariableDeclaration","scope":4896,"src":"24269:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4872,"name":"int256","nodeType":"ElementaryTypeName","src":"24269:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"24268:14:17"},"returnParameters":{"id":4877,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4876,"mutability":"mutable","name":"downcasted","nameLocation":"24313:10:17","nodeType":"VariableDeclaration","scope":4896,"src":"24306:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"},"typeName":{"id":4875,"name":"int152","nodeType":"ElementaryTypeName","src":"24306:6:17","typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"}},"visibility":"internal"}],"src":"24305:19:17"},"scope":5405,"src":"24251:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4921,"nodeType":"Block","src":"24872:150:17","statements":[{"expression":{"id":4909,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4904,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4902,"src":"24882:10:17","typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4907,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4899,"src":"24902:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4906,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"24895:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int144_$","typeString":"type(int144)"},"typeName":{"id":4905,"name":"int144","nodeType":"ElementaryTypeName","src":"24895:6:17","typeDescriptions":{}}},"id":4908,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24895:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"}},"src":"24882:26:17","typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"}},"id":4910,"nodeType":"ExpressionStatement","src":"24882:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4913,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4911,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4902,"src":"24922:10:17","typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4912,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4899,"src":"24936:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"24922:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4920,"nodeType":"IfStatement","src":"24918:98:17","trueBody":{"id":4919,"nodeType":"Block","src":"24943:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313434","id":4915,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24994:3:17","typeDescriptions":{"typeIdentifier":"t_rational_144_by_1","typeString":"int_const 144"},"value":"144"},{"id":4916,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4899,"src":"24999:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_144_by_1","typeString":"int_const 144"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4914,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"24964:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4917,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24964:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4918,"nodeType":"RevertStatement","src":"24957:48:17"}]}}]},"documentation":{"id":4897,"nodeType":"StructuredDocumentation","src":"24481:312:17","text":" @dev Returns the downcasted int144 from int256, reverting on\n overflow (when the input is less than smallest int144 or\n greater than largest int144).\n Counterpart to Solidity's `int144` operator.\n Requirements:\n - input must fit into 144 bits"},"id":4922,"implemented":true,"kind":"function","modifiers":[],"name":"toInt144","nameLocation":"24807:8:17","nodeType":"FunctionDefinition","parameters":{"id":4900,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4899,"mutability":"mutable","name":"value","nameLocation":"24823:5:17","nodeType":"VariableDeclaration","scope":4922,"src":"24816:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4898,"name":"int256","nodeType":"ElementaryTypeName","src":"24816:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"24815:14:17"},"returnParameters":{"id":4903,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4902,"mutability":"mutable","name":"downcasted","nameLocation":"24860:10:17","nodeType":"VariableDeclaration","scope":4922,"src":"24853:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"},"typeName":{"id":4901,"name":"int144","nodeType":"ElementaryTypeName","src":"24853:6:17","typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"}},"visibility":"internal"}],"src":"24852:19:17"},"scope":5405,"src":"24798:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4947,"nodeType":"Block","src":"25419:150:17","statements":[{"expression":{"id":4935,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4930,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4928,"src":"25429:10:17","typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4933,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4925,"src":"25449:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4932,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"25442:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int136_$","typeString":"type(int136)"},"typeName":{"id":4931,"name":"int136","nodeType":"ElementaryTypeName","src":"25442:6:17","typeDescriptions":{}}},"id":4934,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25442:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"}},"src":"25429:26:17","typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"}},"id":4936,"nodeType":"ExpressionStatement","src":"25429:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4939,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4937,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4928,"src":"25469:10:17","typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4938,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4925,"src":"25483:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"25469:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4946,"nodeType":"IfStatement","src":"25465:98:17","trueBody":{"id":4945,"nodeType":"Block","src":"25490:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313336","id":4941,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25541:3:17","typeDescriptions":{"typeIdentifier":"t_rational_136_by_1","typeString":"int_const 136"},"value":"136"},{"id":4942,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4925,"src":"25546:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_136_by_1","typeString":"int_const 136"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4940,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"25511:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4943,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25511:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4944,"nodeType":"RevertStatement","src":"25504:48:17"}]}}]},"documentation":{"id":4923,"nodeType":"StructuredDocumentation","src":"25028:312:17","text":" @dev Returns the downcasted int136 from int256, reverting on\n overflow (when the input is less than smallest int136 or\n greater than largest int136).\n Counterpart to Solidity's `int136` operator.\n Requirements:\n - input must fit into 136 bits"},"id":4948,"implemented":true,"kind":"function","modifiers":[],"name":"toInt136","nameLocation":"25354:8:17","nodeType":"FunctionDefinition","parameters":{"id":4926,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4925,"mutability":"mutable","name":"value","nameLocation":"25370:5:17","nodeType":"VariableDeclaration","scope":4948,"src":"25363:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4924,"name":"int256","nodeType":"ElementaryTypeName","src":"25363:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"25362:14:17"},"returnParameters":{"id":4929,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4928,"mutability":"mutable","name":"downcasted","nameLocation":"25407:10:17","nodeType":"VariableDeclaration","scope":4948,"src":"25400:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"},"typeName":{"id":4927,"name":"int136","nodeType":"ElementaryTypeName","src":"25400:6:17","typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"}},"visibility":"internal"}],"src":"25399:19:17"},"scope":5405,"src":"25345:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4973,"nodeType":"Block","src":"25966:150:17","statements":[{"expression":{"id":4961,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4956,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4954,"src":"25976:10:17","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4959,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4951,"src":"25996:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4958,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"25989:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":4957,"name":"int128","nodeType":"ElementaryTypeName","src":"25989:6:17","typeDescriptions":{}}},"id":4960,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25989:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"25976:26:17","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":4962,"nodeType":"ExpressionStatement","src":"25976:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4965,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4963,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4954,"src":"26016:10:17","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4964,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4951,"src":"26030:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"26016:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4972,"nodeType":"IfStatement","src":"26012:98:17","trueBody":{"id":4971,"nodeType":"Block","src":"26037:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313238","id":4967,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26088:3:17","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},{"id":4968,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4951,"src":"26093:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4966,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"26058:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4969,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26058:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4970,"nodeType":"RevertStatement","src":"26051:48:17"}]}}]},"documentation":{"id":4949,"nodeType":"StructuredDocumentation","src":"25575:312:17","text":" @dev Returns the downcasted int128 from int256, reverting on\n overflow (when the input is less than smallest int128 or\n greater than largest int128).\n Counterpart to Solidity's `int128` operator.\n Requirements:\n - input must fit into 128 bits"},"id":4974,"implemented":true,"kind":"function","modifiers":[],"name":"toInt128","nameLocation":"25901:8:17","nodeType":"FunctionDefinition","parameters":{"id":4952,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4951,"mutability":"mutable","name":"value","nameLocation":"25917:5:17","nodeType":"VariableDeclaration","scope":4974,"src":"25910:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4950,"name":"int256","nodeType":"ElementaryTypeName","src":"25910:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"25909:14:17"},"returnParameters":{"id":4955,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4954,"mutability":"mutable","name":"downcasted","nameLocation":"25954:10:17","nodeType":"VariableDeclaration","scope":4974,"src":"25947:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":4953,"name":"int128","nodeType":"ElementaryTypeName","src":"25947:6:17","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"25946:19:17"},"scope":5405,"src":"25892:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4999,"nodeType":"Block","src":"26513:150:17","statements":[{"expression":{"id":4987,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4982,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4980,"src":"26523:10:17","typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4985,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4977,"src":"26543:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4984,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"26536:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int120_$","typeString":"type(int120)"},"typeName":{"id":4983,"name":"int120","nodeType":"ElementaryTypeName","src":"26536:6:17","typeDescriptions":{}}},"id":4986,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26536:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"}},"src":"26523:26:17","typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"}},"id":4988,"nodeType":"ExpressionStatement","src":"26523:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4989,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4980,"src":"26563:10:17","typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":4990,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4977,"src":"26577:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"26563:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4998,"nodeType":"IfStatement","src":"26559:98:17","trueBody":{"id":4997,"nodeType":"Block","src":"26584:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313230","id":4993,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26635:3:17","typeDescriptions":{"typeIdentifier":"t_rational_120_by_1","typeString":"int_const 120"},"value":"120"},{"id":4994,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4977,"src":"26640:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_120_by_1","typeString":"int_const 120"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":4992,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"26605:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":4995,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26605:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4996,"nodeType":"RevertStatement","src":"26598:48:17"}]}}]},"documentation":{"id":4975,"nodeType":"StructuredDocumentation","src":"26122:312:17","text":" @dev Returns the downcasted int120 from int256, reverting on\n overflow (when the input is less than smallest int120 or\n greater than largest int120).\n Counterpart to Solidity's `int120` operator.\n Requirements:\n - input must fit into 120 bits"},"id":5000,"implemented":true,"kind":"function","modifiers":[],"name":"toInt120","nameLocation":"26448:8:17","nodeType":"FunctionDefinition","parameters":{"id":4978,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4977,"mutability":"mutable","name":"value","nameLocation":"26464:5:17","nodeType":"VariableDeclaration","scope":5000,"src":"26457:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4976,"name":"int256","nodeType":"ElementaryTypeName","src":"26457:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"26456:14:17"},"returnParameters":{"id":4981,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4980,"mutability":"mutable","name":"downcasted","nameLocation":"26501:10:17","nodeType":"VariableDeclaration","scope":5000,"src":"26494:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"},"typeName":{"id":4979,"name":"int120","nodeType":"ElementaryTypeName","src":"26494:6:17","typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"}},"visibility":"internal"}],"src":"26493:19:17"},"scope":5405,"src":"26439:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5025,"nodeType":"Block","src":"27060:150:17","statements":[{"expression":{"id":5013,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5008,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5006,"src":"27070:10:17","typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5011,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5003,"src":"27090:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5010,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27083:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int112_$","typeString":"type(int112)"},"typeName":{"id":5009,"name":"int112","nodeType":"ElementaryTypeName","src":"27083:6:17","typeDescriptions":{}}},"id":5012,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27083:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"}},"src":"27070:26:17","typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"}},"id":5014,"nodeType":"ExpressionStatement","src":"27070:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5017,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5015,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5006,"src":"27110:10:17","typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5016,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5003,"src":"27124:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"27110:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5024,"nodeType":"IfStatement","src":"27106:98:17","trueBody":{"id":5023,"nodeType":"Block","src":"27131:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313132","id":5019,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27182:3:17","typeDescriptions":{"typeIdentifier":"t_rational_112_by_1","typeString":"int_const 112"},"value":"112"},{"id":5020,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5003,"src":"27187:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_112_by_1","typeString":"int_const 112"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5018,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"27152:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5021,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27152:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5022,"nodeType":"RevertStatement","src":"27145:48:17"}]}}]},"documentation":{"id":5001,"nodeType":"StructuredDocumentation","src":"26669:312:17","text":" @dev Returns the downcasted int112 from int256, reverting on\n overflow (when the input is less than smallest int112 or\n greater than largest int112).\n Counterpart to Solidity's `int112` operator.\n Requirements:\n - input must fit into 112 bits"},"id":5026,"implemented":true,"kind":"function","modifiers":[],"name":"toInt112","nameLocation":"26995:8:17","nodeType":"FunctionDefinition","parameters":{"id":5004,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5003,"mutability":"mutable","name":"value","nameLocation":"27011:5:17","nodeType":"VariableDeclaration","scope":5026,"src":"27004:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5002,"name":"int256","nodeType":"ElementaryTypeName","src":"27004:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"27003:14:17"},"returnParameters":{"id":5007,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5006,"mutability":"mutable","name":"downcasted","nameLocation":"27048:10:17","nodeType":"VariableDeclaration","scope":5026,"src":"27041:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"},"typeName":{"id":5005,"name":"int112","nodeType":"ElementaryTypeName","src":"27041:6:17","typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"}},"visibility":"internal"}],"src":"27040:19:17"},"scope":5405,"src":"26986:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5051,"nodeType":"Block","src":"27607:150:17","statements":[{"expression":{"id":5039,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5034,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5032,"src":"27617:10:17","typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5037,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5029,"src":"27637:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5036,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27630:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int104_$","typeString":"type(int104)"},"typeName":{"id":5035,"name":"int104","nodeType":"ElementaryTypeName","src":"27630:6:17","typeDescriptions":{}}},"id":5038,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27630:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"}},"src":"27617:26:17","typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"}},"id":5040,"nodeType":"ExpressionStatement","src":"27617:26:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5043,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5041,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5032,"src":"27657:10:17","typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5042,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5029,"src":"27671:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"27657:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5050,"nodeType":"IfStatement","src":"27653:98:17","trueBody":{"id":5049,"nodeType":"Block","src":"27678:73:17","statements":[{"errorCall":{"arguments":[{"hexValue":"313034","id":5045,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27729:3:17","typeDescriptions":{"typeIdentifier":"t_rational_104_by_1","typeString":"int_const 104"},"value":"104"},{"id":5046,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5029,"src":"27734:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_104_by_1","typeString":"int_const 104"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5044,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"27699:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5047,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27699:41:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5048,"nodeType":"RevertStatement","src":"27692:48:17"}]}}]},"documentation":{"id":5027,"nodeType":"StructuredDocumentation","src":"27216:312:17","text":" @dev Returns the downcasted int104 from int256, reverting on\n overflow (when the input is less than smallest int104 or\n greater than largest int104).\n Counterpart to Solidity's `int104` operator.\n Requirements:\n - input must fit into 104 bits"},"id":5052,"implemented":true,"kind":"function","modifiers":[],"name":"toInt104","nameLocation":"27542:8:17","nodeType":"FunctionDefinition","parameters":{"id":5030,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5029,"mutability":"mutable","name":"value","nameLocation":"27558:5:17","nodeType":"VariableDeclaration","scope":5052,"src":"27551:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5028,"name":"int256","nodeType":"ElementaryTypeName","src":"27551:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"27550:14:17"},"returnParameters":{"id":5033,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5032,"mutability":"mutable","name":"downcasted","nameLocation":"27595:10:17","nodeType":"VariableDeclaration","scope":5052,"src":"27588:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"},"typeName":{"id":5031,"name":"int104","nodeType":"ElementaryTypeName","src":"27588:6:17","typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"}},"visibility":"internal"}],"src":"27587:19:17"},"scope":5405,"src":"27533:224:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5077,"nodeType":"Block","src":"28147:148:17","statements":[{"expression":{"id":5065,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5060,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5058,"src":"28157:10:17","typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5063,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5055,"src":"28176:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5062,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"28170:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int96_$","typeString":"type(int96)"},"typeName":{"id":5061,"name":"int96","nodeType":"ElementaryTypeName","src":"28170:5:17","typeDescriptions":{}}},"id":5064,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28170:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"}},"src":"28157:25:17","typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"}},"id":5066,"nodeType":"ExpressionStatement","src":"28157:25:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5069,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5067,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5058,"src":"28196:10:17","typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5068,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5055,"src":"28210:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"28196:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5076,"nodeType":"IfStatement","src":"28192:97:17","trueBody":{"id":5075,"nodeType":"Block","src":"28217:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3936","id":5071,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28268:2:17","typeDescriptions":{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},"value":"96"},{"id":5072,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5055,"src":"28272:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5070,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"28238:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5073,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28238:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5074,"nodeType":"RevertStatement","src":"28231:47:17"}]}}]},"documentation":{"id":5053,"nodeType":"StructuredDocumentation","src":"27763:307:17","text":" @dev Returns the downcasted int96 from int256, reverting on\n overflow (when the input is less than smallest int96 or\n greater than largest int96).\n Counterpart to Solidity's `int96` operator.\n Requirements:\n - input must fit into 96 bits"},"id":5078,"implemented":true,"kind":"function","modifiers":[],"name":"toInt96","nameLocation":"28084:7:17","nodeType":"FunctionDefinition","parameters":{"id":5056,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5055,"mutability":"mutable","name":"value","nameLocation":"28099:5:17","nodeType":"VariableDeclaration","scope":5078,"src":"28092:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5054,"name":"int256","nodeType":"ElementaryTypeName","src":"28092:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"28091:14:17"},"returnParameters":{"id":5059,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5058,"mutability":"mutable","name":"downcasted","nameLocation":"28135:10:17","nodeType":"VariableDeclaration","scope":5078,"src":"28129:16:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"},"typeName":{"id":5057,"name":"int96","nodeType":"ElementaryTypeName","src":"28129:5:17","typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"}},"visibility":"internal"}],"src":"28128:18:17"},"scope":5405,"src":"28075:220:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5103,"nodeType":"Block","src":"28685:148:17","statements":[{"expression":{"id":5091,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5086,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5084,"src":"28695:10:17","typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5089,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5081,"src":"28714:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5088,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"28708:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int88_$","typeString":"type(int88)"},"typeName":{"id":5087,"name":"int88","nodeType":"ElementaryTypeName","src":"28708:5:17","typeDescriptions":{}}},"id":5090,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28708:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"}},"src":"28695:25:17","typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"}},"id":5092,"nodeType":"ExpressionStatement","src":"28695:25:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5095,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5093,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5084,"src":"28734:10:17","typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5094,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5081,"src":"28748:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"28734:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5102,"nodeType":"IfStatement","src":"28730:97:17","trueBody":{"id":5101,"nodeType":"Block","src":"28755:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3838","id":5097,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28806:2:17","typeDescriptions":{"typeIdentifier":"t_rational_88_by_1","typeString":"int_const 88"},"value":"88"},{"id":5098,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5081,"src":"28810:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_88_by_1","typeString":"int_const 88"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5096,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"28776:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5099,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28776:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5100,"nodeType":"RevertStatement","src":"28769:47:17"}]}}]},"documentation":{"id":5079,"nodeType":"StructuredDocumentation","src":"28301:307:17","text":" @dev Returns the downcasted int88 from int256, reverting on\n overflow (when the input is less than smallest int88 or\n greater than largest int88).\n Counterpart to Solidity's `int88` operator.\n Requirements:\n - input must fit into 88 bits"},"id":5104,"implemented":true,"kind":"function","modifiers":[],"name":"toInt88","nameLocation":"28622:7:17","nodeType":"FunctionDefinition","parameters":{"id":5082,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5081,"mutability":"mutable","name":"value","nameLocation":"28637:5:17","nodeType":"VariableDeclaration","scope":5104,"src":"28630:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5080,"name":"int256","nodeType":"ElementaryTypeName","src":"28630:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"28629:14:17"},"returnParameters":{"id":5085,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5084,"mutability":"mutable","name":"downcasted","nameLocation":"28673:10:17","nodeType":"VariableDeclaration","scope":5104,"src":"28667:16:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"},"typeName":{"id":5083,"name":"int88","nodeType":"ElementaryTypeName","src":"28667:5:17","typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"}},"visibility":"internal"}],"src":"28666:18:17"},"scope":5405,"src":"28613:220:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5129,"nodeType":"Block","src":"29223:148:17","statements":[{"expression":{"id":5117,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5112,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5110,"src":"29233:10:17","typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5115,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5107,"src":"29252:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5114,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"29246:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int80_$","typeString":"type(int80)"},"typeName":{"id":5113,"name":"int80","nodeType":"ElementaryTypeName","src":"29246:5:17","typeDescriptions":{}}},"id":5116,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29246:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"}},"src":"29233:25:17","typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"}},"id":5118,"nodeType":"ExpressionStatement","src":"29233:25:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5121,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5119,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5110,"src":"29272:10:17","typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5120,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5107,"src":"29286:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"29272:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5128,"nodeType":"IfStatement","src":"29268:97:17","trueBody":{"id":5127,"nodeType":"Block","src":"29293:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3830","id":5123,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29344:2:17","typeDescriptions":{"typeIdentifier":"t_rational_80_by_1","typeString":"int_const 80"},"value":"80"},{"id":5124,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5107,"src":"29348:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_80_by_1","typeString":"int_const 80"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5122,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"29314:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5125,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29314:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5126,"nodeType":"RevertStatement","src":"29307:47:17"}]}}]},"documentation":{"id":5105,"nodeType":"StructuredDocumentation","src":"28839:307:17","text":" @dev Returns the downcasted int80 from int256, reverting on\n overflow (when the input is less than smallest int80 or\n greater than largest int80).\n Counterpart to Solidity's `int80` operator.\n Requirements:\n - input must fit into 80 bits"},"id":5130,"implemented":true,"kind":"function","modifiers":[],"name":"toInt80","nameLocation":"29160:7:17","nodeType":"FunctionDefinition","parameters":{"id":5108,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5107,"mutability":"mutable","name":"value","nameLocation":"29175:5:17","nodeType":"VariableDeclaration","scope":5130,"src":"29168:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5106,"name":"int256","nodeType":"ElementaryTypeName","src":"29168:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"29167:14:17"},"returnParameters":{"id":5111,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5110,"mutability":"mutable","name":"downcasted","nameLocation":"29211:10:17","nodeType":"VariableDeclaration","scope":5130,"src":"29205:16:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"},"typeName":{"id":5109,"name":"int80","nodeType":"ElementaryTypeName","src":"29205:5:17","typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"}},"visibility":"internal"}],"src":"29204:18:17"},"scope":5405,"src":"29151:220:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5155,"nodeType":"Block","src":"29761:148:17","statements":[{"expression":{"id":5143,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5138,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5136,"src":"29771:10:17","typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5141,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5133,"src":"29790:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5140,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"29784:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int72_$","typeString":"type(int72)"},"typeName":{"id":5139,"name":"int72","nodeType":"ElementaryTypeName","src":"29784:5:17","typeDescriptions":{}}},"id":5142,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29784:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"}},"src":"29771:25:17","typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"}},"id":5144,"nodeType":"ExpressionStatement","src":"29771:25:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5147,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5145,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5136,"src":"29810:10:17","typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5146,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5133,"src":"29824:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"29810:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5154,"nodeType":"IfStatement","src":"29806:97:17","trueBody":{"id":5153,"nodeType":"Block","src":"29831:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3732","id":5149,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29882:2:17","typeDescriptions":{"typeIdentifier":"t_rational_72_by_1","typeString":"int_const 72"},"value":"72"},{"id":5150,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5133,"src":"29886:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_72_by_1","typeString":"int_const 72"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5148,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"29852:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5151,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29852:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5152,"nodeType":"RevertStatement","src":"29845:47:17"}]}}]},"documentation":{"id":5131,"nodeType":"StructuredDocumentation","src":"29377:307:17","text":" @dev Returns the downcasted int72 from int256, reverting on\n overflow (when the input is less than smallest int72 or\n greater than largest int72).\n Counterpart to Solidity's `int72` operator.\n Requirements:\n - input must fit into 72 bits"},"id":5156,"implemented":true,"kind":"function","modifiers":[],"name":"toInt72","nameLocation":"29698:7:17","nodeType":"FunctionDefinition","parameters":{"id":5134,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5133,"mutability":"mutable","name":"value","nameLocation":"29713:5:17","nodeType":"VariableDeclaration","scope":5156,"src":"29706:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5132,"name":"int256","nodeType":"ElementaryTypeName","src":"29706:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"29705:14:17"},"returnParameters":{"id":5137,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5136,"mutability":"mutable","name":"downcasted","nameLocation":"29749:10:17","nodeType":"VariableDeclaration","scope":5156,"src":"29743:16:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"},"typeName":{"id":5135,"name":"int72","nodeType":"ElementaryTypeName","src":"29743:5:17","typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"}},"visibility":"internal"}],"src":"29742:18:17"},"scope":5405,"src":"29689:220:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5181,"nodeType":"Block","src":"30299:148:17","statements":[{"expression":{"id":5169,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5164,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5162,"src":"30309:10:17","typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5167,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5159,"src":"30328:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5166,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"30322:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int64_$","typeString":"type(int64)"},"typeName":{"id":5165,"name":"int64","nodeType":"ElementaryTypeName","src":"30322:5:17","typeDescriptions":{}}},"id":5168,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30322:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"}},"src":"30309:25:17","typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"}},"id":5170,"nodeType":"ExpressionStatement","src":"30309:25:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5173,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5171,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5162,"src":"30348:10:17","typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5172,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5159,"src":"30362:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"30348:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5180,"nodeType":"IfStatement","src":"30344:97:17","trueBody":{"id":5179,"nodeType":"Block","src":"30369:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3634","id":5175,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30420:2:17","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},{"id":5176,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5159,"src":"30424:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5174,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"30390:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5177,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30390:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5178,"nodeType":"RevertStatement","src":"30383:47:17"}]}}]},"documentation":{"id":5157,"nodeType":"StructuredDocumentation","src":"29915:307:17","text":" @dev Returns the downcasted int64 from int256, reverting on\n overflow (when the input is less than smallest int64 or\n greater than largest int64).\n Counterpart to Solidity's `int64` operator.\n Requirements:\n - input must fit into 64 bits"},"id":5182,"implemented":true,"kind":"function","modifiers":[],"name":"toInt64","nameLocation":"30236:7:17","nodeType":"FunctionDefinition","parameters":{"id":5160,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5159,"mutability":"mutable","name":"value","nameLocation":"30251:5:17","nodeType":"VariableDeclaration","scope":5182,"src":"30244:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5158,"name":"int256","nodeType":"ElementaryTypeName","src":"30244:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"30243:14:17"},"returnParameters":{"id":5163,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5162,"mutability":"mutable","name":"downcasted","nameLocation":"30287:10:17","nodeType":"VariableDeclaration","scope":5182,"src":"30281:16:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"},"typeName":{"id":5161,"name":"int64","nodeType":"ElementaryTypeName","src":"30281:5:17","typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"}},"visibility":"internal"}],"src":"30280:18:17"},"scope":5405,"src":"30227:220:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5207,"nodeType":"Block","src":"30837:148:17","statements":[{"expression":{"id":5195,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5190,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5188,"src":"30847:10:17","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5193,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5185,"src":"30866:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5192,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"30860:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int56_$","typeString":"type(int56)"},"typeName":{"id":5191,"name":"int56","nodeType":"ElementaryTypeName","src":"30860:5:17","typeDescriptions":{}}},"id":5194,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30860:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"src":"30847:25:17","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"id":5196,"nodeType":"ExpressionStatement","src":"30847:25:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5199,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5197,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5188,"src":"30886:10:17","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5198,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5185,"src":"30900:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"30886:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5206,"nodeType":"IfStatement","src":"30882:97:17","trueBody":{"id":5205,"nodeType":"Block","src":"30907:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3536","id":5201,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30958:2:17","typeDescriptions":{"typeIdentifier":"t_rational_56_by_1","typeString":"int_const 56"},"value":"56"},{"id":5202,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5185,"src":"30962:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_56_by_1","typeString":"int_const 56"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5200,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"30928:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5203,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30928:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5204,"nodeType":"RevertStatement","src":"30921:47:17"}]}}]},"documentation":{"id":5183,"nodeType":"StructuredDocumentation","src":"30453:307:17","text":" @dev Returns the downcasted int56 from int256, reverting on\n overflow (when the input is less than smallest int56 or\n greater than largest int56).\n Counterpart to Solidity's `int56` operator.\n Requirements:\n - input must fit into 56 bits"},"id":5208,"implemented":true,"kind":"function","modifiers":[],"name":"toInt56","nameLocation":"30774:7:17","nodeType":"FunctionDefinition","parameters":{"id":5186,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5185,"mutability":"mutable","name":"value","nameLocation":"30789:5:17","nodeType":"VariableDeclaration","scope":5208,"src":"30782:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5184,"name":"int256","nodeType":"ElementaryTypeName","src":"30782:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"30781:14:17"},"returnParameters":{"id":5189,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5188,"mutability":"mutable","name":"downcasted","nameLocation":"30825:10:17","nodeType":"VariableDeclaration","scope":5208,"src":"30819:16:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"},"typeName":{"id":5187,"name":"int56","nodeType":"ElementaryTypeName","src":"30819:5:17","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"visibility":"internal"}],"src":"30818:18:17"},"scope":5405,"src":"30765:220:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5233,"nodeType":"Block","src":"31375:148:17","statements":[{"expression":{"id":5221,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5216,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5214,"src":"31385:10:17","typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5219,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5211,"src":"31404:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5218,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"31398:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int48_$","typeString":"type(int48)"},"typeName":{"id":5217,"name":"int48","nodeType":"ElementaryTypeName","src":"31398:5:17","typeDescriptions":{}}},"id":5220,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31398:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"}},"src":"31385:25:17","typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"}},"id":5222,"nodeType":"ExpressionStatement","src":"31385:25:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5225,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5223,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5214,"src":"31424:10:17","typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5224,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5211,"src":"31438:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"31424:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5232,"nodeType":"IfStatement","src":"31420:97:17","trueBody":{"id":5231,"nodeType":"Block","src":"31445:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3438","id":5227,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31496:2:17","typeDescriptions":{"typeIdentifier":"t_rational_48_by_1","typeString":"int_const 48"},"value":"48"},{"id":5228,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5211,"src":"31500:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_48_by_1","typeString":"int_const 48"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5226,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"31466:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5229,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31466:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5230,"nodeType":"RevertStatement","src":"31459:47:17"}]}}]},"documentation":{"id":5209,"nodeType":"StructuredDocumentation","src":"30991:307:17","text":" @dev Returns the downcasted int48 from int256, reverting on\n overflow (when the input is less than smallest int48 or\n greater than largest int48).\n Counterpart to Solidity's `int48` operator.\n Requirements:\n - input must fit into 48 bits"},"id":5234,"implemented":true,"kind":"function","modifiers":[],"name":"toInt48","nameLocation":"31312:7:17","nodeType":"FunctionDefinition","parameters":{"id":5212,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5211,"mutability":"mutable","name":"value","nameLocation":"31327:5:17","nodeType":"VariableDeclaration","scope":5234,"src":"31320:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5210,"name":"int256","nodeType":"ElementaryTypeName","src":"31320:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"31319:14:17"},"returnParameters":{"id":5215,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5214,"mutability":"mutable","name":"downcasted","nameLocation":"31363:10:17","nodeType":"VariableDeclaration","scope":5234,"src":"31357:16:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"},"typeName":{"id":5213,"name":"int48","nodeType":"ElementaryTypeName","src":"31357:5:17","typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"}},"visibility":"internal"}],"src":"31356:18:17"},"scope":5405,"src":"31303:220:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5259,"nodeType":"Block","src":"31913:148:17","statements":[{"expression":{"id":5247,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5242,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5240,"src":"31923:10:17","typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5245,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5237,"src":"31942:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5244,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"31936:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int40_$","typeString":"type(int40)"},"typeName":{"id":5243,"name":"int40","nodeType":"ElementaryTypeName","src":"31936:5:17","typeDescriptions":{}}},"id":5246,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31936:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"}},"src":"31923:25:17","typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"}},"id":5248,"nodeType":"ExpressionStatement","src":"31923:25:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5251,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5249,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5240,"src":"31962:10:17","typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5250,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5237,"src":"31976:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"31962:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5258,"nodeType":"IfStatement","src":"31958:97:17","trueBody":{"id":5257,"nodeType":"Block","src":"31983:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3430","id":5253,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"32034:2:17","typeDescriptions":{"typeIdentifier":"t_rational_40_by_1","typeString":"int_const 40"},"value":"40"},{"id":5254,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5237,"src":"32038:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_40_by_1","typeString":"int_const 40"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5252,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"32004:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5255,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32004:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5256,"nodeType":"RevertStatement","src":"31997:47:17"}]}}]},"documentation":{"id":5235,"nodeType":"StructuredDocumentation","src":"31529:307:17","text":" @dev Returns the downcasted int40 from int256, reverting on\n overflow (when the input is less than smallest int40 or\n greater than largest int40).\n Counterpart to Solidity's `int40` operator.\n Requirements:\n - input must fit into 40 bits"},"id":5260,"implemented":true,"kind":"function","modifiers":[],"name":"toInt40","nameLocation":"31850:7:17","nodeType":"FunctionDefinition","parameters":{"id":5238,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5237,"mutability":"mutable","name":"value","nameLocation":"31865:5:17","nodeType":"VariableDeclaration","scope":5260,"src":"31858:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5236,"name":"int256","nodeType":"ElementaryTypeName","src":"31858:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"31857:14:17"},"returnParameters":{"id":5241,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5240,"mutability":"mutable","name":"downcasted","nameLocation":"31901:10:17","nodeType":"VariableDeclaration","scope":5260,"src":"31895:16:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"},"typeName":{"id":5239,"name":"int40","nodeType":"ElementaryTypeName","src":"31895:5:17","typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"}},"visibility":"internal"}],"src":"31894:18:17"},"scope":5405,"src":"31841:220:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5285,"nodeType":"Block","src":"32451:148:17","statements":[{"expression":{"id":5273,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5268,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5266,"src":"32461:10:17","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5271,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5263,"src":"32480:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5270,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"32474:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":5269,"name":"int32","nodeType":"ElementaryTypeName","src":"32474:5:17","typeDescriptions":{}}},"id":5272,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32474:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"src":"32461:25:17","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"id":5274,"nodeType":"ExpressionStatement","src":"32461:25:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5275,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5266,"src":"32500:10:17","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5276,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5263,"src":"32514:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"32500:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5284,"nodeType":"IfStatement","src":"32496:97:17","trueBody":{"id":5283,"nodeType":"Block","src":"32521:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3332","id":5279,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"32572:2:17","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},{"id":5280,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5263,"src":"32576:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5278,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"32542:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5281,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32542:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5282,"nodeType":"RevertStatement","src":"32535:47:17"}]}}]},"documentation":{"id":5261,"nodeType":"StructuredDocumentation","src":"32067:307:17","text":" @dev Returns the downcasted int32 from int256, reverting on\n overflow (when the input is less than smallest int32 or\n greater than largest int32).\n Counterpart to Solidity's `int32` operator.\n Requirements:\n - input must fit into 32 bits"},"id":5286,"implemented":true,"kind":"function","modifiers":[],"name":"toInt32","nameLocation":"32388:7:17","nodeType":"FunctionDefinition","parameters":{"id":5264,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5263,"mutability":"mutable","name":"value","nameLocation":"32403:5:17","nodeType":"VariableDeclaration","scope":5286,"src":"32396:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5262,"name":"int256","nodeType":"ElementaryTypeName","src":"32396:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"32395:14:17"},"returnParameters":{"id":5267,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5266,"mutability":"mutable","name":"downcasted","nameLocation":"32439:10:17","nodeType":"VariableDeclaration","scope":5286,"src":"32433:16:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":5265,"name":"int32","nodeType":"ElementaryTypeName","src":"32433:5:17","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"32432:18:17"},"scope":5405,"src":"32379:220:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5311,"nodeType":"Block","src":"32989:148:17","statements":[{"expression":{"id":5299,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5294,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5292,"src":"32999:10:17","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5297,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5289,"src":"33018:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5296,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"33012:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"},"typeName":{"id":5295,"name":"int24","nodeType":"ElementaryTypeName","src":"33012:5:17","typeDescriptions":{}}},"id":5298,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33012:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"32999:25:17","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":5300,"nodeType":"ExpressionStatement","src":"32999:25:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5303,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5301,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5292,"src":"33038:10:17","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5302,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5289,"src":"33052:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"33038:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5310,"nodeType":"IfStatement","src":"33034:97:17","trueBody":{"id":5309,"nodeType":"Block","src":"33059:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3234","id":5305,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"33110:2:17","typeDescriptions":{"typeIdentifier":"t_rational_24_by_1","typeString":"int_const 24"},"value":"24"},{"id":5306,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5289,"src":"33114:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_24_by_1","typeString":"int_const 24"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5304,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"33080:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5307,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33080:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5308,"nodeType":"RevertStatement","src":"33073:47:17"}]}}]},"documentation":{"id":5287,"nodeType":"StructuredDocumentation","src":"32605:307:17","text":" @dev Returns the downcasted int24 from int256, reverting on\n overflow (when the input is less than smallest int24 or\n greater than largest int24).\n Counterpart to Solidity's `int24` operator.\n Requirements:\n - input must fit into 24 bits"},"id":5312,"implemented":true,"kind":"function","modifiers":[],"name":"toInt24","nameLocation":"32926:7:17","nodeType":"FunctionDefinition","parameters":{"id":5290,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5289,"mutability":"mutable","name":"value","nameLocation":"32941:5:17","nodeType":"VariableDeclaration","scope":5312,"src":"32934:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5288,"name":"int256","nodeType":"ElementaryTypeName","src":"32934:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"32933:14:17"},"returnParameters":{"id":5293,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5292,"mutability":"mutable","name":"downcasted","nameLocation":"32977:10:17","nodeType":"VariableDeclaration","scope":5312,"src":"32971:16:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":5291,"name":"int24","nodeType":"ElementaryTypeName","src":"32971:5:17","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"32970:18:17"},"scope":5405,"src":"32917:220:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5337,"nodeType":"Block","src":"33527:148:17","statements":[{"expression":{"id":5325,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5320,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5318,"src":"33537:10:17","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5323,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5315,"src":"33556:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5322,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"33550:5:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int16_$","typeString":"type(int16)"},"typeName":{"id":5321,"name":"int16","nodeType":"ElementaryTypeName","src":"33550:5:17","typeDescriptions":{}}},"id":5324,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33550:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"src":"33537:25:17","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"id":5326,"nodeType":"ExpressionStatement","src":"33537:25:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5327,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5318,"src":"33576:10:17","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5328,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5315,"src":"33590:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"33576:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5336,"nodeType":"IfStatement","src":"33572:97:17","trueBody":{"id":5335,"nodeType":"Block","src":"33597:72:17","statements":[{"errorCall":{"arguments":[{"hexValue":"3136","id":5331,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"33648:2:17","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},{"id":5332,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5315,"src":"33652:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5330,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"33618:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5333,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33618:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5334,"nodeType":"RevertStatement","src":"33611:47:17"}]}}]},"documentation":{"id":5313,"nodeType":"StructuredDocumentation","src":"33143:307:17","text":" @dev Returns the downcasted int16 from int256, reverting on\n overflow (when the input is less than smallest int16 or\n greater than largest int16).\n Counterpart to Solidity's `int16` operator.\n Requirements:\n - input must fit into 16 bits"},"id":5338,"implemented":true,"kind":"function","modifiers":[],"name":"toInt16","nameLocation":"33464:7:17","nodeType":"FunctionDefinition","parameters":{"id":5316,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5315,"mutability":"mutable","name":"value","nameLocation":"33479:5:17","nodeType":"VariableDeclaration","scope":5338,"src":"33472:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5314,"name":"int256","nodeType":"ElementaryTypeName","src":"33472:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"33471:14:17"},"returnParameters":{"id":5319,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5318,"mutability":"mutable","name":"downcasted","nameLocation":"33515:10:17","nodeType":"VariableDeclaration","scope":5338,"src":"33509:16:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"},"typeName":{"id":5317,"name":"int16","nodeType":"ElementaryTypeName","src":"33509:5:17","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"}],"src":"33508:18:17"},"scope":5405,"src":"33455:220:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5363,"nodeType":"Block","src":"34058:146:17","statements":[{"expression":{"id":5351,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5346,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5344,"src":"34068:10:17","typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5349,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5341,"src":"34086:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5348,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"34081:4:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int8_$","typeString":"type(int8)"},"typeName":{"id":5347,"name":"int8","nodeType":"ElementaryTypeName","src":"34081:4:17","typeDescriptions":{}}},"id":5350,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34081:11:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"}},"src":"34068:24:17","typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"}},"id":5352,"nodeType":"ExpressionStatement","src":"34068:24:17"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5355,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5353,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5344,"src":"34106:10:17","typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5354,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5341,"src":"34120:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"34106:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5362,"nodeType":"IfStatement","src":"34102:96:17","trueBody":{"id":5361,"nodeType":"Block","src":"34127:71:17","statements":[{"errorCall":{"arguments":[{"hexValue":"38","id":5357,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"34178:1:17","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},{"id":5358,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5341,"src":"34181:5:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5356,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3662,"src":"34148:29:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":5359,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34148:39:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5360,"nodeType":"RevertStatement","src":"34141:46:17"}]}}]},"documentation":{"id":5339,"nodeType":"StructuredDocumentation","src":"33681:302:17","text":" @dev Returns the downcasted int8 from int256, reverting on\n overflow (when the input is less than smallest int8 or\n greater than largest int8).\n Counterpart to Solidity's `int8` operator.\n Requirements:\n - input must fit into 8 bits"},"id":5364,"implemented":true,"kind":"function","modifiers":[],"name":"toInt8","nameLocation":"33997:6:17","nodeType":"FunctionDefinition","parameters":{"id":5342,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5341,"mutability":"mutable","name":"value","nameLocation":"34011:5:17","nodeType":"VariableDeclaration","scope":5364,"src":"34004:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5340,"name":"int256","nodeType":"ElementaryTypeName","src":"34004:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"34003:14:17"},"returnParameters":{"id":5345,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5344,"mutability":"mutable","name":"downcasted","nameLocation":"34046:10:17","nodeType":"VariableDeclaration","scope":5364,"src":"34041:15:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"},"typeName":{"id":5343,"name":"int8","nodeType":"ElementaryTypeName","src":"34041:4:17","typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"}},"visibility":"internal"}],"src":"34040:17:17"},"scope":5405,"src":"33988:216:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5393,"nodeType":"Block","src":"34444:250:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5381,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5372,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5367,"src":"34557:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"arguments":[{"expression":{"arguments":[{"id":5377,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"34578:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":5376,"name":"int256","nodeType":"ElementaryTypeName","src":"34578:6:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"}],"id":5375,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"34573:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":5378,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34573:12:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_int256","typeString":"type(int256)"}},"id":5379,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"34586:3:17","memberName":"max","nodeType":"MemberAccess","src":"34573:16:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5374,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"34565:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":5373,"name":"uint256","nodeType":"ElementaryTypeName","src":"34565:7:17","typeDescriptions":{}}},"id":5380,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34565:25:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"34557:33:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5387,"nodeType":"IfStatement","src":"34553:105:17","trueBody":{"id":5386,"nodeType":"Block","src":"34592:66:17","statements":[{"errorCall":{"arguments":[{"id":5383,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5367,"src":"34641:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5382,"name":"SafeCastOverflowedUintToInt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3667,"src":"34613:27:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":5384,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34613:34:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5385,"nodeType":"RevertStatement","src":"34606:41:17"}]}},{"expression":{"arguments":[{"id":5390,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5367,"src":"34681:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5389,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"34674:6:17","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":5388,"name":"int256","nodeType":"ElementaryTypeName","src":"34674:6:17","typeDescriptions":{}}},"id":5391,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34674:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":5371,"id":5392,"nodeType":"Return","src":"34667:20:17"}]},"documentation":{"id":5365,"nodeType":"StructuredDocumentation","src":"34210:165:17","text":" @dev Converts an unsigned uint256 into a signed int256.\n Requirements:\n - input must be less than or equal to maxInt256."},"id":5394,"implemented":true,"kind":"function","modifiers":[],"name":"toInt256","nameLocation":"34389:8:17","nodeType":"FunctionDefinition","parameters":{"id":5368,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5367,"mutability":"mutable","name":"value","nameLocation":"34406:5:17","nodeType":"VariableDeclaration","scope":5394,"src":"34398:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5366,"name":"uint256","nodeType":"ElementaryTypeName","src":"34398:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"34397:15:17"},"returnParameters":{"id":5371,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5370,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5394,"src":"34436:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5369,"name":"int256","nodeType":"ElementaryTypeName","src":"34436:6:17","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"34435:8:17"},"scope":5405,"src":"34380:314:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5403,"nodeType":"Block","src":"34853:87:17","statements":[{"AST":{"nativeSrc":"34888:46:17","nodeType":"YulBlock","src":"34888:46:17","statements":[{"nativeSrc":"34902:22:17","nodeType":"YulAssignment","src":"34902:22:17","value":{"arguments":[{"arguments":[{"name":"b","nativeSrc":"34921:1:17","nodeType":"YulIdentifier","src":"34921:1:17"}],"functionName":{"name":"iszero","nativeSrc":"34914:6:17","nodeType":"YulIdentifier","src":"34914:6:17"},"nativeSrc":"34914:9:17","nodeType":"YulFunctionCall","src":"34914:9:17"}],"functionName":{"name":"iszero","nativeSrc":"34907:6:17","nodeType":"YulIdentifier","src":"34907:6:17"},"nativeSrc":"34907:17:17","nodeType":"YulFunctionCall","src":"34907:17:17"},"variableNames":[{"name":"u","nativeSrc":"34902:1:17","nodeType":"YulIdentifier","src":"34902:1:17"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":5397,"isOffset":false,"isSlot":false,"src":"34921:1:17","valueSize":1},{"declaration":5400,"isOffset":false,"isSlot":false,"src":"34902:1:17","valueSize":1}],"flags":["memory-safe"],"id":5402,"nodeType":"InlineAssembly","src":"34863:71:17"}]},"documentation":{"id":5395,"nodeType":"StructuredDocumentation","src":"34700:90:17","text":" @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump."},"id":5404,"implemented":true,"kind":"function","modifiers":[],"name":"toUint","nameLocation":"34804:6:17","nodeType":"FunctionDefinition","parameters":{"id":5398,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5397,"mutability":"mutable","name":"b","nameLocation":"34816:1:17","nodeType":"VariableDeclaration","scope":5404,"src":"34811:6:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5396,"name":"bool","nodeType":"ElementaryTypeName","src":"34811:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"34810:8:17"},"returnParameters":{"id":5401,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5400,"mutability":"mutable","name":"u","nameLocation":"34850:1:17","nodeType":"VariableDeclaration","scope":5404,"src":"34842:9:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5399,"name":"uint256","nodeType":"ElementaryTypeName","src":"34842:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"34841:11:17"},"scope":5405,"src":"34795:145:17","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":5406,"src":"769:34173:17","usedErrors":[3650,3655,3662,3667],"usedEvents":[]}],"src":"192:34751:17"},"id":17},"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol":{"ast":{"absolutePath":"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol","exportedSymbols":{"IUniswapV3SwapCallback":[5419]},"id":5420,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":5407,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:18"},{"abstract":false,"baseContracts":[],"canonicalName":"IUniswapV3SwapCallback","contractDependencies":[],"contractKind":"interface","documentation":{"id":5408,"nodeType":"StructuredDocumentation","src":"71:144:18","text":"@title Callback for IUniswapV3PoolActions#swap\n @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface"},"fullyImplemented":false,"id":5419,"linearizedBaseContracts":[5419],"name":"IUniswapV3SwapCallback","nameLocation":"225:22:18","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":5409,"nodeType":"StructuredDocumentation","src":"254:898:18","text":"@notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\n @dev In the implementation you must pay the pool tokens owed for the swap.\n The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.\n amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\n @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by\n the end of the swap. If positive, the callback must send that amount of token0 to the pool.\n @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by\n the end of the swap. If positive, the callback must send that amount of token1 to the pool.\n @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call"},"functionSelector":"fa461e33","id":5418,"implemented":false,"kind":"function","modifiers":[],"name":"uniswapV3SwapCallback","nameLocation":"1166:21:18","nodeType":"FunctionDefinition","parameters":{"id":5416,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5411,"mutability":"mutable","name":"amount0Delta","nameLocation":"1204:12:18","nodeType":"VariableDeclaration","scope":5418,"src":"1197:19:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5410,"name":"int256","nodeType":"ElementaryTypeName","src":"1197:6:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":5413,"mutability":"mutable","name":"amount1Delta","nameLocation":"1233:12:18","nodeType":"VariableDeclaration","scope":5418,"src":"1226:19:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5412,"name":"int256","nodeType":"ElementaryTypeName","src":"1226:6:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":5415,"mutability":"mutable","name":"data","nameLocation":"1270:4:18","nodeType":"VariableDeclaration","scope":5418,"src":"1255:19:18","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":5414,"name":"bytes","nodeType":"ElementaryTypeName","src":"1255:5:18","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1187:93:18"},"returnParameters":{"id":5417,"nodeType":"ParameterList","parameters":[],"src":"1289:0:18"},"scope":5419,"src":"1157:133:18","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":5420,"src":"215:1077:18","usedErrors":[],"usedEvents":[]}],"src":"45:1248:18"},"id":18},"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol":{"ast":{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol","exportedSymbols":{"ISwapRouter":[5519],"IUniswapV3SwapCallback":[5419]},"id":5520,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":5421,"literals":["solidity",">=","0.7",".5"],"nodeType":"PragmaDirective","src":"45:24:19"},{"id":5422,"literals":["abicoder","v2"],"nodeType":"PragmaDirective","src":"70:19:19"},{"absolutePath":"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol","file":"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol","id":5423,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5520,"sourceUnit":5420,"src":"91:83:19","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":5425,"name":"IUniswapV3SwapCallback","nameLocations":["305:22:19"],"nodeType":"IdentifierPath","referencedDeclaration":5419,"src":"305:22:19"},"id":5426,"nodeType":"InheritanceSpecifier","src":"305:22:19"}],"canonicalName":"ISwapRouter","contractDependencies":[],"contractKind":"interface","documentation":{"id":5424,"nodeType":"StructuredDocumentation","src":"176:104:19","text":"@title Router token swapping functionality\n @notice Functions for swapping tokens via Uniswap V3"},"fullyImplemented":false,"id":5519,"linearizedBaseContracts":[5519,5419],"name":"ISwapRouter","nameLocation":"290:11:19","nodeType":"ContractDefinition","nodes":[{"canonicalName":"ISwapRouter.ExactInputSingleParams","id":5443,"members":[{"constant":false,"id":5428,"mutability":"mutable","name":"tokenIn","nameLocation":"382:7:19","nodeType":"VariableDeclaration","scope":5443,"src":"374:15:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5427,"name":"address","nodeType":"ElementaryTypeName","src":"374:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5430,"mutability":"mutable","name":"tokenOut","nameLocation":"407:8:19","nodeType":"VariableDeclaration","scope":5443,"src":"399:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5429,"name":"address","nodeType":"ElementaryTypeName","src":"399:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5432,"mutability":"mutable","name":"fee","nameLocation":"432:3:19","nodeType":"VariableDeclaration","scope":5443,"src":"425:10:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5431,"name":"uint24","nodeType":"ElementaryTypeName","src":"425:6:19","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":5434,"mutability":"mutable","name":"recipient","nameLocation":"453:9:19","nodeType":"VariableDeclaration","scope":5443,"src":"445:17:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5433,"name":"address","nodeType":"ElementaryTypeName","src":"445:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5436,"mutability":"mutable","name":"deadline","nameLocation":"480:8:19","nodeType":"VariableDeclaration","scope":5443,"src":"472:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5435,"name":"uint256","nodeType":"ElementaryTypeName","src":"472:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5438,"mutability":"mutable","name":"amountIn","nameLocation":"506:8:19","nodeType":"VariableDeclaration","scope":5443,"src":"498:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5437,"name":"uint256","nodeType":"ElementaryTypeName","src":"498:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5440,"mutability":"mutable","name":"amountOutMinimum","nameLocation":"532:16:19","nodeType":"VariableDeclaration","scope":5443,"src":"524:24:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5439,"name":"uint256","nodeType":"ElementaryTypeName","src":"524:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5442,"mutability":"mutable","name":"sqrtPriceLimitX96","nameLocation":"566:17:19","nodeType":"VariableDeclaration","scope":5443,"src":"558:25:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":5441,"name":"uint160","nodeType":"ElementaryTypeName","src":"558:7:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"name":"ExactInputSingleParams","nameLocation":"341:22:19","nodeType":"StructDefinition","scope":5519,"src":"334:256:19","visibility":"public"},{"documentation":{"id":5444,"nodeType":"StructuredDocumentation","src":"596:250:19","text":"@notice Swaps `amountIn` of one token for as much as possible of another token\n @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata\n @return amountOut The amount of the received token"},"functionSelector":"414bf389","id":5452,"implemented":false,"kind":"function","modifiers":[],"name":"exactInputSingle","nameLocation":"860:16:19","nodeType":"FunctionDefinition","parameters":{"id":5448,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5447,"mutability":"mutable","name":"params","nameLocation":"909:6:19","nodeType":"VariableDeclaration","scope":5452,"src":"877:38:19","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams"},"typeName":{"id":5446,"nodeType":"UserDefinedTypeName","pathNode":{"id":5445,"name":"ExactInputSingleParams","nameLocations":["877:22:19"],"nodeType":"IdentifierPath","referencedDeclaration":5443,"src":"877:22:19"},"referencedDeclaration":5443,"src":"877:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_storage_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams"}},"visibility":"internal"}],"src":"876:40:19"},"returnParameters":{"id":5451,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5450,"mutability":"mutable","name":"amountOut","nameLocation":"951:9:19","nodeType":"VariableDeclaration","scope":5452,"src":"943:17:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5449,"name":"uint256","nodeType":"ElementaryTypeName","src":"943:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"942:19:19"},"scope":5519,"src":"851:111:19","stateMutability":"payable","virtual":false,"visibility":"external"},{"canonicalName":"ISwapRouter.ExactInputParams","id":5463,"members":[{"constant":false,"id":5454,"mutability":"mutable","name":"path","nameLocation":"1008:4:19","nodeType":"VariableDeclaration","scope":5463,"src":"1002:10:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":5453,"name":"bytes","nodeType":"ElementaryTypeName","src":"1002:5:19","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5456,"mutability":"mutable","name":"recipient","nameLocation":"1030:9:19","nodeType":"VariableDeclaration","scope":5463,"src":"1022:17:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5455,"name":"address","nodeType":"ElementaryTypeName","src":"1022:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5458,"mutability":"mutable","name":"deadline","nameLocation":"1057:8:19","nodeType":"VariableDeclaration","scope":5463,"src":"1049:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5457,"name":"uint256","nodeType":"ElementaryTypeName","src":"1049:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5460,"mutability":"mutable","name":"amountIn","nameLocation":"1083:8:19","nodeType":"VariableDeclaration","scope":5463,"src":"1075:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5459,"name":"uint256","nodeType":"ElementaryTypeName","src":"1075:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5462,"mutability":"mutable","name":"amountOutMinimum","nameLocation":"1109:16:19","nodeType":"VariableDeclaration","scope":5463,"src":"1101:24:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5461,"name":"uint256","nodeType":"ElementaryTypeName","src":"1101:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"ExactInputParams","nameLocation":"975:16:19","nodeType":"StructDefinition","scope":5519,"src":"968:164:19","visibility":"public"},{"documentation":{"id":5464,"nodeType":"StructuredDocumentation","src":"1138:273:19","text":"@notice Swaps `amountIn` of one token for as much as possible of another along the specified path\n @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata\n @return amountOut The amount of the received token"},"functionSelector":"c04b8d59","id":5472,"implemented":false,"kind":"function","modifiers":[],"name":"exactInput","nameLocation":"1425:10:19","nodeType":"FunctionDefinition","parameters":{"id":5468,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5467,"mutability":"mutable","name":"params","nameLocation":"1462:6:19","nodeType":"VariableDeclaration","scope":5472,"src":"1436:32:19","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$5463_calldata_ptr","typeString":"struct ISwapRouter.ExactInputParams"},"typeName":{"id":5466,"nodeType":"UserDefinedTypeName","pathNode":{"id":5465,"name":"ExactInputParams","nameLocations":["1436:16:19"],"nodeType":"IdentifierPath","referencedDeclaration":5463,"src":"1436:16:19"},"referencedDeclaration":5463,"src":"1436:16:19","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$5463_storage_ptr","typeString":"struct ISwapRouter.ExactInputParams"}},"visibility":"internal"}],"src":"1435:34:19"},"returnParameters":{"id":5471,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5470,"mutability":"mutable","name":"amountOut","nameLocation":"1504:9:19","nodeType":"VariableDeclaration","scope":5472,"src":"1496:17:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5469,"name":"uint256","nodeType":"ElementaryTypeName","src":"1496:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1495:19:19"},"scope":5519,"src":"1416:99:19","stateMutability":"payable","virtual":false,"visibility":"external"},{"canonicalName":"ISwapRouter.ExactOutputSingleParams","id":5489,"members":[{"constant":false,"id":5474,"mutability":"mutable","name":"tokenIn","nameLocation":"1570:7:19","nodeType":"VariableDeclaration","scope":5489,"src":"1562:15:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5473,"name":"address","nodeType":"ElementaryTypeName","src":"1562:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5476,"mutability":"mutable","name":"tokenOut","nameLocation":"1595:8:19","nodeType":"VariableDeclaration","scope":5489,"src":"1587:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5475,"name":"address","nodeType":"ElementaryTypeName","src":"1587:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5478,"mutability":"mutable","name":"fee","nameLocation":"1620:3:19","nodeType":"VariableDeclaration","scope":5489,"src":"1613:10:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5477,"name":"uint24","nodeType":"ElementaryTypeName","src":"1613:6:19","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":5480,"mutability":"mutable","name":"recipient","nameLocation":"1641:9:19","nodeType":"VariableDeclaration","scope":5489,"src":"1633:17:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5479,"name":"address","nodeType":"ElementaryTypeName","src":"1633:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5482,"mutability":"mutable","name":"deadline","nameLocation":"1668:8:19","nodeType":"VariableDeclaration","scope":5489,"src":"1660:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5481,"name":"uint256","nodeType":"ElementaryTypeName","src":"1660:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5484,"mutability":"mutable","name":"amountOut","nameLocation":"1694:9:19","nodeType":"VariableDeclaration","scope":5489,"src":"1686:17:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5483,"name":"uint256","nodeType":"ElementaryTypeName","src":"1686:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5486,"mutability":"mutable","name":"amountInMaximum","nameLocation":"1721:15:19","nodeType":"VariableDeclaration","scope":5489,"src":"1713:23:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5485,"name":"uint256","nodeType":"ElementaryTypeName","src":"1713:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5488,"mutability":"mutable","name":"sqrtPriceLimitX96","nameLocation":"1754:17:19","nodeType":"VariableDeclaration","scope":5489,"src":"1746:25:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":5487,"name":"uint160","nodeType":"ElementaryTypeName","src":"1746:7:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"name":"ExactOutputSingleParams","nameLocation":"1528:23:19","nodeType":"StructDefinition","scope":5519,"src":"1521:257:19","visibility":"public"},{"documentation":{"id":5490,"nodeType":"StructuredDocumentation","src":"1784:250:19","text":"@notice Swaps as little as possible of one token for `amountOut` of another token\n @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata\n @return amountIn The amount of the input token"},"functionSelector":"db3e2198","id":5498,"implemented":false,"kind":"function","modifiers":[],"name":"exactOutputSingle","nameLocation":"2048:17:19","nodeType":"FunctionDefinition","parameters":{"id":5494,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5493,"mutability":"mutable","name":"params","nameLocation":"2099:6:19","nodeType":"VariableDeclaration","scope":5498,"src":"2066:39:19","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams"},"typeName":{"id":5492,"nodeType":"UserDefinedTypeName","pathNode":{"id":5491,"name":"ExactOutputSingleParams","nameLocations":["2066:23:19"],"nodeType":"IdentifierPath","referencedDeclaration":5489,"src":"2066:23:19"},"referencedDeclaration":5489,"src":"2066:23:19","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_storage_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams"}},"visibility":"internal"}],"src":"2065:41:19"},"returnParameters":{"id":5497,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5496,"mutability":"mutable","name":"amountIn","nameLocation":"2141:8:19","nodeType":"VariableDeclaration","scope":5498,"src":"2133:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5495,"name":"uint256","nodeType":"ElementaryTypeName","src":"2133:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2132:18:19"},"scope":5519,"src":"2039:112:19","stateMutability":"payable","virtual":false,"visibility":"external"},{"canonicalName":"ISwapRouter.ExactOutputParams","id":5509,"members":[{"constant":false,"id":5500,"mutability":"mutable","name":"path","nameLocation":"2198:4:19","nodeType":"VariableDeclaration","scope":5509,"src":"2192:10:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":5499,"name":"bytes","nodeType":"ElementaryTypeName","src":"2192:5:19","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5502,"mutability":"mutable","name":"recipient","nameLocation":"2220:9:19","nodeType":"VariableDeclaration","scope":5509,"src":"2212:17:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5501,"name":"address","nodeType":"ElementaryTypeName","src":"2212:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5504,"mutability":"mutable","name":"deadline","nameLocation":"2247:8:19","nodeType":"VariableDeclaration","scope":5509,"src":"2239:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5503,"name":"uint256","nodeType":"ElementaryTypeName","src":"2239:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5506,"mutability":"mutable","name":"amountOut","nameLocation":"2273:9:19","nodeType":"VariableDeclaration","scope":5509,"src":"2265:17:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5505,"name":"uint256","nodeType":"ElementaryTypeName","src":"2265:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5508,"mutability":"mutable","name":"amountInMaximum","nameLocation":"2300:15:19","nodeType":"VariableDeclaration","scope":5509,"src":"2292:23:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5507,"name":"uint256","nodeType":"ElementaryTypeName","src":"2292:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"ExactOutputParams","nameLocation":"2164:17:19","nodeType":"StructDefinition","scope":5519,"src":"2157:165:19","visibility":"public"},{"documentation":{"id":5510,"nodeType":"StructuredDocumentation","src":"2328:284:19","text":"@notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)\n @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata\n @return amountIn The amount of the input token"},"functionSelector":"f28c0498","id":5518,"implemented":false,"kind":"function","modifiers":[],"name":"exactOutput","nameLocation":"2626:11:19","nodeType":"FunctionDefinition","parameters":{"id":5514,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5513,"mutability":"mutable","name":"params","nameLocation":"2665:6:19","nodeType":"VariableDeclaration","scope":5518,"src":"2638:33:19","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$5509_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputParams"},"typeName":{"id":5512,"nodeType":"UserDefinedTypeName","pathNode":{"id":5511,"name":"ExactOutputParams","nameLocations":["2638:17:19"],"nodeType":"IdentifierPath","referencedDeclaration":5509,"src":"2638:17:19"},"referencedDeclaration":5509,"src":"2638:17:19","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$5509_storage_ptr","typeString":"struct ISwapRouter.ExactOutputParams"}},"visibility":"internal"}],"src":"2637:35:19"},"returnParameters":{"id":5517,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5516,"mutability":"mutable","name":"amountIn","nameLocation":"2707:8:19","nodeType":"VariableDeclaration","scope":5518,"src":"2699:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5515,"name":"uint256","nodeType":"ElementaryTypeName","src":"2699:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2698:18:19"},"scope":5519,"src":"2617:100:19","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":5520,"src":"280:2439:19","usedErrors":[],"usedEvents":[]}],"src":"45:2675:19"},"id":19},"contracts/CurveRoutes.sol":{"ast":{"absolutePath":"contracts/CurveRoutes.sol","exportedSymbols":{"BytesLib":[8674],"CurveRoutes":[6109],"ICurveRouter":[7646]},"id":6110,"license":"Apache-2.0","nodeType":"SourceUnit","nodes":[{"id":5521,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"39:23:20"},{"absolutePath":"contracts/dependencies/ICurveRouter.sol","file":"./dependencies/ICurveRouter.sol","id":5523,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6110,"sourceUnit":7647,"src":"64:61:20","symbolAliases":[{"foreign":{"id":5522,"name":"ICurveRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7646,"src":"72:12:20","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"solidity-bytes-utils/contracts/BytesLib.sol","file":"solidity-bytes-utils/contracts/BytesLib.sol","id":5525,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6110,"sourceUnit":8675,"src":"126:69:20","symbolAliases":[{"foreign":{"id":5524,"name":"BytesLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8674,"src":"134:8:20","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"CurveRoutes","contractDependencies":[],"contractKind":"library","documentation":{"id":5526,"nodeType":"StructuredDocumentation","src":"197:641:20","text":" @title Library to access a set of curve routes stored as tightly packed bytes\n @dev The format is a concatenation of bytes, packed (ethers.solidityPack in js) with the following fields\n      Fields:\n      <ICurveRouter router>\n      <uint8 numberOfRoutes>\n      -- for each route --\n      <uint8 numberOfSwaps>\n      <address route[i] for i in range((numberOfSwaps * 2) + 1)\n      <uint8 swapParam[i][j] for i in range(numberOfSwaps) for j in range(5)>\n      <address pool[i] for in range(numberOfSwaps)\n      -- end - for each route --\n @custom:security-contact security@ensuro.co\n @author Ensuro"},"fullyImplemented":true,"id":6109,"linearizedBaseContracts":[6109],"name":"CurveRoutes","nameLocation":"847:11:20","nodeType":"ContractDefinition","nodes":[{"global":false,"id":5529,"libraryName":{"id":5527,"name":"BytesLib","nameLocations":["869:8:20"],"nodeType":"IdentifierPath","referencedDeclaration":8674,"src":"869:8:20"},"nodeType":"UsingForDirective","src":"863:25:20","typeName":{"id":5528,"name":"bytes","nodeType":"ElementaryTypeName","src":"882:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"constant":true,"id":5532,"mutability":"constant","name":"ADDRESS_SIZE","nameLocation":"917:12:20","nodeType":"VariableDeclaration","scope":6109,"src":"891:43:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5530,"name":"uint256","nodeType":"ElementaryTypeName","src":"891:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"3230","id":5531,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"932:2:20","typeDescriptions":{"typeIdentifier":"t_rational_20_by_1","typeString":"int_const 20"},"value":"20"},"visibility":"internal"},{"constant":true,"id":5535,"mutability":"constant","name":"UINT8_SIZE","nameLocation":"964:10:20","nodeType":"VariableDeclaration","scope":6109,"src":"938:40:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5533,"name":"uint256","nodeType":"ElementaryTypeName","src":"938:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"31","id":5534,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"977:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"visibility":"internal"},{"constant":true,"id":5538,"mutability":"constant","name":"MAX_SWAPS","nameLocation":"1008:9:20","nodeType":"VariableDeclaration","scope":6109,"src":"982:39:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5536,"name":"uint256","nodeType":"ElementaryTypeName","src":"982:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"35","id":5537,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1020:1:20","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"visibility":"internal"},{"constant":true,"id":5541,"mutability":"constant","name":"ROUTER_OFFSET","nameLocation":"1051:13:20","nodeType":"VariableDeclaration","scope":6109,"src":"1025:43:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5539,"name":"uint256","nodeType":"ElementaryTypeName","src":"1025:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30","id":5540,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1067:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"visibility":"internal"},{"constant":true,"id":5546,"mutability":"constant","name":"N_ROUTES_OFFSET","nameLocation":"1098:15:20","nodeType":"VariableDeclaration","scope":6109,"src":"1072:72:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5542,"name":"uint256","nodeType":"ElementaryTypeName","src":"1072:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5545,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"id":5543,"name":"ROUTER_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5541,"src":"1116:13:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":5544,"name":"ADDRESS_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5532,"src":"1132:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1116:28:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":true,"id":5551,"mutability":"constant","name":"ROUTES_BASE_OFFSET","nameLocation":"1174:18:20","nodeType":"VariableDeclaration","scope":6109,"src":"1148:75:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5547,"name":"uint256","nodeType":"ElementaryTypeName","src":"1148:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5550,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"id":5548,"name":"N_ROUTES_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5546,"src":"1195:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":5549,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"1213:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1195:28:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"canonicalName":"CurveRoutes.CurveRoute","id":5567,"members":[{"constant":false,"id":5555,"mutability":"mutable","name":"route","nameLocation":"1264:5:20","nodeType":"VariableDeclaration","scope":5567,"src":"1252:17:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":5552,"name":"address","nodeType":"ElementaryTypeName","src":"1252:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5554,"length":{"hexValue":"3131","id":5553,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1260:2:20","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"1252:11:20","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":5562,"mutability":"mutable","name":"swapParams","nameLocation":"1482:10:20","nodeType":"VariableDeclaration","scope":5567,"src":"1460:32:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":5557,"name":"uint256","nodeType":"ElementaryTypeName","src":"1460:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5559,"length":{"id":5558,"name":"MAX_SWAPS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5538,"src":"1468:9:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"ArrayTypeName","src":"1460:18:20","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":5561,"length":{"hexValue":"35","id":5560,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1479:1:20","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1460:21:20","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":5566,"mutability":"mutable","name":"pools","nameLocation":"1517:5:20","nodeType":"VariableDeclaration","scope":5567,"src":"1498:24:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":5563,"name":"address","nodeType":"ElementaryTypeName","src":"1498:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5565,"length":{"id":5564,"name":"MAX_SWAPS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5538,"src":"1506:9:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"ArrayTypeName","src":"1498:18:20","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"}],"name":"CurveRoute","nameLocation":"1235:10:20","nodeType":"StructDefinition","scope":6109,"src":"1228:299:20","visibility":"public"},{"errorSelector":"e3683637","id":5569,"name":"CurveRouterCantBeZero","nameLocation":"1537:21:20","nodeType":"ErrorDefinition","parameters":{"id":5568,"nodeType":"ParameterList","parameters":[],"src":"1558:2:20"},"src":"1531:30:20"},{"errorSelector":"0f64c3f8","id":5571,"name":"AtLeastOneRoute","nameLocation":"1570:15:20","nodeType":"ErrorDefinition","parameters":{"id":5570,"nodeType":"ParameterList","parameters":[],"src":"1585:2:20"},"src":"1564:24:20"},{"errorSelector":"947d5a84","id":5573,"name":"InvalidLength","nameLocation":"1597:13:20","nodeType":"ErrorDefinition","parameters":{"id":5572,"nodeType":"ParameterList","parameters":[],"src":"1610:2:20"},"src":"1591:22:20"},{"errorSelector":"5875b111","id":5578,"name":"InvalidRoute","nameLocation":"1622:12:20","nodeType":"ErrorDefinition","parameters":{"id":5577,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5576,"mutability":"mutable","name":"route","nameLocation":"1646:5:20","nodeType":"VariableDeclaration","scope":5578,"src":"1635:16:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute"},"typeName":{"id":5575,"nodeType":"UserDefinedTypeName","pathNode":{"id":5574,"name":"CurveRoute","nameLocations":["1635:10:20"],"nodeType":"IdentifierPath","referencedDeclaration":5567,"src":"1635:10:20"},"referencedDeclaration":5567,"src":"1635:10:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_storage_ptr","typeString":"struct CurveRoutes.CurveRoute"}},"visibility":"internal"}],"src":"1634:18:20"},"src":"1616:37:20"},{"errorSelector":"b60616b2","id":5582,"name":"TooManySwaps","nameLocation":"1662:12:20","nodeType":"ErrorDefinition","parameters":{"id":5581,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5580,"mutability":"mutable","name":"nSwaps","nameLocation":"1681:6:20","nodeType":"VariableDeclaration","scope":5582,"src":"1675:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":5579,"name":"uint8","nodeType":"ElementaryTypeName","src":"1675:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"1674:14:20"},"src":"1656:33:20"},{"errorSelector":"8c9aec7b","id":5588,"name":"RouteNotFound","nameLocation":"1698:13:20","nodeType":"ErrorDefinition","parameters":{"id":5587,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5584,"mutability":"mutable","name":"tokenIn","nameLocation":"1720:7:20","nodeType":"VariableDeclaration","scope":5588,"src":"1712:15:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5583,"name":"address","nodeType":"ElementaryTypeName","src":"1712:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5586,"mutability":"mutable","name":"tokenOut","nameLocation":"1737:8:20","nodeType":"VariableDeclaration","scope":5588,"src":"1729:16:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5585,"name":"address","nodeType":"ElementaryTypeName","src":"1729:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1711:35:20"},"src":"1692:55:20"},{"body":{"id":5746,"nodeType":"Block","src":"1809:871:20","statements":[{"assignments":[5595],"declarations":[{"constant":false,"id":5595,"mutability":"mutable","name":"router","nameLocation":"1828:6:20","nodeType":"VariableDeclaration","scope":5746,"src":"1815:19:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"},"typeName":{"id":5594,"nodeType":"UserDefinedTypeName","pathNode":{"id":5593,"name":"ICurveRouter","nameLocations":["1815:12:20"],"nodeType":"IdentifierPath","referencedDeclaration":7646,"src":"1815:12:20"},"referencedDeclaration":7646,"src":"1815:12:20","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"visibility":"internal"}],"id":5602,"initialValue":{"arguments":[{"arguments":[{"id":5599,"name":"ROUTER_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5541,"src":"1872:13:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5597,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5590,"src":"1850:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5598,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1862:9:20","memberName":"toAddress","nodeType":"MemberAccess","referencedDeclaration":8431,"src":"1850:21:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (address)"}},"id":5600,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1850:36:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5596,"name":"ICurveRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7646,"src":"1837:12:20","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ICurveRouter_$7646_$","typeString":"type(contract ICurveRouter)"}},"id":5601,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1837:50:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"nodeType":"VariableDeclarationStatement","src":"1815:72:20"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5611,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5605,"name":"router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5595,"src":"1905:6:20","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}],"id":5604,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1897:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5603,"name":"address","nodeType":"ElementaryTypeName","src":"1897:7:20","typeDescriptions":{}}},"id":5606,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1897:15:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":5609,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1924:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":5608,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1916:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5607,"name":"address","nodeType":"ElementaryTypeName","src":"1916:7:20","typeDescriptions":{}}},"id":5610,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1916:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1897:29:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5615,"nodeType":"IfStatement","src":"1893:65:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5612,"name":"CurveRouterCantBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5569,"src":"1935:21:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":5613,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1935:23:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5614,"nodeType":"RevertStatement","src":"1928:30:20"}},{"assignments":[5617],"declarations":[{"constant":false,"id":5617,"mutability":"mutable","name":"nRoutes","nameLocation":"1970:7:20","nodeType":"VariableDeclaration","scope":5746,"src":"1964:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":5616,"name":"uint8","nodeType":"ElementaryTypeName","src":"1964:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":5622,"initialValue":{"arguments":[{"id":5620,"name":"N_ROUTES_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5546,"src":"2000:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5618,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5590,"src":"1980:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5619,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1992:7:20","memberName":"toUint8","nodeType":"MemberAccess","referencedDeclaration":8457,"src":"1980:19:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8)"}},"id":5621,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1980:36:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"1964:52:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":5625,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5623,"name":"nRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5617,"src":"2026:7:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":5624,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2037:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2026:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5629,"nodeType":"IfStatement","src":"2022:42:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5626,"name":"AtLeastOneRoute","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5571,"src":"2047:15:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":5627,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2047:17:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5628,"nodeType":"RevertStatement","src":"2040:24:20"}},{"assignments":[5631],"declarations":[{"constant":false,"id":5631,"mutability":"mutable","name":"offset","nameLocation":"2078:6:20","nodeType":"VariableDeclaration","scope":5746,"src":"2070:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5630,"name":"uint256","nodeType":"ElementaryTypeName","src":"2070:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5633,"initialValue":{"id":5632,"name":"ROUTES_BASE_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5551,"src":"2087:18:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2070:35:20"},{"body":{"id":5736,"nodeType":"Block","src":"2145:469:20","statements":[{"assignments":[5644,5647],"declarations":[{"constant":false,"id":5644,"mutability":"mutable","name":"nSwaps","nameLocation":"2160:6:20","nodeType":"VariableDeclaration","scope":5736,"src":"2154:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":5643,"name":"uint8","nodeType":"ElementaryTypeName","src":"2154:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":5647,"mutability":"mutable","name":"route","nameLocation":"2186:5:20","nodeType":"VariableDeclaration","scope":5736,"src":"2168:23:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute"},"typeName":{"id":5646,"nodeType":"UserDefinedTypeName","pathNode":{"id":5645,"name":"CurveRoute","nameLocations":["2168:10:20"],"nodeType":"IdentifierPath","referencedDeclaration":5567,"src":"2168:10:20"},"referencedDeclaration":5567,"src":"2168:10:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_storage_ptr","typeString":"struct CurveRoutes.CurveRoute"}},"visibility":"internal"}],"id":5652,"initialValue":{"arguments":[{"id":5649,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5590,"src":"2205:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":5650,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5631,"src":"2218:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5648,"name":"readRoute","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5963,"src":"2195:9:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8,struct CurveRoutes.CurveRoute memory)"}},"id":5651,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2195:30:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint8_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"tuple(uint8,struct CurveRoutes.CurveRoute memory)"}},"nodeType":"VariableDeclarationStatement","src":"2153:72:20"},{"body":{"id":5692,"nodeType":"Block","src":"2266:123:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5686,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5672,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"expression":{"id":5662,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5647,"src":"2280:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":5663,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2286:5:20","memberName":"route","nodeType":"MemberAccess","referencedDeclaration":5555,"src":"2280:11:20","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11] memory"}},"id":5667,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5666,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5664,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5654,"src":"2292:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"32","id":5665,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2296:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"2292:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2280:18:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":5670,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2310:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":5669,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2302:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5668,"name":"address","nodeType":"ElementaryTypeName","src":"2302:7:20","typeDescriptions":{}}},"id":5671,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2302:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2280:32:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"expression":{"id":5673,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5647,"src":"2316:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":5674,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2322:5:20","memberName":"route","nodeType":"MemberAccess","referencedDeclaration":5555,"src":"2316:11:20","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11] memory"}},"id":5680,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5679,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5677,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5675,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5654,"src":"2328:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"32","id":5676,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2332:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"2328:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":5678,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2336:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"2328:9:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2316:22:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":5683,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2350:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":5682,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2342:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5681,"name":"address","nodeType":"ElementaryTypeName","src":"2342:7:20","typeDescriptions":{}}},"id":5684,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2342:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2316:36:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2280:72:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5691,"nodeType":"IfStatement","src":"2276:104:20","trueBody":{"errorCall":{"arguments":[{"id":5688,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5647,"src":"2374:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}],"id":5687,"name":"InvalidRoute","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5578,"src":"2361:12:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_struct$_CurveRoute_$5567_memory_ptr_$returns$_t_error_$","typeString":"function (struct CurveRoutes.CurveRoute memory) pure returns (error)"}},"id":5689,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2361:19:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5690,"nodeType":"RevertStatement","src":"2354:26:20"}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5658,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5656,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5654,"src":"2249:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":5657,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5644,"src":"2253:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"2249:10:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5693,"initializationExpression":{"assignments":[5654],"declarations":[{"constant":false,"id":5654,"mutability":"mutable","name":"j","nameLocation":"2246:1:20","nodeType":"VariableDeclaration","scope":5693,"src":"2238:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5653,"name":"uint256","nodeType":"ElementaryTypeName","src":"2238:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5655,"nodeType":"VariableDeclarationStatement","src":"2238:9:20"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":5660,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"2261:3:20","subExpression":{"id":5659,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5654,"src":"2261:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5661,"nodeType":"ExpressionStatement","src":"2261:3:20"},"nodeType":"ForStatement","src":"2233:156:20"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5704,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"expression":{"id":5694,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5647,"src":"2400:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":5695,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2406:5:20","memberName":"route","nodeType":"MemberAccess","referencedDeclaration":5555,"src":"2400:11:20","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11] memory"}},"id":5699,"indexExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":5698,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5696,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5644,"src":"2412:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"32","id":5697,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2421:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"2412:10:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2400:23:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":5702,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2435:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":5701,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2427:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5700,"name":"address","nodeType":"ElementaryTypeName","src":"2427:7:20","typeDescriptions":{}}},"id":5703,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2427:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2400:37:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5709,"nodeType":"IfStatement","src":"2396:69:20","trueBody":{"errorCall":{"arguments":[{"id":5706,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5647,"src":"2459:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}],"id":5705,"name":"InvalidRoute","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5578,"src":"2446:12:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_struct$_CurveRoute_$5567_memory_ptr_$returns$_t_error_$","typeString":"function (struct CurveRoutes.CurveRoute memory) pure returns (error)"}},"id":5707,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2446:19:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5708,"nodeType":"RevertStatement","src":"2439:26:20"}},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5724,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5712,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5710,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5644,"src":"2477:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5711,"name":"MAX_SWAPS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5538,"src":"2487:9:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2477:19:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5723,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"expression":{"id":5713,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5647,"src":"2500:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":5714,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2506:5:20","memberName":"route","nodeType":"MemberAccess","referencedDeclaration":5555,"src":"2500:11:20","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11] memory"}},"id":5718,"indexExpression":{"arguments":[{"id":5716,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5644,"src":"2522:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":5715,"name":"_routeLen","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6006,"src":"2512:9:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_uint256_$","typeString":"function (uint8) pure returns (uint256)"}},"id":5717,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2512:17:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2500:30:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":5721,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2542:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":5720,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2534:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5719,"name":"address","nodeType":"ElementaryTypeName","src":"2534:7:20","typeDescriptions":{}}},"id":5722,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2534:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2500:44:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2477:67:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5729,"nodeType":"IfStatement","src":"2473:99:20","trueBody":{"errorCall":{"arguments":[{"id":5726,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5647,"src":"2566:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}],"id":5725,"name":"InvalidRoute","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5578,"src":"2553:12:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_struct$_CurveRoute_$5567_memory_ptr_$returns$_t_error_$","typeString":"function (struct CurveRoutes.CurveRoute memory) pure returns (error)"}},"id":5727,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2553:19:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5728,"nodeType":"RevertStatement","src":"2546:26:20"}},{"expression":{"id":5734,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5730,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5631,"src":"2580:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[{"id":5732,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5644,"src":"2600:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":5731,"name":"routeSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5991,"src":"2590:9:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_uint256_$","typeString":"function (uint8) pure returns (uint256)"}},"id":5733,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2590:17:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2580:27:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5735,"nodeType":"ExpressionStatement","src":"2580:27:20"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5639,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5637,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5635,"src":"2127:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":5638,"name":"nRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5617,"src":"2131:7:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"2127:11:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5737,"initializationExpression":{"assignments":[5635],"declarations":[{"constant":false,"id":5635,"mutability":"mutable","name":"i","nameLocation":"2124:1:20","nodeType":"VariableDeclaration","scope":5737,"src":"2116:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5634,"name":"uint256","nodeType":"ElementaryTypeName","src":"2116:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5636,"nodeType":"VariableDeclarationStatement","src":"2116:9:20"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":5641,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"2140:3:20","subExpression":{"id":5640,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5635,"src":"2140:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5642,"nodeType":"ExpressionStatement","src":"2140:3:20"},"nodeType":"ForStatement","src":"2111:503:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5741,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5738,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5590,"src":"2623:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5739,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2635:6:20","memberName":"length","nodeType":"MemberAccess","src":"2623:18:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5740,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5631,"src":"2645:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2623:28:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5745,"nodeType":"IfStatement","src":"2619:56:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5742,"name":"InvalidLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5573,"src":"2660:13:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":5743,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2660:15:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5744,"nodeType":"RevertStatement","src":"2653:22:20"}}]},"id":5747,"implemented":true,"kind":"function","modifiers":[],"name":"validate","nameLocation":"1760:8:20","nodeType":"FunctionDefinition","parameters":{"id":5591,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5590,"mutability":"mutable","name":"curveRoutes","nameLocation":"1782:11:20","nodeType":"VariableDeclaration","scope":5747,"src":"1769:24:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5589,"name":"bytes","nodeType":"ElementaryTypeName","src":"1769:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1768:26:20"},"returnParameters":{"id":5592,"nodeType":"ParameterList","parameters":[],"src":"1809:0:20"},"scope":6109,"src":"1751:929:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5962,"nodeType":"Block","src":"2819:930:20","statements":[{"expression":{"id":5764,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5759,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5754,"src":"2825:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5762,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5751,"src":"2854:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5760,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5749,"src":"2834:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5761,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2846:7:20","memberName":"toUint8","nodeType":"MemberAccess","referencedDeclaration":8457,"src":"2834:19:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8)"}},"id":5763,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2834:27:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"2825:36:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":5765,"nodeType":"ExpressionStatement","src":"2825:36:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5768,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5766,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5754,"src":"2871:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":5767,"name":"MAX_SWAPS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5538,"src":"2880:9:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2871:18:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5773,"nodeType":"IfStatement","src":"2867:51:20","trueBody":{"errorCall":{"arguments":[{"id":5770,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5754,"src":"2911:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":5769,"name":"TooManySwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5582,"src":"2898:12:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$returns$_t_error_$","typeString":"function (uint8) pure returns (error)"}},"id":5771,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2898:20:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":5772,"nodeType":"RevertStatement","src":"2891:27:20"}},{"body":{"id":5802,"nodeType":"Block","src":"2968:93:20","statements":[{"expression":{"id":5800,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"id":5785,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5757,"src":"2976:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":5788,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2982:5:20","memberName":"route","nodeType":"MemberAccess","referencedDeclaration":5555,"src":"2976:11:20","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11] memory"}},"id":5789,"indexExpression":{"id":5787,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5775,"src":"2988:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2976:14:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5798,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5794,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5792,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5751,"src":"3015:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":5793,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"3024:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3015:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5797,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5795,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5775,"src":"3037:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5796,"name":"ADDRESS_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5532,"src":"3041:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3037:16:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3015:38:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5790,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5749,"src":"2993:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5791,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3005:9:20","memberName":"toAddress","nodeType":"MemberAccess","referencedDeclaration":8431,"src":"2993:21:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (address)"}},"id":5799,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2993:61:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2976:78:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5801,"nodeType":"ExpressionStatement","src":"2976:78:20"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5781,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5777,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5775,"src":"2940:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"arguments":[{"id":5779,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5754,"src":"2954:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":5778,"name":"_routeLen","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6006,"src":"2944:9:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_uint256_$","typeString":"function (uint8) pure returns (uint256)"}},"id":5780,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2944:17:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2940:21:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5803,"initializationExpression":{"assignments":[5775],"declarations":[{"constant":false,"id":5775,"mutability":"mutable","name":"i","nameLocation":"2937:1:20","nodeType":"VariableDeclaration","scope":5803,"src":"2929:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5774,"name":"uint256","nodeType":"ElementaryTypeName","src":"2929:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5776,"nodeType":"VariableDeclarationStatement","src":"2929:9:20"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":5783,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"2963:3:20","subExpression":{"id":5782,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5775,"src":"2963:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5784,"nodeType":"ExpressionStatement","src":"2963:3:20"},"nodeType":"ForStatement","src":"2924:137:20"},{"expression":{"id":5812,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5804,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5751,"src":"3066:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5811,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5805,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"3076:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5810,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5807,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5754,"src":"3099:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":5806,"name":"_routeLen","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6006,"src":"3089:9:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_uint256_$","typeString":"function (uint8) pure returns (uint256)"}},"id":5808,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3089:17:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5809,"name":"ADDRESS_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5532,"src":"3109:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3089:32:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3076:45:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3066:55:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5813,"nodeType":"ExpressionStatement","src":"3066:55:20"},{"body":{"id":5926,"nodeType":"Block","src":"3160:428:20","statements":[{"expression":{"id":5840,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"expression":{"id":5823,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5757,"src":"3168:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":5827,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3174:10:20","memberName":"swapParams","nodeType":"MemberAccess","referencedDeclaration":5562,"src":"3168:16:20","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5] memory[5] memory"}},"id":5828,"indexExpression":{"id":5825,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3185:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3168:19:20","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_memory_ptr","typeString":"uint256[5] memory"}},"id":5829,"indexExpression":{"hexValue":"30","id":5826,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3188:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3168:22:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5838,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5832,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5751,"src":"3213:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5837,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5835,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5833,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3222:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5834,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"3226:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3222:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"35","id":5836,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3239:1:20","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"3222:18:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3213:27:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5830,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5749,"src":"3193:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5831,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3205:7:20","memberName":"toUint8","nodeType":"MemberAccess","referencedDeclaration":8457,"src":"3193:19:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8)"}},"id":5839,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3193:48:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"3168:73:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5841,"nodeType":"ExpressionStatement","src":"3168:73:20"},{"expression":{"id":5861,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"expression":{"id":5842,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5757,"src":"3249:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":5846,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3255:10:20","memberName":"swapParams","nodeType":"MemberAccess","referencedDeclaration":5562,"src":"3249:16:20","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5] memory[5] memory"}},"id":5847,"indexExpression":{"id":5844,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3266:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3249:19:20","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_memory_ptr","typeString":"uint256[5] memory"}},"id":5848,"indexExpression":{"hexValue":"31","id":5845,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3269:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3249:22:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5859,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5857,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5851,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5751,"src":"3294:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5856,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5854,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5852,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3303:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5853,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"3307:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3303:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"35","id":5855,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3320:1:20","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"3303:18:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3294:27:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":5858,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3324:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3294:31:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5849,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5749,"src":"3274:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5850,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3286:7:20","memberName":"toUint8","nodeType":"MemberAccess","referencedDeclaration":8457,"src":"3274:19:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8)"}},"id":5860,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3274:52:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"3249:77:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5862,"nodeType":"ExpressionStatement","src":"3249:77:20"},{"expression":{"id":5882,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"expression":{"id":5863,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5757,"src":"3334:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":5867,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3340:10:20","memberName":"swapParams","nodeType":"MemberAccess","referencedDeclaration":5562,"src":"3334:16:20","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5] memory[5] memory"}},"id":5868,"indexExpression":{"id":5865,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3351:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3334:19:20","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_memory_ptr","typeString":"uint256[5] memory"}},"id":5869,"indexExpression":{"hexValue":"32","id":5866,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3354:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3334:22:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5880,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5878,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5872,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5751,"src":"3379:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5877,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5875,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5873,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3388:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5874,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"3392:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3388:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"35","id":5876,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3405:1:20","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"3388:18:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3379:27:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"32","id":5879,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3409:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"3379:31:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5870,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5749,"src":"3359:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5871,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3371:7:20","memberName":"toUint8","nodeType":"MemberAccess","referencedDeclaration":8457,"src":"3359:19:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8)"}},"id":5881,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3359:52:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"3334:77:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5883,"nodeType":"ExpressionStatement","src":"3334:77:20"},{"expression":{"id":5903,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"expression":{"id":5884,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5757,"src":"3419:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":5888,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3425:10:20","memberName":"swapParams","nodeType":"MemberAccess","referencedDeclaration":5562,"src":"3419:16:20","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5] memory[5] memory"}},"id":5889,"indexExpression":{"id":5886,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3436:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3419:19:20","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_memory_ptr","typeString":"uint256[5] memory"}},"id":5890,"indexExpression":{"hexValue":"33","id":5887,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3439:1:20","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3419:22:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5901,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5893,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5751,"src":"3464:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5898,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5896,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5894,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3473:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5895,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"3477:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3473:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"35","id":5897,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3490:1:20","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"3473:18:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3464:27:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"33","id":5900,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3494:1:20","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"src":"3464:31:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5891,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5749,"src":"3444:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5892,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3456:7:20","memberName":"toUint8","nodeType":"MemberAccess","referencedDeclaration":8457,"src":"3444:19:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8)"}},"id":5902,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3444:52:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"3419:77:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5904,"nodeType":"ExpressionStatement","src":"3419:77:20"},{"expression":{"id":5924,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"expression":{"id":5905,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5757,"src":"3504:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":5909,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3510:10:20","memberName":"swapParams","nodeType":"MemberAccess","referencedDeclaration":5562,"src":"3504:16:20","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5] memory[5] memory"}},"id":5910,"indexExpression":{"id":5907,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3521:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3504:19:20","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_memory_ptr","typeString":"uint256[5] memory"}},"id":5911,"indexExpression":{"hexValue":"34","id":5908,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3524:1:20","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3504:22:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5922,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5920,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5914,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5751,"src":"3549:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5919,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5917,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5915,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3558:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5916,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"3562:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3558:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"35","id":5918,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3575:1:20","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"3558:18:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3549:27:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"34","id":5921,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3579:1:20","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"3549:31:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5912,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5749,"src":"3529:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5913,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3541:7:20","memberName":"toUint8","nodeType":"MemberAccess","referencedDeclaration":8457,"src":"3529:19:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8)"}},"id":5923,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3529:52:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"3504:77:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5925,"nodeType":"ExpressionStatement","src":"3504:77:20"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5819,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5817,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3143:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":5818,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5754,"src":"3147:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"3143:10:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5927,"initializationExpression":{"assignments":[5815],"declarations":[{"constant":false,"id":5815,"mutability":"mutable","name":"i","nameLocation":"3140:1:20","nodeType":"VariableDeclaration","scope":5927,"src":"3132:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5814,"name":"uint256","nodeType":"ElementaryTypeName","src":"3132:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5816,"nodeType":"VariableDeclarationStatement","src":"3132:9:20"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":5821,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"3155:3:20","subExpression":{"id":5820,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5815,"src":"3155:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5822,"nodeType":"ExpressionStatement","src":"3155:3:20"},"nodeType":"ForStatement","src":"3127:461:20"},{"expression":{"id":5934,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5928,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5751,"src":"3593:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5933,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5931,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5929,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5754,"src":"3603:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5930,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"3612:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3603:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"35","id":5932,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3625:1:20","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"3603:23:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3593:33:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5935,"nodeType":"ExpressionStatement","src":"3593:33:20"},{"body":{"id":5960,"nodeType":"Block","src":"3665:80:20","statements":[{"expression":{"id":5958,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"id":5945,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5757,"src":"3673:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":5948,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3679:5:20","memberName":"pools","nodeType":"MemberAccess","referencedDeclaration":5566,"src":"3673:11:20","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5] memory"}},"id":5949,"indexExpression":{"id":5947,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5937,"src":"3685:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3673:14:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5956,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5952,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5751,"src":"3712:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5955,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5953,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5937,"src":"3721:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5954,"name":"ADDRESS_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5532,"src":"3725:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3721:16:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3712:25:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5950,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5749,"src":"3690:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5951,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3702:9:20","memberName":"toAddress","nodeType":"MemberAccess","referencedDeclaration":8431,"src":"3690:21:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (address)"}},"id":5957,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3690:48:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3673:65:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5959,"nodeType":"ExpressionStatement","src":"3673:65:20"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5941,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5939,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5937,"src":"3648:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":5940,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5754,"src":"3652:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"3648:10:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5961,"initializationExpression":{"assignments":[5937],"declarations":[{"constant":false,"id":5937,"mutability":"mutable","name":"i","nameLocation":"3645:1:20","nodeType":"VariableDeclaration","scope":5961,"src":"3637:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5936,"name":"uint256","nodeType":"ElementaryTypeName","src":"3637:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5938,"nodeType":"VariableDeclarationStatement","src":"3637:9:20"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":5943,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"3660:3:20","subExpression":{"id":5942,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5937,"src":"3660:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5944,"nodeType":"ExpressionStatement","src":"3660:3:20"},"nodeType":"ForStatement","src":"3632:113:20"}]},"id":5963,"implemented":true,"kind":"function","modifiers":[],"name":"readRoute","nameLocation":"2693:9:20","nodeType":"FunctionDefinition","parameters":{"id":5752,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5749,"mutability":"mutable","name":"curveRoutes","nameLocation":"2721:11:20","nodeType":"VariableDeclaration","scope":5963,"src":"2708:24:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5748,"name":"bytes","nodeType":"ElementaryTypeName","src":"2708:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5751,"mutability":"mutable","name":"offset","nameLocation":"2746:6:20","nodeType":"VariableDeclaration","scope":5963,"src":"2738:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5750,"name":"uint256","nodeType":"ElementaryTypeName","src":"2738:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2702:54:20"},"returnParameters":{"id":5758,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5754,"mutability":"mutable","name":"nSwaps","nameLocation":"2786:6:20","nodeType":"VariableDeclaration","scope":5963,"src":"2780:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":5753,"name":"uint8","nodeType":"ElementaryTypeName","src":"2780:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":5757,"mutability":"mutable","name":"route","nameLocation":"2812:5:20","nodeType":"VariableDeclaration","scope":5963,"src":"2794:23:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute"},"typeName":{"id":5756,"nodeType":"UserDefinedTypeName","pathNode":{"id":5755,"name":"CurveRoute","nameLocations":["2794:10:20"],"nodeType":"IdentifierPath","referencedDeclaration":5567,"src":"2794:10:20"},"referencedDeclaration":5567,"src":"2794:10:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_storage_ptr","typeString":"struct CurveRoutes.CurveRoute"}},"visibility":"internal"}],"src":"2779:39:20"},"scope":6109,"src":"2684:1065:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5990,"nodeType":"Block","src":"3818:189:20","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5988,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5983,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5976,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5970,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"3837:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5975,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5972,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5965,"src":"3876:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":5971,"name":"_routeLen","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6006,"src":"3866:9:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_uint256_$","typeString":"function (uint8) pure returns (uint256)"}},"id":5973,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3866:17:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5974,"name":"ADDRESS_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5532,"src":"3892:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3866:38:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3837:67:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5981,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":5979,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5977,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5965,"src":"3923:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"35","id":5978,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3932:1:20","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"3923:10:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5980,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"3936:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3923:23:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5982,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3922:25:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3837:110:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5986,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5984,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5965,"src":"3971:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5985,"name":"ADDRESS_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5532,"src":"3980:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3971:21:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5987,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3970:23:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3837:156:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5969,"id":5989,"nodeType":"Return","src":"3824:169:20"}]},"id":5991,"implemented":true,"kind":"function","modifiers":[],"name":"routeSize","nameLocation":"3762:9:20","nodeType":"FunctionDefinition","parameters":{"id":5966,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5965,"mutability":"mutable","name":"nSwaps","nameLocation":"3778:6:20","nodeType":"VariableDeclaration","scope":5991,"src":"3772:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":5964,"name":"uint8","nodeType":"ElementaryTypeName","src":"3772:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"3771:14:20"},"returnParameters":{"id":5969,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5968,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5991,"src":"3809:7:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5967,"name":"uint256","nodeType":"ElementaryTypeName","src":"3809:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3808:9:20"},"scope":6109,"src":"3753:254:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6005,"nodeType":"Block","src":"4075:34:20","statements":[{"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":6002,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":6000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5998,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5993,"src":"4089:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"32","id":5999,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4098:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"4089:10:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":6001,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4102:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"4089:14:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"id":6003,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4088:16:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":5997,"id":6004,"nodeType":"Return","src":"4081:23:20"}]},"id":6006,"implemented":true,"kind":"function","modifiers":[],"name":"_routeLen","nameLocation":"4020:9:20","nodeType":"FunctionDefinition","parameters":{"id":5994,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5993,"mutability":"mutable","name":"nSwaps","nameLocation":"4036:6:20","nodeType":"VariableDeclaration","scope":6006,"src":"4030:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":5992,"name":"uint8","nodeType":"ElementaryTypeName","src":"4030:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"4029:14:20"},"returnParameters":{"id":5997,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5996,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6006,"src":"4066:7:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5995,"name":"uint256","nodeType":"ElementaryTypeName","src":"4066:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4065:9:20"},"scope":6109,"src":"4011:98:20","stateMutability":"pure","virtual":false,"visibility":"private"},{"body":{"id":6107,"nodeType":"Block","src":"4278:614:20","statements":[{"expression":{"id":6028,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6021,"name":"router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6016,"src":"4284:6:20","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":6025,"name":"ROUTER_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5541,"src":"4328:13:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":6023,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6008,"src":"4306:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":6024,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4318:9:20","memberName":"toAddress","nodeType":"MemberAccess","referencedDeclaration":8431,"src":"4306:21:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (address)"}},"id":6026,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4306:36:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6022,"name":"ICurveRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7646,"src":"4293:12:20","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ICurveRouter_$7646_$","typeString":"type(contract ICurveRouter)"}},"id":6027,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4293:50:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"src":"4284:59:20","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"id":6029,"nodeType":"ExpressionStatement","src":"4284:59:20"},{"assignments":[6031],"declarations":[{"constant":false,"id":6031,"mutability":"mutable","name":"nRoutes","nameLocation":"4355:7:20","nodeType":"VariableDeclaration","scope":6107,"src":"4349:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":6030,"name":"uint8","nodeType":"ElementaryTypeName","src":"4349:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":6036,"initialValue":{"arguments":[{"id":6034,"name":"N_ROUTES_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5546,"src":"4385:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":6032,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6008,"src":"4365:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":6033,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4377:7:20","memberName":"toUint8","nodeType":"MemberAccess","referencedDeclaration":8457,"src":"4365:19:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8)"}},"id":6035,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4365:36:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"4349:52:20"},{"assignments":[6038],"declarations":[{"constant":false,"id":6038,"mutability":"mutable","name":"offset","nameLocation":"4415:6:20","nodeType":"VariableDeclaration","scope":6107,"src":"4407:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6037,"name":"uint256","nodeType":"ElementaryTypeName","src":"4407:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6040,"initialValue":{"id":6039,"name":"ROUTES_BASE_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5551,"src":"4424:18:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4407:35:20"},{"body":{"id":6100,"nodeType":"Block","src":"4482:361:20","statements":[{"assignments":[6051],"declarations":[{"constant":false,"id":6051,"mutability":"mutable","name":"nSwaps","nameLocation":"4496:6:20","nodeType":"VariableDeclaration","scope":6100,"src":"4490:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":6050,"name":"uint8","nodeType":"ElementaryTypeName","src":"4490:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":6056,"initialValue":{"arguments":[{"id":6054,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6038,"src":"4525:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":6052,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6008,"src":"4505:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":6053,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4517:7:20","memberName":"toUint8","nodeType":"MemberAccess","referencedDeclaration":8457,"src":"4505:19:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8)"}},"id":6055,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4505:27:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"4490:42:20"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":6079,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":6064,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6061,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6059,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6038,"src":"4575:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":6060,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"4584:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4575:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":6057,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6008,"src":"4553:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":6058,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4565:9:20","memberName":"toAddress","nodeType":"MemberAccess","referencedDeclaration":8431,"src":"4553:21:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (address)"}},"id":6062,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4553:42:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":6063,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6010,"src":"4599:7:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4553:53:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":6078,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6075,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6069,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6067,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6038,"src":"4640:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":6068,"name":"UINT8_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"4649:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4640:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6074,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6072,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6070,"name":"ADDRESS_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5532,"src":"4662:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":6071,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6051,"src":"4677:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4662:21:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"32","id":6073,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4686:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"4662:25:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4640:47:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":6065,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6008,"src":"4618:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":6066,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4630:9:20","memberName":"toAddress","nodeType":"MemberAccess","referencedDeclaration":8431,"src":"4618:21:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (address)"}},"id":6076,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4618:70:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":6077,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6012,"src":"4692:8:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4618:82:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4553:147:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6093,"nodeType":"IfStatement","src":"4540:262:20","trueBody":{"id":6092,"nodeType":"Block","src":"4709:93:20","statements":[{"expression":{"id":6086,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[null,{"id":6080,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6019,"src":"4722:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}}],"id":6081,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"4719:9:20","typeDescriptions":{"typeIdentifier":"t_tuple$__$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"tuple(,struct CurveRoutes.CurveRoute memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":6083,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6008,"src":"4741:11:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":6084,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6038,"src":"4754:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6082,"name":"readRoute","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5963,"src":"4731:9:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8,struct CurveRoutes.CurveRoute memory)"}},"id":6085,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4731:30:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint8_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"tuple(uint8,struct CurveRoutes.CurveRoute memory)"}},"src":"4719:42:20","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6087,"nodeType":"ExpressionStatement","src":"4719:42:20"},{"expression":{"components":[{"id":6088,"name":"router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6016,"src":"4779:6:20","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},{"id":6089,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6019,"src":"4787:5:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}}],"id":6090,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4778:15:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_contract$_ICurveRouter_$7646_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"tuple(contract ICurveRouter,struct CurveRoutes.CurveRoute memory)"}},"functionReturnParameters":6020,"id":6091,"nodeType":"Return","src":"4771:22:20"}]}},{"expression":{"id":6098,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6094,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6038,"src":"4809:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[{"id":6096,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6051,"src":"4829:6:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":6095,"name":"routeSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5991,"src":"4819:9:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_uint256_$","typeString":"function (uint8) pure returns (uint256)"}},"id":6097,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4819:17:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4809:27:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6099,"nodeType":"ExpressionStatement","src":"4809:27:20"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6046,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6044,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6042,"src":"4464:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":6045,"name":"nRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6031,"src":"4468:7:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4464:11:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6101,"initializationExpression":{"assignments":[6042],"declarations":[{"constant":false,"id":6042,"mutability":"mutable","name":"i","nameLocation":"4461:1:20","nodeType":"VariableDeclaration","scope":6101,"src":"4453:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6041,"name":"uint256","nodeType":"ElementaryTypeName","src":"4453:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6043,"nodeType":"VariableDeclarationStatement","src":"4453:9:20"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":6048,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"4477:3:20","subExpression":{"id":6047,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6042,"src":"4477:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6049,"nodeType":"ExpressionStatement","src":"4477:3:20"},"nodeType":"ForStatement","src":"4448:395:20"},{"errorCall":{"arguments":[{"id":6103,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6010,"src":"4869:7:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6104,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6012,"src":"4878:8:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":6102,"name":"RouteNotFound","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5588,"src":"4855:13:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_address_$returns$_t_error_$","typeString":"function (address,address) pure returns (error)"}},"id":6105,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4855:32:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6106,"nodeType":"RevertStatement","src":"4848:39:20"}]},"id":6108,"implemented":true,"kind":"function","modifiers":[],"name":"findRoute","nameLocation":"4122:9:20","nodeType":"FunctionDefinition","parameters":{"id":6013,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6008,"mutability":"mutable","name":"curveRoutes","nameLocation":"4150:11:20","nodeType":"VariableDeclaration","scope":6108,"src":"4137:24:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6007,"name":"bytes","nodeType":"ElementaryTypeName","src":"4137:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":6010,"mutability":"mutable","name":"tokenIn","nameLocation":"4175:7:20","nodeType":"VariableDeclaration","scope":6108,"src":"4167:15:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6009,"name":"address","nodeType":"ElementaryTypeName","src":"4167:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6012,"mutability":"mutable","name":"tokenOut","nameLocation":"4196:8:20","nodeType":"VariableDeclaration","scope":6108,"src":"4188:16:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6011,"name":"address","nodeType":"ElementaryTypeName","src":"4188:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4131:77:20"},"returnParameters":{"id":6020,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6016,"mutability":"mutable","name":"router","nameLocation":"4245:6:20","nodeType":"VariableDeclaration","scope":6108,"src":"4232:19:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"},"typeName":{"id":6015,"nodeType":"UserDefinedTypeName","pathNode":{"id":6014,"name":"ICurveRouter","nameLocations":["4232:12:20"],"nodeType":"IdentifierPath","referencedDeclaration":7646,"src":"4232:12:20"},"referencedDeclaration":7646,"src":"4232:12:20","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"visibility":"internal"},{"constant":false,"id":6019,"mutability":"mutable","name":"route","nameLocation":"4271:5:20","nodeType":"VariableDeclaration","scope":6108,"src":"4253:23:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute"},"typeName":{"id":6018,"nodeType":"UserDefinedTypeName","pathNode":{"id":6017,"name":"CurveRoute","nameLocations":["4253:10:20"],"nodeType":"IdentifierPath","referencedDeclaration":5567,"src":"4253:10:20"},"referencedDeclaration":5567,"src":"4253:10:20","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_storage_ptr","typeString":"struct CurveRoutes.CurveRoute"}},"visibility":"internal"}],"src":"4231:46:20"},"scope":6109,"src":"4113:779:20","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":6110,"src":"839:4055:20","usedErrors":[5569,5571,5573,5578,5582,5588],"usedEvents":[]}],"src":"39:4856:20"},"id":20},"contracts/P2PSwapRouter.sol":{"ast":{"absolutePath":"contracts/P2PSwapRouter.sol","exportedSymbols":{"AccessControl":[295],"IERC20Metadata":[1224],"ISwapRouterErrors":[7676],"Math":[3640],"P2PSwapRouter":[6568],"SafeCast":[5405],"SafeERC20":[1635]},"id":6569,"license":"Apache-2.0","nodeType":"SourceUnit","nodes":[{"id":6111,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"39:23:21"},{"absolutePath":"@openzeppelin/contracts/utils/math/Math.sol","file":"@openzeppelin/contracts/utils/math/Math.sol","id":6113,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6569,"sourceUnit":3641,"src":"64:65:21","symbolAliases":[{"foreign":{"id":6112,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3640,"src":"72:4:21","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/access/AccessControl.sol","file":"@openzeppelin/contracts/access/AccessControl.sol","id":6115,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6569,"sourceUnit":296,"src":"130:79:21","symbolAliases":[{"foreign":{"id":6114,"name":"AccessControl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":295,"src":"138:13:21","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/math/SafeCast.sol","file":"@openzeppelin/contracts/utils/math/SafeCast.sol","id":6117,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6569,"sourceUnit":5406,"src":"210:73:21","symbolAliases":[{"foreign":{"id":6116,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"218:8:21","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol","file":"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol","id":6119,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6569,"sourceUnit":1636,"src":"284:82:21","symbolAliases":[{"foreign":{"id":6118,"name":"SafeERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1635,"src":"292:9:21","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol","file":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol","id":6121,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6569,"sourceUnit":1225,"src":"367:97:21","symbolAliases":[{"foreign":{"id":6120,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"375:14:21","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/interfaces/ISwapRouterErrors.sol","file":"./interfaces/ISwapRouterErrors.sol","id":6123,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6569,"sourceUnit":7677,"src":"465:69:21","symbolAliases":[{"foreign":{"id":6122,"name":"ISwapRouterErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7676,"src":"473:17:21","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":6125,"name":"ISwapRouterErrors","nameLocations":["763:17:21"],"nodeType":"IdentifierPath","referencedDeclaration":7676,"src":"763:17:21"},"id":6126,"nodeType":"InheritanceSpecifier","src":"763:17:21"},{"baseName":{"id":6127,"name":"AccessControl","nameLocations":["782:13:21"],"nodeType":"IdentifierPath","referencedDeclaration":295,"src":"782:13:21"},"id":6128,"nodeType":"InheritanceSpecifier","src":"782:13:21"}],"canonicalName":"P2PSwapRouter","contractDependencies":[],"contractKind":"contract","documentation":{"id":6124,"nodeType":"StructuredDocumentation","src":"536:200:21","text":" @title P2PSwapRouter\n @notice Contract following the interface of ISwapRouter that executes single swaps from authorized contracts\n         at configured prices, on behalf of an account"},"fullyImplemented":true,"id":6568,"linearizedBaseContracts":[6568,295,2022,2034,378,1924,7676,5519,5419],"name":"P2PSwapRouter","nameLocation":"746:13:21","nodeType":"ContractDefinition","nodes":[{"global":false,"id":6132,"libraryName":{"id":6129,"name":"SafeERC20","nameLocations":["806:9:21"],"nodeType":"IdentifierPath","referencedDeclaration":1635,"src":"806:9:21"},"nodeType":"UsingForDirective","src":"800:35:21","typeName":{"id":6131,"nodeType":"UserDefinedTypeName","pathNode":{"id":6130,"name":"IERC20Metadata","nameLocations":["820:14:21"],"nodeType":"IdentifierPath","referencedDeclaration":1224,"src":"820:14:21"},"referencedDeclaration":1224,"src":"820:14:21","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}}},{"global":false,"id":6135,"libraryName":{"id":6133,"name":"Math","nameLocations":["844:4:21"],"nodeType":"IdentifierPath","referencedDeclaration":3640,"src":"844:4:21"},"nodeType":"UsingForDirective","src":"838:23:21","typeName":{"id":6134,"name":"uint256","nodeType":"ElementaryTypeName","src":"853:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"global":false,"id":6138,"libraryName":{"id":6136,"name":"SafeCast","nameLocations":["870:8:21"],"nodeType":"IdentifierPath","referencedDeclaration":5405,"src":"870:8:21"},"nodeType":"UsingForDirective","src":"864:27:21","typeName":{"id":6137,"name":"uint256","nodeType":"ElementaryTypeName","src":"883:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"constant":true,"id":6141,"mutability":"constant","name":"WAD","nameLocation":"921:3:21","nodeType":"VariableDeclaration","scope":6568,"src":"895:36:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6139,"name":"uint256","nodeType":"ElementaryTypeName","src":"895:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"31653138","id":6140,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"927:4:21","typeDescriptions":{"typeIdentifier":"t_rational_1000000000000000000_by_1","typeString":"int_const 1000000000000000000"},"value":"1e18"},"visibility":"internal"},{"constant":true,"functionSelector":"d4b7f403","id":6146,"mutability":"constant","name":"SWAP_ROLE","nameLocation":"959:9:21","nodeType":"VariableDeclaration","scope":6568,"src":"935:58:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6142,"name":"bytes32","nodeType":"ElementaryTypeName","src":"935:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"535741505f524f4c45","id":6144,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"981:11:21","typeDescriptions":{"typeIdentifier":"t_stringliteral_499b8dbdbe4f7b12284c4a222a9951ce4488b43af4d09f42655d67f73b612fe1","typeString":"literal_string \"SWAP_ROLE\""},"value":"SWAP_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_499b8dbdbe4f7b12284c4a222a9951ce4488b43af4d09f42655d67f73b612fe1","typeString":"literal_string \"SWAP_ROLE\""}],"id":6143,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"971:9:21","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":6145,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"971:22:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":true,"functionSelector":"fbb81279","id":6151,"mutability":"constant","name":"PRICER_ROLE","nameLocation":"1021:11:21","nodeType":"VariableDeclaration","scope":6568,"src":"997:62:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6147,"name":"bytes32","nodeType":"ElementaryTypeName","src":"997:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"5052494345525f524f4c45","id":6149,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1045:13:21","typeDescriptions":{"typeIdentifier":"t_stringliteral_c6823861ee2bb2198ce6b1fd6faf4c8f44f745bc804aca4a762f67e0d507fd8a","typeString":"literal_string \"PRICER_ROLE\""},"value":"PRICER_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c6823861ee2bb2198ce6b1fd6faf4c8f44f745bc804aca4a762f67e0d507fd8a","typeString":"literal_string \"PRICER_ROLE\""}],"id":6148,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1035:9:21","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":6150,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1035:24:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":true,"functionSelector":"75b238fc","id":6156,"mutability":"constant","name":"ADMIN_ROLE","nameLocation":"1087:10:21","nodeType":"VariableDeclaration","scope":6568,"src":"1063:60:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6152,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1063:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"41444d494e5f524f4c45","id":6154,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1110:12:21","typeDescriptions":{"typeIdentifier":"t_stringliteral_a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775","typeString":"literal_string \"ADMIN_ROLE\""},"value":"ADMIN_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775","typeString":"literal_string \"ADMIN_ROLE\""}],"id":6153,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1100:9:21","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":6155,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1100:23:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"anonymous":false,"eventSelector":"b71c154260e8508e211e2ace194becba2c6d7e727c3ed292fe4787458969cd10","id":6164,"name":"PriceUpdated","nameLocation":"1134:12:21","nodeType":"EventDefinition","parameters":{"id":6163,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6158,"indexed":false,"mutability":"mutable","name":"tokenIn","nameLocation":"1155:7:21","nodeType":"VariableDeclaration","scope":6164,"src":"1147:15:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6157,"name":"address","nodeType":"ElementaryTypeName","src":"1147:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6160,"indexed":false,"mutability":"mutable","name":"tokenOut","nameLocation":"1172:8:21","nodeType":"VariableDeclaration","scope":6164,"src":"1164:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6159,"name":"address","nodeType":"ElementaryTypeName","src":"1164:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6162,"indexed":false,"mutability":"mutable","name":"price","nameLocation":"1190:5:21","nodeType":"VariableDeclaration","scope":6164,"src":"1182:13:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6161,"name":"uint256","nodeType":"ElementaryTypeName","src":"1182:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1146:50:21"},"src":"1128:69:21"},{"anonymous":false,"eventSelector":"0d4942cd92e3890d7c5981c00a2fad602608157938bcd2c069ce005804288e3a","id":6168,"name":"OnBehalfOfChanged","nameLocation":"1206:17:21","nodeType":"EventDefinition","parameters":{"id":6167,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6166,"indexed":true,"mutability":"mutable","name":"onBehalfOf","nameLocation":"1240:10:21","nodeType":"VariableDeclaration","scope":6168,"src":"1224:26:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6165,"name":"address","nodeType":"ElementaryTypeName","src":"1224:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1223:28:21"},"src":"1200:52:21"},{"constant":false,"id":6174,"mutability":"mutable","name":"_prices","nameLocation":"1312:7:21","nodeType":"VariableDeclaration","scope":6568,"src":"1256:63:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"},"typeName":{"id":6173,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6169,"name":"address","nodeType":"ElementaryTypeName","src":"1264:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1256:47:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6172,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6170,"name":"address","nodeType":"ElementaryTypeName","src":"1283:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1275:27:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6171,"name":"uint256","nodeType":"ElementaryTypeName","src":"1294:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}}},"visibility":"private"},{"constant":false,"id":6176,"mutability":"mutable","name":"_onBehalfOf","nameLocation":"1340:11:21","nodeType":"VariableDeclaration","scope":6568,"src":"1323:28:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6175,"name":"address","nodeType":"ElementaryTypeName","src":"1323:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"body":{"id":6192,"nodeType":"Block","src":"1403:80:21","statements":[{"expression":{"arguments":[{"id":6184,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":29,"src":"1420:18:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":6185,"name":"admin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6180,"src":"1440:5:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":6183,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"1409:10:21","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":6186,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1409:37:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6187,"nodeType":"ExpressionStatement","src":"1409:37:21"},{"expression":{"arguments":[{"id":6189,"name":"onBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6178,"src":"1467:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6188,"name":"_setOnBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6207,"src":"1452:14:21","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":6190,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1452:26:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6191,"nodeType":"ExpressionStatement","src":"1452:26:21"}]},"id":6193,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":6181,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6178,"mutability":"mutable","name":"onBehalfOf","nameLocation":"1376:10:21","nodeType":"VariableDeclaration","scope":6193,"src":"1368:18:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6177,"name":"address","nodeType":"ElementaryTypeName","src":"1368:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6180,"mutability":"mutable","name":"admin","nameLocation":"1396:5:21","nodeType":"VariableDeclaration","scope":6193,"src":"1388:13:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6179,"name":"address","nodeType":"ElementaryTypeName","src":"1388:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1367:35:21"},"returnParameters":{"id":6182,"nodeType":"ParameterList","parameters":[],"src":"1403:0:21"},"scope":6568,"src":"1356:127:21","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":6206,"nodeType":"Block","src":"1540:75:21","statements":[{"expression":{"id":6200,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6198,"name":"_onBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6176,"src":"1546:11:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6199,"name":"onBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6195,"src":"1560:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1546:24:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6201,"nodeType":"ExpressionStatement","src":"1546:24:21"},{"eventCall":{"arguments":[{"id":6203,"name":"onBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6195,"src":"1599:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6202,"name":"OnBehalfOfChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6168,"src":"1581:17:21","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":6204,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1581:29:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6205,"nodeType":"EmitStatement","src":"1576:34:21"}]},"id":6207,"implemented":true,"kind":"function","modifiers":[],"name":"_setOnBehalfOf","nameLocation":"1496:14:21","nodeType":"FunctionDefinition","parameters":{"id":6196,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6195,"mutability":"mutable","name":"onBehalfOf","nameLocation":"1519:10:21","nodeType":"VariableDeclaration","scope":6207,"src":"1511:18:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6194,"name":"address","nodeType":"ElementaryTypeName","src":"1511:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1510:20:21"},"returnParameters":{"id":6197,"nodeType":"ParameterList","parameters":[],"src":"1540:0:21"},"scope":6568,"src":"1487:128:21","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":6214,"nodeType":"Block","src":"1676:29:21","statements":[{"expression":{"id":6212,"name":"_onBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6176,"src":"1689:11:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":6211,"id":6213,"nodeType":"Return","src":"1682:18:21"}]},"functionSelector":"caf03181","id":6215,"implemented":true,"kind":"function","modifiers":[],"name":"getOnBehalfOf","nameLocation":"1628:13:21","nodeType":"FunctionDefinition","parameters":{"id":6208,"nodeType":"ParameterList","parameters":[],"src":"1641:2:21"},"returnParameters":{"id":6211,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6210,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6215,"src":"1667:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6209,"name":"address","nodeType":"ElementaryTypeName","src":"1667:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1666:9:21"},"scope":6568,"src":"1619:86:21","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":6234,"nodeType":"Block","src":"1778:65:21","statements":[{"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6222,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1792:2:21","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":6229,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3138","id":6223,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1799:2:21","typeDescriptions":{"typeIdentifier":"t_rational_18_by_1","typeString":"int_const 18"},"value":"18"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":6225,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6217,"src":"1819:5:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6224,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"1804:14:21","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":6226,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1804:21:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":6227,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1826:8:21","memberName":"decimals","nodeType":"MemberAccess","referencedDeclaration":1223,"src":"1804:30:21","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_uint8_$","typeString":"function () view external returns (uint8)"}},"id":6228,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1804:32:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"1799:37:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"id":6230,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1798:39:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"1792:45:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6232,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1791:47:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6221,"id":6233,"nodeType":"Return","src":"1784:54:21"}]},"id":6235,"implemented":true,"kind":"function","modifiers":[],"name":"_toWadFactor","nameLocation":"1718:12:21","nodeType":"FunctionDefinition","parameters":{"id":6218,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6217,"mutability":"mutable","name":"token","nameLocation":"1739:5:21","nodeType":"VariableDeclaration","scope":6235,"src":"1731:13:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6216,"name":"address","nodeType":"ElementaryTypeName","src":"1731:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1730:15:21"},"returnParameters":{"id":6221,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6220,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6235,"src":"1769:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6219,"name":"uint256","nodeType":"ElementaryTypeName","src":"1769:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1768:9:21"},"scope":6568,"src":"1709:134:21","stateMutability":"view","virtual":false,"visibility":"internal"},{"baseFunctions":[5452],"body":{"id":6342,"nodeType":"Block","src":"1986:726:21","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":6253,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6247,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2000:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6248,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2007:9:21","memberName":"recipient","nodeType":"MemberAccess","referencedDeclaration":5434,"src":"2000:16:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":6251,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2028:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":6250,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2020:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6249,"name":"address","nodeType":"ElementaryTypeName","src":"2020:7:21","typeDescriptions":{}}},"id":6252,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2020:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2000:30:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":6254,"name":"RecipientCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7673,"src":"2032:21:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6255,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2032:23:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":6246,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1992:7:21","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":6256,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1992:64:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6257,"nodeType":"ExpressionStatement","src":"1992:64:21"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6263,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6259,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2070:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6260,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2077:8:21","memberName":"deadline","nodeType":"MemberAccess","referencedDeclaration":5436,"src":"2070:15:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":6261,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"2089:5:21","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":6262,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2095:9:21","memberName":"timestamp","nodeType":"MemberAccess","src":"2089:15:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2070:34:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":6264,"name":"DeadlineInThePast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7667,"src":"2106:17:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6265,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2106:19:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":6258,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2062:7:21","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":6266,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2062:64:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6267,"nodeType":"ExpressionStatement","src":"2062:64:21"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6272,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6269,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2140:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6270,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2147:8:21","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":5438,"src":"2140:15:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":6271,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2158:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2140:19:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":6273,"name":"AmountCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7669,"src":"2161:18:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6274,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2161:20:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":6268,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2132:7:21","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":6275,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2132:50:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6276,"nodeType":"ExpressionStatement","src":"2132:50:21"},{"assignments":[6278],"declarations":[{"constant":false,"id":6278,"mutability":"mutable","name":"amountOutInWad","nameLocation":"2197:14:21","nodeType":"VariableDeclaration","scope":6342,"src":"2189:22:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6277,"name":"uint256","nodeType":"ElementaryTypeName","src":"2189:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6297,"initialValue":{"arguments":[{"id":6288,"name":"WAD","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6141,"src":"2277:3:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"baseExpression":{"baseExpression":{"id":6289,"name":"_prices","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6174,"src":"2288:7:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":6292,"indexExpression":{"expression":{"id":6290,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2296:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6291,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2303:7:21","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5428,"src":"2296:14:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2288:23:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":6295,"indexExpression":{"expression":{"id":6293,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2312:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6294,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2319:8:21","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5430,"src":"2312:15:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2288:40:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6285,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6279,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2215:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6280,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2222:8:21","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":5438,"src":"2215:15:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"expression":{"id":6282,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2246:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6283,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2253:7:21","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5428,"src":"2246:14:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6281,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6235,"src":"2233:12:21","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":6284,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2233:28:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2215:46:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6286,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2214:48:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6287,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2263:6:21","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":2470,"src":"2214:55:21","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":6296,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2214:120:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2189:145:21"},{"expression":{"id":6305,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6298,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6244,"src":"2340:9:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6304,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6299,"name":"amountOutInWad","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6278,"src":"2352:14:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"arguments":[{"expression":{"id":6301,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2382:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6302,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2389:8:21","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5430,"src":"2382:15:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6300,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6235,"src":"2369:12:21","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":6303,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2369:29:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2352:46:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2340:58:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6306,"nodeType":"ExpressionStatement","src":"2340:58:21"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6308,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6244,"src":"2412:9:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":6309,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2425:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6310,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2432:16:21","memberName":"amountOutMinimum","nodeType":"MemberAccess","referencedDeclaration":5440,"src":"2425:23:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2412:36:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[{"id":6313,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6244,"src":"2479:9:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":6314,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2490:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2497:16:21","memberName":"amountOutMinimum","nodeType":"MemberAccess","referencedDeclaration":5440,"src":"2490:23:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6312,"name":"OutputAmountLessThanSlippage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7659,"src":"2450:28:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":6316,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2450:64:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":6307,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2404:7:21","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":6317,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2404:111:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6318,"nodeType":"ExpressionStatement","src":"2404:111:21"},{"expression":{"arguments":[{"expression":{"id":6324,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2570:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":6325,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2574:6:21","memberName":"sender","nodeType":"MemberAccess","src":"2570:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6326,"name":"_onBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6176,"src":"2582:11:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":6327,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2595:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6328,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2602:8:21","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":5438,"src":"2595:15:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"expression":{"id":6320,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2537:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2544:7:21","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5428,"src":"2537:14:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6319,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"2522:14:21","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":6322,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2522:30:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":6323,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2553:16:21","memberName":"safeTransferFrom","nodeType":"MemberAccess","referencedDeclaration":1298,"src":"2522:47:21","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_IERC20_$1198_$","typeString":"function (contract IERC20,address,address,uint256)"}},"id":6329,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2522:89:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6330,"nodeType":"ExpressionStatement","src":"2522:89:21"},{"expression":{"arguments":[{"id":6336,"name":"_onBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6176,"src":"2666:11:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":6337,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2679:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6338,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2686:9:21","memberName":"recipient","nodeType":"MemberAccess","referencedDeclaration":5434,"src":"2679:16:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6339,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6244,"src":"2697:9:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"expression":{"id":6332,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6238,"src":"2632:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":6333,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2639:8:21","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5430,"src":"2632:15:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6331,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"2617:14:21","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":6334,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2617:31:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":6335,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2649:16:21","memberName":"safeTransferFrom","nodeType":"MemberAccess","referencedDeclaration":1298,"src":"2617:48:21","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_IERC20_$1198_$","typeString":"function (contract IERC20,address,address,uint256)"}},"id":6340,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2617:90:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6341,"nodeType":"ExpressionStatement","src":"2617:90:21"}]},"functionSelector":"414bf389","id":6343,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":6241,"name":"SWAP_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6146,"src":"1947:9:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":6242,"kind":"modifierInvocation","modifierName":{"id":6240,"name":"onlyRole","nameLocations":["1938:8:21"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"1938:8:21"},"nodeType":"ModifierInvocation","src":"1938:19:21"}],"name":"exactInputSingle","nameLocation":"1856:16:21","nodeType":"FunctionDefinition","parameters":{"id":6239,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6238,"mutability":"mutable","name":"params","nameLocation":"1910:6:21","nodeType":"VariableDeclaration","scope":6343,"src":"1878:38:21","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams"},"typeName":{"id":6237,"nodeType":"UserDefinedTypeName","pathNode":{"id":6236,"name":"ExactInputSingleParams","nameLocations":["1878:22:21"],"nodeType":"IdentifierPath","referencedDeclaration":5443,"src":"1878:22:21"},"referencedDeclaration":5443,"src":"1878:22:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_storage_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams"}},"visibility":"internal"}],"src":"1872:48:21"},"returnParameters":{"id":6245,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6244,"mutability":"mutable","name":"amountOut","nameLocation":"1975:9:21","nodeType":"VariableDeclaration","scope":6343,"src":"1967:17:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6243,"name":"uint256","nodeType":"ElementaryTypeName","src":"1967:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1966:19:21"},"scope":6568,"src":"1847:865:21","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[5498],"body":{"id":6450,"nodeType":"Block","src":"2856:715:21","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":6361,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6355,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"2870:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6356,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2877:9:21","memberName":"recipient","nodeType":"MemberAccess","referencedDeclaration":5480,"src":"2870:16:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":6359,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2898:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":6358,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2890:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6357,"name":"address","nodeType":"ElementaryTypeName","src":"2890:7:21","typeDescriptions":{}}},"id":6360,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2890:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2870:30:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":6362,"name":"RecipientCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7673,"src":"2902:21:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6363,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2902:23:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":6354,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2862:7:21","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":6364,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2862:64:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6365,"nodeType":"ExpressionStatement","src":"2862:64:21"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6371,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6367,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"2940:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6368,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2947:8:21","memberName":"deadline","nodeType":"MemberAccess","referencedDeclaration":5482,"src":"2940:15:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":6369,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"2959:5:21","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":6370,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2965:9:21","memberName":"timestamp","nodeType":"MemberAccess","src":"2959:15:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2940:34:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":6372,"name":"DeadlineInThePast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7667,"src":"2976:17:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6373,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2976:19:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":6366,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2932:7:21","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":6374,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2932:64:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6375,"nodeType":"ExpressionStatement","src":"2932:64:21"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6380,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6377,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3010:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6378,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3017:9:21","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":5484,"src":"3010:16:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":6379,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3029:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3010:20:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":6381,"name":"AmountCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7669,"src":"3032:18:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6382,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3032:20:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":6376,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3002:7:21","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":6383,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3002:51:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6384,"nodeType":"ExpressionStatement","src":"3002:51:21"},{"assignments":[6386],"declarations":[{"constant":false,"id":6386,"mutability":"mutable","name":"amountInWad","nameLocation":"3068:11:21","nodeType":"VariableDeclaration","scope":6450,"src":"3060:19:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6385,"name":"uint256","nodeType":"ElementaryTypeName","src":"3060:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6405,"initialValue":{"arguments":[{"baseExpression":{"baseExpression":{"id":6396,"name":"_prices","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6174,"src":"3147:7:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":6399,"indexExpression":{"expression":{"id":6397,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3155:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6398,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3162:7:21","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5474,"src":"3155:14:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3147:23:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":6402,"indexExpression":{"expression":{"id":6400,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3171:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6401,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3178:8:21","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5476,"src":"3171:15:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3147:40:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6403,"name":"WAD","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6141,"src":"3195:3:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6387,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3083:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6388,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3090:9:21","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":5484,"src":"3083:16:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"expression":{"id":6390,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3115:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6391,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3122:8:21","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5476,"src":"3115:15:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6389,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6235,"src":"3102:12:21","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":6392,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3102:29:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3083:48:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6394,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3082:50:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6395,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3133:6:21","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":2470,"src":"3082:57:21","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":6404,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3082:122:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3060:144:21"},{"expression":{"id":6413,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6406,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6352,"src":"3210:8:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6412,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6407,"name":"amountInWad","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6386,"src":"3221:11:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"arguments":[{"expression":{"id":6409,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3248:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6410,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3255:7:21","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5474,"src":"3248:14:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6408,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6235,"src":"3235:12:21","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":6411,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3235:28:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3221:42:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3210:53:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6414,"nodeType":"ExpressionStatement","src":"3210:53:21"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6419,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6416,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6352,"src":"3277:8:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":6417,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3289:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6418,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3296:15:21","memberName":"amountInMaximum","nodeType":"MemberAccess","referencedDeclaration":5486,"src":"3289:22:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3277:34:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[{"id":6421,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6352,"src":"3340:8:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":6422,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3350:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6423,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3357:15:21","memberName":"amountInMaximum","nodeType":"MemberAccess","referencedDeclaration":5486,"src":"3350:22:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6420,"name":"InputAmountExceedsSlippage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7665,"src":"3313:26:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":6424,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3313:60:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":6415,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3269:7:21","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":6425,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3269:105:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6426,"nodeType":"ExpressionStatement","src":"3269:105:21"},{"expression":{"arguments":[{"expression":{"id":6432,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3429:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":6433,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3433:6:21","memberName":"sender","nodeType":"MemberAccess","src":"3429:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6434,"name":"_onBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6176,"src":"3441:11:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6435,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6352,"src":"3454:8:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"expression":{"id":6428,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3396:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6429,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3403:7:21","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5474,"src":"3396:14:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6427,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"3381:14:21","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":6430,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3381:30:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":6431,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3412:16:21","memberName":"safeTransferFrom","nodeType":"MemberAccess","referencedDeclaration":1298,"src":"3381:47:21","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_IERC20_$1198_$","typeString":"function (contract IERC20,address,address,uint256)"}},"id":6436,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3381:82:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6437,"nodeType":"ExpressionStatement","src":"3381:82:21"},{"expression":{"arguments":[{"id":6443,"name":"_onBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6176,"src":"3518:11:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":6444,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3531:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6445,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3538:9:21","memberName":"recipient","nodeType":"MemberAccess","referencedDeclaration":5480,"src":"3531:16:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":6446,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3549:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6447,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3556:9:21","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":5484,"src":"3549:16:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"expression":{"id":6439,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6346,"src":"3484:6:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":6440,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3491:8:21","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5476,"src":"3484:15:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6438,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"3469:14:21","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":6441,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3469:31:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":6442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3501:16:21","memberName":"safeTransferFrom","nodeType":"MemberAccess","referencedDeclaration":1298,"src":"3469:48:21","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_IERC20_$1198_$","typeString":"function (contract IERC20,address,address,uint256)"}},"id":6448,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3469:97:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6449,"nodeType":"ExpressionStatement","src":"3469:97:21"}]},"functionSelector":"db3e2198","id":6451,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":6349,"name":"SWAP_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6146,"src":"2818:9:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":6350,"kind":"modifierInvocation","modifierName":{"id":6348,"name":"onlyRole","nameLocations":["2809:8:21"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"2809:8:21"},"nodeType":"ModifierInvocation","src":"2809:19:21"}],"name":"exactOutputSingle","nameLocation":"2725:17:21","nodeType":"FunctionDefinition","parameters":{"id":6347,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6346,"mutability":"mutable","name":"params","nameLocation":"2781:6:21","nodeType":"VariableDeclaration","scope":6451,"src":"2748:39:21","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams"},"typeName":{"id":6345,"nodeType":"UserDefinedTypeName","pathNode":{"id":6344,"name":"ExactOutputSingleParams","nameLocations":["2748:23:21"],"nodeType":"IdentifierPath","referencedDeclaration":5489,"src":"2748:23:21"},"referencedDeclaration":5489,"src":"2748:23:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_storage_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams"}},"visibility":"internal"}],"src":"2742:49:21"},"returnParameters":{"id":6353,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6352,"mutability":"mutable","name":"amountIn","nameLocation":"2846:8:21","nodeType":"VariableDeclaration","scope":6451,"src":"2838:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6351,"name":"uint256","nodeType":"ElementaryTypeName","src":"2838:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2837:18:21"},"scope":6568,"src":"2716:855:21","stateMutability":"payable","virtual":false,"visibility":"external"},{"body":{"id":6499,"nodeType":"Block","src":"3682:211:21","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":6469,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6464,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6453,"src":"3696:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":6467,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3715:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":6466,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3707:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6465,"name":"address","nodeType":"ElementaryTypeName","src":"3707:7:21","typeDescriptions":{}}},"id":6468,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3707:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3696:21:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":6470,"name":"TokenCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7671,"src":"3719:17:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6471,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3719:19:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":6463,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3688:7:21","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":6472,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3688:51:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6473,"nodeType":"ExpressionStatement","src":"3688:51:21"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":6480,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6475,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6455,"src":"3753:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":6478,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3773:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":6477,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3765:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6476,"name":"address","nodeType":"ElementaryTypeName","src":"3765:7:21","typeDescriptions":{}}},"id":6479,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3765:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3753:22:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":6481,"name":"TokenCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7671,"src":"3777:17:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6482,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3777:19:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":6474,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3745:7:21","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":6483,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3745:52:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6484,"nodeType":"ExpressionStatement","src":"3745:52:21"},{"expression":{"id":6491,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":6485,"name":"_prices","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6174,"src":"3803:7:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":6488,"indexExpression":{"id":6486,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6453,"src":"3811:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3803:16:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":6489,"indexExpression":{"id":6487,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6455,"src":"3820:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3803:26:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6490,"name":"price_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6457,"src":"3832:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3803:35:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6492,"nodeType":"ExpressionStatement","src":"3803:35:21"},{"eventCall":{"arguments":[{"id":6494,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6453,"src":"3862:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6495,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6455,"src":"3871:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6496,"name":"price_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6457,"src":"3881:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6493,"name":"PriceUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6164,"src":"3849:12:21","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":6497,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3849:39:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6498,"nodeType":"EmitStatement","src":"3844:44:21"}]},"functionSelector":"4562e015","id":6500,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":6460,"name":"PRICER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6151,"src":"3669:11:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":6461,"kind":"modifierInvocation","modifierName":{"id":6459,"name":"onlyRole","nameLocations":["3660:8:21"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"3660:8:21"},"nodeType":"ModifierInvocation","src":"3660:21:21"}],"name":"setCurrentPrice","nameLocation":"3584:15:21","nodeType":"FunctionDefinition","parameters":{"id":6458,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6453,"mutability":"mutable","name":"tokenIn","nameLocation":"3608:7:21","nodeType":"VariableDeclaration","scope":6500,"src":"3600:15:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6452,"name":"address","nodeType":"ElementaryTypeName","src":"3600:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6455,"mutability":"mutable","name":"tokenOut","nameLocation":"3625:8:21","nodeType":"VariableDeclaration","scope":6500,"src":"3617:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6454,"name":"address","nodeType":"ElementaryTypeName","src":"3617:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6457,"mutability":"mutable","name":"price_","nameLocation":"3643:6:21","nodeType":"VariableDeclaration","scope":6500,"src":"3635:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6456,"name":"uint256","nodeType":"ElementaryTypeName","src":"3635:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3599:51:21"},"returnParameters":{"id":6462,"nodeType":"ParameterList","parameters":[],"src":"3682:0:21"},"scope":6568,"src":"3575:318:21","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":6515,"nodeType":"Block","src":"3989:44:21","statements":[{"expression":{"baseExpression":{"baseExpression":{"id":6509,"name":"_prices","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6174,"src":"4002:7:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":6511,"indexExpression":{"id":6510,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6502,"src":"4010:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4002:16:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":6513,"indexExpression":{"id":6512,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6504,"src":"4019:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4002:26:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6508,"id":6514,"nodeType":"Return","src":"3995:33:21"}]},"functionSelector":"db16a555","id":6516,"implemented":true,"kind":"function","modifiers":[],"name":"getCurrentPrice","nameLocation":"3906:15:21","nodeType":"FunctionDefinition","parameters":{"id":6505,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6502,"mutability":"mutable","name":"tokenIn","nameLocation":"3930:7:21","nodeType":"VariableDeclaration","scope":6516,"src":"3922:15:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6501,"name":"address","nodeType":"ElementaryTypeName","src":"3922:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6504,"mutability":"mutable","name":"tokenOut","nameLocation":"3947:8:21","nodeType":"VariableDeclaration","scope":6516,"src":"3939:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6503,"name":"address","nodeType":"ElementaryTypeName","src":"3939:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3921:35:21"},"returnParameters":{"id":6508,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6507,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6516,"src":"3980:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6506,"name":"uint256","nodeType":"ElementaryTypeName","src":"3980:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3979:9:21"},"scope":6568,"src":"3897:136:21","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":6528,"nodeType":"Block","src":"4110:37:21","statements":[{"expression":{"arguments":[{"id":6525,"name":"onBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6518,"src":"4131:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6524,"name":"_setOnBehalfOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6207,"src":"4116:14:21","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":6526,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4116:26:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6527,"nodeType":"ExpressionStatement","src":"4116:26:21"}]},"functionSelector":"70eceb6a","id":6529,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":6521,"name":"ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6156,"src":"4098:10:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":6522,"kind":"modifierInvocation","modifierName":{"id":6520,"name":"onlyRole","nameLocations":["4089:8:21"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"4089:8:21"},"nodeType":"ModifierInvocation","src":"4089:20:21"}],"name":"setOnBehalfOf","nameLocation":"4046:13:21","nodeType":"FunctionDefinition","parameters":{"id":6519,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6518,"mutability":"mutable","name":"onBehalfOf","nameLocation":"4068:10:21","nodeType":"VariableDeclaration","scope":6529,"src":"4060:18:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6517,"name":"address","nodeType":"ElementaryTypeName","src":"4060:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4059:20:21"},"returnParameters":{"id":6523,"nodeType":"ParameterList","parameters":[],"src":"4110:0:21"},"scope":6568,"src":"4037:110:21","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[5518],"body":{"id":6540,"nodeType":"Block","src":"4235:34:21","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":6537,"name":"NotImplemented","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7675,"src":"4248:14:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6538,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4248:16:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6539,"nodeType":"RevertStatement","src":"4241:23:21"}]},"functionSelector":"f28c0498","id":6541,"implemented":true,"kind":"function","modifiers":[],"name":"exactOutput","nameLocation":"4160:11:21","nodeType":"FunctionDefinition","parameters":{"id":6533,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6532,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6541,"src":"4172:26:21","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$5509_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputParams"},"typeName":{"id":6531,"nodeType":"UserDefinedTypeName","pathNode":{"id":6530,"name":"ExactOutputParams","nameLocations":["4172:17:21"],"nodeType":"IdentifierPath","referencedDeclaration":5509,"src":"4172:17:21"},"referencedDeclaration":5509,"src":"4172:17:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$5509_storage_ptr","typeString":"struct ISwapRouter.ExactOutputParams"}},"visibility":"internal"}],"src":"4171:28:21"},"returnParameters":{"id":6536,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6535,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6541,"src":"4226:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6534,"name":"uint256","nodeType":"ElementaryTypeName","src":"4226:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4225:9:21"},"scope":6568,"src":"4151:118:21","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[5472],"body":{"id":6552,"nodeType":"Block","src":"4355:34:21","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":6549,"name":"NotImplemented","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7675,"src":"4368:14:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6550,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4368:16:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6551,"nodeType":"RevertStatement","src":"4361:23:21"}]},"functionSelector":"c04b8d59","id":6553,"implemented":true,"kind":"function","modifiers":[],"name":"exactInput","nameLocation":"4282:10:21","nodeType":"FunctionDefinition","parameters":{"id":6545,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6544,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6553,"src":"4293:25:21","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$5463_calldata_ptr","typeString":"struct ISwapRouter.ExactInputParams"},"typeName":{"id":6543,"nodeType":"UserDefinedTypeName","pathNode":{"id":6542,"name":"ExactInputParams","nameLocations":["4293:16:21"],"nodeType":"IdentifierPath","referencedDeclaration":5463,"src":"4293:16:21"},"referencedDeclaration":5463,"src":"4293:16:21","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$5463_storage_ptr","typeString":"struct ISwapRouter.ExactInputParams"}},"visibility":"internal"}],"src":"4292:27:21"},"returnParameters":{"id":6548,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6547,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6553,"src":"4346:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6546,"name":"uint256","nodeType":"ElementaryTypeName","src":"4346:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4345:9:21"},"scope":6568,"src":"4273:116:21","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[5418],"body":{"id":6566,"nodeType":"Block","src":"4528:34:21","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":6563,"name":"NotImplemented","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7675,"src":"4541:14:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6564,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4541:16:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6565,"nodeType":"RevertStatement","src":"4534:23:21"}]},"documentation":{"id":6554,"nodeType":"StructuredDocumentation","src":"4393:55:21","text":" @notice This function is not implemented"},"functionSelector":"fa461e33","id":6567,"implemented":true,"kind":"function","modifiers":[],"name":"uniswapV3SwapCallback","nameLocation":"4460:21:21","nodeType":"FunctionDefinition","parameters":{"id":6561,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6556,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6567,"src":"4482:6:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":6555,"name":"int256","nodeType":"ElementaryTypeName","src":"4482:6:21","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":6558,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6567,"src":"4490:6:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":6557,"name":"int256","nodeType":"ElementaryTypeName","src":"4490:6:21","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":6560,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6567,"src":"4498:14:21","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":6559,"name":"bytes","nodeType":"ElementaryTypeName","src":"4498:5:21","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4481:32:21"},"returnParameters":{"id":6562,"nodeType":"ParameterList","parameters":[],"src":"4528:0:21"},"scope":6568,"src":"4451:111:21","stateMutability":"pure","virtual":false,"visibility":"external"}],"scope":6569,"src":"737:3827:21","usedErrors":[305,308,1238,7659,7665,7667,7669,7671,7673,7675],"usedEvents":[317,326,335,6164,6168]}],"src":"39:4526:21"},"id":21},"contracts/SwapLibrary.sol":{"ast":{"absolutePath":"contracts/SwapLibrary.sol","exportedSymbols":{"CurveRoutes":[6109],"ICurveRouter":[7646],"IERC20Metadata":[1224],"ISwapRouter":[5519],"Math":[3640],"SwapLibrary":[7369]},"id":7370,"license":"Apache-2.0","nodeType":"SourceUnit","nodes":[{"id":6570,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"39:23:22"},{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol","file":"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol","id":6572,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7370,"sourceUnit":5520,"src":"64:87:22","symbolAliases":[{"foreign":{"id":6571,"name":"ISwapRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5519,"src":"72:11:22","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/dependencies/ICurveRouter.sol","file":"./dependencies/ICurveRouter.sol","id":6574,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7370,"sourceUnit":7647,"src":"152:61:22","symbolAliases":[{"foreign":{"id":6573,"name":"ICurveRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7646,"src":"160:12:22","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol","file":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol","id":6576,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7370,"sourceUnit":1225,"src":"214:97:22","symbolAliases":[{"foreign":{"id":6575,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"222:14:22","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/math/Math.sol","file":"@openzeppelin/contracts/utils/math/Math.sol","id":6578,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7370,"sourceUnit":3641,"src":"312:65:22","symbolAliases":[{"foreign":{"id":6577,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3640,"src":"320:4:22","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/CurveRoutes.sol","file":"./CurveRoutes.sol","id":6580,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7370,"sourceUnit":6110,"src":"378:46:22","symbolAliases":[{"foreign":{"id":6579,"name":"CurveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6109,"src":"386:11:22","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SwapLibrary","contractDependencies":[],"contractKind":"library","documentation":{"id":6581,"nodeType":"StructuredDocumentation","src":"426:95:22","text":" @title Swap Library\n @custom:security-contact security@ensuro.co\n @author Ensuro"},"fullyImplemented":true,"id":7369,"linearizedBaseContracts":[7369],"name":"SwapLibrary","nameLocation":"530:11:22","nodeType":"ContractDefinition","nodes":[{"global":false,"id":6584,"libraryName":{"id":6582,"name":"Math","nameLocations":["552:4:22"],"nodeType":"IdentifierPath","referencedDeclaration":3640,"src":"552:4:22"},"nodeType":"UsingForDirective","src":"546:23:22","typeName":{"id":6583,"name":"uint256","nodeType":"ElementaryTypeName","src":"561:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"constant":true,"id":6587,"mutability":"constant","name":"WAD","nameLocation":"599:3:22","nodeType":"VariableDeclaration","scope":7369,"src":"573:36:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6585,"name":"uint256","nodeType":"ElementaryTypeName","src":"573:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"31653138","id":6586,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"605:4:22","typeDescriptions":{"typeIdentifier":"t_rational_1000000000000000000_by_1","typeString":"int_const 1000000000000000000"},"value":"1e18"},"visibility":"internal"},{"constant":true,"id":6590,"mutability":"constant","name":"MAX_EXCHANGE","nameLocation":"718:12:22","nodeType":"VariableDeclaration","scope":7369,"src":"692:42:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6588,"name":"uint256","nodeType":"ElementaryTypeName","src":"692:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"32","id":6589,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"733:1:22","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"visibility":"internal"},{"canonicalName":"SwapLibrary.SwapProtocol","documentation":{"id":6591,"nodeType":"StructuredDocumentation","src":"739:53:22","text":" @dev Enum with the different protocols"},"id":6595,"members":[{"id":6592,"name":"undefined","nameLocation":"819:9:22","nodeType":"EnumValue","src":"819:9:22"},{"id":6593,"name":"uniswap","nameLocation":"834:7:22","nodeType":"EnumValue","src":"834:7:22"},{"id":6594,"name":"curveRouter","nameLocation":"847:11:22","nodeType":"EnumValue","src":"847:11:22"}],"name":"SwapProtocol","nameLocation":"800:12:22","nodeType":"EnumDefinition","src":"795:67:22"},{"canonicalName":"SwapLibrary.SwapConfig","id":6603,"members":[{"constant":false,"id":6598,"mutability":"mutable","name":"protocol","nameLocation":"903:8:22","nodeType":"VariableDeclaration","scope":6603,"src":"890:21:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"},"typeName":{"id":6597,"nodeType":"UserDefinedTypeName","pathNode":{"id":6596,"name":"SwapProtocol","nameLocations":["890:12:22"],"nodeType":"IdentifierPath","referencedDeclaration":6595,"src":"890:12:22"},"referencedDeclaration":6595,"src":"890:12:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"visibility":"internal"},{"constant":false,"id":6600,"mutability":"mutable","name":"maxSlippage","nameLocation":"925:11:22","nodeType":"VariableDeclaration","scope":6603,"src":"917:19:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6599,"name":"uint256","nodeType":"ElementaryTypeName","src":"917:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6602,"mutability":"mutable","name":"customParams","nameLocation":"948:12:22","nodeType":"VariableDeclaration","scope":6603,"src":"942:18:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":6601,"name":"bytes","nodeType":"ElementaryTypeName","src":"942:5:22","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"name":"SwapConfig","nameLocation":"873:10:22","nodeType":"StructDefinition","scope":7369,"src":"866:99:22","visibility":"public"},{"canonicalName":"SwapLibrary.UniswapCustomParams","id":6609,"members":[{"constant":false,"id":6605,"mutability":"mutable","name":"feeTier","nameLocation":"1009:7:22","nodeType":"VariableDeclaration","scope":6609,"src":"1002:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6604,"name":"uint24","nodeType":"ElementaryTypeName","src":"1002:6:22","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":6608,"mutability":"mutable","name":"router","nameLocation":"1034:6:22","nodeType":"VariableDeclaration","scope":6609,"src":"1022:18:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"},"typeName":{"id":6607,"nodeType":"UserDefinedTypeName","pathNode":{"id":6606,"name":"ISwapRouter","nameLocations":["1022:11:22"],"nodeType":"IdentifierPath","referencedDeclaration":5519,"src":"1022:11:22"},"referencedDeclaration":5519,"src":"1022:11:22","typeDescriptions":{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}},"visibility":"internal"}],"name":"UniswapCustomParams","nameLocation":"976:19:22","nodeType":"StructDefinition","scope":7369,"src":"969:76:22","visibility":"public"},{"errorSelector":"07f1c7d4","id":6611,"name":"InvalidProtocol","nameLocation":"1055:15:22","nodeType":"ErrorDefinition","parameters":{"id":6610,"nodeType":"ParameterList","parameters":[],"src":"1070:2:22"},"src":"1049:24:22"},{"errorSelector":"ece96d1c","id":6613,"name":"MaxSlippageCannotBeZero","nameLocation":"1082:23:22","nodeType":"ErrorDefinition","parameters":{"id":6612,"nodeType":"ParameterList","parameters":[],"src":"1105:2:22"},"src":"1076:32:22"},{"errorSelector":"e35d3f93","id":6615,"name":"UniswapRouterCannotBeZero","nameLocation":"1117:25:22","nodeType":"ErrorDefinition","parameters":{"id":6614,"nodeType":"ParameterList","parameters":[],"src":"1142:2:22"},"src":"1111:34:22"},{"errorSelector":"c087296d","id":6617,"name":"UniswapFeeTierCannotBeZero","nameLocation":"1154:26:22","nodeType":"ErrorDefinition","parameters":{"id":6616,"nodeType":"ParameterList","parameters":[],"src":"1180:2:22"},"src":"1148:35:22"},{"errorSelector":"511d53d0","id":6619,"name":"AllowanceShouldGoBackToZero","nameLocation":"1192:27:22","nodeType":"ErrorDefinition","parameters":{"id":6618,"nodeType":"ParameterList","parameters":[],"src":"1219:2:22"},"src":"1186:36:22"},{"errorSelector":"84135462","id":6625,"name":"ReceivedLessThanAcceptable","nameLocation":"1231:26:22","nodeType":"ErrorDefinition","parameters":{"id":6624,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6621,"mutability":"mutable","name":"received","nameLocation":"1266:8:22","nodeType":"VariableDeclaration","scope":6625,"src":"1258:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6620,"name":"uint256","nodeType":"ElementaryTypeName","src":"1258:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6623,"mutability":"mutable","name":"amountOutMin","nameLocation":"1284:12:22","nodeType":"VariableDeclaration","scope":6625,"src":"1276:20:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6622,"name":"uint256","nodeType":"ElementaryTypeName","src":"1276:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1257:40:22"},"src":"1225:73:22"},{"errorSelector":"4641f9e1","id":6631,"name":"SpentMoreThanAcceptable","nameLocation":"1307:23:22","nodeType":"ErrorDefinition","parameters":{"id":6630,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6627,"mutability":"mutable","name":"spent","nameLocation":"1339:5:22","nodeType":"VariableDeclaration","scope":6631,"src":"1331:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6626,"name":"uint256","nodeType":"ElementaryTypeName","src":"1331:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6629,"mutability":"mutable","name":"amountInMax","nameLocation":"1354:11:22","nodeType":"VariableDeclaration","scope":6631,"src":"1346:19:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6628,"name":"uint256","nodeType":"ElementaryTypeName","src":"1346:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1330:36:22"},"src":"1301:66:22"},{"body":{"id":6702,"nodeType":"Block","src":"1435:529:22","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6640,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6637,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6634,"src":"1445:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":6638,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1456:11:22","memberName":"maxSlippage","nodeType":"MemberAccess","referencedDeclaration":6600,"src":"1445:22:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":6639,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1471:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1445:27:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6644,"nodeType":"IfStatement","src":"1441:65:22","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":6641,"name":"MaxSlippageCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6613,"src":"1481:23:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6642,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1481:25:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6643,"nodeType":"RevertStatement","src":"1474:32:22"}},{"condition":{"commonType":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"},"id":6649,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6645,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6634,"src":"1516:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":6646,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1527:8:22","memberName":"protocol","nodeType":"MemberAccess","referencedDeclaration":6598,"src":"1516:19:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":6647,"name":"SwapProtocol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6595,"src":"1539:12:22","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_SwapProtocol_$6595_$","typeString":"type(enum SwapLibrary.SwapProtocol)"}},"id":6648,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1552:7:22","memberName":"uniswap","nodeType":"MemberAccess","referencedDeclaration":6593,"src":"1539:20:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"src":"1516:43:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"},"id":6688,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6684,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6634,"src":"1820:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":6685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1831:8:22","memberName":"protocol","nodeType":"MemberAccess","referencedDeclaration":6598,"src":"1820:19:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":6686,"name":"SwapProtocol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6595,"src":"1843:12:22","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_SwapProtocol_$6595_$","typeString":"type(enum SwapLibrary.SwapProtocol)"}},"id":6687,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1856:11:22","memberName":"curveRouter","nodeType":"MemberAccess","referencedDeclaration":6594,"src":"1843:24:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"src":"1820:47:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":6697,"name":"InvalidProtocol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6611,"src":"1942:15:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6698,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1942:17:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6699,"nodeType":"RevertStatement","src":"1935:24:22"},"id":6700,"nodeType":"IfStatement","src":"1816:143:22","trueBody":{"id":6696,"nodeType":"Block","src":"1869:60:22","statements":[{"expression":{"arguments":[{"expression":{"id":6692,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6634,"src":"1898:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":6693,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1909:12:22","memberName":"customParams","nodeType":"MemberAccess","referencedDeclaration":6602,"src":"1898:23:22","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"id":6689,"name":"CurveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6109,"src":"1877:11:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurveRoutes_$6109_$","typeString":"type(library CurveRoutes)"}},"id":6691,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1889:8:22","memberName":"validate","nodeType":"MemberAccess","referencedDeclaration":5747,"src":"1877:20:22","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$","typeString":"function (bytes memory) pure"}},"id":6694,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1877:45:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6695,"nodeType":"ExpressionStatement","src":"1877:45:22"}]}},"id":6701,"nodeType":"IfStatement","src":"1512:447:22","trueBody":{"id":6683,"nodeType":"Block","src":"1561:249:22","statements":[{"assignments":[6652],"declarations":[{"constant":false,"id":6652,"mutability":"mutable","name":"cp","nameLocation":"1596:2:22","nodeType":"VariableDeclaration","scope":6683,"src":"1569:29:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams"},"typeName":{"id":6651,"nodeType":"UserDefinedTypeName","pathNode":{"id":6650,"name":"UniswapCustomParams","nameLocations":["1569:19:22"],"nodeType":"IdentifierPath","referencedDeclaration":6609,"src":"1569:19:22"},"referencedDeclaration":6609,"src":"1569:19:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_storage_ptr","typeString":"struct SwapLibrary.UniswapCustomParams"}},"visibility":"internal"}],"id":6660,"initialValue":{"arguments":[{"expression":{"id":6655,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6634,"src":"1612:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":6656,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1623:12:22","memberName":"customParams","nodeType":"MemberAccess","referencedDeclaration":6602,"src":"1612:23:22","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"components":[{"id":6657,"name":"UniswapCustomParams","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6609,"src":"1638:19:22","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_UniswapCustomParams_$6609_storage_ptr_$","typeString":"type(struct SwapLibrary.UniswapCustomParams storage pointer)"}}],"id":6658,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"1637:21:22","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_UniswapCustomParams_$6609_storage_ptr_$","typeString":"type(struct SwapLibrary.UniswapCustomParams storage pointer)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_type$_t_struct$_UniswapCustomParams_$6609_storage_ptr_$","typeString":"type(struct SwapLibrary.UniswapCustomParams storage pointer)"}],"expression":{"id":6653,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1601:3:22","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":6654,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1605:6:22","memberName":"decode","nodeType":"MemberAccess","src":"1601:10:22","typeDescriptions":{"typeIdentifier":"t_function_abidecode_pure$__$returns$__$","typeString":"function () pure"}},"id":6659,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1601:58:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"nodeType":"VariableDeclarationStatement","src":"1569:90:22"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":6670,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"expression":{"id":6663,"name":"cp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6652,"src":"1679:2:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"id":6664,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1682:6:22","memberName":"router","nodeType":"MemberAccess","referencedDeclaration":6608,"src":"1679:9:22","typeDescriptions":{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}],"id":6662,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1671:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6661,"name":"address","nodeType":"ElementaryTypeName","src":"1671:7:22","typeDescriptions":{}}},"id":6665,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1671:18:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":6668,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1701:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":6667,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1693:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6666,"name":"address","nodeType":"ElementaryTypeName","src":"1693:7:22","typeDescriptions":{}}},"id":6669,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1693:10:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1671:32:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6674,"nodeType":"IfStatement","src":"1667:72:22","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":6671,"name":"UniswapRouterCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6615,"src":"1712:25:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6672,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1712:27:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6673,"nodeType":"RevertStatement","src":"1705:34:22"}},{"condition":{"commonType":{"typeIdentifier":"t_uint24","typeString":"uint24"},"id":6678,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6675,"name":"cp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6652,"src":"1751:2:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"id":6676,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1754:7:22","memberName":"feeTier","nodeType":"MemberAccess","referencedDeclaration":6605,"src":"1751:10:22","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":6677,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1765:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1751:15:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6682,"nodeType":"IfStatement","src":"1747:56:22","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":6679,"name":"UniswapFeeTierCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6617,"src":"1775:26:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6680,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1775:28:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6681,"nodeType":"RevertStatement","src":"1768:35:22"}}]}}]},"functionSelector":"b2fca32c","id":6703,"implemented":true,"kind":"function","modifiers":[],"name":"validate","nameLocation":"1380:8:22","nodeType":"FunctionDefinition","parameters":{"id":6635,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6634,"mutability":"mutable","name":"swapConfig","nameLocation":"1409:10:22","nodeType":"VariableDeclaration","scope":6703,"src":"1389:30:22","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig"},"typeName":{"id":6633,"nodeType":"UserDefinedTypeName","pathNode":{"id":6632,"name":"SwapConfig","nameLocations":["1389:10:22"],"nodeType":"IdentifierPath","referencedDeclaration":6603,"src":"1389:10:22"},"referencedDeclaration":6603,"src":"1389:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_storage_ptr","typeString":"struct SwapLibrary.SwapConfig"}},"visibility":"internal"}],"src":"1388:32:22"},"returnParameters":{"id":6636,"nodeType":"ParameterList","parameters":[],"src":"1435:0:22"},"scope":7369,"src":"1371:593:22","stateMutability":"pure","virtual":false,"visibility":"external"},{"body":{"id":6722,"nodeType":"Block","src":"2037:65:22","statements":[{"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6719,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6710,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2051:2:22","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":6717,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3138","id":6711,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2058:2:22","typeDescriptions":{"typeIdentifier":"t_rational_18_by_1","typeString":"int_const 18"},"value":"18"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":6713,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6705,"src":"2078:5:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6712,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"2063:14:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":6714,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2063:21:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":6715,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2085:8:22","memberName":"decimals","nodeType":"MemberAccess","referencedDeclaration":1223,"src":"2063:30:22","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_uint8_$","typeString":"function () view external returns (uint8)"}},"id":6716,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2063:32:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"2058:37:22","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"id":6718,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2057:39:22","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"2051:45:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6720,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2050:47:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6709,"id":6721,"nodeType":"Return","src":"2043:54:22"}]},"id":6723,"implemented":true,"kind":"function","modifiers":[],"name":"_toWadFactor","nameLocation":"1977:12:22","nodeType":"FunctionDefinition","parameters":{"id":6706,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6705,"mutability":"mutable","name":"token","nameLocation":"1998:5:22","nodeType":"VariableDeclaration","scope":6723,"src":"1990:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6704,"name":"address","nodeType":"ElementaryTypeName","src":"1990:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1989:15:22"},"returnParameters":{"id":6709,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6708,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6723,"src":"2028:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6707,"name":"uint256","nodeType":"ElementaryTypeName","src":"2028:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2027:9:22"},"scope":7369,"src":"1968:134:22","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":6772,"nodeType":"Block","src":"3240:302:22","statements":[{"condition":{"commonType":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"},"id":6744,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6740,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6727,"src":"3250:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":6741,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3261:8:22","memberName":"protocol","nodeType":"MemberAccess","referencedDeclaration":6598,"src":"3250:19:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":6742,"name":"SwapProtocol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6595,"src":"3273:12:22","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_SwapProtocol_$6595_$","typeString":"type(enum SwapLibrary.SwapProtocol)"}},"id":6743,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3286:7:22","memberName":"uniswap","nodeType":"MemberAccess","referencedDeclaration":6593,"src":"3273:20:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"src":"3250:43:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"},"id":6758,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6754,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6727,"src":"3391:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":6755,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3402:8:22","memberName":"protocol","nodeType":"MemberAccess","referencedDeclaration":6598,"src":"3391:19:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":6756,"name":"SwapProtocol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6595,"src":"3414:12:22","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_SwapProtocol_$6595_$","typeString":"type(enum SwapLibrary.SwapProtocol)"}},"id":6757,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3427:11:22","memberName":"curveRouter","nodeType":"MemberAccess","referencedDeclaration":6594,"src":"3414:24:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"src":"3391:47:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6768,"nodeType":"IfStatement","src":"3387:137:22","trueBody":{"id":6767,"nodeType":"Block","src":"3440:84:22","statements":[{"expression":{"arguments":[{"id":6760,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6727,"src":"3472:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},{"id":6761,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6729,"src":"3484:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6762,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6731,"src":"3493:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6763,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6733,"src":"3503:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6764,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"3511:5:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6759,"name":"_exactInputCurve","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7214,"src":"3455:16:22","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_SwapConfig_$6603_calldata_ptr_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (struct SwapLibrary.SwapConfig calldata,address,address,uint256,uint256) returns (uint256)"}},"id":6765,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3455:62:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6739,"id":6766,"nodeType":"Return","src":"3448:69:22"}]}},"id":6769,"nodeType":"IfStatement","src":"3246:278:22","trueBody":{"id":6753,"nodeType":"Block","src":"3295:86:22","statements":[{"expression":{"arguments":[{"id":6746,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6727,"src":"3329:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},{"id":6747,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6729,"src":"3341:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6748,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6731,"src":"3350:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6749,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6733,"src":"3360:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6750,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"3368:5:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6745,"name":"_exactInputUniswap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7005,"src":"3310:18:22","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_SwapConfig_$6603_calldata_ptr_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (struct SwapLibrary.SwapConfig calldata,address,address,uint256,uint256) returns (uint256)"}},"id":6751,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3310:64:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6739,"id":6752,"nodeType":"Return","src":"3303:71:22"}]}},{"expression":{"hexValue":"30","id":6770,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3536:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":6739,"id":6771,"nodeType":"Return","src":"3529:8:22"}]},"documentation":{"id":6724,"nodeType":"StructuredDocumentation","src":"2106:962:22","text":" @dev Executes a swap of `amount` from the input token (`tokenIn`) to the output token (`tokenOut`),\n @param swapConfig Swap configuration including the swap protocol to use.\n @param tokenIn The address of the token to be swapped.\n @param tokenOut The address of the token to be received as a result of the swap.\n @param amount The exact amount of input token to be swapped.\n @param price Approximate amount of units of tokenIn required to acquire a unit of tokenOut.\n              It will be validated against the swap rate considering the maxSlippage.\n @notice Should have at least `amount` of tokenIn in the contract to execute the transaction.\n Requirements:\n - tokenIn and tokenOut decimals <= 18\n - SwapConfig must be valid and should be validated using the `validate()` method.\n @return That exact `amount` went out and an tokenOut amount equal to amount/price +- slippage% came in."},"functionSelector":"77566915","id":6773,"implemented":true,"kind":"function","modifiers":[],"name":"exactInput","nameLocation":"3080:10:22","nodeType":"FunctionDefinition","parameters":{"id":6736,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6727,"mutability":"mutable","name":"swapConfig","nameLocation":"3116:10:22","nodeType":"VariableDeclaration","scope":6773,"src":"3096:30:22","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig"},"typeName":{"id":6726,"nodeType":"UserDefinedTypeName","pathNode":{"id":6725,"name":"SwapConfig","nameLocations":["3096:10:22"],"nodeType":"IdentifierPath","referencedDeclaration":6603,"src":"3096:10:22"},"referencedDeclaration":6603,"src":"3096:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_storage_ptr","typeString":"struct SwapLibrary.SwapConfig"}},"visibility":"internal"},{"constant":false,"id":6729,"mutability":"mutable","name":"tokenIn","nameLocation":"3140:7:22","nodeType":"VariableDeclaration","scope":6773,"src":"3132:15:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6728,"name":"address","nodeType":"ElementaryTypeName","src":"3132:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6731,"mutability":"mutable","name":"tokenOut","nameLocation":"3161:8:22","nodeType":"VariableDeclaration","scope":6773,"src":"3153:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6730,"name":"address","nodeType":"ElementaryTypeName","src":"3153:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6733,"mutability":"mutable","name":"amount","nameLocation":"3183:6:22","nodeType":"VariableDeclaration","scope":6773,"src":"3175:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6732,"name":"uint256","nodeType":"ElementaryTypeName","src":"3175:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6735,"mutability":"mutable","name":"price","nameLocation":"3203:5:22","nodeType":"VariableDeclaration","scope":6773,"src":"3195:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6734,"name":"uint256","nodeType":"ElementaryTypeName","src":"3195:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3090:122:22"},"returnParameters":{"id":6739,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6738,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6773,"src":"3231:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6737,"name":"uint256","nodeType":"ElementaryTypeName","src":"3231:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3230:9:22"},"scope":7369,"src":"3071:471:22","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":6822,"nodeType":"Block","src":"4764:304:22","statements":[{"condition":{"commonType":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"},"id":6794,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6790,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6777,"src":"4774:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":6791,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4785:8:22","memberName":"protocol","nodeType":"MemberAccess","referencedDeclaration":6598,"src":"4774:19:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":6792,"name":"SwapProtocol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6595,"src":"4797:12:22","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_SwapProtocol_$6595_$","typeString":"type(enum SwapLibrary.SwapProtocol)"}},"id":6793,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4810:7:22","memberName":"uniswap","nodeType":"MemberAccess","referencedDeclaration":6593,"src":"4797:20:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"src":"4774:43:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"},"id":6808,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6804,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6777,"src":"4916:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":6805,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4927:8:22","memberName":"protocol","nodeType":"MemberAccess","referencedDeclaration":6598,"src":"4916:19:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":6806,"name":"SwapProtocol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6595,"src":"4939:12:22","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_SwapProtocol_$6595_$","typeString":"type(enum SwapLibrary.SwapProtocol)"}},"id":6807,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4952:11:22","memberName":"curveRouter","nodeType":"MemberAccess","referencedDeclaration":6594,"src":"4939:24:22","typeDescriptions":{"typeIdentifier":"t_enum$_SwapProtocol_$6595","typeString":"enum SwapLibrary.SwapProtocol"}},"src":"4916:47:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6818,"nodeType":"IfStatement","src":"4912:138:22","trueBody":{"id":6817,"nodeType":"Block","src":"4965:85:22","statements":[{"expression":{"arguments":[{"id":6810,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6777,"src":"4998:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},{"id":6811,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6779,"src":"5010:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6812,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6781,"src":"5019:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6813,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6783,"src":"5029:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6814,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6785,"src":"5037:5:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6809,"name":"_exactOutputCurve","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7368,"src":"4980:17:22","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_SwapConfig_$6603_calldata_ptr_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (struct SwapLibrary.SwapConfig calldata,address,address,uint256,uint256) returns (uint256)"}},"id":6815,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4980:63:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6789,"id":6816,"nodeType":"Return","src":"4973:70:22"}]}},"id":6819,"nodeType":"IfStatement","src":"4770:280:22","trueBody":{"id":6803,"nodeType":"Block","src":"4819:87:22","statements":[{"expression":{"arguments":[{"id":6796,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6777,"src":"4854:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},{"id":6797,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6779,"src":"4866:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6798,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6781,"src":"4875:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6799,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6783,"src":"4885:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6800,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6785,"src":"4893:5:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6795,"name":"_exactOutputUniswap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7113,"src":"4834:19:22","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_SwapConfig_$6603_calldata_ptr_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (struct SwapLibrary.SwapConfig calldata,address,address,uint256,uint256) returns (uint256)"}},"id":6801,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4834:65:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6789,"id":6802,"nodeType":"Return","src":"4827:72:22"}]}},{"expression":{"hexValue":"30","id":6820,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5062:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":6789,"id":6821,"nodeType":"Return","src":"5055:8:22"}]},"documentation":{"id":6774,"nodeType":"StructuredDocumentation","src":"3546:1045:22","text":" @dev Executes a swap, where the desired output amount of `tokenOut` is specified,\n @param swapConfig Swap configuration including the protocol to use for the swap.\n @param tokenIn The address of the token to be used as input for the swap.\n @param tokenOut The address of the token to be received as a result of the swap.\n @param amount The desired amount of output tokens (`tokenOut`) to be obtained from the swap.\n @param price Approximate amount of units of tokenIn required to acquire a unit of tokenOut.\n              It will be validated against the swap rate considering the maxSlippage.\n @notice Should have sufficient `tokenIn` to fulfill the desired output amount.\n Requirements:\n - tokenIn and tokenOut decimals <= 18\n - SwapConfig must be valid and should be validated using the `validate()` method.\n @return The actual amount of input tokens (`tokenIn`) spent to obtain the desired output amount (`amount`)\n   should be within the expected slippage range."},"functionSelector":"581e517d","id":6823,"implemented":true,"kind":"function","modifiers":[],"name":"exactOutput","nameLocation":"4603:11:22","nodeType":"FunctionDefinition","parameters":{"id":6786,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6777,"mutability":"mutable","name":"swapConfig","nameLocation":"4640:10:22","nodeType":"VariableDeclaration","scope":6823,"src":"4620:30:22","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig"},"typeName":{"id":6776,"nodeType":"UserDefinedTypeName","pathNode":{"id":6775,"name":"SwapConfig","nameLocations":["4620:10:22"],"nodeType":"IdentifierPath","referencedDeclaration":6603,"src":"4620:10:22"},"referencedDeclaration":6603,"src":"4620:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_storage_ptr","typeString":"struct SwapLibrary.SwapConfig"}},"visibility":"internal"},{"constant":false,"id":6779,"mutability":"mutable","name":"tokenIn","nameLocation":"4664:7:22","nodeType":"VariableDeclaration","scope":6823,"src":"4656:15:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6778,"name":"address","nodeType":"ElementaryTypeName","src":"4656:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6781,"mutability":"mutable","name":"tokenOut","nameLocation":"4685:8:22","nodeType":"VariableDeclaration","scope":6823,"src":"4677:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6780,"name":"address","nodeType":"ElementaryTypeName","src":"4677:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6783,"mutability":"mutable","name":"amount","nameLocation":"4707:6:22","nodeType":"VariableDeclaration","scope":6823,"src":"4699:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6782,"name":"uint256","nodeType":"ElementaryTypeName","src":"4699:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6785,"mutability":"mutable","name":"price","nameLocation":"4727:5:22","nodeType":"VariableDeclaration","scope":6823,"src":"4719:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6784,"name":"uint256","nodeType":"ElementaryTypeName","src":"4719:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4614:122:22"},"returnParameters":{"id":6789,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6788,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6823,"src":"4755:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6787,"name":"uint256","nodeType":"ElementaryTypeName","src":"4755:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4754:9:22"},"scope":7369,"src":"4594:474:22","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":6855,"nodeType":"Block","src":"5239:108:22","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6853,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6847,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6845,"name":"WAD","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6587,"src":"5292:3:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":6846,"name":"maxSlippage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6827,"src":"5298:11:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5292:17:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6848,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6833,"src":"5311:5:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6842,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6838,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6825,"src":"5253:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"id":6840,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6829,"src":"5275:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6839,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6723,"src":"5262:12:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":6841,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5262:21:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5253:30:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6843,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5252:32:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6844,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5285:6:22","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":2470,"src":"5252:39:22","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":6849,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5252:65:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"arguments":[{"id":6851,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6831,"src":"5333:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6850,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6723,"src":"5320:12:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":6852,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5320:22:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5252:90:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6837,"id":6854,"nodeType":"Return","src":"5245:97:22"}]},"id":6856,"implemented":true,"kind":"function","modifiers":[],"name":"_calcMinAmount","nameLocation":"5081:14:22","nodeType":"FunctionDefinition","parameters":{"id":6834,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6825,"mutability":"mutable","name":"amount","nameLocation":"5109:6:22","nodeType":"VariableDeclaration","scope":6856,"src":"5101:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6824,"name":"uint256","nodeType":"ElementaryTypeName","src":"5101:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6827,"mutability":"mutable","name":"maxSlippage","nameLocation":"5129:11:22","nodeType":"VariableDeclaration","scope":6856,"src":"5121:19:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6826,"name":"uint256","nodeType":"ElementaryTypeName","src":"5121:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6829,"mutability":"mutable","name":"tokenIn","nameLocation":"5154:7:22","nodeType":"VariableDeclaration","scope":6856,"src":"5146:15:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6828,"name":"address","nodeType":"ElementaryTypeName","src":"5146:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6831,"mutability":"mutable","name":"tokenOut","nameLocation":"5175:8:22","nodeType":"VariableDeclaration","scope":6856,"src":"5167:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6830,"name":"address","nodeType":"ElementaryTypeName","src":"5167:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6833,"mutability":"mutable","name":"price","nameLocation":"5197:5:22","nodeType":"VariableDeclaration","scope":6856,"src":"5189:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6832,"name":"uint256","nodeType":"ElementaryTypeName","src":"5189:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5095:111:22"},"returnParameters":{"id":6837,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6836,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6856,"src":"5230:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6835,"name":"uint256","nodeType":"ElementaryTypeName","src":"5230:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5229:9:22"},"scope":7369,"src":"5072:275:22","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":6892,"nodeType":"Block","src":"5518:125:22","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6890,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6884,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6882,"name":"WAD","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6587,"src":"5591:3:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":6883,"name":"maxSlippage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6860,"src":"5597:11:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5591:17:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6885,"name":"WAD","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6587,"src":"5610:3:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":6878,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6866,"src":"5572:5:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6879,"name":"WAD","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6587,"src":"5579:3:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6875,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6871,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6858,"src":"5532:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"id":6873,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6864,"src":"5554:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6872,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6723,"src":"5541:12:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":6874,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5541:22:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5532:31:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6876,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5531:33:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6877,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5565:6:22","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":2470,"src":"5531:40:22","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":6880,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5531:52:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6881,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5584:6:22","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":2470,"src":"5531:59:22","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":6886,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5531:83:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"arguments":[{"id":6888,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6862,"src":"5630:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6887,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6723,"src":"5617:12:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":6889,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5617:21:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5531:107:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6870,"id":6891,"nodeType":"Return","src":"5524:114:22"}]},"id":6893,"implemented":true,"kind":"function","modifiers":[],"name":"_calcMaxAmount","nameLocation":"5360:14:22","nodeType":"FunctionDefinition","parameters":{"id":6867,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6858,"mutability":"mutable","name":"amount","nameLocation":"5388:6:22","nodeType":"VariableDeclaration","scope":6893,"src":"5380:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6857,"name":"uint256","nodeType":"ElementaryTypeName","src":"5380:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6860,"mutability":"mutable","name":"maxSlippage","nameLocation":"5408:11:22","nodeType":"VariableDeclaration","scope":6893,"src":"5400:19:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6859,"name":"uint256","nodeType":"ElementaryTypeName","src":"5400:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6862,"mutability":"mutable","name":"tokenIn","nameLocation":"5433:7:22","nodeType":"VariableDeclaration","scope":6893,"src":"5425:15:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6861,"name":"address","nodeType":"ElementaryTypeName","src":"5425:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6864,"mutability":"mutable","name":"tokenOut","nameLocation":"5454:8:22","nodeType":"VariableDeclaration","scope":6893,"src":"5446:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6863,"name":"address","nodeType":"ElementaryTypeName","src":"5446:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6866,"mutability":"mutable","name":"price","nameLocation":"5476:5:22","nodeType":"VariableDeclaration","scope":6893,"src":"5468:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6865,"name":"uint256","nodeType":"ElementaryTypeName","src":"5468:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5374:111:22"},"returnParameters":{"id":6870,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6869,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6893,"src":"5509:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6868,"name":"uint256","nodeType":"ElementaryTypeName","src":"5509:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5508:9:22"},"scope":7369,"src":"5351:292:22","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":7004,"nodeType":"Block","src":"5824:1019:22","statements":[{"assignments":[6911],"declarations":[{"constant":false,"id":6911,"mutability":"mutable","name":"cp","nameLocation":"5857:2:22","nodeType":"VariableDeclaration","scope":7004,"src":"5830:29:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams"},"typeName":{"id":6910,"nodeType":"UserDefinedTypeName","pathNode":{"id":6909,"name":"UniswapCustomParams","nameLocations":["5830:19:22"],"nodeType":"IdentifierPath","referencedDeclaration":6609,"src":"5830:19:22"},"referencedDeclaration":6609,"src":"5830:19:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_storage_ptr","typeString":"struct SwapLibrary.UniswapCustomParams"}},"visibility":"internal"}],"id":6919,"initialValue":{"arguments":[{"expression":{"id":6914,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6896,"src":"5873:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":6915,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5884:12:22","memberName":"customParams","nodeType":"MemberAccess","referencedDeclaration":6602,"src":"5873:23:22","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"components":[{"id":6916,"name":"UniswapCustomParams","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6609,"src":"5899:19:22","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_UniswapCustomParams_$6609_storage_ptr_$","typeString":"type(struct SwapLibrary.UniswapCustomParams storage pointer)"}}],"id":6917,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"5898:21:22","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_UniswapCustomParams_$6609_storage_ptr_$","typeString":"type(struct SwapLibrary.UniswapCustomParams storage pointer)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_type$_t_struct$_UniswapCustomParams_$6609_storage_ptr_$","typeString":"type(struct SwapLibrary.UniswapCustomParams storage pointer)"}],"expression":{"id":6912,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"5862:3:22","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":6913,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5866:6:22","memberName":"decode","nodeType":"MemberAccess","src":"5862:10:22","typeDescriptions":{"typeIdentifier":"t_function_abidecode_pure$__$returns$__$","typeString":"function () pure"}},"id":6918,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5862:58:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"nodeType":"VariableDeclarationStatement","src":"5830:90:22"},{"assignments":[6921],"declarations":[{"constant":false,"id":6921,"mutability":"mutable","name":"amountOutMin","nameLocation":"5934:12:22","nodeType":"VariableDeclaration","scope":7004,"src":"5926:20:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6920,"name":"uint256","nodeType":"ElementaryTypeName","src":"5926:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6930,"initialValue":{"arguments":[{"id":6923,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6902,"src":"5964:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":6924,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6896,"src":"5972:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":6925,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5983:11:22","memberName":"maxSlippage","nodeType":"MemberAccess","referencedDeclaration":6600,"src":"5972:22:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6926,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6898,"src":"5996:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6927,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6900,"src":"6005:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6928,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6904,"src":"6015:5:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6922,"name":"_calcMinAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6856,"src":"5949:14:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,address,address,uint256) view returns (uint256)"}},"id":6929,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5949:72:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5926:95:22"},{"expression":{"arguments":[{"arguments":[{"expression":{"id":6937,"name":"cp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6911,"src":"6068:2:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"id":6938,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6071:6:22","memberName":"router","nodeType":"MemberAccess","referencedDeclaration":6608,"src":"6068:9:22","typeDescriptions":{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}],"id":6936,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6060:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6935,"name":"address","nodeType":"ElementaryTypeName","src":"6060:7:22","typeDescriptions":{}}},"id":6939,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6060:18:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6940,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6902,"src":"6080:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":6932,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6898,"src":"6043:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6931,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"6028:14:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":6933,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6028:23:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":6934,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6052:7:22","memberName":"approve","nodeType":"MemberAccess","referencedDeclaration":1185,"src":"6028:31:22","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":6941,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6028:59:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6942,"nodeType":"ExpressionStatement","src":"6028:59:22"},{"assignments":[6947],"declarations":[{"constant":false,"id":6947,"mutability":"mutable","name":"params","nameLocation":"6135:6:22","nodeType":"VariableDeclaration","scope":7004,"src":"6093:48:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_memory_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams"},"typeName":{"id":6946,"nodeType":"UserDefinedTypeName","pathNode":{"id":6945,"name":"ISwapRouter.ExactInputSingleParams","nameLocations":["6093:11:22","6105:22:22"],"nodeType":"IdentifierPath","referencedDeclaration":5443,"src":"6093:34:22"},"referencedDeclaration":5443,"src":"6093:34:22","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_storage_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams"}},"visibility":"internal"}],"id":6964,"initialValue":{"arguments":[{"id":6950,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6898,"src":"6196:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6951,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6900,"src":"6221:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":6952,"name":"cp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6911,"src":"6242:2:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"id":6953,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6245:7:22","memberName":"feeTier","nodeType":"MemberAccess","referencedDeclaration":6605,"src":"6242:10:22","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},{"arguments":[{"id":6956,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"6279:4:22","typeDescriptions":{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}],"id":6955,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6271:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6954,"name":"address","nodeType":"ElementaryTypeName","src":"6271:7:22","typeDescriptions":{}}},"id":6957,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6271:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":6958,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"6302:5:22","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":6959,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6308:9:22","memberName":"timestamp","nodeType":"MemberAccess","src":"6302:15:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6960,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6902,"src":"6335:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6961,"name":"amountOutMin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6921,"src":"6367:12:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"30","id":6962,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6406:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint24","typeString":"uint24"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":6948,"name":"ISwapRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5519,"src":"6144:11:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ISwapRouter_$5519_$","typeString":"type(contract ISwapRouter)"}},"id":6949,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6156:22:22","memberName":"ExactInputSingleParams","nodeType":"MemberAccess","referencedDeclaration":5443,"src":"6144:34:22","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_ExactInputSingleParams_$5443_storage_ptr_$","typeString":"type(struct ISwapRouter.ExactInputSingleParams storage pointer)"}},"id":6963,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["6187:7:22","6211:8:22","6237:3:22","6260:9:22","6292:8:22","6325:8:22","6349:16:22","6387:17:22"],"names":["tokenIn","tokenOut","fee","recipient","deadline","amountIn","amountOutMinimum","sqrtPriceLimitX96"],"nodeType":"FunctionCall","src":"6144:380:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_memory_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams memory"}},"nodeType":"VariableDeclarationStatement","src":"6093:431:22"},{"assignments":[6966],"declarations":[{"constant":false,"id":6966,"mutability":"mutable","name":"received","nameLocation":"6539:8:22","nodeType":"VariableDeclaration","scope":7004,"src":"6531:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6965,"name":"uint256","nodeType":"ElementaryTypeName","src":"6531:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6972,"initialValue":{"arguments":[{"id":6970,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6947,"src":"6577:6:22","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_memory_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_memory_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams memory"}],"expression":{"expression":{"id":6967,"name":"cp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6911,"src":"6550:2:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"id":6968,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6553:6:22","memberName":"router","nodeType":"MemberAccess","referencedDeclaration":6608,"src":"6550:9:22","typeDescriptions":{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}},"id":6969,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6560:16:22","memberName":"exactInputSingle","nodeType":"MemberAccess","referencedDeclaration":5452,"src":"6550:26:22","typeDescriptions":{"typeIdentifier":"t_function_external_payable$_t_struct$_ExactInputSingleParams_$5443_memory_ptr_$returns$_t_uint256_$","typeString":"function (struct ISwapRouter.ExactInputSingleParams memory) payable external returns (uint256)"}},"id":6971,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6550:34:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6531:53:22"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6988,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"arguments":[{"id":6979,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"6636:4:22","typeDescriptions":{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}],"id":6978,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6628:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6977,"name":"address","nodeType":"ElementaryTypeName","src":"6628:7:22","typeDescriptions":{}}},"id":6980,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6628:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"expression":{"id":6983,"name":"cp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6911,"src":"6651:2:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"id":6984,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6654:6:22","memberName":"router","nodeType":"MemberAccess","referencedDeclaration":6608,"src":"6651:9:22","typeDescriptions":{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}],"id":6982,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6643:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6981,"name":"address","nodeType":"ElementaryTypeName","src":"6643:7:22","typeDescriptions":{}}},"id":6985,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6643:18:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":6974,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6898,"src":"6609:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6973,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"6594:14:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":6975,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6594:23:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":6976,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6618:9:22","memberName":"allowance","nodeType":"MemberAccess","referencedDeclaration":1175,"src":"6594:33:22","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$_t_address_$returns$_t_uint256_$","typeString":"function (address,address) view external returns (uint256)"}},"id":6986,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6594:68:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":6987,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6666:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6594:73:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6992,"nodeType":"IfStatement","src":"6590:115:22","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":6989,"name":"AllowanceShouldGoBackToZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6619,"src":"6676:27:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6990,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6676:29:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6991,"nodeType":"RevertStatement","src":"6669:36:22"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6995,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6993,"name":"received","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6966,"src":"6735:8:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":6994,"name":"amountOutMin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6921,"src":"6746:12:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6735:23:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7001,"nodeType":"IfStatement","src":"6731:86:22","trueBody":{"errorCall":{"arguments":[{"id":6997,"name":"received","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6966,"src":"6794:8:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6998,"name":"amountOutMin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6921,"src":"6804:12:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6996,"name":"ReceivedLessThanAcceptable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6625,"src":"6767:26:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":6999,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6767:50:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7000,"nodeType":"RevertStatement","src":"6760:57:22"}},{"expression":{"id":7002,"name":"received","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6966,"src":"6830:8:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6908,"id":7003,"nodeType":"Return","src":"6823:15:22"}]},"id":7005,"implemented":true,"kind":"function","modifiers":[],"name":"_exactInputUniswap","nameLocation":"5656:18:22","nodeType":"FunctionDefinition","parameters":{"id":6905,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6896,"mutability":"mutable","name":"swapConfig","nameLocation":"5700:10:22","nodeType":"VariableDeclaration","scope":7005,"src":"5680:30:22","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig"},"typeName":{"id":6895,"nodeType":"UserDefinedTypeName","pathNode":{"id":6894,"name":"SwapConfig","nameLocations":["5680:10:22"],"nodeType":"IdentifierPath","referencedDeclaration":6603,"src":"5680:10:22"},"referencedDeclaration":6603,"src":"5680:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_storage_ptr","typeString":"struct SwapLibrary.SwapConfig"}},"visibility":"internal"},{"constant":false,"id":6898,"mutability":"mutable","name":"tokenIn","nameLocation":"5724:7:22","nodeType":"VariableDeclaration","scope":7005,"src":"5716:15:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6897,"name":"address","nodeType":"ElementaryTypeName","src":"5716:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6900,"mutability":"mutable","name":"tokenOut","nameLocation":"5745:8:22","nodeType":"VariableDeclaration","scope":7005,"src":"5737:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6899,"name":"address","nodeType":"ElementaryTypeName","src":"5737:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6902,"mutability":"mutable","name":"amount","nameLocation":"5767:6:22","nodeType":"VariableDeclaration","scope":7005,"src":"5759:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6901,"name":"uint256","nodeType":"ElementaryTypeName","src":"5759:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6904,"mutability":"mutable","name":"price","nameLocation":"5787:5:22","nodeType":"VariableDeclaration","scope":7005,"src":"5779:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6903,"name":"uint256","nodeType":"ElementaryTypeName","src":"5779:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5674:122:22"},"returnParameters":{"id":6908,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6907,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7005,"src":"5815:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6906,"name":"uint256","nodeType":"ElementaryTypeName","src":"5815:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5814:9:22"},"scope":7369,"src":"5647:1196:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":7112,"nodeType":"Block","src":"7025:982:22","statements":[{"assignments":[7023],"declarations":[{"constant":false,"id":7023,"mutability":"mutable","name":"cp","nameLocation":"7058:2:22","nodeType":"VariableDeclaration","scope":7112,"src":"7031:29:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams"},"typeName":{"id":7022,"nodeType":"UserDefinedTypeName","pathNode":{"id":7021,"name":"UniswapCustomParams","nameLocations":["7031:19:22"],"nodeType":"IdentifierPath","referencedDeclaration":6609,"src":"7031:19:22"},"referencedDeclaration":6609,"src":"7031:19:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_storage_ptr","typeString":"struct SwapLibrary.UniswapCustomParams"}},"visibility":"internal"}],"id":7031,"initialValue":{"arguments":[{"expression":{"id":7026,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7008,"src":"7074:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":7027,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7085:12:22","memberName":"customParams","nodeType":"MemberAccess","referencedDeclaration":6602,"src":"7074:23:22","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"components":[{"id":7028,"name":"UniswapCustomParams","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6609,"src":"7100:19:22","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_UniswapCustomParams_$6609_storage_ptr_$","typeString":"type(struct SwapLibrary.UniswapCustomParams storage pointer)"}}],"id":7029,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"7099:21:22","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_UniswapCustomParams_$6609_storage_ptr_$","typeString":"type(struct SwapLibrary.UniswapCustomParams storage pointer)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_type$_t_struct$_UniswapCustomParams_$6609_storage_ptr_$","typeString":"type(struct SwapLibrary.UniswapCustomParams storage pointer)"}],"expression":{"id":7024,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"7063:3:22","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":7025,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7067:6:22","memberName":"decode","nodeType":"MemberAccess","src":"7063:10:22","typeDescriptions":{"typeIdentifier":"t_function_abidecode_pure$__$returns$__$","typeString":"function () pure"}},"id":7030,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7063:58:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"nodeType":"VariableDeclarationStatement","src":"7031:90:22"},{"assignments":[7033],"declarations":[{"constant":false,"id":7033,"mutability":"mutable","name":"amountInMax","nameLocation":"7136:11:22","nodeType":"VariableDeclaration","scope":7112,"src":"7128:19:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7032,"name":"uint256","nodeType":"ElementaryTypeName","src":"7128:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":7042,"initialValue":{"arguments":[{"id":7035,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7014,"src":"7165:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7036,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7008,"src":"7173:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":7037,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7184:11:22","memberName":"maxSlippage","nodeType":"MemberAccess","referencedDeclaration":6600,"src":"7173:22:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7038,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7010,"src":"7197:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7039,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7012,"src":"7206:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7040,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7016,"src":"7216:5:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7034,"name":"_calcMaxAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6893,"src":"7150:14:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,address,address,uint256) view returns (uint256)"}},"id":7041,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7150:72:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"7128:94:22"},{"expression":{"arguments":[{"arguments":[{"expression":{"id":7049,"name":"cp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7023,"src":"7269:2:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"id":7050,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7272:6:22","memberName":"router","nodeType":"MemberAccess","referencedDeclaration":6608,"src":"7269:9:22","typeDescriptions":{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}],"id":7048,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7261:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7047,"name":"address","nodeType":"ElementaryTypeName","src":"7261:7:22","typeDescriptions":{}}},"id":7051,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7261:18:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"arguments":[{"id":7054,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7286:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":7053,"name":"uint256","nodeType":"ElementaryTypeName","src":"7286:7:22","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"}],"id":7052,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"7281:4:22","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7055,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7281:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint256","typeString":"type(uint256)"}},"id":7056,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7295:3:22","memberName":"max","nodeType":"MemberAccess","src":"7281:17:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":7044,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7010,"src":"7244:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7043,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"7229:14:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":7045,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7229:23:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":7046,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7253:7:22","memberName":"approve","nodeType":"MemberAccess","referencedDeclaration":1185,"src":"7229:31:22","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":7057,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7229:70:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7058,"nodeType":"ExpressionStatement","src":"7229:70:22"},{"assignments":[7063],"declarations":[{"constant":false,"id":7063,"mutability":"mutable","name":"params","nameLocation":"7348:6:22","nodeType":"VariableDeclaration","scope":7112,"src":"7305:49:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_memory_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams"},"typeName":{"id":7062,"nodeType":"UserDefinedTypeName","pathNode":{"id":7061,"name":"ISwapRouter.ExactOutputSingleParams","nameLocations":["7305:11:22","7317:23:22"],"nodeType":"IdentifierPath","referencedDeclaration":5489,"src":"7305:35:22"},"referencedDeclaration":5489,"src":"7305:35:22","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_storage_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams"}},"visibility":"internal"}],"id":7080,"initialValue":{"arguments":[{"id":7066,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7010,"src":"7410:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7067,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7012,"src":"7435:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":7068,"name":"cp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7023,"src":"7456:2:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"id":7069,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7459:7:22","memberName":"feeTier","nodeType":"MemberAccess","referencedDeclaration":6605,"src":"7456:10:22","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},{"arguments":[{"id":7072,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"7493:4:22","typeDescriptions":{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}],"id":7071,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7485:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7070,"name":"address","nodeType":"ElementaryTypeName","src":"7485:7:22","typeDescriptions":{}}},"id":7073,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7485:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":7074,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"7516:5:22","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":7075,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7522:9:22","memberName":"timestamp","nodeType":"MemberAccess","src":"7516:15:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7076,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7014,"src":"7550:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7077,"name":"amountInMax","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7033,"src":"7581:11:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"30","id":7078,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7619:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint24","typeString":"uint24"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":7064,"name":"ISwapRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5519,"src":"7357:11:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ISwapRouter_$5519_$","typeString":"type(contract ISwapRouter)"}},"id":7065,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7369:23:22","memberName":"ExactOutputSingleParams","nodeType":"MemberAccess","referencedDeclaration":5489,"src":"7357:35:22","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_ExactOutputSingleParams_$5489_storage_ptr_$","typeString":"type(struct ISwapRouter.ExactOutputSingleParams storage pointer)"}},"id":7079,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["7401:7:22","7425:8:22","7451:3:22","7474:9:22","7506:8:22","7539:9:22","7564:15:22","7600:17:22"],"names":["tokenIn","tokenOut","fee","recipient","deadline","amountOut","amountInMaximum","sqrtPriceLimitX96"],"nodeType":"FunctionCall","src":"7357:380:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_memory_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams memory"}},"nodeType":"VariableDeclarationStatement","src":"7305:432:22"},{"assignments":[7082],"declarations":[{"constant":false,"id":7082,"mutability":"mutable","name":"actualAmount","nameLocation":"7751:12:22","nodeType":"VariableDeclaration","scope":7112,"src":"7743:20:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7081,"name":"uint256","nodeType":"ElementaryTypeName","src":"7743:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":7088,"initialValue":{"arguments":[{"id":7086,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7063,"src":"7794:6:22","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_memory_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_memory_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams memory"}],"expression":{"expression":{"id":7083,"name":"cp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7023,"src":"7766:2:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"id":7084,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7769:6:22","memberName":"router","nodeType":"MemberAccess","referencedDeclaration":6608,"src":"7766:9:22","typeDescriptions":{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}},"id":7085,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7776:17:22","memberName":"exactOutputSingle","nodeType":"MemberAccess","referencedDeclaration":5498,"src":"7766:27:22","typeDescriptions":{"typeIdentifier":"t_function_external_payable$_t_struct$_ExactOutputSingleParams_$5489_memory_ptr_$returns$_t_uint256_$","typeString":"function (struct ISwapRouter.ExactOutputSingleParams memory) payable external returns (uint256)"}},"id":7087,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7766:35:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"7743:58:22"},{"expression":{"arguments":[{"arguments":[{"expression":{"id":7095,"name":"cp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7023,"src":"7848:2:22","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapCustomParams_$6609_memory_ptr","typeString":"struct SwapLibrary.UniswapCustomParams memory"}},"id":7096,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7851:6:22","memberName":"router","nodeType":"MemberAccess","referencedDeclaration":6608,"src":"7848:9:22","typeDescriptions":{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ISwapRouter_$5519","typeString":"contract ISwapRouter"}],"id":7094,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7840:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7093,"name":"address","nodeType":"ElementaryTypeName","src":"7840:7:22","typeDescriptions":{}}},"id":7097,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7840:18:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"hexValue":"30","id":7098,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7860:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"arguments":[{"id":7090,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7010,"src":"7823:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7089,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"7808:14:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":7091,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7808:23:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":7092,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7832:7:22","memberName":"approve","nodeType":"MemberAccess","referencedDeclaration":1185,"src":"7808:31:22","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":7099,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7808:54:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7100,"nodeType":"ExpressionStatement","src":"7808:54:22"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7103,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7101,"name":"actualAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7082,"src":"7892:12:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":7102,"name":"amountInMax","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7033,"src":"7907:11:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7892:26:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7109,"nodeType":"IfStatement","src":"7888:89:22","trueBody":{"errorCall":{"arguments":[{"id":7105,"name":"actualAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7082,"src":"7951:12:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7106,"name":"amountInMax","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7033,"src":"7965:11:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7104,"name":"SpentMoreThanAcceptable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6631,"src":"7927:23:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":7107,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7927:50:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7108,"nodeType":"RevertStatement","src":"7920:57:22"}},{"expression":{"id":7110,"name":"actualAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7082,"src":"7990:12:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":7020,"id":7111,"nodeType":"Return","src":"7983:19:22"}]},"id":7113,"implemented":true,"kind":"function","modifiers":[],"name":"_exactOutputUniswap","nameLocation":"6856:19:22","nodeType":"FunctionDefinition","parameters":{"id":7017,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7008,"mutability":"mutable","name":"swapConfig","nameLocation":"6901:10:22","nodeType":"VariableDeclaration","scope":7113,"src":"6881:30:22","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig"},"typeName":{"id":7007,"nodeType":"UserDefinedTypeName","pathNode":{"id":7006,"name":"SwapConfig","nameLocations":["6881:10:22"],"nodeType":"IdentifierPath","referencedDeclaration":6603,"src":"6881:10:22"},"referencedDeclaration":6603,"src":"6881:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_storage_ptr","typeString":"struct SwapLibrary.SwapConfig"}},"visibility":"internal"},{"constant":false,"id":7010,"mutability":"mutable","name":"tokenIn","nameLocation":"6925:7:22","nodeType":"VariableDeclaration","scope":7113,"src":"6917:15:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7009,"name":"address","nodeType":"ElementaryTypeName","src":"6917:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7012,"mutability":"mutable","name":"tokenOut","nameLocation":"6946:8:22","nodeType":"VariableDeclaration","scope":7113,"src":"6938:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7011,"name":"address","nodeType":"ElementaryTypeName","src":"6938:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7014,"mutability":"mutable","name":"amount","nameLocation":"6968:6:22","nodeType":"VariableDeclaration","scope":7113,"src":"6960:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7013,"name":"uint256","nodeType":"ElementaryTypeName","src":"6960:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7016,"mutability":"mutable","name":"price","nameLocation":"6988:5:22","nodeType":"VariableDeclaration","scope":7113,"src":"6980:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7015,"name":"uint256","nodeType":"ElementaryTypeName","src":"6980:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6875:122:22"},"returnParameters":{"id":7020,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7019,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7113,"src":"7016:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7018,"name":"uint256","nodeType":"ElementaryTypeName","src":"7016:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7015:9:22"},"scope":7369,"src":"6847:1160:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":7213,"nodeType":"Block","src":"8195:690:22","statements":[{"assignments":[7131,7134],"declarations":[{"constant":false,"id":7131,"mutability":"mutable","name":"router","nameLocation":"8215:6:22","nodeType":"VariableDeclaration","scope":7213,"src":"8202:19:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"},"typeName":{"id":7130,"nodeType":"UserDefinedTypeName","pathNode":{"id":7129,"name":"ICurveRouter","nameLocations":["8202:12:22"],"nodeType":"IdentifierPath","referencedDeclaration":7646,"src":"8202:12:22"},"referencedDeclaration":7646,"src":"8202:12:22","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"visibility":"internal"},{"constant":false,"id":7134,"mutability":"mutable","name":"route","nameLocation":"8253:5:22","nodeType":"VariableDeclaration","scope":7213,"src":"8223:35:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute"},"typeName":{"id":7133,"nodeType":"UserDefinedTypeName","pathNode":{"id":7132,"name":"CurveRoutes.CurveRoute","nameLocations":["8223:11:22","8235:10:22"],"nodeType":"IdentifierPath","referencedDeclaration":5567,"src":"8223:22:22"},"referencedDeclaration":5567,"src":"8223:22:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_storage_ptr","typeString":"struct CurveRoutes.CurveRoute"}},"visibility":"internal"}],"id":7142,"initialValue":{"arguments":[{"expression":{"id":7137,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7116,"src":"8291:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":7138,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8302:12:22","memberName":"customParams","nodeType":"MemberAccess","referencedDeclaration":6602,"src":"8291:23:22","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":7139,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7118,"src":"8322:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7140,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7120,"src":"8337:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":7135,"name":"CurveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6109,"src":"8262:11:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurveRoutes_$6109_$","typeString":"type(library CurveRoutes)"}},"id":7136,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8274:9:22","memberName":"findRoute","nodeType":"MemberAccess","referencedDeclaration":6108,"src":"8262:21:22","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_address_$_t_address_$returns$_t_contract$_ICurveRouter_$7646_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"function (bytes memory,address,address) pure returns (contract ICurveRouter,struct CurveRoutes.CurveRoute memory)"}},"id":7141,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8262:89:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_contract$_ICurveRouter_$7646_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"tuple(contract ICurveRouter,struct CurveRoutes.CurveRoute memory)"}},"nodeType":"VariableDeclarationStatement","src":"8201:150:22"},{"assignments":[7144],"declarations":[{"constant":false,"id":7144,"mutability":"mutable","name":"amountOutMin","nameLocation":"8365:12:22","nodeType":"VariableDeclaration","scope":7213,"src":"8357:20:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7143,"name":"uint256","nodeType":"ElementaryTypeName","src":"8357:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":7153,"initialValue":{"arguments":[{"id":7146,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7122,"src":"8395:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7147,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7116,"src":"8403:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":7148,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8414:11:22","memberName":"maxSlippage","nodeType":"MemberAccess","referencedDeclaration":6600,"src":"8403:22:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7149,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7118,"src":"8427:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7150,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7120,"src":"8436:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7151,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7124,"src":"8446:5:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7145,"name":"_calcMinAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6856,"src":"8380:14:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,address,address,uint256) view returns (uint256)"}},"id":7152,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8380:72:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"8357:95:22"},{"expression":{"arguments":[{"arguments":[{"id":7160,"name":"router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7131,"src":"8499:6:22","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}],"id":7159,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8491:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7158,"name":"address","nodeType":"ElementaryTypeName","src":"8491:7:22","typeDescriptions":{}}},"id":7161,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8491:15:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7162,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7122,"src":"8508:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":7155,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7118,"src":"8474:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7154,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"8459:14:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":7156,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8459:23:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":7157,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8483:7:22","memberName":"approve","nodeType":"MemberAccess","referencedDeclaration":1185,"src":"8459:31:22","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":7163,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8459:56:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7164,"nodeType":"ExpressionStatement","src":"8459:56:22"},{"expression":{"id":7181,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7165,"name":"received","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7127,"src":"8521:8:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":7168,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7134,"src":"8548:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":7169,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8554:5:22","memberName":"route","nodeType":"MemberAccess","referencedDeclaration":5555,"src":"8548:11:22","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11] memory"}},{"expression":{"id":7170,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7134,"src":"8561:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":7171,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8567:10:22","memberName":"swapParams","nodeType":"MemberAccess","referencedDeclaration":5562,"src":"8561:16:22","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5] memory[5] memory"}},{"id":7172,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7122,"src":"8579:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7173,"name":"amountOutMin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7144,"src":"8587:12:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7174,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7134,"src":"8601:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":7175,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8607:5:22","memberName":"pools","nodeType":"MemberAccess","referencedDeclaration":5566,"src":"8601:11:22","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5] memory"}},{"arguments":[{"id":7178,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"8622:4:22","typeDescriptions":{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}],"id":7177,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8614:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7176,"name":"address","nodeType":"ElementaryTypeName","src":"8614:7:22","typeDescriptions":{}}},"id":7179,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8614:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11] memory"},{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5] memory[5] memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5] memory"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":7166,"name":"router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7131,"src":"8532:6:22","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"id":7167,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8539:8:22","memberName":"exchange","nodeType":"MemberAccess","referencedDeclaration":7462,"src":"8532:15:22","typeDescriptions":{"typeIdentifier":"t_function_external_payable$_t_array$_t_address_$11_memory_ptr_$_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_$_t_uint256_$_t_uint256_$_t_array$_t_address_$5_memory_ptr_$_t_address_$returns$_t_uint256_$","typeString":"function (address[11] memory,uint256[5] memory[5] memory,uint256,uint256,address[5] memory,address) payable external returns (uint256)"}},"id":7180,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8532:96:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8521:107:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7182,"nodeType":"ExpressionStatement","src":"8521:107:22"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7197,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"arguments":[{"id":7189,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"8681:4:22","typeDescriptions":{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}],"id":7188,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8673:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7187,"name":"address","nodeType":"ElementaryTypeName","src":"8673:7:22","typeDescriptions":{}}},"id":7190,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8673:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":7193,"name":"router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7131,"src":"8696:6:22","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}],"id":7192,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8688:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7191,"name":"address","nodeType":"ElementaryTypeName","src":"8688:7:22","typeDescriptions":{}}},"id":7194,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8688:15:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":7184,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7118,"src":"8654:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7183,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"8639:14:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":7185,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8639:23:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":7186,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8663:9:22","memberName":"allowance","nodeType":"MemberAccess","referencedDeclaration":1175,"src":"8639:33:22","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$_t_address_$returns$_t_uint256_$","typeString":"function (address,address) view external returns (uint256)"}},"id":7195,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8639:65:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7196,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8708:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8639:70:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7201,"nodeType":"IfStatement","src":"8635:112:22","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":7198,"name":"AllowanceShouldGoBackToZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6619,"src":"8718:27:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":7199,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8718:29:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7200,"nodeType":"RevertStatement","src":"8711:36:22"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7204,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7202,"name":"received","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7127,"src":"8777:8:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":7203,"name":"amountOutMin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7144,"src":"8788:12:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8777:23:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7210,"nodeType":"IfStatement","src":"8773:86:22","trueBody":{"errorCall":{"arguments":[{"id":7206,"name":"received","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7127,"src":"8836:8:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7207,"name":"amountOutMin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7144,"src":"8846:12:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7205,"name":"ReceivedLessThanAcceptable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6625,"src":"8809:26:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":7208,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8809:50:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7209,"nodeType":"RevertStatement","src":"8802:57:22"}},{"expression":{"id":7211,"name":"received","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7127,"src":"8872:8:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":7128,"id":7212,"nodeType":"Return","src":"8865:15:22"}]},"id":7214,"implemented":true,"kind":"function","modifiers":[],"name":"_exactInputCurve","nameLocation":"8020:16:22","nodeType":"FunctionDefinition","parameters":{"id":7125,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7116,"mutability":"mutable","name":"swapConfig","nameLocation":"8062:10:22","nodeType":"VariableDeclaration","scope":7214,"src":"8042:30:22","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig"},"typeName":{"id":7115,"nodeType":"UserDefinedTypeName","pathNode":{"id":7114,"name":"SwapConfig","nameLocations":["8042:10:22"],"nodeType":"IdentifierPath","referencedDeclaration":6603,"src":"8042:10:22"},"referencedDeclaration":6603,"src":"8042:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_storage_ptr","typeString":"struct SwapLibrary.SwapConfig"}},"visibility":"internal"},{"constant":false,"id":7118,"mutability":"mutable","name":"tokenIn","nameLocation":"8086:7:22","nodeType":"VariableDeclaration","scope":7214,"src":"8078:15:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7117,"name":"address","nodeType":"ElementaryTypeName","src":"8078:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7120,"mutability":"mutable","name":"tokenOut","nameLocation":"8107:8:22","nodeType":"VariableDeclaration","scope":7214,"src":"8099:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7119,"name":"address","nodeType":"ElementaryTypeName","src":"8099:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7122,"mutability":"mutable","name":"amount","nameLocation":"8129:6:22","nodeType":"VariableDeclaration","scope":7214,"src":"8121:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7121,"name":"uint256","nodeType":"ElementaryTypeName","src":"8121:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7124,"mutability":"mutable","name":"price","nameLocation":"8149:5:22","nodeType":"VariableDeclaration","scope":7214,"src":"8141:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7123,"name":"uint256","nodeType":"ElementaryTypeName","src":"8141:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8036:122:22"},"returnParameters":{"id":7128,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7127,"mutability":"mutable","name":"received","nameLocation":"8185:8:22","nodeType":"VariableDeclaration","scope":7214,"src":"8177:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7126,"name":"uint256","nodeType":"ElementaryTypeName","src":"8177:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8176:18:22"},"scope":7369,"src":"8011:874:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":7260,"nodeType":"Block","src":"9063:317:22","statements":[{"expression":{"id":7240,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7229,"name":"amountInActual","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7227,"src":"9069:14:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":7232,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7220,"src":"9100:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":7233,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9106:5:22","memberName":"route","nodeType":"MemberAccess","referencedDeclaration":5555,"src":"9100:11:22","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11] memory"}},{"expression":{"id":7234,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7220,"src":"9113:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":7235,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9119:10:22","memberName":"swapParams","nodeType":"MemberAccess","referencedDeclaration":5562,"src":"9113:16:22","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5] memory[5] memory"}},{"id":7236,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7222,"src":"9131:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7237,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7220,"src":"9139:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":7238,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9145:5:22","memberName":"pools","nodeType":"MemberAccess","referencedDeclaration":5566,"src":"9139:11:22","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11] memory"},{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5] memory[5] memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5] memory"}],"expression":{"id":7230,"name":"router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7217,"src":"9086:6:22","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"id":7231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9093:6:22","memberName":"get_dx","nodeType":"MemberAccess","referencedDeclaration":7483,"src":"9086:13:22","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_array$_t_address_$11_memory_ptr_$_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_$_t_uint256_$_t_array$_t_address_$5_memory_ptr_$returns$_t_uint256_$","typeString":"function (address[11] memory,uint256[5] memory[5] memory,uint256,address[5] memory) view external returns (uint256)"}},"id":7239,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9086:65:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9069:82:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7241,"nodeType":"ExpressionStatement","src":"9069:82:22"},{"expression":{"id":7258,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7242,"name":"received","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7225,"src":"9157:8:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":7245,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7220,"src":"9191:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":7246,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9197:5:22","memberName":"route","nodeType":"MemberAccess","referencedDeclaration":5555,"src":"9191:11:22","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11] memory"}},{"expression":{"id":7247,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7220,"src":"9210:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":7248,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9216:10:22","memberName":"swapParams","nodeType":"MemberAccess","referencedDeclaration":5562,"src":"9210:16:22","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5] memory[5] memory"}},{"id":7249,"name":"amountInActual","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7227,"src":"9234:14:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"30","id":7250,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9256:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"id":7251,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7220,"src":"9337:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},"id":7252,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9343:5:22","memberName":"pools","nodeType":"MemberAccess","referencedDeclaration":5566,"src":"9337:11:22","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5] memory"}},{"arguments":[{"id":7255,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"9364:4:22","typeDescriptions":{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_SwapLibrary_$7369","typeString":"library SwapLibrary"}],"id":7254,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9356:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7253,"name":"address","nodeType":"ElementaryTypeName","src":"9356:7:22","typeDescriptions":{}}},"id":7256,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9356:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11] memory"},{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5] memory[5] memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5] memory"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":7243,"name":"router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7217,"src":"9168:6:22","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"id":7244,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9175:8:22","memberName":"exchange","nodeType":"MemberAccess","referencedDeclaration":7462,"src":"9168:15:22","typeDescriptions":{"typeIdentifier":"t_function_external_payable$_t_array$_t_address_$11_memory_ptr_$_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_$_t_uint256_$_t_uint256_$_t_array$_t_address_$5_memory_ptr_$_t_address_$returns$_t_uint256_$","typeString":"function (address[11] memory,uint256[5] memory[5] memory,uint256,uint256,address[5] memory,address) payable external returns (uint256)"}},"id":7257,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9168:207:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9157:218:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7259,"nodeType":"ExpressionStatement","src":"9157:218:22"}]},"id":7261,"implemented":true,"kind":"function","modifiers":[],"name":"_exchangeCurve","nameLocation":"8898:14:22","nodeType":"FunctionDefinition","parameters":{"id":7223,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7217,"mutability":"mutable","name":"router","nameLocation":"8931:6:22","nodeType":"VariableDeclaration","scope":7261,"src":"8918:19:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"},"typeName":{"id":7216,"nodeType":"UserDefinedTypeName","pathNode":{"id":7215,"name":"ICurveRouter","nameLocations":["8918:12:22"],"nodeType":"IdentifierPath","referencedDeclaration":7646,"src":"8918:12:22"},"referencedDeclaration":7646,"src":"8918:12:22","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"visibility":"internal"},{"constant":false,"id":7220,"mutability":"mutable","name":"route","nameLocation":"8973:5:22","nodeType":"VariableDeclaration","scope":7261,"src":"8943:35:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute"},"typeName":{"id":7219,"nodeType":"UserDefinedTypeName","pathNode":{"id":7218,"name":"CurveRoutes.CurveRoute","nameLocations":["8943:11:22","8955:10:22"],"nodeType":"IdentifierPath","referencedDeclaration":5567,"src":"8943:22:22"},"referencedDeclaration":5567,"src":"8943:22:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_storage_ptr","typeString":"struct CurveRoutes.CurveRoute"}},"visibility":"internal"},{"constant":false,"id":7222,"mutability":"mutable","name":"amount","nameLocation":"8992:6:22","nodeType":"VariableDeclaration","scope":7261,"src":"8984:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7221,"name":"uint256","nodeType":"ElementaryTypeName","src":"8984:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8912:90:22"},"returnParameters":{"id":7228,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7225,"mutability":"mutable","name":"received","nameLocation":"9029:8:22","nodeType":"VariableDeclaration","scope":7261,"src":"9021:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7224,"name":"uint256","nodeType":"ElementaryTypeName","src":"9021:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7227,"mutability":"mutable","name":"amountInActual","nameLocation":"9047:14:22","nodeType":"VariableDeclaration","scope":7261,"src":"9039:22:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7226,"name":"uint256","nodeType":"ElementaryTypeName","src":"9039:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9020:42:22"},"scope":7369,"src":"8889:491:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":7367,"nodeType":"Block","src":"9560:799:22","statements":[{"assignments":[7279,7282],"declarations":[{"constant":false,"id":7279,"mutability":"mutable","name":"router","nameLocation":"9580:6:22","nodeType":"VariableDeclaration","scope":7367,"src":"9567:19:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"},"typeName":{"id":7278,"nodeType":"UserDefinedTypeName","pathNode":{"id":7277,"name":"ICurveRouter","nameLocations":["9567:12:22"],"nodeType":"IdentifierPath","referencedDeclaration":7646,"src":"9567:12:22"},"referencedDeclaration":7646,"src":"9567:12:22","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"visibility":"internal"},{"constant":false,"id":7282,"mutability":"mutable","name":"route","nameLocation":"9618:5:22","nodeType":"VariableDeclaration","scope":7367,"src":"9588:35:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute"},"typeName":{"id":7281,"nodeType":"UserDefinedTypeName","pathNode":{"id":7280,"name":"CurveRoutes.CurveRoute","nameLocations":["9588:11:22","9600:10:22"],"nodeType":"IdentifierPath","referencedDeclaration":5567,"src":"9588:22:22"},"referencedDeclaration":5567,"src":"9588:22:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_storage_ptr","typeString":"struct CurveRoutes.CurveRoute"}},"visibility":"internal"}],"id":7290,"initialValue":{"arguments":[{"expression":{"id":7285,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7264,"src":"9656:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":7286,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9667:12:22","memberName":"customParams","nodeType":"MemberAccess","referencedDeclaration":6602,"src":"9656:23:22","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":7287,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7266,"src":"9687:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7288,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7268,"src":"9702:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":7283,"name":"CurveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6109,"src":"9627:11:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurveRoutes_$6109_$","typeString":"type(library CurveRoutes)"}},"id":7284,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9639:9:22","memberName":"findRoute","nodeType":"MemberAccess","referencedDeclaration":6108,"src":"9627:21:22","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_address_$_t_address_$returns$_t_contract$_ICurveRouter_$7646_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"function (bytes memory,address,address) pure returns (contract ICurveRouter,struct CurveRoutes.CurveRoute memory)"}},"id":7289,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9627:89:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_contract$_ICurveRouter_$7646_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"tuple(contract ICurveRouter,struct CurveRoutes.CurveRoute memory)"}},"nodeType":"VariableDeclarationStatement","src":"9566:150:22"},{"assignments":[7292],"declarations":[{"constant":false,"id":7292,"mutability":"mutable","name":"amountInMax","nameLocation":"9730:11:22","nodeType":"VariableDeclaration","scope":7367,"src":"9722:19:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7291,"name":"uint256","nodeType":"ElementaryTypeName","src":"9722:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":7301,"initialValue":{"arguments":[{"id":7294,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7270,"src":"9759:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7295,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7264,"src":"9767:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":7296,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9778:11:22","memberName":"maxSlippage","nodeType":"MemberAccess","referencedDeclaration":6600,"src":"9767:22:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7297,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7266,"src":"9791:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7298,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7268,"src":"9800:8:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7299,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7272,"src":"9810:5:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7293,"name":"_calcMaxAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6893,"src":"9744:14:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,address,address,uint256) view returns (uint256)"}},"id":7300,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9744:72:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"9722:94:22"},{"expression":{"arguments":[{"arguments":[{"id":7308,"name":"router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7279,"src":"9862:6:22","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}],"id":7307,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9854:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7306,"name":"address","nodeType":"ElementaryTypeName","src":"9854:7:22","typeDescriptions":{}}},"id":7309,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9854:15:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7310,"name":"amountInMax","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7292,"src":"9871:11:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":7303,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7266,"src":"9837:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7302,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"9822:14:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":7304,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9822:23:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":7305,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9846:7:22","memberName":"approve","nodeType":"MemberAccess","referencedDeclaration":1185,"src":"9822:31:22","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":7311,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9822:61:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7312,"nodeType":"ExpressionStatement","src":"9822:61:22"},{"assignments":[7314],"declarations":[{"constant":false,"id":7314,"mutability":"mutable","name":"amountInConsumed","nameLocation":"9897:16:22","nodeType":"VariableDeclaration","scope":7367,"src":"9889:24:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7313,"name":"uint256","nodeType":"ElementaryTypeName","src":"9889:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":7316,"initialValue":{"hexValue":"30","id":7315,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9916:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"9889:28:22"},{"body":{"id":7352,"nodeType":"Block","src":"10086:183:22","statements":[{"assignments":[7331,7333],"declarations":[{"constant":false,"id":7331,"mutability":"mutable","name":"received","nameLocation":"10103:8:22","nodeType":"VariableDeclaration","scope":7352,"src":"10095:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7330,"name":"uint256","nodeType":"ElementaryTypeName","src":"10095:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7333,"mutability":"mutable","name":"amountInActual","nameLocation":"10121:14:22","nodeType":"VariableDeclaration","scope":7352,"src":"10113:22:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7332,"name":"uint256","nodeType":"ElementaryTypeName","src":"10113:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":7339,"initialValue":{"arguments":[{"id":7335,"name":"router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7279,"src":"10154:6:22","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},{"id":7336,"name":"route","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7282,"src":"10162:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"}},{"id":7337,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7270,"src":"10169:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"},{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7334,"name":"_exchangeCurve","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7261,"src":"10139:14:22","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_ICurveRouter_$7646_$_t_struct$_CurveRoute_$5567_memory_ptr_$_t_uint256_$returns$_t_uint256_$_t_uint256_$","typeString":"function (contract ICurveRouter,struct CurveRoutes.CurveRoute memory,uint256) returns (uint256,uint256)"}},"id":7338,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10139:37:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"10094:82:22"},{"expression":{"id":7346,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7340,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7270,"src":"10184:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"arguments":[{"id":7343,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7270,"src":"10203:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7344,"name":"received","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7331,"src":"10211:8:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":7341,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3640,"src":"10194:4:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Math_$3640_$","typeString":"type(library Math)"}},"id":7342,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10199:3:22","memberName":"min","nodeType":"MemberAccess","referencedDeclaration":2269,"src":"10194:8:22","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":7345,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10194:26:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10184:36:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7347,"nodeType":"ExpressionStatement","src":"10184:36:22"},{"expression":{"id":7350,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7348,"name":"amountInConsumed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7314,"src":"10228:16:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":7349,"name":"amountInActual","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7333,"src":"10248:14:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10228:34:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7351,"nodeType":"ExpressionStatement","src":"10228:34:22"}]},"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":7326,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7322,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7320,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7270,"src":"10048:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7321,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10058:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"10048:11:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7325,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7323,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7318,"src":"10063:1:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":7324,"name":"MAX_EXCHANGE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6590,"src":"10067:12:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10063:16:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"10048:31:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7353,"initializationExpression":{"assignments":[7318],"declarations":[{"constant":false,"id":7318,"mutability":"mutable","name":"i","nameLocation":"10045:1:22","nodeType":"VariableDeclaration","scope":7353,"src":"10037:9:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7317,"name":"uint256","nodeType":"ElementaryTypeName","src":"10037:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":7319,"nodeType":"VariableDeclarationStatement","src":"10037:9:22"},"isSimpleCounterLoop":false,"loopExpression":{"expression":{"id":7328,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"10081:3:22","subExpression":{"id":7327,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7318,"src":"10081:1:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7329,"nodeType":"ExpressionStatement","src":"10081:3:22"},"nodeType":"ForStatement","src":"10032:237:22"},{"expression":{"arguments":[{"arguments":[{"id":7360,"name":"router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7279,"src":"10314:6:22","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}],"id":7359,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10306:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7358,"name":"address","nodeType":"ElementaryTypeName","src":"10306:7:22","typeDescriptions":{}}},"id":7361,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10306:15:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"hexValue":"30","id":7362,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10323:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"arguments":[{"id":7355,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7266,"src":"10289:7:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7354,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"10274:14:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":7356,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10274:23:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":7357,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10298:7:22","memberName":"approve","nodeType":"MemberAccess","referencedDeclaration":1185,"src":"10274:31:22","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":7363,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10274:51:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7364,"nodeType":"ExpressionStatement","src":"10274:51:22"},{"expression":{"id":7365,"name":"amountInConsumed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7314,"src":"10338:16:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":7276,"id":7366,"nodeType":"Return","src":"10331:23:22"}]},"id":7368,"implemented":true,"kind":"function","modifiers":[],"name":"_exactOutputCurve","nameLocation":"9393:17:22","nodeType":"FunctionDefinition","parameters":{"id":7273,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7264,"mutability":"mutable","name":"swapConfig","nameLocation":"9436:10:22","nodeType":"VariableDeclaration","scope":7368,"src":"9416:30:22","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig"},"typeName":{"id":7263,"nodeType":"UserDefinedTypeName","pathNode":{"id":7262,"name":"SwapConfig","nameLocations":["9416:10:22"],"nodeType":"IdentifierPath","referencedDeclaration":6603,"src":"9416:10:22"},"referencedDeclaration":6603,"src":"9416:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_storage_ptr","typeString":"struct SwapLibrary.SwapConfig"}},"visibility":"internal"},{"constant":false,"id":7266,"mutability":"mutable","name":"tokenIn","nameLocation":"9460:7:22","nodeType":"VariableDeclaration","scope":7368,"src":"9452:15:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7265,"name":"address","nodeType":"ElementaryTypeName","src":"9452:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7268,"mutability":"mutable","name":"tokenOut","nameLocation":"9481:8:22","nodeType":"VariableDeclaration","scope":7368,"src":"9473:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7267,"name":"address","nodeType":"ElementaryTypeName","src":"9473:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7270,"mutability":"mutable","name":"amount","nameLocation":"9503:6:22","nodeType":"VariableDeclaration","scope":7368,"src":"9495:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7269,"name":"uint256","nodeType":"ElementaryTypeName","src":"9495:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7272,"mutability":"mutable","name":"price","nameLocation":"9523:5:22","nodeType":"VariableDeclaration","scope":7368,"src":"9515:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7271,"name":"uint256","nodeType":"ElementaryTypeName","src":"9515:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9410:122:22"},"returnParameters":{"id":7276,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7275,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7368,"src":"9551:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7274,"name":"uint256","nodeType":"ElementaryTypeName","src":"9551:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9550:9:22"},"scope":7369,"src":"9384:975:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":7370,"src":"522:9839:22","usedErrors":[5569,5571,5573,5578,5582,5588,6611,6613,6615,6617,6619,6625,6631],"usedEvents":[]}],"src":"39:10323:22"},"id":22},"contracts/dependencies/ICurveRouter.sol":{"ast":{"absolutePath":"contracts/dependencies/ICurveRouter.sol","exportedSymbols":{"ICurveRouter":[7646]},"id":7647,"license":"UNLICENSED","nodeType":"SourceUnit","nodes":[{"id":7371,"literals":["solidity","^","0.8",".4"],"nodeType":"PragmaDirective","src":"39:23:23"},{"abstract":false,"baseContracts":[],"canonicalName":"ICurveRouter","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":7646,"linearizedBaseContracts":[7646],"name":"ICurveRouter","nameLocation":"187:12:23","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"eventSelector":"56d0661e240dfb199ef196e16e6f42473990366314f0226ac978f7be3cd9ee83","id":7395,"name":"Exchange","nameLocation":"212:8:23","nodeType":"EventDefinition","parameters":{"id":7394,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7373,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"246:6:23","nodeType":"VariableDeclaration","scope":7395,"src":"230:22:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7372,"name":"address","nodeType":"ElementaryTypeName","src":"230:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7375,"indexed":true,"mutability":"mutable","name":"receiver","nameLocation":"278:8:23","nodeType":"VariableDeclaration","scope":7395,"src":"262:24:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7374,"name":"address","nodeType":"ElementaryTypeName","src":"262:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7379,"indexed":false,"mutability":"mutable","name":"route","nameLocation":"308:5:23","nodeType":"VariableDeclaration","scope":7395,"src":"296:17:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":7376,"name":"address","nodeType":"ElementaryTypeName","src":"296:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7378,"length":{"hexValue":"3131","id":7377,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"304:2:23","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"296:11:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":7385,"indexed":false,"mutability":"mutable","name":"swap_params","nameLocation":"337:11:23","nodeType":"VariableDeclaration","scope":7395,"src":"323:25:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":7380,"name":"uint256","nodeType":"ElementaryTypeName","src":"323:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7382,"length":{"hexValue":"35","id":7381,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"331:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"323:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":7384,"length":{"hexValue":"35","id":7383,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"334:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"323:13:23","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":7389,"indexed":false,"mutability":"mutable","name":"pools","nameLocation":"369:5:23","nodeType":"VariableDeclaration","scope":7395,"src":"358:16:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7386,"name":"address","nodeType":"ElementaryTypeName","src":"358:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7388,"length":{"hexValue":"35","id":7387,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"366:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"358:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7391,"indexed":false,"mutability":"mutable","name":"in_amount","nameLocation":"392:9:23","nodeType":"VariableDeclaration","scope":7395,"src":"384:17:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7390,"name":"uint256","nodeType":"ElementaryTypeName","src":"384:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7393,"indexed":false,"mutability":"mutable","name":"out_amount","nameLocation":"419:10:23","nodeType":"VariableDeclaration","scope":7395,"src":"411:18:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7392,"name":"uint256","nodeType":"ElementaryTypeName","src":"411:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"220:215:23"},"src":"206:230:23"},{"functionSelector":"371dc447","id":7414,"implemented":false,"kind":"function","modifiers":[],"name":"exchange","nameLocation":"451:8:23","nodeType":"FunctionDefinition","parameters":{"id":7410,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7399,"mutability":"mutable","name":"_route","nameLocation":"479:6:23","nodeType":"VariableDeclaration","scope":7414,"src":"460:25:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":7396,"name":"address","nodeType":"ElementaryTypeName","src":"460:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7398,"length":{"hexValue":"3131","id":7397,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"468:2:23","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"460:11:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":7405,"mutability":"mutable","name":"_swap_params","nameLocation":"508:12:23","nodeType":"VariableDeclaration","scope":7414,"src":"487:33:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":7400,"name":"uint256","nodeType":"ElementaryTypeName","src":"487:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7402,"length":{"hexValue":"35","id":7401,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"495:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"487:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":7404,"length":{"hexValue":"35","id":7403,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"498:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"487:13:23","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":7407,"mutability":"mutable","name":"_amount","nameLocation":"530:7:23","nodeType":"VariableDeclaration","scope":7414,"src":"522:15:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7406,"name":"uint256","nodeType":"ElementaryTypeName","src":"522:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7409,"mutability":"mutable","name":"_expected","nameLocation":"547:9:23","nodeType":"VariableDeclaration","scope":7414,"src":"539:17:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7408,"name":"uint256","nodeType":"ElementaryTypeName","src":"539:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"459:98:23"},"returnParameters":{"id":7413,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7412,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7414,"src":"608:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7411,"name":"uint256","nodeType":"ElementaryTypeName","src":"608:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"607:9:23"},"scope":7646,"src":"442:175:23","stateMutability":"payable","virtual":false,"visibility":"external"},{"functionSelector":"5c9c18e2","id":7437,"implemented":false,"kind":"function","modifiers":[],"name":"exchange","nameLocation":"631:8:23","nodeType":"FunctionDefinition","parameters":{"id":7433,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7418,"mutability":"mutable","name":"_route","nameLocation":"668:6:23","nodeType":"VariableDeclaration","scope":7437,"src":"649:25:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":7415,"name":"address","nodeType":"ElementaryTypeName","src":"649:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7417,"length":{"hexValue":"3131","id":7416,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"657:2:23","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"649:11:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":7424,"mutability":"mutable","name":"_swap_params","nameLocation":"705:12:23","nodeType":"VariableDeclaration","scope":7437,"src":"684:33:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":7419,"name":"uint256","nodeType":"ElementaryTypeName","src":"684:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7421,"length":{"hexValue":"35","id":7420,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"692:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"684:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":7423,"length":{"hexValue":"35","id":7422,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"695:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"684:13:23","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":7426,"mutability":"mutable","name":"_amount","nameLocation":"735:7:23","nodeType":"VariableDeclaration","scope":7437,"src":"727:15:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7425,"name":"uint256","nodeType":"ElementaryTypeName","src":"727:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7428,"mutability":"mutable","name":"_expected","nameLocation":"760:9:23","nodeType":"VariableDeclaration","scope":7437,"src":"752:17:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7427,"name":"uint256","nodeType":"ElementaryTypeName","src":"752:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7432,"mutability":"mutable","name":"_pools","nameLocation":"797:6:23","nodeType":"VariableDeclaration","scope":7437,"src":"779:24:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7429,"name":"address","nodeType":"ElementaryTypeName","src":"779:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7431,"length":{"hexValue":"35","id":7430,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"787:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"779:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"}],"src":"639:170:23"},"returnParameters":{"id":7436,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7435,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7437,"src":"836:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7434,"name":"uint256","nodeType":"ElementaryTypeName","src":"836:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"835:9:23"},"scope":7646,"src":"622:223:23","stateMutability":"payable","virtual":false,"visibility":"external"},{"functionSelector":"c872a3c5","id":7462,"implemented":false,"kind":"function","modifiers":[],"name":"exchange","nameLocation":"859:8:23","nodeType":"FunctionDefinition","parameters":{"id":7458,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7441,"mutability":"mutable","name":"_route","nameLocation":"896:6:23","nodeType":"VariableDeclaration","scope":7462,"src":"877:25:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":7438,"name":"address","nodeType":"ElementaryTypeName","src":"877:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7440,"length":{"hexValue":"3131","id":7439,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"885:2:23","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"877:11:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":7447,"mutability":"mutable","name":"_swap_params","nameLocation":"933:12:23","nodeType":"VariableDeclaration","scope":7462,"src":"912:33:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":7442,"name":"uint256","nodeType":"ElementaryTypeName","src":"912:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7444,"length":{"hexValue":"35","id":7443,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"920:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"912:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":7446,"length":{"hexValue":"35","id":7445,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"923:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"912:13:23","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":7449,"mutability":"mutable","name":"_amount","nameLocation":"963:7:23","nodeType":"VariableDeclaration","scope":7462,"src":"955:15:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7448,"name":"uint256","nodeType":"ElementaryTypeName","src":"955:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7451,"mutability":"mutable","name":"_expected","nameLocation":"988:9:23","nodeType":"VariableDeclaration","scope":7462,"src":"980:17:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7450,"name":"uint256","nodeType":"ElementaryTypeName","src":"980:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7455,"mutability":"mutable","name":"_pools","nameLocation":"1025:6:23","nodeType":"VariableDeclaration","scope":7462,"src":"1007:24:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7452,"name":"address","nodeType":"ElementaryTypeName","src":"1007:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7454,"length":{"hexValue":"35","id":7453,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1015:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1007:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7457,"mutability":"mutable","name":"_receiver","nameLocation":"1049:9:23","nodeType":"VariableDeclaration","scope":7462,"src":"1041:17:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7456,"name":"address","nodeType":"ElementaryTypeName","src":"1041:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"867:197:23"},"returnParameters":{"id":7461,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7460,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7462,"src":"1091:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7459,"name":"uint256","nodeType":"ElementaryTypeName","src":"1091:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1090:9:23"},"scope":7646,"src":"850:250:23","stateMutability":"payable","virtual":false,"visibility":"external"},{"functionSelector":"c07b5353","id":7483,"implemented":false,"kind":"function","modifiers":[],"name":"get_dx","nameLocation":"1114:6:23","nodeType":"FunctionDefinition","parameters":{"id":7479,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7466,"mutability":"mutable","name":"_route","nameLocation":"1149:6:23","nodeType":"VariableDeclaration","scope":7483,"src":"1130:25:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":7463,"name":"address","nodeType":"ElementaryTypeName","src":"1130:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7465,"length":{"hexValue":"3131","id":7464,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1138:2:23","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"1130:11:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":7472,"mutability":"mutable","name":"_swap_params","nameLocation":"1186:12:23","nodeType":"VariableDeclaration","scope":7483,"src":"1165:33:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":7467,"name":"uint256","nodeType":"ElementaryTypeName","src":"1165:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7469,"length":{"hexValue":"35","id":7468,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1173:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1165:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":7471,"length":{"hexValue":"35","id":7470,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1176:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1165:13:23","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":7474,"mutability":"mutable","name":"_out_amount","nameLocation":"1216:11:23","nodeType":"VariableDeclaration","scope":7483,"src":"1208:19:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7473,"name":"uint256","nodeType":"ElementaryTypeName","src":"1208:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7478,"mutability":"mutable","name":"_pools","nameLocation":"1255:6:23","nodeType":"VariableDeclaration","scope":7483,"src":"1237:24:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7475,"name":"address","nodeType":"ElementaryTypeName","src":"1237:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7477,"length":{"hexValue":"35","id":7476,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1245:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1237:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"}],"src":"1120:147:23"},"returnParameters":{"id":7482,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7481,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7483,"src":"1291:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7480,"name":"uint256","nodeType":"ElementaryTypeName","src":"1291:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1290:9:23"},"scope":7646,"src":"1105:195:23","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"81fc0ca5","id":7508,"implemented":false,"kind":"function","modifiers":[],"name":"get_dx","nameLocation":"1314:6:23","nodeType":"FunctionDefinition","parameters":{"id":7504,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7487,"mutability":"mutable","name":"_route","nameLocation":"1349:6:23","nodeType":"VariableDeclaration","scope":7508,"src":"1330:25:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":7484,"name":"address","nodeType":"ElementaryTypeName","src":"1330:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7486,"length":{"hexValue":"3131","id":7485,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1338:2:23","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"1330:11:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":7493,"mutability":"mutable","name":"_swap_params","nameLocation":"1386:12:23","nodeType":"VariableDeclaration","scope":7508,"src":"1365:33:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":7488,"name":"uint256","nodeType":"ElementaryTypeName","src":"1365:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7490,"length":{"hexValue":"35","id":7489,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1373:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1365:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":7492,"length":{"hexValue":"35","id":7491,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1376:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1365:13:23","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":7495,"mutability":"mutable","name":"_out_amount","nameLocation":"1416:11:23","nodeType":"VariableDeclaration","scope":7508,"src":"1408:19:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7494,"name":"uint256","nodeType":"ElementaryTypeName","src":"1408:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7499,"mutability":"mutable","name":"_pools","nameLocation":"1455:6:23","nodeType":"VariableDeclaration","scope":7508,"src":"1437:24:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7496,"name":"address","nodeType":"ElementaryTypeName","src":"1437:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7498,"length":{"hexValue":"35","id":7497,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1445:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1437:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7503,"mutability":"mutable","name":"_base_pools","nameLocation":"1489:11:23","nodeType":"VariableDeclaration","scope":7508,"src":"1471:29:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7500,"name":"address","nodeType":"ElementaryTypeName","src":"1471:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7502,"length":{"hexValue":"35","id":7501,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1479:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1471:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"}],"src":"1320:186:23"},"returnParameters":{"id":7507,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7506,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7508,"src":"1530:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7505,"name":"uint256","nodeType":"ElementaryTypeName","src":"1530:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1529:9:23"},"scope":7646,"src":"1305:234:23","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"90e7e205","id":7537,"implemented":false,"kind":"function","modifiers":[],"name":"get_dx","nameLocation":"1553:6:23","nodeType":"FunctionDefinition","parameters":{"id":7533,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7512,"mutability":"mutable","name":"_route","nameLocation":"1588:6:23","nodeType":"VariableDeclaration","scope":7537,"src":"1569:25:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":7509,"name":"address","nodeType":"ElementaryTypeName","src":"1569:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7511,"length":{"hexValue":"3131","id":7510,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1577:2:23","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"1569:11:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":7518,"mutability":"mutable","name":"_swap_params","nameLocation":"1625:12:23","nodeType":"VariableDeclaration","scope":7537,"src":"1604:33:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":7513,"name":"uint256","nodeType":"ElementaryTypeName","src":"1604:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7515,"length":{"hexValue":"35","id":7514,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1612:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1604:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":7517,"length":{"hexValue":"35","id":7516,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1615:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1604:13:23","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":7520,"mutability":"mutable","name":"_out_amount","nameLocation":"1655:11:23","nodeType":"VariableDeclaration","scope":7537,"src":"1647:19:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7519,"name":"uint256","nodeType":"ElementaryTypeName","src":"1647:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7524,"mutability":"mutable","name":"_pools","nameLocation":"1694:6:23","nodeType":"VariableDeclaration","scope":7537,"src":"1676:24:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7521,"name":"address","nodeType":"ElementaryTypeName","src":"1676:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7523,"length":{"hexValue":"35","id":7522,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1684:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1676:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7528,"mutability":"mutable","name":"_base_pools","nameLocation":"1728:11:23","nodeType":"VariableDeclaration","scope":7537,"src":"1710:29:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7525,"name":"address","nodeType":"ElementaryTypeName","src":"1710:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7527,"length":{"hexValue":"35","id":7526,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1718:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1710:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7532,"mutability":"mutable","name":"_base_tokens","nameLocation":"1767:12:23","nodeType":"VariableDeclaration","scope":7537,"src":"1749:30:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7529,"name":"address","nodeType":"ElementaryTypeName","src":"1749:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7531,"length":{"hexValue":"35","id":7530,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1757:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1749:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"}],"src":"1559:226:23"},"returnParameters":{"id":7536,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7535,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7537,"src":"1809:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7534,"name":"uint256","nodeType":"ElementaryTypeName","src":"1809:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1808:9:23"},"scope":7646,"src":"1544:274:23","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"d10eb385","id":7570,"implemented":false,"kind":"function","modifiers":[],"name":"get_dx","nameLocation":"1832:6:23","nodeType":"FunctionDefinition","parameters":{"id":7566,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7541,"mutability":"mutable","name":"_route","nameLocation":"1867:6:23","nodeType":"VariableDeclaration","scope":7570,"src":"1848:25:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":7538,"name":"address","nodeType":"ElementaryTypeName","src":"1848:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7540,"length":{"hexValue":"3131","id":7539,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1856:2:23","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"1848:11:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":7547,"mutability":"mutable","name":"_swap_params","nameLocation":"1904:12:23","nodeType":"VariableDeclaration","scope":7570,"src":"1883:33:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":7542,"name":"uint256","nodeType":"ElementaryTypeName","src":"1883:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7544,"length":{"hexValue":"35","id":7543,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1891:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1883:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":7546,"length":{"hexValue":"35","id":7545,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1894:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1883:13:23","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":7549,"mutability":"mutable","name":"_out_amount","nameLocation":"1934:11:23","nodeType":"VariableDeclaration","scope":7570,"src":"1926:19:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7548,"name":"uint256","nodeType":"ElementaryTypeName","src":"1926:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7553,"mutability":"mutable","name":"_pools","nameLocation":"1973:6:23","nodeType":"VariableDeclaration","scope":7570,"src":"1955:24:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7550,"name":"address","nodeType":"ElementaryTypeName","src":"1955:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7552,"length":{"hexValue":"35","id":7551,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1963:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1955:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7557,"mutability":"mutable","name":"_base_pools","nameLocation":"2007:11:23","nodeType":"VariableDeclaration","scope":7570,"src":"1989:29:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7554,"name":"address","nodeType":"ElementaryTypeName","src":"1989:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7556,"length":{"hexValue":"35","id":7555,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1997:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"1989:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7561,"mutability":"mutable","name":"_base_tokens","nameLocation":"2046:12:23","nodeType":"VariableDeclaration","scope":7570,"src":"2028:30:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7558,"name":"address","nodeType":"ElementaryTypeName","src":"2028:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7560,"length":{"hexValue":"35","id":7559,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2036:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2028:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7565,"mutability":"mutable","name":"_second_base_pools","nameLocation":"2086:18:23","nodeType":"VariableDeclaration","scope":7570,"src":"2068:36:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7562,"name":"address","nodeType":"ElementaryTypeName","src":"2068:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7564,"length":{"hexValue":"35","id":7563,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2076:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2068:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"}],"src":"1838:272:23"},"returnParameters":{"id":7569,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7568,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7570,"src":"2134:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7567,"name":"uint256","nodeType":"ElementaryTypeName","src":"2134:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2133:9:23"},"scope":7646,"src":"1823:320:23","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"6d654ccd","id":7607,"implemented":false,"kind":"function","modifiers":[],"name":"get_dx","nameLocation":"2157:6:23","nodeType":"FunctionDefinition","parameters":{"id":7603,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7574,"mutability":"mutable","name":"_route","nameLocation":"2192:6:23","nodeType":"VariableDeclaration","scope":7607,"src":"2173:25:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":7571,"name":"address","nodeType":"ElementaryTypeName","src":"2173:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7573,"length":{"hexValue":"3131","id":7572,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2181:2:23","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"2173:11:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":7580,"mutability":"mutable","name":"_swap_params","nameLocation":"2229:12:23","nodeType":"VariableDeclaration","scope":7607,"src":"2208:33:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":7575,"name":"uint256","nodeType":"ElementaryTypeName","src":"2208:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7577,"length":{"hexValue":"35","id":7576,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2216:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2208:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":7579,"length":{"hexValue":"35","id":7578,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2219:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2208:13:23","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":7582,"mutability":"mutable","name":"_out_amount","nameLocation":"2259:11:23","nodeType":"VariableDeclaration","scope":7607,"src":"2251:19:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7581,"name":"uint256","nodeType":"ElementaryTypeName","src":"2251:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7586,"mutability":"mutable","name":"_pools","nameLocation":"2298:6:23","nodeType":"VariableDeclaration","scope":7607,"src":"2280:24:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7583,"name":"address","nodeType":"ElementaryTypeName","src":"2280:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7585,"length":{"hexValue":"35","id":7584,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2288:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2280:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7590,"mutability":"mutable","name":"_base_pools","nameLocation":"2332:11:23","nodeType":"VariableDeclaration","scope":7607,"src":"2314:29:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7587,"name":"address","nodeType":"ElementaryTypeName","src":"2314:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7589,"length":{"hexValue":"35","id":7588,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2322:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2314:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7594,"mutability":"mutable","name":"_base_tokens","nameLocation":"2371:12:23","nodeType":"VariableDeclaration","scope":7607,"src":"2353:30:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7591,"name":"address","nodeType":"ElementaryTypeName","src":"2353:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7593,"length":{"hexValue":"35","id":7592,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2361:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2353:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7598,"mutability":"mutable","name":"_second_base_pools","nameLocation":"2411:18:23","nodeType":"VariableDeclaration","scope":7607,"src":"2393:36:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7595,"name":"address","nodeType":"ElementaryTypeName","src":"2393:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7597,"length":{"hexValue":"35","id":7596,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2401:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2393:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"},{"constant":false,"id":7602,"mutability":"mutable","name":"_second_base_tokens","nameLocation":"2457:19:23","nodeType":"VariableDeclaration","scope":7607,"src":"2439:37:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7599,"name":"address","nodeType":"ElementaryTypeName","src":"2439:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7601,"length":{"hexValue":"35","id":7600,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2447:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2439:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"}],"src":"2163:319:23"},"returnParameters":{"id":7606,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7605,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7607,"src":"2506:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7604,"name":"uint256","nodeType":"ElementaryTypeName","src":"2506:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2505:9:23"},"scope":7646,"src":"2148:367:23","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"81889a2c","id":7624,"implemented":false,"kind":"function","modifiers":[],"name":"get_dy","nameLocation":"2529:6:23","nodeType":"FunctionDefinition","parameters":{"id":7620,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7611,"mutability":"mutable","name":"_route","nameLocation":"2555:6:23","nodeType":"VariableDeclaration","scope":7624,"src":"2536:25:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":7608,"name":"address","nodeType":"ElementaryTypeName","src":"2536:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7610,"length":{"hexValue":"3131","id":7609,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2544:2:23","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"2536:11:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":7617,"mutability":"mutable","name":"_swap_params","nameLocation":"2584:12:23","nodeType":"VariableDeclaration","scope":7624,"src":"2563:33:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":7612,"name":"uint256","nodeType":"ElementaryTypeName","src":"2563:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7614,"length":{"hexValue":"35","id":7613,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2571:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2563:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":7616,"length":{"hexValue":"35","id":7615,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2574:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2563:13:23","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":7619,"mutability":"mutable","name":"_amount","nameLocation":"2606:7:23","nodeType":"VariableDeclaration","scope":7624,"src":"2598:15:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7618,"name":"uint256","nodeType":"ElementaryTypeName","src":"2598:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2535:79:23"},"returnParameters":{"id":7623,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7622,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7624,"src":"2662:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7621,"name":"uint256","nodeType":"ElementaryTypeName","src":"2662:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2661:9:23"},"scope":7646,"src":"2520:151:23","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"637653cb","id":7645,"implemented":false,"kind":"function","modifiers":[],"name":"get_dy","nameLocation":"2685:6:23","nodeType":"FunctionDefinition","parameters":{"id":7641,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7628,"mutability":"mutable","name":"_route","nameLocation":"2720:6:23","nodeType":"VariableDeclaration","scope":7645,"src":"2701:25:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_memory_ptr","typeString":"address[11]"},"typeName":{"baseType":{"id":7625,"name":"address","nodeType":"ElementaryTypeName","src":"2701:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7627,"length":{"hexValue":"3131","id":7626,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2709:2:23","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"nodeType":"ArrayTypeName","src":"2701:11:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$11_storage_ptr","typeString":"address[11]"}},"visibility":"internal"},{"constant":false,"id":7634,"mutability":"mutable","name":"_swap_params","nameLocation":"2757:12:23","nodeType":"VariableDeclaration","scope":7645,"src":"2736:33:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr","typeString":"uint256[5][5]"},"typeName":{"baseType":{"baseType":{"id":7629,"name":"uint256","nodeType":"ElementaryTypeName","src":"2736:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7631,"length":{"hexValue":"35","id":7630,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2744:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2736:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$5_storage_ptr","typeString":"uint256[5]"}},"id":7633,"length":{"hexValue":"35","id":7632,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2747:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2736:13:23","typeDescriptions":{"typeIdentifier":"t_array$_t_array$_t_uint256_$5_storage_$5_storage_ptr","typeString":"uint256[5][5]"}},"visibility":"internal"},{"constant":false,"id":7636,"mutability":"mutable","name":"_amount","nameLocation":"2787:7:23","nodeType":"VariableDeclaration","scope":7645,"src":"2779:15:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7635,"name":"uint256","nodeType":"ElementaryTypeName","src":"2779:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7640,"mutability":"mutable","name":"_pools","nameLocation":"2822:6:23","nodeType":"VariableDeclaration","scope":7645,"src":"2804:24:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_memory_ptr","typeString":"address[5]"},"typeName":{"baseType":{"id":7637,"name":"address","nodeType":"ElementaryTypeName","src":"2804:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7639,"length":{"hexValue":"35","id":7638,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2812:1:23","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"nodeType":"ArrayTypeName","src":"2804:10:23","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$5_storage_ptr","typeString":"address[5]"}},"visibility":"internal"}],"src":"2691:143:23"},"returnParameters":{"id":7644,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7643,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7645,"src":"2858:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7642,"name":"uint256","nodeType":"ElementaryTypeName","src":"2858:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2857:9:23"},"scope":7646,"src":"2676:191:23","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":7647,"src":"177:2692:23","usedErrors":[],"usedEvents":[7395]}],"src":"39:2831:23"},"id":23},"contracts/interfaces/ISwapRouterErrors.sol":{"ast":{"absolutePath":"contracts/interfaces/ISwapRouterErrors.sol","exportedSymbols":{"ISwapRouter":[5519],"ISwapRouterErrors":[7676]},"id":7677,"license":"Apache-2.0","nodeType":"SourceUnit","nodes":[{"id":7648,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"39:23:24"},{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol","file":"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol","id":7650,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7677,"sourceUnit":5520,"src":"64:87:24","symbolAliases":[{"foreign":{"id":7649,"name":"ISwapRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5519,"src":"72:11:24","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":7652,"name":"ISwapRouter","nameLocations":["223:11:24"],"nodeType":"IdentifierPath","referencedDeclaration":5519,"src":"223:11:24"},"id":7653,"nodeType":"InheritanceSpecifier","src":"223:11:24"}],"canonicalName":"ISwapRouterErrors","contractDependencies":[],"contractKind":"interface","documentation":{"id":7651,"nodeType":"StructuredDocumentation","src":"153:38:24","text":" @title ISwapRouterErrors"},"fullyImplemented":false,"id":7676,"linearizedBaseContracts":[7676,5519,5419],"name":"ISwapRouterErrors","nameLocation":"202:17:24","nodeType":"ContractDefinition","nodes":[{"errorSelector":"296ba6e1","id":7659,"name":"OutputAmountLessThanSlippage","nameLocation":"245:28:24","nodeType":"ErrorDefinition","parameters":{"id":7658,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7655,"mutability":"mutable","name":"amountOut","nameLocation":"282:9:24","nodeType":"VariableDeclaration","scope":7659,"src":"274:17:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7654,"name":"uint256","nodeType":"ElementaryTypeName","src":"274:7:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7657,"mutability":"mutable","name":"amountOutMinimum","nameLocation":"301:16:24","nodeType":"VariableDeclaration","scope":7659,"src":"293:24:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7656,"name":"uint256","nodeType":"ElementaryTypeName","src":"293:7:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"273:45:24"},"src":"239:80:24"},{"errorSelector":"9a06025d","id":7665,"name":"InputAmountExceedsSlippage","nameLocation":"328:26:24","nodeType":"ErrorDefinition","parameters":{"id":7664,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7661,"mutability":"mutable","name":"amountIn","nameLocation":"363:8:24","nodeType":"VariableDeclaration","scope":7665,"src":"355:16:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7660,"name":"uint256","nodeType":"ElementaryTypeName","src":"355:7:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7663,"mutability":"mutable","name":"amountInMaximum","nameLocation":"381:15:24","nodeType":"VariableDeclaration","scope":7665,"src":"373:23:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7662,"name":"uint256","nodeType":"ElementaryTypeName","src":"373:7:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"354:43:24"},"src":"322:76:24"},{"errorSelector":"ff1e9864","id":7667,"name":"DeadlineInThePast","nameLocation":"407:17:24","nodeType":"ErrorDefinition","parameters":{"id":7666,"nodeType":"ParameterList","parameters":[],"src":"424:2:24"},"src":"401:26:24"},{"errorSelector":"d11b25af","id":7669,"name":"AmountCannotBeZero","nameLocation":"436:18:24","nodeType":"ErrorDefinition","parameters":{"id":7668,"nodeType":"ParameterList","parameters":[],"src":"454:2:24"},"src":"430:27:24"},{"errorSelector":"596a094c","id":7671,"name":"TokenCannotBeZero","nameLocation":"466:17:24","nodeType":"ErrorDefinition","parameters":{"id":7670,"nodeType":"ParameterList","parameters":[],"src":"483:2:24"},"src":"460:26:24"},{"errorSelector":"70c73f80","id":7673,"name":"RecipientCannotBeZero","nameLocation":"495:21:24","nodeType":"ErrorDefinition","parameters":{"id":7672,"nodeType":"ParameterList","parameters":[],"src":"516:2:24"},"src":"489:30:24"},{"errorSelector":"d6234725","id":7675,"name":"NotImplemented","nameLocation":"528:14:24","nodeType":"ErrorDefinition","parameters":{"id":7674,"nodeType":"ParameterList","parameters":[],"src":"542:2:24"},"src":"522:23:24"}],"scope":7677,"src":"192:355:24","usedErrors":[7659,7665,7667,7669,7671,7673,7675],"usedEvents":[]}],"src":"39:509:24"},"id":24},"contracts/mocks/CurveRoutesTesterMock.sol":{"ast":{"absolutePath":"contracts/mocks/CurveRoutesTesterMock.sol","exportedSymbols":{"CurveRoutes":[6109],"CurveRoutesTesterMock":[7750],"ICurveRouter":[7646]},"id":7751,"license":"Apache-2.0","nodeType":"SourceUnit","nodes":[{"id":7678,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"39:23:25"},{"absolutePath":"contracts/CurveRoutes.sol","file":"./../CurveRoutes.sol","id":7680,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7751,"sourceUnit":6110,"src":"64:49:25","symbolAliases":[{"foreign":{"id":7679,"name":"CurveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6109,"src":"72:11:25","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/dependencies/ICurveRouter.sol","file":"../dependencies/ICurveRouter.sol","id":7682,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7751,"sourceUnit":7647,"src":"114:62:25","symbolAliases":[{"foreign":{"id":7681,"name":"ICurveRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7646,"src":"122:12:25","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"CurveRoutesTesterMock","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":7750,"linearizedBaseContracts":[7750],"name":"CurveRoutesTesterMock","nameLocation":"187:21:25","nodeType":"ContractDefinition","nodes":[{"body":{"id":7693,"nodeType":"Block","src":"271:44:25","statements":[{"expression":{"arguments":[{"id":7690,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7684,"src":"298:11:25","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":7687,"name":"CurveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6109,"src":"277:11:25","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurveRoutes_$6109_$","typeString":"type(library CurveRoutes)"}},"id":7689,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"289:8:25","memberName":"validate","nodeType":"MemberAccess","referencedDeclaration":5747,"src":"277:20:25","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$","typeString":"function (bytes memory) pure"}},"id":7691,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"277:33:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7692,"nodeType":"ExpressionStatement","src":"277:33:25"}]},"functionSelector":"c16e50ef","id":7694,"implemented":true,"kind":"function","modifiers":[],"name":"validate","nameLocation":"222:8:25","nodeType":"FunctionDefinition","parameters":{"id":7685,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7684,"mutability":"mutable","name":"curveRoutes","nameLocation":"244:11:25","nodeType":"VariableDeclaration","scope":7694,"src":"231:24:25","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":7683,"name":"bytes","nodeType":"ElementaryTypeName","src":"231:5:25","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"230:26:25"},"returnParameters":{"id":7686,"nodeType":"ParameterList","parameters":[],"src":"271:0:25"},"scope":7750,"src":"213:102:25","stateMutability":"pure","virtual":false,"visibility":"external"},{"body":{"id":7712,"nodeType":"Block","src":"466:60:25","statements":[{"expression":{"arguments":[{"id":7708,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7696,"src":"501:11:25","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":7709,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7698,"src":"514:6:25","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":7706,"name":"CurveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6109,"src":"479:11:25","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurveRoutes_$6109_$","typeString":"type(library CurveRoutes)"}},"id":7707,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"491:9:25","memberName":"readRoute","nodeType":"MemberAccess","referencedDeclaration":5963,"src":"479:21:25","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_uint8_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"function (bytes memory,uint256) pure returns (uint8,struct CurveRoutes.CurveRoute memory)"}},"id":7710,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"479:42:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint8_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"tuple(uint8,struct CurveRoutes.CurveRoute memory)"}},"functionReturnParameters":7705,"id":7711,"nodeType":"Return","src":"472:49:25"}]},"functionSelector":"588f4ff4","id":7713,"implemented":true,"kind":"function","modifiers":[],"name":"readRoute","nameLocation":"328:9:25","nodeType":"FunctionDefinition","parameters":{"id":7699,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7696,"mutability":"mutable","name":"curveRoutes","nameLocation":"356:11:25","nodeType":"VariableDeclaration","scope":7713,"src":"343:24:25","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":7695,"name":"bytes","nodeType":"ElementaryTypeName","src":"343:5:25","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":7698,"mutability":"mutable","name":"offset","nameLocation":"381:6:25","nodeType":"VariableDeclaration","scope":7713,"src":"373:14:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7697,"name":"uint256","nodeType":"ElementaryTypeName","src":"373:7:25","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"337:54:25"},"returnParameters":{"id":7705,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7701,"mutability":"mutable","name":"nSwaps","nameLocation":"421:6:25","nodeType":"VariableDeclaration","scope":7713,"src":"415:12:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":7700,"name":"uint8","nodeType":"ElementaryTypeName","src":"415:5:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":7704,"mutability":"mutable","name":"route","nameLocation":"459:5:25","nodeType":"VariableDeclaration","scope":7713,"src":"429:35:25","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute"},"typeName":{"id":7703,"nodeType":"UserDefinedTypeName","pathNode":{"id":7702,"name":"CurveRoutes.CurveRoute","nameLocations":["429:11:25","441:10:25"],"nodeType":"IdentifierPath","referencedDeclaration":5567,"src":"429:22:25"},"referencedDeclaration":5567,"src":"429:22:25","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_storage_ptr","typeString":"struct CurveRoutes.CurveRoute"}},"visibility":"internal"}],"src":"414:51:25"},"scope":7750,"src":"319:207:25","stateMutability":"pure","virtual":false,"visibility":"external"},{"body":{"id":7725,"nodeType":"Block","src":"595:47:25","statements":[{"expression":{"arguments":[{"id":7722,"name":"nSwaps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7715,"src":"630:6:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"id":7720,"name":"CurveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6109,"src":"608:11:25","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurveRoutes_$6109_$","typeString":"type(library CurveRoutes)"}},"id":7721,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"620:9:25","memberName":"routeSize","nodeType":"MemberAccess","referencedDeclaration":5991,"src":"608:21:25","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_uint256_$","typeString":"function (uint8) pure returns (uint256)"}},"id":7723,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"608:29:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":7719,"id":7724,"nodeType":"Return","src":"601:36:25"}]},"functionSelector":"7ea71c9b","id":7726,"implemented":true,"kind":"function","modifiers":[],"name":"routeSize","nameLocation":"539:9:25","nodeType":"FunctionDefinition","parameters":{"id":7716,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7715,"mutability":"mutable","name":"nSwaps","nameLocation":"555:6:25","nodeType":"VariableDeclaration","scope":7726,"src":"549:12:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":7714,"name":"uint8","nodeType":"ElementaryTypeName","src":"549:5:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"548:14:25"},"returnParameters":{"id":7719,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7718,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7726,"src":"586:7:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7717,"name":"uint256","nodeType":"ElementaryTypeName","src":"586:7:25","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"585:9:25"},"scope":7750,"src":"530:112:25","stateMutability":"pure","virtual":false,"visibility":"external"},{"body":{"id":7748,"nodeType":"Block","src":"823:71:25","statements":[{"expression":{"arguments":[{"id":7743,"name":"curveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7728,"src":"858:11:25","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":7744,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7730,"src":"871:7:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7745,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7732,"src":"880:8:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":7741,"name":"CurveRoutes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6109,"src":"836:11:25","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurveRoutes_$6109_$","typeString":"type(library CurveRoutes)"}},"id":7742,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"848:9:25","memberName":"findRoute","nodeType":"MemberAccess","referencedDeclaration":6108,"src":"836:21:25","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_address_$_t_address_$returns$_t_contract$_ICurveRouter_$7646_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"function (bytes memory,address,address) pure returns (contract ICurveRouter,struct CurveRoutes.CurveRoute memory)"}},"id":7746,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"836:53:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_contract$_ICurveRouter_$7646_$_t_struct$_CurveRoute_$5567_memory_ptr_$","typeString":"tuple(contract ICurveRouter,struct CurveRoutes.CurveRoute memory)"}},"functionReturnParameters":7740,"id":7747,"nodeType":"Return","src":"829:60:25"}]},"functionSelector":"4eb94259","id":7749,"implemented":true,"kind":"function","modifiers":[],"name":"findRoute","nameLocation":"655:9:25","nodeType":"FunctionDefinition","parameters":{"id":7733,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7728,"mutability":"mutable","name":"curveRoutes","nameLocation":"683:11:25","nodeType":"VariableDeclaration","scope":7749,"src":"670:24:25","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":7727,"name":"bytes","nodeType":"ElementaryTypeName","src":"670:5:25","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":7730,"mutability":"mutable","name":"tokenIn","nameLocation":"708:7:25","nodeType":"VariableDeclaration","scope":7749,"src":"700:15:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7729,"name":"address","nodeType":"ElementaryTypeName","src":"700:7:25","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7732,"mutability":"mutable","name":"tokenOut","nameLocation":"729:8:25","nodeType":"VariableDeclaration","scope":7749,"src":"721:16:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7731,"name":"address","nodeType":"ElementaryTypeName","src":"721:7:25","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"664:77:25"},"returnParameters":{"id":7740,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7736,"mutability":"mutable","name":"router","nameLocation":"778:6:25","nodeType":"VariableDeclaration","scope":7749,"src":"765:19:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"},"typeName":{"id":7735,"nodeType":"UserDefinedTypeName","pathNode":{"id":7734,"name":"ICurveRouter","nameLocations":["765:12:25"],"nodeType":"IdentifierPath","referencedDeclaration":7646,"src":"765:12:25"},"referencedDeclaration":7646,"src":"765:12:25","typeDescriptions":{"typeIdentifier":"t_contract$_ICurveRouter_$7646","typeString":"contract ICurveRouter"}},"visibility":"internal"},{"constant":false,"id":7739,"mutability":"mutable","name":"route","nameLocation":"816:5:25","nodeType":"VariableDeclaration","scope":7749,"src":"786:35:25","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_memory_ptr","typeString":"struct CurveRoutes.CurveRoute"},"typeName":{"id":7738,"nodeType":"UserDefinedTypeName","pathNode":{"id":7737,"name":"CurveRoutes.CurveRoute","nameLocations":["786:11:25","798:10:25"],"nodeType":"IdentifierPath","referencedDeclaration":5567,"src":"786:22:25"},"referencedDeclaration":5567,"src":"786:22:25","typeDescriptions":{"typeIdentifier":"t_struct$_CurveRoute_$5567_storage_ptr","typeString":"struct CurveRoutes.CurveRoute"}},"visibility":"internal"}],"src":"764:58:25"},"scope":7750,"src":"646:248:25","stateMutability":"pure","virtual":false,"visibility":"external"}],"scope":7751,"src":"178:718:25","usedErrors":[5569,5571,5573,5578,5582,5588],"usedEvents":[]}],"src":"39:858:25"},"id":25},"contracts/mocks/SwapRouterMock.sol":{"ast":{"absolutePath":"contracts/mocks/SwapRouterMock.sol","exportedSymbols":{"IERC20Metadata":[1224],"ISwapRouter":[5519],"ISwapRouterErrors":[7676],"Math":[3640],"SafeCast":[5405],"SafeERC20":[1635],"SwapRouterMock":[8203]},"id":8204,"license":"Apache-2.0","nodeType":"SourceUnit","nodes":[{"id":7752,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"39:23:26"},{"absolutePath":"@openzeppelin/contracts/utils/math/Math.sol","file":"@openzeppelin/contracts/utils/math/Math.sol","id":7754,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8204,"sourceUnit":3641,"src":"64:65:26","symbolAliases":[{"foreign":{"id":7753,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3640,"src":"72:4:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/math/SafeCast.sol","file":"@openzeppelin/contracts/utils/math/SafeCast.sol","id":7756,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8204,"sourceUnit":5406,"src":"130:73:26","symbolAliases":[{"foreign":{"id":7755,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5405,"src":"138:8:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol","file":"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol","id":7758,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8204,"sourceUnit":1636,"src":"204:82:26","symbolAliases":[{"foreign":{"id":7757,"name":"SafeERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1635,"src":"212:9:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol","file":"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol","id":7760,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8204,"sourceUnit":5520,"src":"287:87:26","symbolAliases":[{"foreign":{"id":7759,"name":"ISwapRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5519,"src":"295:11:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol","file":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol","id":7762,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8204,"sourceUnit":1225,"src":"375:97:26","symbolAliases":[{"foreign":{"id":7761,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"383:14:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/interfaces/ISwapRouterErrors.sol","file":"../interfaces/ISwapRouterErrors.sol","id":7764,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8204,"sourceUnit":7677,"src":"473:70:26","symbolAliases":[{"foreign":{"id":7763,"name":"ISwapRouterErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7676,"src":"481:17:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":7766,"name":"ISwapRouterErrors","nameLocations":["688:17:26"],"nodeType":"IdentifierPath","referencedDeclaration":7676,"src":"688:17:26"},"id":7767,"nodeType":"InheritanceSpecifier","src":"688:17:26"}],"canonicalName":"SwapRouterMock","contractDependencies":[],"contractKind":"contract","documentation":{"id":7765,"nodeType":"StructuredDocumentation","src":"545:115:26","text":" @title SwapRouterMock\n @notice SwapRouter mock that can swap a single type of token for several others"},"fullyImplemented":true,"id":8203,"linearizedBaseContracts":[8203,7676,5519,5419],"name":"SwapRouterMock","nameLocation":"670:14:26","nodeType":"ContractDefinition","nodes":[{"global":false,"id":7771,"libraryName":{"id":7768,"name":"SafeERC20","nameLocations":["716:9:26"],"nodeType":"IdentifierPath","referencedDeclaration":1635,"src":"716:9:26"},"nodeType":"UsingForDirective","src":"710:35:26","typeName":{"id":7770,"nodeType":"UserDefinedTypeName","pathNode":{"id":7769,"name":"IERC20Metadata","nameLocations":["730:14:26"],"nodeType":"IdentifierPath","referencedDeclaration":1224,"src":"730:14:26"},"referencedDeclaration":1224,"src":"730:14:26","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}}},{"global":false,"id":7774,"libraryName":{"id":7772,"name":"Math","nameLocations":["754:4:26"],"nodeType":"IdentifierPath","referencedDeclaration":3640,"src":"754:4:26"},"nodeType":"UsingForDirective","src":"748:23:26","typeName":{"id":7773,"name":"uint256","nodeType":"ElementaryTypeName","src":"763:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"global":false,"id":7777,"libraryName":{"id":7775,"name":"SafeCast","nameLocations":["780:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":5405,"src":"780:8:26"},"nodeType":"UsingForDirective","src":"774:27:26","typeName":{"id":7776,"name":"uint256","nodeType":"ElementaryTypeName","src":"793:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"constant":true,"id":7780,"mutability":"constant","name":"WAD","nameLocation":"831:3:26","nodeType":"VariableDeclaration","scope":8203,"src":"805:36:26","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7778,"name":"uint256","nodeType":"ElementaryTypeName","src":"805:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"31653138","id":7779,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"837:4:26","typeDescriptions":{"typeIdentifier":"t_rational_1000000000000000000_by_1","typeString":"int_const 1000000000000000000"},"value":"1e18"},"visibility":"internal"},{"errorSelector":"6b35b1b7","id":7782,"name":"AdminCannotBeZero","nameLocation":"852:17:26","nodeType":"ErrorDefinition","parameters":{"id":7781,"nodeType":"ParameterList","parameters":[],"src":"869:2:26"},"src":"846:26:26"},{"anonymous":false,"eventSelector":"b71c154260e8508e211e2ace194becba2c6d7e727c3ed292fe4787458969cd10","id":7790,"name":"PriceUpdated","nameLocation":"881:12:26","nodeType":"EventDefinition","parameters":{"id":7789,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7784,"indexed":false,"mutability":"mutable","name":"tokenIn","nameLocation":"902:7:26","nodeType":"VariableDeclaration","scope":7790,"src":"894:15:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7783,"name":"address","nodeType":"ElementaryTypeName","src":"894:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7786,"indexed":false,"mutability":"mutable","name":"tokenOut","nameLocation":"919:8:26","nodeType":"VariableDeclaration","scope":7790,"src":"911:16:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7785,"name":"address","nodeType":"ElementaryTypeName","src":"911:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7788,"indexed":false,"mutability":"mutable","name":"price","nameLocation":"937:5:26","nodeType":"VariableDeclaration","scope":7790,"src":"929:13:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7787,"name":"uint256","nodeType":"ElementaryTypeName","src":"929:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"893:50:26"},"src":"875:69:26"},{"errorSelector":"8f0f4206","id":7796,"name":"NotEnoughBalance","nameLocation":"953:16:26","nodeType":"ErrorDefinition","parameters":{"id":7795,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7792,"mutability":"mutable","name":"available","nameLocation":"978:9:26","nodeType":"VariableDeclaration","scope":7796,"src":"970:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7791,"name":"uint256","nodeType":"ElementaryTypeName","src":"970:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7794,"mutability":"mutable","name":"required","nameLocation":"997:8:26","nodeType":"VariableDeclaration","scope":7796,"src":"989:16:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7793,"name":"uint256","nodeType":"ElementaryTypeName","src":"989:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"969:37:26"},"src":"947:60:26"},{"constant":false,"id":7802,"mutability":"mutable","name":"_prices","nameLocation":"1067:7:26","nodeType":"VariableDeclaration","scope":8203,"src":"1011:63:26","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"},"typeName":{"id":7801,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":7797,"name":"address","nodeType":"ElementaryTypeName","src":"1019:7:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1011:47:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":7800,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":7798,"name":"address","nodeType":"ElementaryTypeName","src":"1038:7:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1030:27:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":7799,"name":"uint256","nodeType":"ElementaryTypeName","src":"1049:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}}},"visibility":"private"},{"body":{"id":7818,"nodeType":"Block","src":"1106:60:26","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":7813,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7808,"name":"admin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7804,"src":"1120:5:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":7811,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1137:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":7810,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1129:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7809,"name":"address","nodeType":"ElementaryTypeName","src":"1129:7:26","typeDescriptions":{}}},"id":7812,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1129:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1120:19:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":7814,"name":"AdminCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7782,"src":"1141:17:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":7815,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1141:19:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":7807,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1112:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":7816,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1112:49:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7817,"nodeType":"ExpressionStatement","src":"1112:49:26"}]},"id":7819,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":7805,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7804,"mutability":"mutable","name":"admin","nameLocation":"1099:5:26","nodeType":"VariableDeclaration","scope":7819,"src":"1091:13:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7803,"name":"address","nodeType":"ElementaryTypeName","src":"1091:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1090:15:26"},"returnParameters":{"id":7806,"nodeType":"ParameterList","parameters":[],"src":"1106:0:26"},"scope":8203,"src":"1079:87:26","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":7838,"nodeType":"Block","src":"1239:65:26","statements":[{"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7835,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":7826,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1253:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":7833,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3138","id":7827,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1260:2:26","typeDescriptions":{"typeIdentifier":"t_rational_18_by_1","typeString":"int_const 18"},"value":"18"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":7829,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7821,"src":"1280:5:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7828,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"1265:14:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":7830,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1265:21:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":7831,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1287:8:26","memberName":"decimals","nodeType":"MemberAccess","referencedDeclaration":1223,"src":"1265:30:26","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_uint8_$","typeString":"function () view external returns (uint8)"}},"id":7832,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1265:32:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"1260:37:26","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"id":7834,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1259:39:26","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"1253:45:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":7836,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1252:47:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":7825,"id":7837,"nodeType":"Return","src":"1245:54:26"}]},"id":7839,"implemented":true,"kind":"function","modifiers":[],"name":"_toWadFactor","nameLocation":"1179:12:26","nodeType":"FunctionDefinition","parameters":{"id":7822,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7821,"mutability":"mutable","name":"token","nameLocation":"1200:5:26","nodeType":"VariableDeclaration","scope":7839,"src":"1192:13:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7820,"name":"address","nodeType":"ElementaryTypeName","src":"1192:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1191:15:26"},"returnParameters":{"id":7825,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7824,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7839,"src":"1230:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7823,"name":"uint256","nodeType":"ElementaryTypeName","src":"1230:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1229:9:26"},"scope":8203,"src":"1170:134:26","stateMutability":"view","virtual":false,"visibility":"internal"},{"baseFunctions":[5452],"body":{"id":7946,"nodeType":"Block","src":"1460:711:26","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":7855,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7849,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"1474:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7850,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1481:9:26","memberName":"recipient","nodeType":"MemberAccess","referencedDeclaration":5434,"src":"1474:16:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":7853,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1502:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":7852,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1494:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7851,"name":"address","nodeType":"ElementaryTypeName","src":"1494:7:26","typeDescriptions":{}}},"id":7854,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1494:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1474:30:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":7856,"name":"RecipientCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7673,"src":"1506:21:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":7857,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1506:23:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":7848,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1466:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":7858,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1466:64:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7859,"nodeType":"ExpressionStatement","src":"1466:64:26"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7865,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7861,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"1544:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1551:8:26","memberName":"deadline","nodeType":"MemberAccess","referencedDeclaration":5436,"src":"1544:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":7863,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"1563:5:26","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":7864,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1569:9:26","memberName":"timestamp","nodeType":"MemberAccess","src":"1563:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1544:34:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":7866,"name":"DeadlineInThePast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7667,"src":"1580:17:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":7867,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1580:19:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":7860,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1536:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":7868,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1536:64:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7869,"nodeType":"ExpressionStatement","src":"1536:64:26"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7874,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7871,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"1614:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7872,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1621:8:26","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":5438,"src":"1614:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":7873,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1632:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1614:19:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":7875,"name":"AmountCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7669,"src":"1635:18:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":7876,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1635:20:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":7870,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1606:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":7877,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1606:50:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7878,"nodeType":"ExpressionStatement","src":"1606:50:26"},{"assignments":[7880],"declarations":[{"constant":false,"id":7880,"mutability":"mutable","name":"amountOutInWad","nameLocation":"1671:14:26","nodeType":"VariableDeclaration","scope":7946,"src":"1663:22:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7879,"name":"uint256","nodeType":"ElementaryTypeName","src":"1663:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":7899,"initialValue":{"arguments":[{"id":7890,"name":"WAD","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7780,"src":"1751:3:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"baseExpression":{"baseExpression":{"id":7891,"name":"_prices","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7802,"src":"1762:7:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":7894,"indexExpression":{"expression":{"id":7892,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"1770:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7893,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1777:7:26","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5428,"src":"1770:14:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1762:23:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":7897,"indexExpression":{"expression":{"id":7895,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"1786:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7896,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1793:8:26","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5430,"src":"1786:15:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1762:40:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7887,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7881,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"1689:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7882,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1696:8:26","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":5438,"src":"1689:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"expression":{"id":7884,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"1720:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7885,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1727:7:26","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5428,"src":"1720:14:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7883,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7839,"src":"1707:12:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":7886,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1707:28:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1689:46:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":7888,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1688:48:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7889,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1737:6:26","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":2470,"src":"1688:55:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":7898,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1688:120:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1663:145:26"},{"expression":{"id":7907,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7900,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7846,"src":"1814:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7906,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7901,"name":"amountOutInWad","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7880,"src":"1826:14:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"arguments":[{"expression":{"id":7903,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"1856:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7904,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1863:8:26","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5430,"src":"1856:15:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7902,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7839,"src":"1843:12:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":7905,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1843:29:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1826:46:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1814:58:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7908,"nodeType":"ExpressionStatement","src":"1814:58:26"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7913,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7910,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7846,"src":"1886:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":7911,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"1899:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7912,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1906:16:26","memberName":"amountOutMinimum","nodeType":"MemberAccess","referencedDeclaration":5440,"src":"1899:23:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1886:36:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[{"id":7915,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7846,"src":"1953:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7916,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"1964:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7917,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1971:16:26","memberName":"amountOutMinimum","nodeType":"MemberAccess","referencedDeclaration":5440,"src":"1964:23:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7914,"name":"OutputAmountLessThanSlippage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7659,"src":"1924:28:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":7918,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1924:64:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":7909,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1878:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":7919,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1878:111:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7920,"nodeType":"ExpressionStatement","src":"1878:111:26"},{"expression":{"arguments":[{"expression":{"id":7926,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2044:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7927,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2048:6:26","memberName":"sender","nodeType":"MemberAccess","src":"2044:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":7930,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2064:4:26","typeDescriptions":{"typeIdentifier":"t_contract$_SwapRouterMock_$8203","typeString":"contract SwapRouterMock"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_SwapRouterMock_$8203","typeString":"contract SwapRouterMock"}],"id":7929,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2056:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7928,"name":"address","nodeType":"ElementaryTypeName","src":"2056:7:26","typeDescriptions":{}}},"id":7931,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2056:13:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":7932,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"2071:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7933,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2078:8:26","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":5438,"src":"2071:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"expression":{"id":7922,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"2011:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7923,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2018:7:26","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5428,"src":"2011:14:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7921,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"1996:14:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":7924,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1996:30:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":7925,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2027:16:26","memberName":"safeTransferFrom","nodeType":"MemberAccess","referencedDeclaration":1298,"src":"1996:47:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_IERC20_$1198_$","typeString":"function (contract IERC20,address,address,uint256)"}},"id":7934,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1996:91:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7935,"nodeType":"ExpressionStatement","src":"1996:91:26"},{"expression":{"arguments":[{"expression":{"id":7941,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"2138:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7942,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2145:9:26","memberName":"recipient","nodeType":"MemberAccess","referencedDeclaration":5434,"src":"2138:16:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7943,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7846,"src":"2156:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"expression":{"id":7937,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7843,"src":"2108:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams calldata"}},"id":7938,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2115:8:26","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5430,"src":"2108:15:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7936,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"2093:14:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":7939,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2093:31:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":7940,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2125:12:26","memberName":"safeTransfer","nodeType":"MemberAccess","referencedDeclaration":1271,"src":"2093:44:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_IERC20_$1198_$","typeString":"function (contract IERC20,address,uint256)"}},"id":7944,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2093:73:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7945,"nodeType":"ExpressionStatement","src":"2093:73:26"}]},"documentation":{"id":7840,"nodeType":"StructuredDocumentation","src":"1308:38:26","text":" @inheritdoc ISwapRouter"},"functionSelector":"414bf389","id":7947,"implemented":true,"kind":"function","modifiers":[],"name":"exactInputSingle","nameLocation":"1358:16:26","nodeType":"FunctionDefinition","parameters":{"id":7844,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7843,"mutability":"mutable","name":"params","nameLocation":"1407:6:26","nodeType":"VariableDeclaration","scope":7947,"src":"1375:38:26","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_calldata_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams"},"typeName":{"id":7842,"nodeType":"UserDefinedTypeName","pathNode":{"id":7841,"name":"ExactInputSingleParams","nameLocations":["1375:22:26"],"nodeType":"IdentifierPath","referencedDeclaration":5443,"src":"1375:22:26"},"referencedDeclaration":5443,"src":"1375:22:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$5443_storage_ptr","typeString":"struct ISwapRouter.ExactInputSingleParams"}},"visibility":"internal"}],"src":"1374:40:26"},"returnParameters":{"id":7847,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7846,"mutability":"mutable","name":"amountOut","nameLocation":"1449:9:26","nodeType":"VariableDeclaration","scope":7947,"src":"1441:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7845,"name":"uint256","nodeType":"ElementaryTypeName","src":"1441:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1440:19:26"},"scope":8203,"src":"1349:822:26","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[5498],"body":{"id":8079,"nodeType":"Block","src":"2328:867:26","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":7963,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7957,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2342:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":7958,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2349:9:26","memberName":"recipient","nodeType":"MemberAccess","referencedDeclaration":5480,"src":"2342:16:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":7961,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2370:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":7960,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2362:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7959,"name":"address","nodeType":"ElementaryTypeName","src":"2362:7:26","typeDescriptions":{}}},"id":7962,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2362:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2342:30:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":7964,"name":"RecipientCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7673,"src":"2374:21:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":7965,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2374:23:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":7956,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2334:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":7966,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2334:64:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7967,"nodeType":"ExpressionStatement","src":"2334:64:26"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7973,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7969,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2412:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":7970,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2419:8:26","memberName":"deadline","nodeType":"MemberAccess","referencedDeclaration":5482,"src":"2412:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":7971,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"2431:5:26","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":7972,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2437:9:26","memberName":"timestamp","nodeType":"MemberAccess","src":"2431:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2412:34:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":7974,"name":"DeadlineInThePast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7667,"src":"2448:17:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":7975,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2448:19:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":7968,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2404:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":7976,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2404:64:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7977,"nodeType":"ExpressionStatement","src":"2404:64:26"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7982,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7979,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2482:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":7980,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2489:9:26","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":5484,"src":"2482:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":7981,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2501:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2482:20:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":7983,"name":"AmountCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7669,"src":"2504:18:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":7984,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2504:20:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":7978,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2474:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":7985,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2474:51:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7986,"nodeType":"ExpressionStatement","src":"2474:51:26"},{"assignments":[7988],"declarations":[{"constant":false,"id":7988,"mutability":"mutable","name":"balance","nameLocation":"2539:7:26","nodeType":"VariableDeclaration","scope":8079,"src":"2531:15:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7987,"name":"uint256","nodeType":"ElementaryTypeName","src":"2531:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":7999,"initialValue":{"arguments":[{"arguments":[{"id":7996,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2599:4:26","typeDescriptions":{"typeIdentifier":"t_contract$_SwapRouterMock_$8203","typeString":"contract SwapRouterMock"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_SwapRouterMock_$8203","typeString":"contract SwapRouterMock"}],"id":7995,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2591:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":7994,"name":"address","nodeType":"ElementaryTypeName","src":"2591:7:26","typeDescriptions":{}}},"id":7997,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2591:13:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"expression":{"id":7990,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2564:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":7991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2571:8:26","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5476,"src":"2564:15:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7989,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"2549:14:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":7992,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2549:31:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":7993,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2581:9:26","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":1155,"src":"2549:41:26","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":7998,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2549:56:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2531:74:26"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8004,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8001,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7988,"src":"2619:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":8002,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2630:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8003,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2637:9:26","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":5484,"src":"2630:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2619:27:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[{"id":8006,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7988,"src":"2665:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":8007,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2674:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8008,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2681:9:26","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":5484,"src":"2674:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8005,"name":"NotEnoughBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7796,"src":"2648:16:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":8009,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2648:43:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":8000,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2611:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":8010,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2611:81:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8011,"nodeType":"ExpressionStatement","src":"2611:81:26"},{"assignments":[8013],"declarations":[{"constant":false,"id":8013,"mutability":"mutable","name":"amountInWad","nameLocation":"2707:11:26","nodeType":"VariableDeclaration","scope":8079,"src":"2699:19:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8012,"name":"uint256","nodeType":"ElementaryTypeName","src":"2699:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8032,"initialValue":{"arguments":[{"baseExpression":{"baseExpression":{"id":8023,"name":"_prices","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7802,"src":"2786:7:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":8026,"indexExpression":{"expression":{"id":8024,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2794:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8025,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2801:7:26","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5474,"src":"2794:14:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2786:23:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":8029,"indexExpression":{"expression":{"id":8027,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2810:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8028,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2817:8:26","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5476,"src":"2810:15:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2786:40:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8030,"name":"WAD","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7780,"src":"2834:3:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8020,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":8014,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2722:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8015,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2729:9:26","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":5484,"src":"2722:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"expression":{"id":8017,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2754:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8018,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2761:8:26","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5476,"src":"2754:15:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":8016,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7839,"src":"2741:12:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":8019,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2741:29:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2722:48:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":8021,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2721:50:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8022,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2772:6:26","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":2470,"src":"2721:57:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":8031,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2721:122:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2699:144:26"},{"expression":{"id":8040,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8033,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7954,"src":"2849:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8039,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8034,"name":"amountInWad","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8013,"src":"2860:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"arguments":[{"expression":{"id":8036,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2887:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8037,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2894:7:26","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5474,"src":"2887:14:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":8035,"name":"_toWadFactor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7839,"src":"2874:12:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":8038,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2874:28:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2860:42:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2849:53:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8041,"nodeType":"ExpressionStatement","src":"2849:53:26"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8046,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8043,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7954,"src":"2916:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":8044,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2928:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8045,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2935:15:26","memberName":"amountInMaximum","nodeType":"MemberAccess","referencedDeclaration":5486,"src":"2928:22:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2916:34:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[{"id":8048,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7954,"src":"2979:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":8049,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"2989:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8050,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2996:15:26","memberName":"amountInMaximum","nodeType":"MemberAccess","referencedDeclaration":5486,"src":"2989:22:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8047,"name":"InputAmountExceedsSlippage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7665,"src":"2952:26:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":8051,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2952:60:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":8042,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2908:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":8052,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2908:105:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8053,"nodeType":"ExpressionStatement","src":"2908:105:26"},{"expression":{"arguments":[{"expression":{"id":8059,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3068:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":8060,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3072:6:26","memberName":"sender","nodeType":"MemberAccess","src":"3068:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":8063,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3088:4:26","typeDescriptions":{"typeIdentifier":"t_contract$_SwapRouterMock_$8203","typeString":"contract SwapRouterMock"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_SwapRouterMock_$8203","typeString":"contract SwapRouterMock"}],"id":8062,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3080:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":8061,"name":"address","nodeType":"ElementaryTypeName","src":"3080:7:26","typeDescriptions":{}}},"id":8064,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3080:13:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":8065,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7954,"src":"3095:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"expression":{"id":8055,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"3035:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8056,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3042:7:26","memberName":"tokenIn","nodeType":"MemberAccess","referencedDeclaration":5474,"src":"3035:14:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":8054,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"3020:14:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":8057,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3020:30:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":8058,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3051:16:26","memberName":"safeTransferFrom","nodeType":"MemberAccess","referencedDeclaration":1298,"src":"3020:47:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_IERC20_$1198_$","typeString":"function (contract IERC20,address,address,uint256)"}},"id":8066,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3020:84:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8067,"nodeType":"ExpressionStatement","src":"3020:84:26"},{"expression":{"arguments":[{"expression":{"id":8073,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"3155:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8074,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3162:9:26","memberName":"recipient","nodeType":"MemberAccess","referencedDeclaration":5480,"src":"3155:16:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":8075,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"3173:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8076,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3180:9:26","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":5484,"src":"3173:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"expression":{"id":8069,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7951,"src":"3125:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams calldata"}},"id":8070,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3132:8:26","memberName":"tokenOut","nodeType":"MemberAccess","referencedDeclaration":5476,"src":"3125:15:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":8068,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"3110:14:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":8071,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3110:31:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":8072,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3142:12:26","memberName":"safeTransfer","nodeType":"MemberAccess","referencedDeclaration":1271,"src":"3110:44:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_IERC20_$1198_$","typeString":"function (contract IERC20,address,uint256)"}},"id":8077,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3110:80:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8078,"nodeType":"ExpressionStatement","src":"3110:80:26"}]},"documentation":{"id":7948,"nodeType":"StructuredDocumentation","src":"2175:38:26","text":" @inheritdoc ISwapRouter"},"functionSelector":"db3e2198","id":8080,"implemented":true,"kind":"function","modifiers":[],"name":"exactOutputSingle","nameLocation":"2225:17:26","nodeType":"FunctionDefinition","parameters":{"id":7952,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7951,"mutability":"mutable","name":"params","nameLocation":"2276:6:26","nodeType":"VariableDeclaration","scope":8080,"src":"2243:39:26","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams"},"typeName":{"id":7950,"nodeType":"UserDefinedTypeName","pathNode":{"id":7949,"name":"ExactOutputSingleParams","nameLocations":["2243:23:26"],"nodeType":"IdentifierPath","referencedDeclaration":5489,"src":"2243:23:26"},"referencedDeclaration":5489,"src":"2243:23:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$5489_storage_ptr","typeString":"struct ISwapRouter.ExactOutputSingleParams"}},"visibility":"internal"}],"src":"2242:41:26"},"returnParameters":{"id":7955,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7954,"mutability":"mutable","name":"amountIn","nameLocation":"2318:8:26","nodeType":"VariableDeclaration","scope":8080,"src":"2310:16:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7953,"name":"uint256","nodeType":"ElementaryTypeName","src":"2310:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2309:18:26"},"scope":8203,"src":"2216:979:26","stateMutability":"payable","virtual":false,"visibility":"external"},{"body":{"id":8115,"nodeType":"Block","src":"3257:166:26","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":8093,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8088,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8082,"src":"3271:5:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":8091,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3288:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":8090,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3280:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":8089,"name":"address","nodeType":"ElementaryTypeName","src":"3280:7:26","typeDescriptions":{}}},"id":8092,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3280:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3271:19:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":8094,"name":"TokenCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7671,"src":"3292:17:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8095,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3292:19:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":8087,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3263:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":8096,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3263:49:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8097,"nodeType":"ExpressionStatement","src":"3263:49:26"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8101,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8099,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8084,"src":"3326:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":8100,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3335:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3326:10:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":8102,"name":"TokenCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7671,"src":"3338:17:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8103,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3338:19:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":8098,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3318:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":8104,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3318:40:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8105,"nodeType":"ExpressionStatement","src":"3318:40:26"},{"expression":{"arguments":[{"expression":{"id":8110,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3399:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":8111,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3403:6:26","memberName":"sender","nodeType":"MemberAccess","src":"3399:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":8112,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8084,"src":"3411:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":8107,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8082,"src":"3379:5:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":8106,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"3364:14:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Metadata_$1224_$","typeString":"type(contract IERC20Metadata)"}},"id":8108,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3364:21:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Metadata_$1224","typeString":"contract IERC20Metadata"}},"id":8109,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3386:12:26","memberName":"safeTransfer","nodeType":"MemberAccess","referencedDeclaration":1271,"src":"3364:34:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IERC20_$1198_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_IERC20_$1198_$","typeString":"function (contract IERC20,address,uint256)"}},"id":8113,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3364:54:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8114,"nodeType":"ExpressionStatement","src":"3364:54:26"}]},"functionSelector":"f3fef3a3","id":8116,"implemented":true,"kind":"function","modifiers":[],"name":"withdraw","nameLocation":"3208:8:26","nodeType":"FunctionDefinition","parameters":{"id":8085,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8082,"mutability":"mutable","name":"token","nameLocation":"3225:5:26","nodeType":"VariableDeclaration","scope":8116,"src":"3217:13:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8081,"name":"address","nodeType":"ElementaryTypeName","src":"3217:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8084,"mutability":"mutable","name":"amount","nameLocation":"3240:6:26","nodeType":"VariableDeclaration","scope":8116,"src":"3232:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8083,"name":"uint256","nodeType":"ElementaryTypeName","src":"3232:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3216:31:26"},"returnParameters":{"id":8086,"nodeType":"ParameterList","parameters":[],"src":"3257:0:26"},"scope":8203,"src":"3199:224:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":8161,"nodeType":"Block","src":"3512:211:26","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":8131,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8126,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8118,"src":"3526:7:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":8129,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3545:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":8128,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3537:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":8127,"name":"address","nodeType":"ElementaryTypeName","src":"3537:7:26","typeDescriptions":{}}},"id":8130,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3537:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3526:21:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":8132,"name":"TokenCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7671,"src":"3549:17:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8133,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3549:19:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":8125,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3518:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":8134,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3518:51:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8135,"nodeType":"ExpressionStatement","src":"3518:51:26"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":8142,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8137,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8120,"src":"3583:8:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":8140,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3603:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":8139,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3595:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":8138,"name":"address","nodeType":"ElementaryTypeName","src":"3595:7:26","typeDescriptions":{}}},"id":8141,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3595:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3583:22:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[],"expression":{"argumentTypes":[],"id":8143,"name":"TokenCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7671,"src":"3607:17:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8144,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3607:19:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_error","typeString":"error"}],"id":8136,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3575:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_error_$returns$__$","typeString":"function (bool,error) pure"}},"id":8145,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3575:52:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8146,"nodeType":"ExpressionStatement","src":"3575:52:26"},{"expression":{"id":8153,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":8147,"name":"_prices","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7802,"src":"3633:7:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":8150,"indexExpression":{"id":8148,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8118,"src":"3641:7:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3633:16:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":8151,"indexExpression":{"id":8149,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8120,"src":"3650:8:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3633:26:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":8152,"name":"price_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8122,"src":"3662:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3633:35:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8154,"nodeType":"ExpressionStatement","src":"3633:35:26"},{"eventCall":{"arguments":[{"id":8156,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8118,"src":"3692:7:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":8157,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8120,"src":"3701:8:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":8158,"name":"price_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8122,"src":"3711:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8155,"name":"PriceUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7790,"src":"3679:12:26","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":8159,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3679:39:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8160,"nodeType":"EmitStatement","src":"3674:44:26"}]},"functionSelector":"4562e015","id":8162,"implemented":true,"kind":"function","modifiers":[],"name":"setCurrentPrice","nameLocation":"3436:15:26","nodeType":"FunctionDefinition","parameters":{"id":8123,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8118,"mutability":"mutable","name":"tokenIn","nameLocation":"3460:7:26","nodeType":"VariableDeclaration","scope":8162,"src":"3452:15:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8117,"name":"address","nodeType":"ElementaryTypeName","src":"3452:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8120,"mutability":"mutable","name":"tokenOut","nameLocation":"3477:8:26","nodeType":"VariableDeclaration","scope":8162,"src":"3469:16:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8119,"name":"address","nodeType":"ElementaryTypeName","src":"3469:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8122,"mutability":"mutable","name":"price_","nameLocation":"3495:6:26","nodeType":"VariableDeclaration","scope":8162,"src":"3487:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8121,"name":"uint256","nodeType":"ElementaryTypeName","src":"3487:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3451:51:26"},"returnParameters":{"id":8124,"nodeType":"ParameterList","parameters":[],"src":"3512:0:26"},"scope":8203,"src":"3427:296:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[5518],"body":{"id":8174,"nodeType":"Block","src":"3898:34:26","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":8171,"name":"NotImplemented","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7675,"src":"3911:14:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8172,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3911:16:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8173,"nodeType":"RevertStatement","src":"3904:23:26"}]},"documentation":{"id":8163,"nodeType":"StructuredDocumentation","src":"3727:84:26","text":" @inheritdoc ISwapRouter\n @notice This function is not implemented"},"functionSelector":"f28c0498","id":8175,"implemented":true,"kind":"function","modifiers":[],"name":"exactOutput","nameLocation":"3823:11:26","nodeType":"FunctionDefinition","parameters":{"id":8167,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8166,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8175,"src":"3835:26:26","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$5509_calldata_ptr","typeString":"struct ISwapRouter.ExactOutputParams"},"typeName":{"id":8165,"nodeType":"UserDefinedTypeName","pathNode":{"id":8164,"name":"ExactOutputParams","nameLocations":["3835:17:26"],"nodeType":"IdentifierPath","referencedDeclaration":5509,"src":"3835:17:26"},"referencedDeclaration":5509,"src":"3835:17:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$5509_storage_ptr","typeString":"struct ISwapRouter.ExactOutputParams"}},"visibility":"internal"}],"src":"3834:28:26"},"returnParameters":{"id":8170,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8169,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8175,"src":"3889:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8168,"name":"uint256","nodeType":"ElementaryTypeName","src":"3889:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3888:9:26"},"scope":8203,"src":"3814:118:26","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[5472],"body":{"id":8187,"nodeType":"Block","src":"4105:34:26","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":8184,"name":"NotImplemented","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7675,"src":"4118:14:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8185,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4118:16:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8186,"nodeType":"RevertStatement","src":"4111:23:26"}]},"documentation":{"id":8176,"nodeType":"StructuredDocumentation","src":"3936:84:26","text":" @inheritdoc ISwapRouter\n @notice This function is not implemented"},"functionSelector":"c04b8d59","id":8188,"implemented":true,"kind":"function","modifiers":[],"name":"exactInput","nameLocation":"4032:10:26","nodeType":"FunctionDefinition","parameters":{"id":8180,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8179,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8188,"src":"4043:25:26","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$5463_calldata_ptr","typeString":"struct ISwapRouter.ExactInputParams"},"typeName":{"id":8178,"nodeType":"UserDefinedTypeName","pathNode":{"id":8177,"name":"ExactInputParams","nameLocations":["4043:16:26"],"nodeType":"IdentifierPath","referencedDeclaration":5463,"src":"4043:16:26"},"referencedDeclaration":5463,"src":"4043:16:26","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$5463_storage_ptr","typeString":"struct ISwapRouter.ExactInputParams"}},"visibility":"internal"}],"src":"4042:27:26"},"returnParameters":{"id":8183,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8182,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8188,"src":"4096:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8181,"name":"uint256","nodeType":"ElementaryTypeName","src":"4096:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4095:9:26"},"scope":8203,"src":"4023:116:26","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[5418],"body":{"id":8201,"nodeType":"Block","src":"4278:34:26","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":8198,"name":"NotImplemented","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7675,"src":"4291:14:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8199,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4291:16:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8200,"nodeType":"RevertStatement","src":"4284:23:26"}]},"documentation":{"id":8189,"nodeType":"StructuredDocumentation","src":"4143:55:26","text":" @notice This function is not implemented"},"functionSelector":"fa461e33","id":8202,"implemented":true,"kind":"function","modifiers":[],"name":"uniswapV3SwapCallback","nameLocation":"4210:21:26","nodeType":"FunctionDefinition","parameters":{"id":8196,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8191,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8202,"src":"4232:6:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8190,"name":"int256","nodeType":"ElementaryTypeName","src":"4232:6:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":8193,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8202,"src":"4240:6:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8192,"name":"int256","nodeType":"ElementaryTypeName","src":"4240:6:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":8195,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8202,"src":"4248:14:26","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":8194,"name":"bytes","nodeType":"ElementaryTypeName","src":"4248:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4231:32:26"},"returnParameters":{"id":8197,"nodeType":"ParameterList","parameters":[],"src":"4278:0:26"},"scope":8203,"src":"4201:111:26","stateMutability":"pure","virtual":false,"visibility":"external"}],"scope":8204,"src":"661:3653:26","usedErrors":[1238,7659,7665,7667,7669,7671,7673,7675,7782,7796],"usedEvents":[7790]}],"src":"39:4276:26"},"id":26},"contracts/mocks/SwapTesterMock.sol":{"ast":{"absolutePath":"contracts/mocks/SwapTesterMock.sol","exportedSymbols":{"SwapLibrary":[7369],"SwapTesterMock":[8290]},"id":8291,"license":"Apache-2.0","nodeType":"SourceUnit","nodes":[{"id":8205,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"39:23:27"},{"absolutePath":"contracts/SwapLibrary.sol","file":"./../SwapLibrary.sol","id":8207,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8291,"sourceUnit":7370,"src":"64:49:27","symbolAliases":[{"foreign":{"id":8206,"name":"SwapLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7369,"src":"72:11:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SwapTesterMock","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":8290,"linearizedBaseContracts":[8290],"name":"SwapTesterMock","nameLocation":"124:14:27","nodeType":"ContractDefinition","nodes":[{"global":false,"id":8211,"libraryName":{"id":8208,"name":"SwapLibrary","nameLocations":["149:11:27"],"nodeType":"IdentifierPath","referencedDeclaration":7369,"src":"149:11:27"},"nodeType":"UsingForDirective","src":"143:45:27","typeName":{"id":8210,"nodeType":"UserDefinedTypeName","pathNode":{"id":8209,"name":"SwapLibrary.SwapConfig","nameLocations":["165:11:27","177:10:27"],"nodeType":"IdentifierPath","referencedDeclaration":6603,"src":"165:22:27"},"referencedDeclaration":6603,"src":"165:22:27","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_storage_ptr","typeString":"struct SwapLibrary.SwapConfig"}}},{"anonymous":false,"eventSelector":"59fbbb51cc726a41bc000734e10c34b705550e4d5c75611780ec30c767064e48","id":8215,"name":"ExactInputResult","nameLocation":"198:16:27","nodeType":"EventDefinition","parameters":{"id":8214,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8213,"indexed":false,"mutability":"mutable","name":"input","nameLocation":"223:5:27","nodeType":"VariableDeclaration","scope":8215,"src":"215:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8212,"name":"uint256","nodeType":"ElementaryTypeName","src":"215:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"214:15:27"},"src":"192:38:27"},{"anonymous":false,"eventSelector":"7d1251252437180878066577dd1c280db8feb2152d57a044f147003bd04ba4eb","id":8219,"name":"ExactOutputResult","nameLocation":"239:17:27","nodeType":"EventDefinition","parameters":{"id":8218,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8217,"indexed":false,"mutability":"mutable","name":"output","nameLocation":"265:6:27","nodeType":"VariableDeclaration","scope":8219,"src":"257:14:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8216,"name":"uint256","nodeType":"ElementaryTypeName","src":"257:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"256:16:27"},"src":"233:40:27"},{"body":{"id":8247,"nodeType":"Block","src":"455:112:27","statements":[{"assignments":[8234],"declarations":[{"constant":false,"id":8234,"mutability":"mutable","name":"ret","nameLocation":"469:3:27","nodeType":"VariableDeclaration","scope":8247,"src":"461:11:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8233,"name":"uint256","nodeType":"ElementaryTypeName","src":"461:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8242,"initialValue":{"arguments":[{"id":8237,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8224,"src":"497:7:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":8238,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8226,"src":"506:8:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":8239,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8228,"src":"516:6:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8240,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8230,"src":"524:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":8235,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8222,"src":"475:10:27","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":8236,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"486:10:27","memberName":"exactInput","nodeType":"MemberAccess","referencedDeclaration":6773,"src":"475:21:27","typeDescriptions":{"typeIdentifier":"t_function_delegatecall_nonpayable$_t_struct$_SwapConfig_$6603_memory_ptr_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_struct$_SwapConfig_$6603_memory_ptr_$","typeString":"function (struct SwapLibrary.SwapConfig memory,address,address,uint256,uint256) returns (uint256)"}},"id":8241,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"475:55:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"461:69:27"},{"eventCall":{"arguments":[{"id":8244,"name":"ret","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8234,"src":"558:3:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8243,"name":"ExactInputResult","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8215,"src":"541:16:27","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":8245,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"541:21:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8246,"nodeType":"EmitStatement","src":"536:26:27"}]},"functionSelector":"1922e4d7","id":8248,"implemented":true,"kind":"function","modifiers":[],"name":"executeExactInput","nameLocation":"286:17:27","nodeType":"FunctionDefinition","parameters":{"id":8231,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8222,"mutability":"mutable","name":"swapConfig","nameLocation":"341:10:27","nodeType":"VariableDeclaration","scope":8248,"src":"309:42:27","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig"},"typeName":{"id":8221,"nodeType":"UserDefinedTypeName","pathNode":{"id":8220,"name":"SwapLibrary.SwapConfig","nameLocations":["309:11:27","321:10:27"],"nodeType":"IdentifierPath","referencedDeclaration":6603,"src":"309:22:27"},"referencedDeclaration":6603,"src":"309:22:27","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_storage_ptr","typeString":"struct SwapLibrary.SwapConfig"}},"visibility":"internal"},{"constant":false,"id":8224,"mutability":"mutable","name":"tokenIn","nameLocation":"365:7:27","nodeType":"VariableDeclaration","scope":8248,"src":"357:15:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8223,"name":"address","nodeType":"ElementaryTypeName","src":"357:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8226,"mutability":"mutable","name":"tokenOut","nameLocation":"386:8:27","nodeType":"VariableDeclaration","scope":8248,"src":"378:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8225,"name":"address","nodeType":"ElementaryTypeName","src":"378:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8228,"mutability":"mutable","name":"amount","nameLocation":"408:6:27","nodeType":"VariableDeclaration","scope":8248,"src":"400:14:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8227,"name":"uint256","nodeType":"ElementaryTypeName","src":"400:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8230,"mutability":"mutable","name":"price","nameLocation":"428:5:27","nodeType":"VariableDeclaration","scope":8248,"src":"420:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8229,"name":"uint256","nodeType":"ElementaryTypeName","src":"420:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"303:134:27"},"returnParameters":{"id":8232,"nodeType":"ParameterList","parameters":[],"src":"455:0:27"},"scope":8290,"src":"277:290:27","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"body":{"id":8276,"nodeType":"Block","src":"750:114:27","statements":[{"assignments":[8263],"declarations":[{"constant":false,"id":8263,"mutability":"mutable","name":"ret","nameLocation":"764:3:27","nodeType":"VariableDeclaration","scope":8276,"src":"756:11:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8262,"name":"uint256","nodeType":"ElementaryTypeName","src":"756:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8271,"initialValue":{"arguments":[{"id":8266,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8253,"src":"793:7:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":8267,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8255,"src":"802:8:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":8268,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8257,"src":"812:6:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8269,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8259,"src":"820:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":8264,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8251,"src":"770:10:27","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":8265,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"781:11:27","memberName":"exactOutput","nodeType":"MemberAccess","referencedDeclaration":6823,"src":"770:22:27","typeDescriptions":{"typeIdentifier":"t_function_delegatecall_nonpayable$_t_struct$_SwapConfig_$6603_memory_ptr_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_struct$_SwapConfig_$6603_memory_ptr_$","typeString":"function (struct SwapLibrary.SwapConfig memory,address,address,uint256,uint256) returns (uint256)"}},"id":8270,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"770:56:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"756:70:27"},{"eventCall":{"arguments":[{"id":8273,"name":"ret","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8263,"src":"855:3:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8272,"name":"ExactOutputResult","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8219,"src":"837:17:27","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":8274,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"837:22:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8275,"nodeType":"EmitStatement","src":"832:27:27"}]},"functionSelector":"178fc642","id":8277,"implemented":true,"kind":"function","modifiers":[],"name":"executeExactOutput","nameLocation":"580:18:27","nodeType":"FunctionDefinition","parameters":{"id":8260,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8251,"mutability":"mutable","name":"swapConfig","nameLocation":"636:10:27","nodeType":"VariableDeclaration","scope":8277,"src":"604:42:27","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig"},"typeName":{"id":8250,"nodeType":"UserDefinedTypeName","pathNode":{"id":8249,"name":"SwapLibrary.SwapConfig","nameLocations":["604:11:27","616:10:27"],"nodeType":"IdentifierPath","referencedDeclaration":6603,"src":"604:22:27"},"referencedDeclaration":6603,"src":"604:22:27","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_storage_ptr","typeString":"struct SwapLibrary.SwapConfig"}},"visibility":"internal"},{"constant":false,"id":8253,"mutability":"mutable","name":"tokenIn","nameLocation":"660:7:27","nodeType":"VariableDeclaration","scope":8277,"src":"652:15:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8252,"name":"address","nodeType":"ElementaryTypeName","src":"652:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8255,"mutability":"mutable","name":"tokenOut","nameLocation":"681:8:27","nodeType":"VariableDeclaration","scope":8277,"src":"673:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8254,"name":"address","nodeType":"ElementaryTypeName","src":"673:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8257,"mutability":"mutable","name":"amount","nameLocation":"703:6:27","nodeType":"VariableDeclaration","scope":8277,"src":"695:14:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8256,"name":"uint256","nodeType":"ElementaryTypeName","src":"695:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8259,"mutability":"mutable","name":"price","nameLocation":"723:5:27","nodeType":"VariableDeclaration","scope":8277,"src":"715:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8258,"name":"uint256","nodeType":"ElementaryTypeName","src":"715:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"598:134:27"},"returnParameters":{"id":8261,"nodeType":"ParameterList","parameters":[],"src":"750:0:27"},"scope":8290,"src":"571:293:27","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"body":{"id":8288,"nodeType":"Block","src":"953:32:27","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":8283,"name":"swapConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8280,"src":"959:10:27","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig calldata"}},"id":8285,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"970:8:27","memberName":"validate","nodeType":"MemberAccess","referencedDeclaration":6703,"src":"959:19:27","typeDescriptions":{"typeIdentifier":"t_function_delegatecall_pure$_t_struct$_SwapConfig_$6603_memory_ptr_$returns$__$attached_to$_t_struct$_SwapConfig_$6603_memory_ptr_$","typeString":"function (struct SwapLibrary.SwapConfig memory) pure"}},"id":8286,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"959:21:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8287,"nodeType":"ExpressionStatement","src":"959:21:27"}]},"functionSelector":"d74018a7","id":8289,"implemented":true,"kind":"function","modifiers":[],"name":"validateConfig","nameLocation":"877:14:27","nodeType":"FunctionDefinition","parameters":{"id":8281,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8280,"mutability":"mutable","name":"swapConfig","nameLocation":"924:10:27","nodeType":"VariableDeclaration","scope":8289,"src":"892:42:27","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_calldata_ptr","typeString":"struct SwapLibrary.SwapConfig"},"typeName":{"id":8279,"nodeType":"UserDefinedTypeName","pathNode":{"id":8278,"name":"SwapLibrary.SwapConfig","nameLocations":["892:11:27","904:10:27"],"nodeType":"IdentifierPath","referencedDeclaration":6603,"src":"892:22:27"},"referencedDeclaration":6603,"src":"892:22:27","typeDescriptions":{"typeIdentifier":"t_struct$_SwapConfig_$6603_storage_ptr","typeString":"struct SwapLibrary.SwapConfig"}},"visibility":"internal"}],"src":"891:44:27"},"returnParameters":{"id":8282,"nodeType":"ParameterList","parameters":[],"src":"953:0:27"},"scope":8290,"src":"868:117:27","stateMutability":"nonpayable","virtual":true,"visibility":"external"}],"scope":8291,"src":"115:872:27","usedErrors":[],"usedEvents":[8215,8219]}],"src":"39:949:27"},"id":27},"contracts/mocks/TestCurrency.sol":{"ast":{"absolutePath":"contracts/mocks/TestCurrency.sol","exportedSymbols":{"ERC20":[1120],"TestCurrency":[8341]},"id":8342,"license":"Apache-2.0","nodeType":"SourceUnit","nodes":[{"id":8292,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"38:23:28"},{"absolutePath":"@openzeppelin/contracts/token/ERC20/ERC20.sol","file":"@openzeppelin/contracts/token/ERC20/ERC20.sol","id":8294,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8342,"sourceUnit":1121,"src":"63:68:28","symbolAliases":[{"foreign":{"id":8293,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1120,"src":"71:5:28","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":8295,"name":"ERC20","nameLocations":["158:5:28"],"nodeType":"IdentifierPath","referencedDeclaration":1120,"src":"158:5:28"},"id":8296,"nodeType":"InheritanceSpecifier","src":"158:5:28"}],"canonicalName":"TestCurrency","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":8341,"linearizedBaseContracts":[8341,1120,510,1224,1198,1924],"name":"TestCurrency","nameLocation":"142:12:28","nodeType":"ContractDefinition","nodes":[{"constant":false,"id":8298,"mutability":"mutable","name":"_owner","nameLocation":"184:6:28","nodeType":"VariableDeclaration","scope":8341,"src":"168:22:28","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8297,"name":"address","nodeType":"ElementaryTypeName","src":"168:7:28","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"private"},{"constant":false,"id":8300,"mutability":"immutable","name":"_decimals","nameLocation":"219:9:28","nodeType":"VariableDeclaration","scope":8341,"src":"194:34:28","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8299,"name":"uint8","nodeType":"ElementaryTypeName","src":"194:5:28","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"body":{"id":8330,"nodeType":"Block","src":"371:95:28","statements":[{"expression":{"id":8318,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8315,"name":"_owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8298,"src":"377:6:28","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":8316,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"386:3:28","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":8317,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"390:6:28","memberName":"sender","nodeType":"MemberAccess","src":"386:10:28","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"377:19:28","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":8319,"nodeType":"ExpressionStatement","src":"377:19:28"},{"expression":{"id":8322,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8320,"name":"_decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8300,"src":"402:9:28","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":8321,"name":"decimals_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8308,"src":"414:9:28","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"402:21:28","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":8323,"nodeType":"ExpressionStatement","src":"402:21:28"},{"expression":{"arguments":[{"expression":{"id":8325,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"435:3:28","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":8326,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"439:6:28","memberName":"sender","nodeType":"MemberAccess","src":"435:10:28","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":8327,"name":"initialSupply","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8306,"src":"447:13:28","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8324,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":960,"src":"429:5:28","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":8328,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"429:32:28","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8329,"nodeType":"ExpressionStatement","src":"429:32:28"}]},"id":8331,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":8311,"name":"name_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8302,"src":"355:5:28","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":8312,"name":"symbol_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8304,"src":"362:7:28","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"id":8313,"kind":"baseConstructorSpecifier","modifierName":{"id":8310,"name":"ERC20","nameLocations":["349:5:28"],"nodeType":"IdentifierPath","referencedDeclaration":1120,"src":"349:5:28"},"nodeType":"ModifierInvocation","src":"349:21:28"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":8309,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8302,"mutability":"mutable","name":"name_","nameLocation":"264:5:28","nodeType":"VariableDeclaration","scope":8331,"src":"250:19:28","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":8301,"name":"string","nodeType":"ElementaryTypeName","src":"250:6:28","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":8304,"mutability":"mutable","name":"symbol_","nameLocation":"289:7:28","nodeType":"VariableDeclaration","scope":8331,"src":"275:21:28","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":8303,"name":"string","nodeType":"ElementaryTypeName","src":"275:6:28","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":8306,"mutability":"mutable","name":"initialSupply","nameLocation":"310:13:28","nodeType":"VariableDeclaration","scope":8331,"src":"302:21:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8305,"name":"uint256","nodeType":"ElementaryTypeName","src":"302:7:28","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8308,"mutability":"mutable","name":"decimals_","nameLocation":"335:9:28","nodeType":"VariableDeclaration","scope":8331,"src":"329:15:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8307,"name":"uint8","nodeType":"ElementaryTypeName","src":"329:5:28","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"244:104:28"},"returnParameters":{"id":8314,"nodeType":"ParameterList","parameters":[],"src":"371:0:28"},"scope":8341,"src":"233:233:28","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[684],"body":{"id":8339,"nodeType":"Block","src":"535:27:28","statements":[{"expression":{"id":8337,"name":"_decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8300,"src":"548:9:28","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":8336,"id":8338,"nodeType":"Return","src":"541:16:28"}]},"functionSelector":"313ce567","id":8340,"implemented":true,"kind":"function","modifiers":[],"name":"decimals","nameLocation":"479:8:28","nodeType":"FunctionDefinition","overrides":{"id":8333,"nodeType":"OverrideSpecifier","overrides":[],"src":"510:8:28"},"parameters":{"id":8332,"nodeType":"ParameterList","parameters":[],"src":"487:2:28"},"returnParameters":{"id":8336,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8335,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8340,"src":"528:5:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8334,"name":"uint8","nodeType":"ElementaryTypeName","src":"528:5:28","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"527:7:28"},"scope":8341,"src":"470:92:28","stateMutability":"view","virtual":true,"visibility":"public"}],"scope":8342,"src":"133:431:28","usedErrors":[480,485,490,499,504,509],"usedEvents":[1132,1141]}],"src":"38:527:28"},"id":28},"solidity-bytes-utils/contracts/BytesLib.sol":{"ast":{"absolutePath":"solidity-bytes-utils/contracts/BytesLib.sol","exportedSymbols":{"BytesLib":[8674]},"id":8675,"license":"Unlicense","nodeType":"SourceUnit","nodes":[{"id":8343,"literals":["solidity",">=","0.8",".0","<","0.9",".0"],"nodeType":"PragmaDirective","src":"336:31:29"},{"abstract":false,"baseContracts":[],"canonicalName":"BytesLib","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"id":8674,"linearizedBaseContracts":[8674],"name":"BytesLib","nameLocation":"378:8:29","nodeType":"ContractDefinition","nodes":[{"body":{"id":8358,"nodeType":"Block","src":"545:2803:29","statements":[{"assignments":[8353],"declarations":[{"constant":false,"id":8353,"mutability":"mutable","name":"tempBytes","nameLocation":"568:9:29","nodeType":"VariableDeclaration","scope":8358,"src":"555:22:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8352,"name":"bytes","nodeType":"ElementaryTypeName","src":"555:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":8354,"nodeType":"VariableDeclarationStatement","src":"555:22:29"},{"AST":{"nativeSrc":"597:2718:29","nodeType":"YulBlock","src":"597:2718:29","statements":[{"nativeSrc":"741:24:29","nodeType":"YulAssignment","src":"741:24:29","value":{"arguments":[{"kind":"number","nativeSrc":"760:4:29","nodeType":"YulLiteral","src":"760:4:29","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"754:5:29","nodeType":"YulIdentifier","src":"754:5:29"},"nativeSrc":"754:11:29","nodeType":"YulFunctionCall","src":"754:11:29"},"variableNames":[{"name":"tempBytes","nativeSrc":"741:9:29","nodeType":"YulIdentifier","src":"741:9:29"}]},{"nativeSrc":"897:30:29","nodeType":"YulVariableDeclaration","src":"897:30:29","value":{"arguments":[{"name":"_preBytes","nativeSrc":"917:9:29","nodeType":"YulIdentifier","src":"917:9:29"}],"functionName":{"name":"mload","nativeSrc":"911:5:29","nodeType":"YulIdentifier","src":"911:5:29"},"nativeSrc":"911:16:29","nodeType":"YulFunctionCall","src":"911:16:29"},"variables":[{"name":"length","nativeSrc":"901:6:29","nodeType":"YulTypedName","src":"901:6:29","type":""}]},{"expression":{"arguments":[{"name":"tempBytes","nativeSrc":"947:9:29","nodeType":"YulIdentifier","src":"947:9:29"},{"name":"length","nativeSrc":"958:6:29","nodeType":"YulIdentifier","src":"958:6:29"}],"functionName":{"name":"mstore","nativeSrc":"940:6:29","nodeType":"YulIdentifier","src":"940:6:29"},"nativeSrc":"940:25:29","nodeType":"YulFunctionCall","src":"940:25:29"},"nativeSrc":"940:25:29","nodeType":"YulExpressionStatement","src":"940:25:29"},{"nativeSrc":"1175:30:29","nodeType":"YulVariableDeclaration","src":"1175:30:29","value":{"arguments":[{"name":"tempBytes","nativeSrc":"1189:9:29","nodeType":"YulIdentifier","src":"1189:9:29"},{"kind":"number","nativeSrc":"1200:4:29","nodeType":"YulLiteral","src":"1200:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1185:3:29","nodeType":"YulIdentifier","src":"1185:3:29"},"nativeSrc":"1185:20:29","nodeType":"YulFunctionCall","src":"1185:20:29"},"variables":[{"name":"mc","nativeSrc":"1179:2:29","nodeType":"YulTypedName","src":"1179:2:29","type":""}]},{"nativeSrc":"1330:26:29","nodeType":"YulVariableDeclaration","src":"1330:26:29","value":{"arguments":[{"name":"mc","nativeSrc":"1345:2:29","nodeType":"YulIdentifier","src":"1345:2:29"},{"name":"length","nativeSrc":"1349:6:29","nodeType":"YulIdentifier","src":"1349:6:29"}],"functionName":{"name":"add","nativeSrc":"1341:3:29","nodeType":"YulIdentifier","src":"1341:3:29"},"nativeSrc":"1341:15:29","nodeType":"YulFunctionCall","src":"1341:15:29"},"variables":[{"name":"end","nativeSrc":"1334:3:29","nodeType":"YulTypedName","src":"1334:3:29","type":""}]},{"body":{"nativeSrc":"1733:162:29","nodeType":"YulBlock","src":"1733:162:29","statements":[{"expression":{"arguments":[{"name":"mc","nativeSrc":"1867:2:29","nodeType":"YulIdentifier","src":"1867:2:29"},{"arguments":[{"name":"cc","nativeSrc":"1877:2:29","nodeType":"YulIdentifier","src":"1877:2:29"}],"functionName":{"name":"mload","nativeSrc":"1871:5:29","nodeType":"YulIdentifier","src":"1871:5:29"},"nativeSrc":"1871:9:29","nodeType":"YulFunctionCall","src":"1871:9:29"}],"functionName":{"name":"mstore","nativeSrc":"1860:6:29","nodeType":"YulIdentifier","src":"1860:6:29"},"nativeSrc":"1860:21:29","nodeType":"YulFunctionCall","src":"1860:21:29"},"nativeSrc":"1860:21:29","nodeType":"YulExpressionStatement","src":"1860:21:29"}]},"condition":{"arguments":[{"name":"mc","nativeSrc":"1566:2:29","nodeType":"YulIdentifier","src":"1566:2:29"},{"name":"end","nativeSrc":"1570:3:29","nodeType":"YulIdentifier","src":"1570:3:29"}],"functionName":{"name":"lt","nativeSrc":"1563:2:29","nodeType":"YulIdentifier","src":"1563:2:29"},"nativeSrc":"1563:11:29","nodeType":"YulFunctionCall","src":"1563:11:29"},"nativeSrc":"1370:525:29","nodeType":"YulForLoop","post":{"nativeSrc":"1575:157:29","nodeType":"YulBlock","src":"1575:157:29","statements":[{"nativeSrc":"1663:19:29","nodeType":"YulAssignment","src":"1663:19:29","value":{"arguments":[{"name":"mc","nativeSrc":"1673:2:29","nodeType":"YulIdentifier","src":"1673:2:29"},{"kind":"number","nativeSrc":"1677:4:29","nodeType":"YulLiteral","src":"1677:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1669:3:29","nodeType":"YulIdentifier","src":"1669:3:29"},"nativeSrc":"1669:13:29","nodeType":"YulFunctionCall","src":"1669:13:29"},"variableNames":[{"name":"mc","nativeSrc":"1663:2:29","nodeType":"YulIdentifier","src":"1663:2:29"}]},{"nativeSrc":"1699:19:29","nodeType":"YulAssignment","src":"1699:19:29","value":{"arguments":[{"name":"cc","nativeSrc":"1709:2:29","nodeType":"YulIdentifier","src":"1709:2:29"},{"kind":"number","nativeSrc":"1713:4:29","nodeType":"YulLiteral","src":"1713:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1705:3:29","nodeType":"YulIdentifier","src":"1705:3:29"},"nativeSrc":"1705:13:29","nodeType":"YulFunctionCall","src":"1705:13:29"},"variableNames":[{"name":"cc","nativeSrc":"1699:2:29","nodeType":"YulIdentifier","src":"1699:2:29"}]}]},"pre":{"nativeSrc":"1374:188:29","nodeType":"YulBlock","src":"1374:188:29","statements":[{"nativeSrc":"1518:30:29","nodeType":"YulVariableDeclaration","src":"1518:30:29","value":{"arguments":[{"name":"_preBytes","nativeSrc":"1532:9:29","nodeType":"YulIdentifier","src":"1532:9:29"},{"kind":"number","nativeSrc":"1543:4:29","nodeType":"YulLiteral","src":"1543:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1528:3:29","nodeType":"YulIdentifier","src":"1528:3:29"},"nativeSrc":"1528:20:29","nodeType":"YulFunctionCall","src":"1528:20:29"},"variables":[{"name":"cc","nativeSrc":"1522:2:29","nodeType":"YulTypedName","src":"1522:2:29","type":""}]}]},"src":"1370:525:29"},{"nativeSrc":"2096:27:29","nodeType":"YulAssignment","src":"2096:27:29","value":{"arguments":[{"name":"_postBytes","nativeSrc":"2112:10:29","nodeType":"YulIdentifier","src":"2112:10:29"}],"functionName":{"name":"mload","nativeSrc":"2106:5:29","nodeType":"YulIdentifier","src":"2106:5:29"},"nativeSrc":"2106:17:29","nodeType":"YulFunctionCall","src":"2106:17:29"},"variableNames":[{"name":"length","nativeSrc":"2096:6:29","nodeType":"YulIdentifier","src":"2096:6:29"}]},{"expression":{"arguments":[{"name":"tempBytes","nativeSrc":"2143:9:29","nodeType":"YulIdentifier","src":"2143:9:29"},{"arguments":[{"name":"length","nativeSrc":"2158:6:29","nodeType":"YulIdentifier","src":"2158:6:29"},{"arguments":[{"name":"tempBytes","nativeSrc":"2172:9:29","nodeType":"YulIdentifier","src":"2172:9:29"}],"functionName":{"name":"mload","nativeSrc":"2166:5:29","nodeType":"YulIdentifier","src":"2166:5:29"},"nativeSrc":"2166:16:29","nodeType":"YulFunctionCall","src":"2166:16:29"}],"functionName":{"name":"add","nativeSrc":"2154:3:29","nodeType":"YulIdentifier","src":"2154:3:29"},"nativeSrc":"2154:29:29","nodeType":"YulFunctionCall","src":"2154:29:29"}],"functionName":{"name":"mstore","nativeSrc":"2136:6:29","nodeType":"YulIdentifier","src":"2136:6:29"},"nativeSrc":"2136:48:29","nodeType":"YulFunctionCall","src":"2136:48:29"},"nativeSrc":"2136:48:29","nodeType":"YulExpressionStatement","src":"2136:48:29"},{"nativeSrc":"2322:9:29","nodeType":"YulAssignment","src":"2322:9:29","value":{"name":"end","nativeSrc":"2328:3:29","nodeType":"YulIdentifier","src":"2328:3:29"},"variableNames":[{"name":"mc","nativeSrc":"2322:2:29","nodeType":"YulIdentifier","src":"2322:2:29"}]},{"nativeSrc":"2458:22:29","nodeType":"YulAssignment","src":"2458:22:29","value":{"arguments":[{"name":"mc","nativeSrc":"2469:2:29","nodeType":"YulIdentifier","src":"2469:2:29"},{"name":"length","nativeSrc":"2473:6:29","nodeType":"YulIdentifier","src":"2473:6:29"}],"functionName":{"name":"add","nativeSrc":"2465:3:29","nodeType":"YulIdentifier","src":"2465:3:29"},"nativeSrc":"2465:15:29","nodeType":"YulFunctionCall","src":"2465:15:29"},"variableNames":[{"name":"end","nativeSrc":"2458:3:29","nodeType":"YulIdentifier","src":"2458:3:29"}]},{"body":{"nativeSrc":"2662:53:29","nodeType":"YulBlock","src":"2662:53:29","statements":[{"expression":{"arguments":[{"name":"mc","nativeSrc":"2687:2:29","nodeType":"YulIdentifier","src":"2687:2:29"},{"arguments":[{"name":"cc","nativeSrc":"2697:2:29","nodeType":"YulIdentifier","src":"2697:2:29"}],"functionName":{"name":"mload","nativeSrc":"2691:5:29","nodeType":"YulIdentifier","src":"2691:5:29"},"nativeSrc":"2691:9:29","nodeType":"YulFunctionCall","src":"2691:9:29"}],"functionName":{"name":"mstore","nativeSrc":"2680:6:29","nodeType":"YulIdentifier","src":"2680:6:29"},"nativeSrc":"2680:21:29","nodeType":"YulFunctionCall","src":"2680:21:29"},"nativeSrc":"2680:21:29","nodeType":"YulExpressionStatement","src":"2680:21:29"}]},"condition":{"arguments":[{"name":"mc","nativeSrc":"2565:2:29","nodeType":"YulIdentifier","src":"2565:2:29"},{"name":"end","nativeSrc":"2569:3:29","nodeType":"YulIdentifier","src":"2569:3:29"}],"functionName":{"name":"lt","nativeSrc":"2562:2:29","nodeType":"YulIdentifier","src":"2562:2:29"},"nativeSrc":"2562:11:29","nodeType":"YulFunctionCall","src":"2562:11:29"},"nativeSrc":"2494:221:29","nodeType":"YulForLoop","post":{"nativeSrc":"2574:87:29","nodeType":"YulBlock","src":"2574:87:29","statements":[{"nativeSrc":"2592:19:29","nodeType":"YulAssignment","src":"2592:19:29","value":{"arguments":[{"name":"mc","nativeSrc":"2602:2:29","nodeType":"YulIdentifier","src":"2602:2:29"},{"kind":"number","nativeSrc":"2606:4:29","nodeType":"YulLiteral","src":"2606:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2598:3:29","nodeType":"YulIdentifier","src":"2598:3:29"},"nativeSrc":"2598:13:29","nodeType":"YulFunctionCall","src":"2598:13:29"},"variableNames":[{"name":"mc","nativeSrc":"2592:2:29","nodeType":"YulIdentifier","src":"2592:2:29"}]},{"nativeSrc":"2628:19:29","nodeType":"YulAssignment","src":"2628:19:29","value":{"arguments":[{"name":"cc","nativeSrc":"2638:2:29","nodeType":"YulIdentifier","src":"2638:2:29"},{"kind":"number","nativeSrc":"2642:4:29","nodeType":"YulLiteral","src":"2642:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2634:3:29","nodeType":"YulIdentifier","src":"2634:3:29"},"nativeSrc":"2634:13:29","nodeType":"YulFunctionCall","src":"2634:13:29"},"variableNames":[{"name":"cc","nativeSrc":"2628:2:29","nodeType":"YulIdentifier","src":"2628:2:29"}]}]},"pre":{"nativeSrc":"2498:63:29","nodeType":"YulBlock","src":"2498:63:29","statements":[{"nativeSrc":"2516:31:29","nodeType":"YulVariableDeclaration","src":"2516:31:29","value":{"arguments":[{"name":"_postBytes","nativeSrc":"2530:10:29","nodeType":"YulIdentifier","src":"2530:10:29"},{"kind":"number","nativeSrc":"2542:4:29","nodeType":"YulLiteral","src":"2542:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2526:3:29","nodeType":"YulIdentifier","src":"2526:3:29"},"nativeSrc":"2526:21:29","nodeType":"YulFunctionCall","src":"2526:21:29"},"variables":[{"name":"cc","nativeSrc":"2520:2:29","nodeType":"YulTypedName","src":"2520:2:29","type":""}]}]},"src":"2494:221:29"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3147:4:29","nodeType":"YulLiteral","src":"3147:4:29","type":"","value":"0x40"},{"arguments":[{"arguments":[{"arguments":[{"name":"end","nativeSrc":"3180:3:29","nodeType":"YulIdentifier","src":"3180:3:29"},{"arguments":[{"arguments":[{"name":"length","nativeSrc":"3196:6:29","nodeType":"YulIdentifier","src":"3196:6:29"},{"arguments":[{"name":"_preBytes","nativeSrc":"3210:9:29","nodeType":"YulIdentifier","src":"3210:9:29"}],"functionName":{"name":"mload","nativeSrc":"3204:5:29","nodeType":"YulIdentifier","src":"3204:5:29"},"nativeSrc":"3204:16:29","nodeType":"YulFunctionCall","src":"3204:16:29"}],"functionName":{"name":"add","nativeSrc":"3192:3:29","nodeType":"YulIdentifier","src":"3192:3:29"},"nativeSrc":"3192:29:29","nodeType":"YulFunctionCall","src":"3192:29:29"}],"functionName":{"name":"iszero","nativeSrc":"3185:6:29","nodeType":"YulIdentifier","src":"3185:6:29"},"nativeSrc":"3185:37:29","nodeType":"YulFunctionCall","src":"3185:37:29"}],"functionName":{"name":"add","nativeSrc":"3176:3:29","nodeType":"YulIdentifier","src":"3176:3:29"},"nativeSrc":"3176:47:29","nodeType":"YulFunctionCall","src":"3176:47:29"},{"kind":"number","nativeSrc":"3225:2:29","nodeType":"YulLiteral","src":"3225:2:29","type":"","value":"31"}],"functionName":{"name":"add","nativeSrc":"3172:3:29","nodeType":"YulIdentifier","src":"3172:3:29"},"nativeSrc":"3172:56:29","nodeType":"YulFunctionCall","src":"3172:56:29"},{"arguments":[{"kind":"number","nativeSrc":"3248:2:29","nodeType":"YulLiteral","src":"3248:2:29","type":"","value":"31"}],"functionName":{"name":"not","nativeSrc":"3244:3:29","nodeType":"YulIdentifier","src":"3244:3:29"},"nativeSrc":"3244:7:29","nodeType":"YulFunctionCall","src":"3244:7:29"}],"functionName":{"name":"and","nativeSrc":"3153:3:29","nodeType":"YulIdentifier","src":"3153:3:29"},"nativeSrc":"3153:151:29","nodeType":"YulFunctionCall","src":"3153:151:29"}],"functionName":{"name":"mstore","nativeSrc":"3140:6:29","nodeType":"YulIdentifier","src":"3140:6:29"},"nativeSrc":"3140:165:29","nodeType":"YulFunctionCall","src":"3140:165:29"},"nativeSrc":"3140:165:29","nodeType":"YulExpressionStatement","src":"3140:165:29"}]},"evmVersion":"paris","externalReferences":[{"declaration":8347,"isOffset":false,"isSlot":false,"src":"2112:10:29","valueSize":1},{"declaration":8347,"isOffset":false,"isSlot":false,"src":"2530:10:29","valueSize":1},{"declaration":8345,"isOffset":false,"isSlot":false,"src":"1532:9:29","valueSize":1},{"declaration":8345,"isOffset":false,"isSlot":false,"src":"3210:9:29","valueSize":1},{"declaration":8345,"isOffset":false,"isSlot":false,"src":"917:9:29","valueSize":1},{"declaration":8353,"isOffset":false,"isSlot":false,"src":"1189:9:29","valueSize":1},{"declaration":8353,"isOffset":false,"isSlot":false,"src":"2143:9:29","valueSize":1},{"declaration":8353,"isOffset":false,"isSlot":false,"src":"2172:9:29","valueSize":1},{"declaration":8353,"isOffset":false,"isSlot":false,"src":"741:9:29","valueSize":1},{"declaration":8353,"isOffset":false,"isSlot":false,"src":"947:9:29","valueSize":1}],"id":8355,"nodeType":"InlineAssembly","src":"588:2727:29"},{"expression":{"id":8356,"name":"tempBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8353,"src":"3332:9:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":8351,"id":8357,"nodeType":"Return","src":"3325:16:29"}]},"id":8359,"implemented":true,"kind":"function","modifiers":[],"name":"concat","nameLocation":"402:6:29","nodeType":"FunctionDefinition","parameters":{"id":8348,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8345,"mutability":"mutable","name":"_preBytes","nameLocation":"431:9:29","nodeType":"VariableDeclaration","scope":8359,"src":"418:22:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8344,"name":"bytes","nodeType":"ElementaryTypeName","src":"418:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8347,"mutability":"mutable","name":"_postBytes","nameLocation":"463:10:29","nodeType":"VariableDeclaration","scope":8359,"src":"450:23:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8346,"name":"bytes","nodeType":"ElementaryTypeName","src":"450:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"408:71:29"},"returnParameters":{"id":8351,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8350,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8359,"src":"527:12:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8349,"name":"bytes","nodeType":"ElementaryTypeName","src":"527:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"526:14:29"},"scope":8674,"src":"393:2955:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8367,"nodeType":"Block","src":"3436:6015:29","statements":[{"AST":{"nativeSrc":"3455:5990:29","nodeType":"YulBlock","src":"3455:5990:29","statements":[{"nativeSrc":"3678:34:29","nodeType":"YulVariableDeclaration","src":"3678:34:29","value":{"arguments":[{"name":"_preBytes.slot","nativeSrc":"3697:14:29","nodeType":"YulIdentifier","src":"3697:14:29"}],"functionName":{"name":"sload","nativeSrc":"3691:5:29","nodeType":"YulIdentifier","src":"3691:5:29"},"nativeSrc":"3691:21:29","nodeType":"YulFunctionCall","src":"3691:21:29"},"variables":[{"name":"fslot","nativeSrc":"3682:5:29","nodeType":"YulTypedName","src":"3682:5:29","type":""}]},{"nativeSrc":"4205:76:29","nodeType":"YulVariableDeclaration","src":"4205:76:29","value":{"arguments":[{"arguments":[{"name":"fslot","nativeSrc":"4228:5:29","nodeType":"YulIdentifier","src":"4228:5:29"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"4243:5:29","nodeType":"YulLiteral","src":"4243:5:29","type":"","value":"0x100"},{"arguments":[{"arguments":[{"name":"fslot","nativeSrc":"4261:5:29","nodeType":"YulIdentifier","src":"4261:5:29"},{"kind":"number","nativeSrc":"4268:1:29","nodeType":"YulLiteral","src":"4268:1:29","type":"","value":"1"}],"functionName":{"name":"and","nativeSrc":"4257:3:29","nodeType":"YulIdentifier","src":"4257:3:29"},"nativeSrc":"4257:13:29","nodeType":"YulFunctionCall","src":"4257:13:29"}],"functionName":{"name":"iszero","nativeSrc":"4250:6:29","nodeType":"YulIdentifier","src":"4250:6:29"},"nativeSrc":"4250:21:29","nodeType":"YulFunctionCall","src":"4250:21:29"}],"functionName":{"name":"mul","nativeSrc":"4239:3:29","nodeType":"YulIdentifier","src":"4239:3:29"},"nativeSrc":"4239:33:29","nodeType":"YulFunctionCall","src":"4239:33:29"},{"kind":"number","nativeSrc":"4274:1:29","nodeType":"YulLiteral","src":"4274:1:29","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"4235:3:29","nodeType":"YulIdentifier","src":"4235:3:29"},"nativeSrc":"4235:41:29","nodeType":"YulFunctionCall","src":"4235:41:29"}],"functionName":{"name":"and","nativeSrc":"4224:3:29","nodeType":"YulIdentifier","src":"4224:3:29"},"nativeSrc":"4224:53:29","nodeType":"YulFunctionCall","src":"4224:53:29"},{"kind":"number","nativeSrc":"4279:1:29","nodeType":"YulLiteral","src":"4279:1:29","type":"","value":"2"}],"functionName":{"name":"div","nativeSrc":"4220:3:29","nodeType":"YulIdentifier","src":"4220:3:29"},"nativeSrc":"4220:61:29","nodeType":"YulFunctionCall","src":"4220:61:29"},"variables":[{"name":"slength","nativeSrc":"4209:7:29","nodeType":"YulTypedName","src":"4209:7:29","type":""}]},{"nativeSrc":"4294:32:29","nodeType":"YulVariableDeclaration","src":"4294:32:29","value":{"arguments":[{"name":"_postBytes","nativeSrc":"4315:10:29","nodeType":"YulIdentifier","src":"4315:10:29"}],"functionName":{"name":"mload","nativeSrc":"4309:5:29","nodeType":"YulIdentifier","src":"4309:5:29"},"nativeSrc":"4309:17:29","nodeType":"YulFunctionCall","src":"4309:17:29"},"variables":[{"name":"mlength","nativeSrc":"4298:7:29","nodeType":"YulTypedName","src":"4298:7:29","type":""}]},{"nativeSrc":"4339:38:29","nodeType":"YulVariableDeclaration","src":"4339:38:29","value":{"arguments":[{"name":"slength","nativeSrc":"4360:7:29","nodeType":"YulIdentifier","src":"4360:7:29"},{"name":"mlength","nativeSrc":"4369:7:29","nodeType":"YulIdentifier","src":"4369:7:29"}],"functionName":{"name":"add","nativeSrc":"4356:3:29","nodeType":"YulIdentifier","src":"4356:3:29"},"nativeSrc":"4356:21:29","nodeType":"YulFunctionCall","src":"4356:21:29"},"variables":[{"name":"newlength","nativeSrc":"4343:9:29","nodeType":"YulTypedName","src":"4343:9:29","type":""}]},{"cases":[{"body":{"nativeSrc":"4710:1485:29","nodeType":"YulBlock","src":"4710:1485:29","statements":[{"expression":{"arguments":[{"name":"_preBytes.slot","nativeSrc":"4991:14:29","nodeType":"YulIdentifier","src":"4991:14:29"},{"arguments":[{"name":"fslot","nativeSrc":"5303:5:29","nodeType":"YulIdentifier","src":"5303:5:29"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"_postBytes","nativeSrc":"5521:10:29","nodeType":"YulIdentifier","src":"5521:10:29"},{"kind":"number","nativeSrc":"5533:4:29","nodeType":"YulLiteral","src":"5533:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"5517:3:29","nodeType":"YulIdentifier","src":"5517:3:29"},"nativeSrc":"5517:21:29","nodeType":"YulFunctionCall","src":"5517:21:29"}],"functionName":{"name":"mload","nativeSrc":"5511:5:29","nodeType":"YulIdentifier","src":"5511:5:29"},"nativeSrc":"5511:28:29","nodeType":"YulFunctionCall","src":"5511:28:29"},{"arguments":[{"kind":"number","nativeSrc":"5648:5:29","nodeType":"YulLiteral","src":"5648:5:29","type":"","value":"0x100"},{"arguments":[{"kind":"number","nativeSrc":"5659:2:29","nodeType":"YulLiteral","src":"5659:2:29","type":"","value":"32"},{"name":"mlength","nativeSrc":"5663:7:29","nodeType":"YulIdentifier","src":"5663:7:29"}],"functionName":{"name":"sub","nativeSrc":"5655:3:29","nodeType":"YulIdentifier","src":"5655:3:29"},"nativeSrc":"5655:16:29","nodeType":"YulFunctionCall","src":"5655:16:29"}],"functionName":{"name":"exp","nativeSrc":"5644:3:29","nodeType":"YulIdentifier","src":"5644:3:29"},"nativeSrc":"5644:28:29","nodeType":"YulFunctionCall","src":"5644:28:29"}],"functionName":{"name":"div","nativeSrc":"5404:3:29","nodeType":"YulIdentifier","src":"5404:3:29"},"nativeSrc":"5404:302:29","nodeType":"YulFunctionCall","src":"5404:302:29"},{"arguments":[{"kind":"number","nativeSrc":"5895:5:29","nodeType":"YulLiteral","src":"5895:5:29","type":"","value":"0x100"},{"arguments":[{"kind":"number","nativeSrc":"5906:2:29","nodeType":"YulLiteral","src":"5906:2:29","type":"","value":"32"},{"name":"newlength","nativeSrc":"5910:9:29","nodeType":"YulIdentifier","src":"5910:9:29"}],"functionName":{"name":"sub","nativeSrc":"5902:3:29","nodeType":"YulIdentifier","src":"5902:3:29"},"nativeSrc":"5902:18:29","nodeType":"YulFunctionCall","src":"5902:18:29"}],"functionName":{"name":"exp","nativeSrc":"5891:3:29","nodeType":"YulIdentifier","src":"5891:3:29"},"nativeSrc":"5891:30:29","nodeType":"YulFunctionCall","src":"5891:30:29"}],"functionName":{"name":"mul","nativeSrc":"5367:3:29","nodeType":"YulIdentifier","src":"5367:3:29"},"nativeSrc":"5367:584:29","nodeType":"YulFunctionCall","src":"5367:584:29"},{"arguments":[{"name":"mlength","nativeSrc":"6104:7:29","nodeType":"YulIdentifier","src":"6104:7:29"},{"kind":"number","nativeSrc":"6113:1:29","nodeType":"YulLiteral","src":"6113:1:29","type":"","value":"2"}],"functionName":{"name":"mul","nativeSrc":"6100:3:29","nodeType":"YulIdentifier","src":"6100:3:29"},"nativeSrc":"6100:15:29","nodeType":"YulFunctionCall","src":"6100:15:29"}],"functionName":{"name":"add","nativeSrc":"5334:3:29","nodeType":"YulIdentifier","src":"5334:3:29"},"nativeSrc":"5334:807:29","nodeType":"YulFunctionCall","src":"5334:807:29"}],"functionName":{"name":"add","nativeSrc":"5134:3:29","nodeType":"YulIdentifier","src":"5134:3:29"},"nativeSrc":"5134:1029:29","nodeType":"YulFunctionCall","src":"5134:1029:29"}],"functionName":{"name":"sstore","nativeSrc":"4963:6:29","nodeType":"YulIdentifier","src":"4963:6:29"},"nativeSrc":"4963:1218:29","nodeType":"YulFunctionCall","src":"4963:1218:29"},"nativeSrc":"4963:1218:29","nodeType":"YulExpressionStatement","src":"4963:1218:29"}]},"nativeSrc":"4703:1492:29","nodeType":"YulCase","src":"4703:1492:29","value":{"kind":"number","nativeSrc":"4708:1:29","nodeType":"YulLiteral","src":"4708:1:29","type":"","value":"2"}},{"body":{"nativeSrc":"6215:1935:29","nodeType":"YulBlock","src":"6215:1935:29","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"6424:3:29","nodeType":"YulLiteral","src":"6424:3:29","type":"","value":"0x0"},{"name":"_preBytes.slot","nativeSrc":"6429:14:29","nodeType":"YulIdentifier","src":"6429:14:29"}],"functionName":{"name":"mstore","nativeSrc":"6417:6:29","nodeType":"YulIdentifier","src":"6417:6:29"},"nativeSrc":"6417:27:29","nodeType":"YulFunctionCall","src":"6417:27:29"},"nativeSrc":"6417:27:29","nodeType":"YulExpressionStatement","src":"6417:27:29"},{"nativeSrc":"6461:53:29","nodeType":"YulVariableDeclaration","src":"6461:53:29","value":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"6485:3:29","nodeType":"YulLiteral","src":"6485:3:29","type":"","value":"0x0"},{"kind":"number","nativeSrc":"6490:4:29","nodeType":"YulLiteral","src":"6490:4:29","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nativeSrc":"6475:9:29","nodeType":"YulIdentifier","src":"6475:9:29"},"nativeSrc":"6475:20:29","nodeType":"YulFunctionCall","src":"6475:20:29"},{"arguments":[{"name":"slength","nativeSrc":"6501:7:29","nodeType":"YulIdentifier","src":"6501:7:29"},{"kind":"number","nativeSrc":"6510:2:29","nodeType":"YulLiteral","src":"6510:2:29","type":"","value":"32"}],"functionName":{"name":"div","nativeSrc":"6497:3:29","nodeType":"YulIdentifier","src":"6497:3:29"},"nativeSrc":"6497:16:29","nodeType":"YulFunctionCall","src":"6497:16:29"}],"functionName":{"name":"add","nativeSrc":"6471:3:29","nodeType":"YulIdentifier","src":"6471:3:29"},"nativeSrc":"6471:43:29","nodeType":"YulFunctionCall","src":"6471:43:29"},"variables":[{"name":"sc","nativeSrc":"6465:2:29","nodeType":"YulTypedName","src":"6465:2:29","type":""}]},{"expression":{"arguments":[{"name":"_preBytes.slot","nativeSrc":"6574:14:29","nodeType":"YulIdentifier","src":"6574:14:29"},{"arguments":[{"arguments":[{"name":"newlength","nativeSrc":"6598:9:29","nodeType":"YulIdentifier","src":"6598:9:29"},{"kind":"number","nativeSrc":"6609:1:29","nodeType":"YulLiteral","src":"6609:1:29","type":"","value":"2"}],"functionName":{"name":"mul","nativeSrc":"6594:3:29","nodeType":"YulIdentifier","src":"6594:3:29"},"nativeSrc":"6594:17:29","nodeType":"YulFunctionCall","src":"6594:17:29"},{"kind":"number","nativeSrc":"6613:1:29","nodeType":"YulLiteral","src":"6613:1:29","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"6590:3:29","nodeType":"YulIdentifier","src":"6590:3:29"},"nativeSrc":"6590:25:29","nodeType":"YulFunctionCall","src":"6590:25:29"}],"functionName":{"name":"sstore","nativeSrc":"6567:6:29","nodeType":"YulIdentifier","src":"6567:6:29"},"nativeSrc":"6567:49:29","nodeType":"YulFunctionCall","src":"6567:49:29"},"nativeSrc":"6567:49:29","nodeType":"YulExpressionStatement","src":"6567:49:29"},{"nativeSrc":"7204:30:29","nodeType":"YulVariableDeclaration","src":"7204:30:29","value":{"arguments":[{"kind":"number","nativeSrc":"7222:2:29","nodeType":"YulLiteral","src":"7222:2:29","type":"","value":"32"},{"name":"slength","nativeSrc":"7226:7:29","nodeType":"YulIdentifier","src":"7226:7:29"}],"functionName":{"name":"sub","nativeSrc":"7218:3:29","nodeType":"YulIdentifier","src":"7218:3:29"},"nativeSrc":"7218:16:29","nodeType":"YulFunctionCall","src":"7218:16:29"},"variables":[{"name":"submod","nativeSrc":"7208:6:29","nodeType":"YulTypedName","src":"7208:6:29","type":""}]},{"nativeSrc":"7251:33:29","nodeType":"YulVariableDeclaration","src":"7251:33:29","value":{"arguments":[{"name":"_postBytes","nativeSrc":"7265:10:29","nodeType":"YulIdentifier","src":"7265:10:29"},{"name":"submod","nativeSrc":"7277:6:29","nodeType":"YulIdentifier","src":"7277:6:29"}],"functionName":{"name":"add","nativeSrc":"7261:3:29","nodeType":"YulIdentifier","src":"7261:3:29"},"nativeSrc":"7261:23:29","nodeType":"YulFunctionCall","src":"7261:23:29"},"variables":[{"name":"mc","nativeSrc":"7255:2:29","nodeType":"YulTypedName","src":"7255:2:29","type":""}]},{"nativeSrc":"7301:35:29","nodeType":"YulVariableDeclaration","src":"7301:35:29","value":{"arguments":[{"name":"_postBytes","nativeSrc":"7316:10:29","nodeType":"YulIdentifier","src":"7316:10:29"},{"name":"mlength","nativeSrc":"7328:7:29","nodeType":"YulIdentifier","src":"7328:7:29"}],"functionName":{"name":"add","nativeSrc":"7312:3:29","nodeType":"YulIdentifier","src":"7312:3:29"},"nativeSrc":"7312:24:29","nodeType":"YulFunctionCall","src":"7312:24:29"},"variables":[{"name":"end","nativeSrc":"7305:3:29","nodeType":"YulTypedName","src":"7305:3:29","type":""}]},{"nativeSrc":"7353:38:29","nodeType":"YulVariableDeclaration","src":"7353:38:29","value":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"7373:5:29","nodeType":"YulLiteral","src":"7373:5:29","type":"","value":"0x100"},{"name":"submod","nativeSrc":"7380:6:29","nodeType":"YulIdentifier","src":"7380:6:29"}],"functionName":{"name":"exp","nativeSrc":"7369:3:29","nodeType":"YulIdentifier","src":"7369:3:29"},"nativeSrc":"7369:18:29","nodeType":"YulFunctionCall","src":"7369:18:29"},{"kind":"number","nativeSrc":"7389:1:29","nodeType":"YulLiteral","src":"7389:1:29","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"7365:3:29","nodeType":"YulIdentifier","src":"7365:3:29"},"nativeSrc":"7365:26:29","nodeType":"YulFunctionCall","src":"7365:26:29"},"variables":[{"name":"mask","nativeSrc":"7357:4:29","nodeType":"YulTypedName","src":"7357:4:29","type":""}]},{"expression":{"arguments":[{"name":"sc","nativeSrc":"7437:2:29","nodeType":"YulIdentifier","src":"7437:2:29"},{"arguments":[{"arguments":[{"name":"fslot","nativeSrc":"7523:5:29","nodeType":"YulIdentifier","src":"7523:5:29"},{"kind":"number","nativeSrc":"7558:66:29","nodeType":"YulLiteral","src":"7558:66:29","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00"}],"functionName":{"name":"and","nativeSrc":"7490:3:29","nodeType":"YulIdentifier","src":"7490:3:29"},"nativeSrc":"7490:160:29","nodeType":"YulFunctionCall","src":"7490:160:29"},{"arguments":[{"arguments":[{"name":"mc","nativeSrc":"7686:2:29","nodeType":"YulIdentifier","src":"7686:2:29"}],"functionName":{"name":"mload","nativeSrc":"7680:5:29","nodeType":"YulIdentifier","src":"7680:5:29"},"nativeSrc":"7680:9:29","nodeType":"YulFunctionCall","src":"7680:9:29"},{"name":"mask","nativeSrc":"7691:4:29","nodeType":"YulIdentifier","src":"7691:4:29"}],"functionName":{"name":"and","nativeSrc":"7676:3:29","nodeType":"YulIdentifier","src":"7676:3:29"},"nativeSrc":"7676:20:29","nodeType":"YulFunctionCall","src":"7676:20:29"}],"functionName":{"name":"add","nativeSrc":"7461:3:29","nodeType":"YulIdentifier","src":"7461:3:29"},"nativeSrc":"7461:257:29","nodeType":"YulFunctionCall","src":"7461:257:29"}],"functionName":{"name":"sstore","nativeSrc":"7409:6:29","nodeType":"YulIdentifier","src":"7409:6:29"},"nativeSrc":"7409:327:29","nodeType":"YulFunctionCall","src":"7409:327:29"},"nativeSrc":"7409:327:29","nodeType":"YulExpressionStatement","src":"7409:327:29"},{"body":{"nativeSrc":"7964:61:29","nodeType":"YulBlock","src":"7964:61:29","statements":[{"expression":{"arguments":[{"name":"sc","nativeSrc":"7993:2:29","nodeType":"YulIdentifier","src":"7993:2:29"},{"arguments":[{"name":"mc","nativeSrc":"8003:2:29","nodeType":"YulIdentifier","src":"8003:2:29"}],"functionName":{"name":"mload","nativeSrc":"7997:5:29","nodeType":"YulIdentifier","src":"7997:5:29"},"nativeSrc":"7997:9:29","nodeType":"YulFunctionCall","src":"7997:9:29"}],"functionName":{"name":"sstore","nativeSrc":"7986:6:29","nodeType":"YulIdentifier","src":"7986:6:29"},"nativeSrc":"7986:21:29","nodeType":"YulFunctionCall","src":"7986:21:29"},"nativeSrc":"7986:21:29","nodeType":"YulExpressionStatement","src":"7986:21:29"}]},"condition":{"arguments":[{"name":"mc","nativeSrc":"7858:2:29","nodeType":"YulIdentifier","src":"7858:2:29"},{"name":"end","nativeSrc":"7862:3:29","nodeType":"YulIdentifier","src":"7862:3:29"}],"functionName":{"name":"lt","nativeSrc":"7855:2:29","nodeType":"YulIdentifier","src":"7855:2:29"},"nativeSrc":"7855:11:29","nodeType":"YulFunctionCall","src":"7855:11:29"},"nativeSrc":"7754:271:29","nodeType":"YulForLoop","post":{"nativeSrc":"7867:96:29","nodeType":"YulBlock","src":"7867:96:29","statements":[{"nativeSrc":"7889:16:29","nodeType":"YulAssignment","src":"7889:16:29","value":{"arguments":[{"name":"sc","nativeSrc":"7899:2:29","nodeType":"YulIdentifier","src":"7899:2:29"},{"kind":"number","nativeSrc":"7903:1:29","nodeType":"YulLiteral","src":"7903:1:29","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"7895:3:29","nodeType":"YulIdentifier","src":"7895:3:29"},"nativeSrc":"7895:10:29","nodeType":"YulFunctionCall","src":"7895:10:29"},"variableNames":[{"name":"sc","nativeSrc":"7889:2:29","nodeType":"YulIdentifier","src":"7889:2:29"}]},{"nativeSrc":"7926:19:29","nodeType":"YulAssignment","src":"7926:19:29","value":{"arguments":[{"name":"mc","nativeSrc":"7936:2:29","nodeType":"YulIdentifier","src":"7936:2:29"},{"kind":"number","nativeSrc":"7940:4:29","nodeType":"YulLiteral","src":"7940:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"7932:3:29","nodeType":"YulIdentifier","src":"7932:3:29"},"nativeSrc":"7932:13:29","nodeType":"YulFunctionCall","src":"7932:13:29"},"variableNames":[{"name":"mc","nativeSrc":"7926:2:29","nodeType":"YulIdentifier","src":"7926:2:29"}]}]},"pre":{"nativeSrc":"7758:96:29","nodeType":"YulBlock","src":"7758:96:29","statements":[{"nativeSrc":"7780:19:29","nodeType":"YulAssignment","src":"7780:19:29","value":{"arguments":[{"name":"mc","nativeSrc":"7790:2:29","nodeType":"YulIdentifier","src":"7790:2:29"},{"kind":"number","nativeSrc":"7794:4:29","nodeType":"YulLiteral","src":"7794:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"7786:3:29","nodeType":"YulIdentifier","src":"7786:3:29"},"nativeSrc":"7786:13:29","nodeType":"YulFunctionCall","src":"7786:13:29"},"variableNames":[{"name":"mc","nativeSrc":"7780:2:29","nodeType":"YulIdentifier","src":"7780:2:29"}]},{"nativeSrc":"7820:16:29","nodeType":"YulAssignment","src":"7820:16:29","value":{"arguments":[{"name":"sc","nativeSrc":"7830:2:29","nodeType":"YulIdentifier","src":"7830:2:29"},{"kind":"number","nativeSrc":"7834:1:29","nodeType":"YulLiteral","src":"7834:1:29","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"7826:3:29","nodeType":"YulIdentifier","src":"7826:3:29"},"nativeSrc":"7826:10:29","nodeType":"YulFunctionCall","src":"7826:10:29"},"variableNames":[{"name":"sc","nativeSrc":"7820:2:29","nodeType":"YulIdentifier","src":"7820:2:29"}]}]},"src":"7754:271:29"},{"nativeSrc":"8043:32:29","nodeType":"YulAssignment","src":"8043:32:29","value":{"arguments":[{"kind":"number","nativeSrc":"8055:5:29","nodeType":"YulLiteral","src":"8055:5:29","type":"","value":"0x100"},{"arguments":[{"name":"mc","nativeSrc":"8066:2:29","nodeType":"YulIdentifier","src":"8066:2:29"},{"name":"end","nativeSrc":"8070:3:29","nodeType":"YulIdentifier","src":"8070:3:29"}],"functionName":{"name":"sub","nativeSrc":"8062:3:29","nodeType":"YulIdentifier","src":"8062:3:29"},"nativeSrc":"8062:12:29","nodeType":"YulFunctionCall","src":"8062:12:29"}],"functionName":{"name":"exp","nativeSrc":"8051:3:29","nodeType":"YulIdentifier","src":"8051:3:29"},"nativeSrc":"8051:24:29","nodeType":"YulFunctionCall","src":"8051:24:29"},"variableNames":[{"name":"mask","nativeSrc":"8043:4:29","nodeType":"YulIdentifier","src":"8043:4:29"}]},{"expression":{"arguments":[{"name":"sc","nativeSrc":"8100:2:29","nodeType":"YulIdentifier","src":"8100:2:29"},{"arguments":[{"arguments":[{"arguments":[{"name":"mc","nativeSrc":"8118:2:29","nodeType":"YulIdentifier","src":"8118:2:29"}],"functionName":{"name":"mload","nativeSrc":"8112:5:29","nodeType":"YulIdentifier","src":"8112:5:29"},"nativeSrc":"8112:9:29","nodeType":"YulFunctionCall","src":"8112:9:29"},{"name":"mask","nativeSrc":"8123:4:29","nodeType":"YulIdentifier","src":"8123:4:29"}],"functionName":{"name":"div","nativeSrc":"8108:3:29","nodeType":"YulIdentifier","src":"8108:3:29"},"nativeSrc":"8108:20:29","nodeType":"YulFunctionCall","src":"8108:20:29"},{"name":"mask","nativeSrc":"8130:4:29","nodeType":"YulIdentifier","src":"8130:4:29"}],"functionName":{"name":"mul","nativeSrc":"8104:3:29","nodeType":"YulIdentifier","src":"8104:3:29"},"nativeSrc":"8104:31:29","nodeType":"YulFunctionCall","src":"8104:31:29"}],"functionName":{"name":"sstore","nativeSrc":"8093:6:29","nodeType":"YulIdentifier","src":"8093:6:29"},"nativeSrc":"8093:43:29","nodeType":"YulFunctionCall","src":"8093:43:29"},"nativeSrc":"8093:43:29","nodeType":"YulExpressionStatement","src":"8093:43:29"}]},"nativeSrc":"6208:1942:29","nodeType":"YulCase","src":"6208:1942:29","value":{"kind":"number","nativeSrc":"6213:1:29","nodeType":"YulLiteral","src":"6213:1:29","type":"","value":"1"}},{"body":{"nativeSrc":"8171:1264:29","nodeType":"YulBlock","src":"8171:1264:29","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"8268:3:29","nodeType":"YulLiteral","src":"8268:3:29","type":"","value":"0x0"},{"name":"_preBytes.slot","nativeSrc":"8273:14:29","nodeType":"YulIdentifier","src":"8273:14:29"}],"functionName":{"name":"mstore","nativeSrc":"8261:6:29","nodeType":"YulIdentifier","src":"8261:6:29"},"nativeSrc":"8261:27:29","nodeType":"YulFunctionCall","src":"8261:27:29"},"nativeSrc":"8261:27:29","nodeType":"YulExpressionStatement","src":"8261:27:29"},{"nativeSrc":"8381:53:29","nodeType":"YulVariableDeclaration","src":"8381:53:29","value":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"8405:3:29","nodeType":"YulLiteral","src":"8405:3:29","type":"","value":"0x0"},{"kind":"number","nativeSrc":"8410:4:29","nodeType":"YulLiteral","src":"8410:4:29","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nativeSrc":"8395:9:29","nodeType":"YulIdentifier","src":"8395:9:29"},"nativeSrc":"8395:20:29","nodeType":"YulFunctionCall","src":"8395:20:29"},{"arguments":[{"name":"slength","nativeSrc":"8421:7:29","nodeType":"YulIdentifier","src":"8421:7:29"},{"kind":"number","nativeSrc":"8430:2:29","nodeType":"YulLiteral","src":"8430:2:29","type":"","value":"32"}],"functionName":{"name":"div","nativeSrc":"8417:3:29","nodeType":"YulIdentifier","src":"8417:3:29"},"nativeSrc":"8417:16:29","nodeType":"YulFunctionCall","src":"8417:16:29"}],"functionName":{"name":"add","nativeSrc":"8391:3:29","nodeType":"YulIdentifier","src":"8391:3:29"},"nativeSrc":"8391:43:29","nodeType":"YulFunctionCall","src":"8391:43:29"},"variables":[{"name":"sc","nativeSrc":"8385:2:29","nodeType":"YulTypedName","src":"8385:2:29","type":""}]},{"expression":{"arguments":[{"name":"_preBytes.slot","nativeSrc":"8494:14:29","nodeType":"YulIdentifier","src":"8494:14:29"},{"arguments":[{"arguments":[{"name":"newlength","nativeSrc":"8518:9:29","nodeType":"YulIdentifier","src":"8518:9:29"},{"kind":"number","nativeSrc":"8529:1:29","nodeType":"YulLiteral","src":"8529:1:29","type":"","value":"2"}],"functionName":{"name":"mul","nativeSrc":"8514:3:29","nodeType":"YulIdentifier","src":"8514:3:29"},"nativeSrc":"8514:17:29","nodeType":"YulFunctionCall","src":"8514:17:29"},{"kind":"number","nativeSrc":"8533:1:29","nodeType":"YulLiteral","src":"8533:1:29","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"8510:3:29","nodeType":"YulIdentifier","src":"8510:3:29"},"nativeSrc":"8510:25:29","nodeType":"YulFunctionCall","src":"8510:25:29"}],"functionName":{"name":"sstore","nativeSrc":"8487:6:29","nodeType":"YulIdentifier","src":"8487:6:29"},"nativeSrc":"8487:49:29","nodeType":"YulFunctionCall","src":"8487:49:29"},"nativeSrc":"8487:49:29","nodeType":"YulExpressionStatement","src":"8487:49:29"},{"nativeSrc":"8663:34:29","nodeType":"YulVariableDeclaration","src":"8663:34:29","value":{"arguments":[{"name":"slength","nativeSrc":"8685:7:29","nodeType":"YulIdentifier","src":"8685:7:29"},{"kind":"number","nativeSrc":"8694:2:29","nodeType":"YulLiteral","src":"8694:2:29","type":"","value":"32"}],"functionName":{"name":"mod","nativeSrc":"8681:3:29","nodeType":"YulIdentifier","src":"8681:3:29"},"nativeSrc":"8681:16:29","nodeType":"YulFunctionCall","src":"8681:16:29"},"variables":[{"name":"slengthmod","nativeSrc":"8667:10:29","nodeType":"YulTypedName","src":"8667:10:29","type":""}]},{"nativeSrc":"8714:34:29","nodeType":"YulVariableDeclaration","src":"8714:34:29","value":{"arguments":[{"name":"mlength","nativeSrc":"8736:7:29","nodeType":"YulIdentifier","src":"8736:7:29"},{"kind":"number","nativeSrc":"8745:2:29","nodeType":"YulLiteral","src":"8745:2:29","type":"","value":"32"}],"functionName":{"name":"mod","nativeSrc":"8732:3:29","nodeType":"YulIdentifier","src":"8732:3:29"},"nativeSrc":"8732:16:29","nodeType":"YulFunctionCall","src":"8732:16:29"},"variables":[{"name":"mlengthmod","nativeSrc":"8718:10:29","nodeType":"YulTypedName","src":"8718:10:29","type":""}]},{"nativeSrc":"8765:33:29","nodeType":"YulVariableDeclaration","src":"8765:33:29","value":{"arguments":[{"kind":"number","nativeSrc":"8783:2:29","nodeType":"YulLiteral","src":"8783:2:29","type":"","value":"32"},{"name":"slengthmod","nativeSrc":"8787:10:29","nodeType":"YulIdentifier","src":"8787:10:29"}],"functionName":{"name":"sub","nativeSrc":"8779:3:29","nodeType":"YulIdentifier","src":"8779:3:29"},"nativeSrc":"8779:19:29","nodeType":"YulFunctionCall","src":"8779:19:29"},"variables":[{"name":"submod","nativeSrc":"8769:6:29","nodeType":"YulTypedName","src":"8769:6:29","type":""}]},{"nativeSrc":"8815:33:29","nodeType":"YulVariableDeclaration","src":"8815:33:29","value":{"arguments":[{"name":"_postBytes","nativeSrc":"8829:10:29","nodeType":"YulIdentifier","src":"8829:10:29"},{"name":"submod","nativeSrc":"8841:6:29","nodeType":"YulIdentifier","src":"8841:6:29"}],"functionName":{"name":"add","nativeSrc":"8825:3:29","nodeType":"YulIdentifier","src":"8825:3:29"},"nativeSrc":"8825:23:29","nodeType":"YulFunctionCall","src":"8825:23:29"},"variables":[{"name":"mc","nativeSrc":"8819:2:29","nodeType":"YulTypedName","src":"8819:2:29","type":""}]},{"nativeSrc":"8865:35:29","nodeType":"YulVariableDeclaration","src":"8865:35:29","value":{"arguments":[{"name":"_postBytes","nativeSrc":"8880:10:29","nodeType":"YulIdentifier","src":"8880:10:29"},{"name":"mlength","nativeSrc":"8892:7:29","nodeType":"YulIdentifier","src":"8892:7:29"}],"functionName":{"name":"add","nativeSrc":"8876:3:29","nodeType":"YulIdentifier","src":"8876:3:29"},"nativeSrc":"8876:24:29","nodeType":"YulFunctionCall","src":"8876:24:29"},"variables":[{"name":"end","nativeSrc":"8869:3:29","nodeType":"YulTypedName","src":"8869:3:29","type":""}]},{"nativeSrc":"8917:38:29","nodeType":"YulVariableDeclaration","src":"8917:38:29","value":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"8937:5:29","nodeType":"YulLiteral","src":"8937:5:29","type":"","value":"0x100"},{"name":"submod","nativeSrc":"8944:6:29","nodeType":"YulIdentifier","src":"8944:6:29"}],"functionName":{"name":"exp","nativeSrc":"8933:3:29","nodeType":"YulIdentifier","src":"8933:3:29"},"nativeSrc":"8933:18:29","nodeType":"YulFunctionCall","src":"8933:18:29"},{"kind":"number","nativeSrc":"8953:1:29","nodeType":"YulLiteral","src":"8953:1:29","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"8929:3:29","nodeType":"YulIdentifier","src":"8929:3:29"},"nativeSrc":"8929:26:29","nodeType":"YulFunctionCall","src":"8929:26:29"},"variables":[{"name":"mask","nativeSrc":"8921:4:29","nodeType":"YulTypedName","src":"8921:4:29","type":""}]},{"expression":{"arguments":[{"name":"sc","nativeSrc":"8980:2:29","nodeType":"YulIdentifier","src":"8980:2:29"},{"arguments":[{"arguments":[{"name":"sc","nativeSrc":"8994:2:29","nodeType":"YulIdentifier","src":"8994:2:29"}],"functionName":{"name":"sload","nativeSrc":"8988:5:29","nodeType":"YulIdentifier","src":"8988:5:29"},"nativeSrc":"8988:9:29","nodeType":"YulFunctionCall","src":"8988:9:29"},{"arguments":[{"arguments":[{"name":"mc","nativeSrc":"9009:2:29","nodeType":"YulIdentifier","src":"9009:2:29"}],"functionName":{"name":"mload","nativeSrc":"9003:5:29","nodeType":"YulIdentifier","src":"9003:5:29"},"nativeSrc":"9003:9:29","nodeType":"YulFunctionCall","src":"9003:9:29"},{"name":"mask","nativeSrc":"9014:4:29","nodeType":"YulIdentifier","src":"9014:4:29"}],"functionName":{"name":"and","nativeSrc":"8999:3:29","nodeType":"YulIdentifier","src":"8999:3:29"},"nativeSrc":"8999:20:29","nodeType":"YulFunctionCall","src":"8999:20:29"}],"functionName":{"name":"add","nativeSrc":"8984:3:29","nodeType":"YulIdentifier","src":"8984:3:29"},"nativeSrc":"8984:36:29","nodeType":"YulFunctionCall","src":"8984:36:29"}],"functionName":{"name":"sstore","nativeSrc":"8973:6:29","nodeType":"YulIdentifier","src":"8973:6:29"},"nativeSrc":"8973:48:29","nodeType":"YulFunctionCall","src":"8973:48:29"},"nativeSrc":"8973:48:29","nodeType":"YulExpressionStatement","src":"8973:48:29"},{"body":{"nativeSrc":"9249:61:29","nodeType":"YulBlock","src":"9249:61:29","statements":[{"expression":{"arguments":[{"name":"sc","nativeSrc":"9278:2:29","nodeType":"YulIdentifier","src":"9278:2:29"},{"arguments":[{"name":"mc","nativeSrc":"9288:2:29","nodeType":"YulIdentifier","src":"9288:2:29"}],"functionName":{"name":"mload","nativeSrc":"9282:5:29","nodeType":"YulIdentifier","src":"9282:5:29"},"nativeSrc":"9282:9:29","nodeType":"YulFunctionCall","src":"9282:9:29"}],"functionName":{"name":"sstore","nativeSrc":"9271:6:29","nodeType":"YulIdentifier","src":"9271:6:29"},"nativeSrc":"9271:21:29","nodeType":"YulFunctionCall","src":"9271:21:29"},"nativeSrc":"9271:21:29","nodeType":"YulExpressionStatement","src":"9271:21:29"}]},"condition":{"arguments":[{"name":"mc","nativeSrc":"9143:2:29","nodeType":"YulIdentifier","src":"9143:2:29"},{"name":"end","nativeSrc":"9147:3:29","nodeType":"YulIdentifier","src":"9147:3:29"}],"functionName":{"name":"lt","nativeSrc":"9140:2:29","nodeType":"YulIdentifier","src":"9140:2:29"},"nativeSrc":"9140:11:29","nodeType":"YulFunctionCall","src":"9140:11:29"},"nativeSrc":"9039:271:29","nodeType":"YulForLoop","post":{"nativeSrc":"9152:96:29","nodeType":"YulBlock","src":"9152:96:29","statements":[{"nativeSrc":"9174:16:29","nodeType":"YulAssignment","src":"9174:16:29","value":{"arguments":[{"name":"sc","nativeSrc":"9184:2:29","nodeType":"YulIdentifier","src":"9184:2:29"},{"kind":"number","nativeSrc":"9188:1:29","nodeType":"YulLiteral","src":"9188:1:29","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"9180:3:29","nodeType":"YulIdentifier","src":"9180:3:29"},"nativeSrc":"9180:10:29","nodeType":"YulFunctionCall","src":"9180:10:29"},"variableNames":[{"name":"sc","nativeSrc":"9174:2:29","nodeType":"YulIdentifier","src":"9174:2:29"}]},{"nativeSrc":"9211:19:29","nodeType":"YulAssignment","src":"9211:19:29","value":{"arguments":[{"name":"mc","nativeSrc":"9221:2:29","nodeType":"YulIdentifier","src":"9221:2:29"},{"kind":"number","nativeSrc":"9225:4:29","nodeType":"YulLiteral","src":"9225:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"9217:3:29","nodeType":"YulIdentifier","src":"9217:3:29"},"nativeSrc":"9217:13:29","nodeType":"YulFunctionCall","src":"9217:13:29"},"variableNames":[{"name":"mc","nativeSrc":"9211:2:29","nodeType":"YulIdentifier","src":"9211:2:29"}]}]},"pre":{"nativeSrc":"9043:96:29","nodeType":"YulBlock","src":"9043:96:29","statements":[{"nativeSrc":"9065:16:29","nodeType":"YulAssignment","src":"9065:16:29","value":{"arguments":[{"name":"sc","nativeSrc":"9075:2:29","nodeType":"YulIdentifier","src":"9075:2:29"},{"kind":"number","nativeSrc":"9079:1:29","nodeType":"YulLiteral","src":"9079:1:29","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"9071:3:29","nodeType":"YulIdentifier","src":"9071:3:29"},"nativeSrc":"9071:10:29","nodeType":"YulFunctionCall","src":"9071:10:29"},"variableNames":[{"name":"sc","nativeSrc":"9065:2:29","nodeType":"YulIdentifier","src":"9065:2:29"}]},{"nativeSrc":"9102:19:29","nodeType":"YulAssignment","src":"9102:19:29","value":{"arguments":[{"name":"mc","nativeSrc":"9112:2:29","nodeType":"YulIdentifier","src":"9112:2:29"},{"kind":"number","nativeSrc":"9116:4:29","nodeType":"YulLiteral","src":"9116:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"9108:3:29","nodeType":"YulIdentifier","src":"9108:3:29"},"nativeSrc":"9108:13:29","nodeType":"YulFunctionCall","src":"9108:13:29"},"variableNames":[{"name":"mc","nativeSrc":"9102:2:29","nodeType":"YulIdentifier","src":"9102:2:29"}]}]},"src":"9039:271:29"},{"nativeSrc":"9328:32:29","nodeType":"YulAssignment","src":"9328:32:29","value":{"arguments":[{"kind":"number","nativeSrc":"9340:5:29","nodeType":"YulLiteral","src":"9340:5:29","type":"","value":"0x100"},{"arguments":[{"name":"mc","nativeSrc":"9351:2:29","nodeType":"YulIdentifier","src":"9351:2:29"},{"name":"end","nativeSrc":"9355:3:29","nodeType":"YulIdentifier","src":"9355:3:29"}],"functionName":{"name":"sub","nativeSrc":"9347:3:29","nodeType":"YulIdentifier","src":"9347:3:29"},"nativeSrc":"9347:12:29","nodeType":"YulFunctionCall","src":"9347:12:29"}],"functionName":{"name":"exp","nativeSrc":"9336:3:29","nodeType":"YulIdentifier","src":"9336:3:29"},"nativeSrc":"9336:24:29","nodeType":"YulFunctionCall","src":"9336:24:29"},"variableNames":[{"name":"mask","nativeSrc":"9328:4:29","nodeType":"YulIdentifier","src":"9328:4:29"}]},{"expression":{"arguments":[{"name":"sc","nativeSrc":"9385:2:29","nodeType":"YulIdentifier","src":"9385:2:29"},{"arguments":[{"arguments":[{"arguments":[{"name":"mc","nativeSrc":"9403:2:29","nodeType":"YulIdentifier","src":"9403:2:29"}],"functionName":{"name":"mload","nativeSrc":"9397:5:29","nodeType":"YulIdentifier","src":"9397:5:29"},"nativeSrc":"9397:9:29","nodeType":"YulFunctionCall","src":"9397:9:29"},{"name":"mask","nativeSrc":"9408:4:29","nodeType":"YulIdentifier","src":"9408:4:29"}],"functionName":{"name":"div","nativeSrc":"9393:3:29","nodeType":"YulIdentifier","src":"9393:3:29"},"nativeSrc":"9393:20:29","nodeType":"YulFunctionCall","src":"9393:20:29"},{"name":"mask","nativeSrc":"9415:4:29","nodeType":"YulIdentifier","src":"9415:4:29"}],"functionName":{"name":"mul","nativeSrc":"9389:3:29","nodeType":"YulIdentifier","src":"9389:3:29"},"nativeSrc":"9389:31:29","nodeType":"YulFunctionCall","src":"9389:31:29"}],"functionName":{"name":"sstore","nativeSrc":"9378:6:29","nodeType":"YulIdentifier","src":"9378:6:29"},"nativeSrc":"9378:43:29","nodeType":"YulFunctionCall","src":"9378:43:29"},"nativeSrc":"9378:43:29","nodeType":"YulExpressionStatement","src":"9378:43:29"}]},"nativeSrc":"8163:1272:29","nodeType":"YulCase","src":"8163:1272:29","value":"default"}],"expression":{"arguments":[{"arguments":[{"name":"slength","nativeSrc":"4658:7:29","nodeType":"YulIdentifier","src":"4658:7:29"},{"kind":"number","nativeSrc":"4667:2:29","nodeType":"YulLiteral","src":"4667:2:29","type":"","value":"32"}],"functionName":{"name":"lt","nativeSrc":"4655:2:29","nodeType":"YulIdentifier","src":"4655:2:29"},"nativeSrc":"4655:15:29","nodeType":"YulFunctionCall","src":"4655:15:29"},{"arguments":[{"name":"newlength","nativeSrc":"4675:9:29","nodeType":"YulIdentifier","src":"4675:9:29"},{"kind":"number","nativeSrc":"4686:2:29","nodeType":"YulLiteral","src":"4686:2:29","type":"","value":"32"}],"functionName":{"name":"lt","nativeSrc":"4672:2:29","nodeType":"YulIdentifier","src":"4672:2:29"},"nativeSrc":"4672:17:29","nodeType":"YulFunctionCall","src":"4672:17:29"}],"functionName":{"name":"add","nativeSrc":"4651:3:29","nodeType":"YulIdentifier","src":"4651:3:29"},"nativeSrc":"4651:39:29","nodeType":"YulFunctionCall","src":"4651:39:29"},"nativeSrc":"4644:4791:29","nodeType":"YulSwitch","src":"4644:4791:29"}]},"evmVersion":"paris","externalReferences":[{"declaration":8363,"isOffset":false,"isSlot":false,"src":"4315:10:29","valueSize":1},{"declaration":8363,"isOffset":false,"isSlot":false,"src":"5521:10:29","valueSize":1},{"declaration":8363,"isOffset":false,"isSlot":false,"src":"7265:10:29","valueSize":1},{"declaration":8363,"isOffset":false,"isSlot":false,"src":"7316:10:29","valueSize":1},{"declaration":8363,"isOffset":false,"isSlot":false,"src":"8829:10:29","valueSize":1},{"declaration":8363,"isOffset":false,"isSlot":false,"src":"8880:10:29","valueSize":1},{"declaration":8361,"isOffset":false,"isSlot":true,"src":"3697:14:29","suffix":"slot","valueSize":1},{"declaration":8361,"isOffset":false,"isSlot":true,"src":"4991:14:29","suffix":"slot","valueSize":1},{"declaration":8361,"isOffset":false,"isSlot":true,"src":"6429:14:29","suffix":"slot","valueSize":1},{"declaration":8361,"isOffset":false,"isSlot":true,"src":"6574:14:29","suffix":"slot","valueSize":1},{"declaration":8361,"isOffset":false,"isSlot":true,"src":"8273:14:29","suffix":"slot","valueSize":1},{"declaration":8361,"isOffset":false,"isSlot":true,"src":"8494:14:29","suffix":"slot","valueSize":1}],"id":8366,"nodeType":"InlineAssembly","src":"3446:5999:29"}]},"id":8368,"implemented":true,"kind":"function","modifiers":[],"name":"concatStorage","nameLocation":"3363:13:29","nodeType":"FunctionDefinition","parameters":{"id":8364,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8361,"mutability":"mutable","name":"_preBytes","nameLocation":"3391:9:29","nodeType":"VariableDeclaration","scope":8368,"src":"3377:23:29","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":8360,"name":"bytes","nodeType":"ElementaryTypeName","src":"3377:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8363,"mutability":"mutable","name":"_postBytes","nameLocation":"3415:10:29","nodeType":"VariableDeclaration","scope":8368,"src":"3402:23:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8362,"name":"bytes","nodeType":"ElementaryTypeName","src":"3402:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3376:50:29"},"returnParameters":{"id":8365,"nodeType":"ParameterList","parameters":[],"src":"3436:0:29"},"scope":8674,"src":"3354:6097:29","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":8404,"nodeType":"Block","src":"9621:2640:29","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8384,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8382,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8380,"name":"_length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8374,"src":"9639:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"3331","id":8381,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9649:2:29","typeDescriptions":{"typeIdentifier":"t_rational_31_by_1","typeString":"int_const 31"},"value":"31"},"src":"9639:12:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":8383,"name":"_length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8374,"src":"9655:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9639:23:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"736c6963655f6f766572666c6f77","id":8385,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9664:16:29","typeDescriptions":{"typeIdentifier":"t_stringliteral_5d3d629f76473d94377d221b1f1c8f2161f7b65cab69e095662ec5d0e026c17e","typeString":"literal_string \"slice_overflow\""},"value":"slice_overflow"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5d3d629f76473d94377d221b1f1c8f2161f7b65cab69e095662ec5d0e026c17e","typeString":"literal_string \"slice_overflow\""}],"id":8379,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"9631:7:29","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":8386,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9631:50:29","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8387,"nodeType":"ExpressionStatement","src":"9631:50:29"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8394,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":8389,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8370,"src":"9699:6:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":8390,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9706:6:29","memberName":"length","nodeType":"MemberAccess","src":"9699:13:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8391,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8372,"src":"9716:6:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":8392,"name":"_length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8374,"src":"9725:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9716:16:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9699:33:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"736c6963655f6f75744f66426f756e6473","id":8395,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9734:19:29","typeDescriptions":{"typeIdentifier":"t_stringliteral_cca2258dcc0d08c244435525255fbef9116c9a31b4c29471218f002bbbceb7a0","typeString":"literal_string \"slice_outOfBounds\""},"value":"slice_outOfBounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_cca2258dcc0d08c244435525255fbef9116c9a31b4c29471218f002bbbceb7a0","typeString":"literal_string \"slice_outOfBounds\""}],"id":8388,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"9691:7:29","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":8396,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9691:63:29","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8397,"nodeType":"ExpressionStatement","src":"9691:63:29"},{"assignments":[8399],"declarations":[{"constant":false,"id":8399,"mutability":"mutable","name":"tempBytes","nameLocation":"9778:9:29","nodeType":"VariableDeclaration","scope":8404,"src":"9765:22:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8398,"name":"bytes","nodeType":"ElementaryTypeName","src":"9765:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":8400,"nodeType":"VariableDeclarationStatement","src":"9765:22:29"},{"AST":{"nativeSrc":"9807:2421:29","nodeType":"YulBlock","src":"9807:2421:29","statements":[{"cases":[{"body":{"nativeSrc":"9863:1960:29","nodeType":"YulBlock","src":"9863:1960:29","statements":[{"nativeSrc":"10019:24:29","nodeType":"YulAssignment","src":"10019:24:29","value":{"arguments":[{"kind":"number","nativeSrc":"10038:4:29","nodeType":"YulLiteral","src":"10038:4:29","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"10032:5:29","nodeType":"YulIdentifier","src":"10032:5:29"},"nativeSrc":"10032:11:29","nodeType":"YulFunctionCall","src":"10032:11:29"},"variableNames":[{"name":"tempBytes","nativeSrc":"10019:9:29","nodeType":"YulIdentifier","src":"10019:9:29"}]},{"nativeSrc":"10667:33:29","nodeType":"YulVariableDeclaration","src":"10667:33:29","value":{"arguments":[{"name":"_length","nativeSrc":"10688:7:29","nodeType":"YulIdentifier","src":"10688:7:29"},{"kind":"number","nativeSrc":"10697:2:29","nodeType":"YulLiteral","src":"10697:2:29","type":"","value":"31"}],"functionName":{"name":"and","nativeSrc":"10684:3:29","nodeType":"YulIdentifier","src":"10684:3:29"},"nativeSrc":"10684:16:29","nodeType":"YulFunctionCall","src":"10684:16:29"},"variables":[{"name":"lengthmod","nativeSrc":"10671:9:29","nodeType":"YulTypedName","src":"10671:9:29","type":""}]},{"nativeSrc":"11021:70:29","nodeType":"YulVariableDeclaration","src":"11021:70:29","value":{"arguments":[{"arguments":[{"name":"tempBytes","nativeSrc":"11039:9:29","nodeType":"YulIdentifier","src":"11039:9:29"},{"name":"lengthmod","nativeSrc":"11050:9:29","nodeType":"YulIdentifier","src":"11050:9:29"}],"functionName":{"name":"add","nativeSrc":"11035:3:29","nodeType":"YulIdentifier","src":"11035:3:29"},"nativeSrc":"11035:25:29","nodeType":"YulFunctionCall","src":"11035:25:29"},{"arguments":[{"kind":"number","nativeSrc":"11066:4:29","nodeType":"YulLiteral","src":"11066:4:29","type":"","value":"0x20"},{"arguments":[{"name":"lengthmod","nativeSrc":"11079:9:29","nodeType":"YulIdentifier","src":"11079:9:29"}],"functionName":{"name":"iszero","nativeSrc":"11072:6:29","nodeType":"YulIdentifier","src":"11072:6:29"},"nativeSrc":"11072:17:29","nodeType":"YulFunctionCall","src":"11072:17:29"}],"functionName":{"name":"mul","nativeSrc":"11062:3:29","nodeType":"YulIdentifier","src":"11062:3:29"},"nativeSrc":"11062:28:29","nodeType":"YulFunctionCall","src":"11062:28:29"}],"functionName":{"name":"add","nativeSrc":"11031:3:29","nodeType":"YulIdentifier","src":"11031:3:29"},"nativeSrc":"11031:60:29","nodeType":"YulFunctionCall","src":"11031:60:29"},"variables":[{"name":"mc","nativeSrc":"11025:2:29","nodeType":"YulTypedName","src":"11025:2:29","type":""}]},{"nativeSrc":"11108:27:29","nodeType":"YulVariableDeclaration","src":"11108:27:29","value":{"arguments":[{"name":"mc","nativeSrc":"11123:2:29","nodeType":"YulIdentifier","src":"11123:2:29"},{"name":"_length","nativeSrc":"11127:7:29","nodeType":"YulIdentifier","src":"11127:7:29"}],"functionName":{"name":"add","nativeSrc":"11119:3:29","nodeType":"YulIdentifier","src":"11119:3:29"},"nativeSrc":"11119:16:29","nodeType":"YulFunctionCall","src":"11119:16:29"},"variables":[{"name":"end","nativeSrc":"11112:3:29","nodeType":"YulTypedName","src":"11112:3:29","type":""}]},{"body":{"nativeSrc":"11517:61:29","nodeType":"YulBlock","src":"11517:61:29","statements":[{"expression":{"arguments":[{"name":"mc","nativeSrc":"11546:2:29","nodeType":"YulIdentifier","src":"11546:2:29"},{"arguments":[{"name":"cc","nativeSrc":"11556:2:29","nodeType":"YulIdentifier","src":"11556:2:29"}],"functionName":{"name":"mload","nativeSrc":"11550:5:29","nodeType":"YulIdentifier","src":"11550:5:29"},"nativeSrc":"11550:9:29","nodeType":"YulFunctionCall","src":"11550:9:29"}],"functionName":{"name":"mstore","nativeSrc":"11539:6:29","nodeType":"YulIdentifier","src":"11539:6:29"},"nativeSrc":"11539:21:29","nodeType":"YulFunctionCall","src":"11539:21:29"},"nativeSrc":"11539:21:29","nodeType":"YulExpressionStatement","src":"11539:21:29"}]},"condition":{"arguments":[{"name":"mc","nativeSrc":"11408:2:29","nodeType":"YulIdentifier","src":"11408:2:29"},{"name":"end","nativeSrc":"11412:3:29","nodeType":"YulIdentifier","src":"11412:3:29"}],"functionName":{"name":"lt","nativeSrc":"11405:2:29","nodeType":"YulIdentifier","src":"11405:2:29"},"nativeSrc":"11405:11:29","nodeType":"YulFunctionCall","src":"11405:11:29"},"nativeSrc":"11153:425:29","nodeType":"YulForLoop","post":{"nativeSrc":"11417:99:29","nodeType":"YulBlock","src":"11417:99:29","statements":[{"nativeSrc":"11439:19:29","nodeType":"YulAssignment","src":"11439:19:29","value":{"arguments":[{"name":"mc","nativeSrc":"11449:2:29","nodeType":"YulIdentifier","src":"11449:2:29"},{"kind":"number","nativeSrc":"11453:4:29","nodeType":"YulLiteral","src":"11453:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"11445:3:29","nodeType":"YulIdentifier","src":"11445:3:29"},"nativeSrc":"11445:13:29","nodeType":"YulFunctionCall","src":"11445:13:29"},"variableNames":[{"name":"mc","nativeSrc":"11439:2:29","nodeType":"YulIdentifier","src":"11439:2:29"}]},{"nativeSrc":"11479:19:29","nodeType":"YulAssignment","src":"11479:19:29","value":{"arguments":[{"name":"cc","nativeSrc":"11489:2:29","nodeType":"YulIdentifier","src":"11489:2:29"},{"kind":"number","nativeSrc":"11493:4:29","nodeType":"YulLiteral","src":"11493:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"11485:3:29","nodeType":"YulIdentifier","src":"11485:3:29"},"nativeSrc":"11485:13:29","nodeType":"YulFunctionCall","src":"11485:13:29"},"variableNames":[{"name":"cc","nativeSrc":"11479:2:29","nodeType":"YulIdentifier","src":"11479:2:29"}]}]},"pre":{"nativeSrc":"11157:247:29","nodeType":"YulBlock","src":"11157:247:29","statements":[{"nativeSrc":"11306:80:29","nodeType":"YulVariableDeclaration","src":"11306:80:29","value":{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes","nativeSrc":"11328:6:29","nodeType":"YulIdentifier","src":"11328:6:29"},{"name":"lengthmod","nativeSrc":"11336:9:29","nodeType":"YulIdentifier","src":"11336:9:29"}],"functionName":{"name":"add","nativeSrc":"11324:3:29","nodeType":"YulIdentifier","src":"11324:3:29"},"nativeSrc":"11324:22:29","nodeType":"YulFunctionCall","src":"11324:22:29"},{"arguments":[{"kind":"number","nativeSrc":"11352:4:29","nodeType":"YulLiteral","src":"11352:4:29","type":"","value":"0x20"},{"arguments":[{"name":"lengthmod","nativeSrc":"11365:9:29","nodeType":"YulIdentifier","src":"11365:9:29"}],"functionName":{"name":"iszero","nativeSrc":"11358:6:29","nodeType":"YulIdentifier","src":"11358:6:29"},"nativeSrc":"11358:17:29","nodeType":"YulFunctionCall","src":"11358:17:29"}],"functionName":{"name":"mul","nativeSrc":"11348:3:29","nodeType":"YulIdentifier","src":"11348:3:29"},"nativeSrc":"11348:28:29","nodeType":"YulFunctionCall","src":"11348:28:29"}],"functionName":{"name":"add","nativeSrc":"11320:3:29","nodeType":"YulIdentifier","src":"11320:3:29"},"nativeSrc":"11320:57:29","nodeType":"YulFunctionCall","src":"11320:57:29"},{"name":"_start","nativeSrc":"11379:6:29","nodeType":"YulIdentifier","src":"11379:6:29"}],"functionName":{"name":"add","nativeSrc":"11316:3:29","nodeType":"YulIdentifier","src":"11316:3:29"},"nativeSrc":"11316:70:29","nodeType":"YulFunctionCall","src":"11316:70:29"},"variables":[{"name":"cc","nativeSrc":"11310:2:29","nodeType":"YulTypedName","src":"11310:2:29","type":""}]}]},"src":"11153:425:29"},{"expression":{"arguments":[{"name":"tempBytes","nativeSrc":"11603:9:29","nodeType":"YulIdentifier","src":"11603:9:29"},{"name":"_length","nativeSrc":"11614:7:29","nodeType":"YulIdentifier","src":"11614:7:29"}],"functionName":{"name":"mstore","nativeSrc":"11596:6:29","nodeType":"YulIdentifier","src":"11596:6:29"},"nativeSrc":"11596:26:29","nodeType":"YulFunctionCall","src":"11596:26:29"},"nativeSrc":"11596:26:29","nodeType":"YulExpressionStatement","src":"11596:26:29"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"11777:4:29","nodeType":"YulLiteral","src":"11777:4:29","type":"","value":"0x40"},{"arguments":[{"arguments":[{"name":"mc","nativeSrc":"11791:2:29","nodeType":"YulIdentifier","src":"11791:2:29"},{"kind":"number","nativeSrc":"11795:2:29","nodeType":"YulLiteral","src":"11795:2:29","type":"","value":"31"}],"functionName":{"name":"add","nativeSrc":"11787:3:29","nodeType":"YulIdentifier","src":"11787:3:29"},"nativeSrc":"11787:11:29","nodeType":"YulFunctionCall","src":"11787:11:29"},{"arguments":[{"kind":"number","nativeSrc":"11804:2:29","nodeType":"YulLiteral","src":"11804:2:29","type":"","value":"31"}],"functionName":{"name":"not","nativeSrc":"11800:3:29","nodeType":"YulIdentifier","src":"11800:3:29"},"nativeSrc":"11800:7:29","nodeType":"YulFunctionCall","src":"11800:7:29"}],"functionName":{"name":"and","nativeSrc":"11783:3:29","nodeType":"YulIdentifier","src":"11783:3:29"},"nativeSrc":"11783:25:29","nodeType":"YulFunctionCall","src":"11783:25:29"}],"functionName":{"name":"mstore","nativeSrc":"11770:6:29","nodeType":"YulIdentifier","src":"11770:6:29"},"nativeSrc":"11770:39:29","nodeType":"YulFunctionCall","src":"11770:39:29"},"nativeSrc":"11770:39:29","nodeType":"YulExpressionStatement","src":"11770:39:29"}]},"nativeSrc":"9856:1967:29","nodeType":"YulCase","src":"9856:1967:29","value":{"kind":"number","nativeSrc":"9861:1:29","nodeType":"YulLiteral","src":"9861:1:29","type":"","value":"0"}},{"body":{"nativeSrc":"11927:291:29","nodeType":"YulBlock","src":"11927:291:29","statements":[{"nativeSrc":"11945:24:29","nodeType":"YulAssignment","src":"11945:24:29","value":{"arguments":[{"kind":"number","nativeSrc":"11964:4:29","nodeType":"YulLiteral","src":"11964:4:29","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"11958:5:29","nodeType":"YulIdentifier","src":"11958:5:29"},"nativeSrc":"11958:11:29","nodeType":"YulFunctionCall","src":"11958:11:29"},"variableNames":[{"name":"tempBytes","nativeSrc":"11945:9:29","nodeType":"YulIdentifier","src":"11945:9:29"}]},{"expression":{"arguments":[{"name":"tempBytes","nativeSrc":"12139:9:29","nodeType":"YulIdentifier","src":"12139:9:29"},{"kind":"number","nativeSrc":"12150:1:29","nodeType":"YulLiteral","src":"12150:1:29","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"12132:6:29","nodeType":"YulIdentifier","src":"12132:6:29"},"nativeSrc":"12132:20:29","nodeType":"YulFunctionCall","src":"12132:20:29"},"nativeSrc":"12132:20:29","nodeType":"YulExpressionStatement","src":"12132:20:29"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"12177:4:29","nodeType":"YulLiteral","src":"12177:4:29","type":"","value":"0x40"},{"arguments":[{"name":"tempBytes","nativeSrc":"12187:9:29","nodeType":"YulIdentifier","src":"12187:9:29"},{"kind":"number","nativeSrc":"12198:4:29","nodeType":"YulLiteral","src":"12198:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"12183:3:29","nodeType":"YulIdentifier","src":"12183:3:29"},"nativeSrc":"12183:20:29","nodeType":"YulFunctionCall","src":"12183:20:29"}],"functionName":{"name":"mstore","nativeSrc":"12170:6:29","nodeType":"YulIdentifier","src":"12170:6:29"},"nativeSrc":"12170:34:29","nodeType":"YulFunctionCall","src":"12170:34:29"},"nativeSrc":"12170:34:29","nodeType":"YulExpressionStatement","src":"12170:34:29"}]},"nativeSrc":"11919:299:29","nodeType":"YulCase","src":"11919:299:29","value":"default"}],"expression":{"arguments":[{"name":"_length","nativeSrc":"9835:7:29","nodeType":"YulIdentifier","src":"9835:7:29"}],"functionName":{"name":"iszero","nativeSrc":"9828:6:29","nodeType":"YulIdentifier","src":"9828:6:29"},"nativeSrc":"9828:15:29","nodeType":"YulFunctionCall","src":"9828:15:29"},"nativeSrc":"9821:2397:29","nodeType":"YulSwitch","src":"9821:2397:29"}]},"evmVersion":"paris","externalReferences":[{"declaration":8370,"isOffset":false,"isSlot":false,"src":"11328:6:29","valueSize":1},{"declaration":8374,"isOffset":false,"isSlot":false,"src":"10688:7:29","valueSize":1},{"declaration":8374,"isOffset":false,"isSlot":false,"src":"11127:7:29","valueSize":1},{"declaration":8374,"isOffset":false,"isSlot":false,"src":"11614:7:29","valueSize":1},{"declaration":8374,"isOffset":false,"isSlot":false,"src":"9835:7:29","valueSize":1},{"declaration":8372,"isOffset":false,"isSlot":false,"src":"11379:6:29","valueSize":1},{"declaration":8399,"isOffset":false,"isSlot":false,"src":"10019:9:29","valueSize":1},{"declaration":8399,"isOffset":false,"isSlot":false,"src":"11039:9:29","valueSize":1},{"declaration":8399,"isOffset":false,"isSlot":false,"src":"11603:9:29","valueSize":1},{"declaration":8399,"isOffset":false,"isSlot":false,"src":"11945:9:29","valueSize":1},{"declaration":8399,"isOffset":false,"isSlot":false,"src":"12139:9:29","valueSize":1},{"declaration":8399,"isOffset":false,"isSlot":false,"src":"12187:9:29","valueSize":1}],"id":8401,"nodeType":"InlineAssembly","src":"9798:2430:29"},{"expression":{"id":8402,"name":"tempBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8399,"src":"12245:9:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":8378,"id":8403,"nodeType":"Return","src":"12238:16:29"}]},"id":8405,"implemented":true,"kind":"function","modifiers":[],"name":"slice","nameLocation":"9466:5:29","nodeType":"FunctionDefinition","parameters":{"id":8375,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8370,"mutability":"mutable","name":"_bytes","nameLocation":"9494:6:29","nodeType":"VariableDeclaration","scope":8405,"src":"9481:19:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8369,"name":"bytes","nodeType":"ElementaryTypeName","src":"9481:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8372,"mutability":"mutable","name":"_start","nameLocation":"9518:6:29","nodeType":"VariableDeclaration","scope":8405,"src":"9510:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8371,"name":"uint256","nodeType":"ElementaryTypeName","src":"9510:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8374,"mutability":"mutable","name":"_length","nameLocation":"9542:7:29","nodeType":"VariableDeclaration","scope":8405,"src":"9534:15:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8373,"name":"uint256","nodeType":"ElementaryTypeName","src":"9534:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9471:84:29"},"returnParameters":{"id":8378,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8377,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8405,"src":"9603:12:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8376,"name":"bytes","nodeType":"ElementaryTypeName","src":"9603:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"9602:14:29"},"scope":8674,"src":"9457:2804:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8430,"nodeType":"Block","src":"12355:266:29","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8420,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":8415,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8407,"src":"12373:6:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":8416,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12380:6:29","memberName":"length","nodeType":"MemberAccess","src":"12373:13:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8419,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8417,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8409,"src":"12390:6:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"3230","id":8418,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12399:2:29","typeDescriptions":{"typeIdentifier":"t_rational_20_by_1","typeString":"int_const 20"},"value":"20"},"src":"12390:11:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12373:28:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"746f416464726573735f6f75744f66426f756e6473","id":8421,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"12403:23:29","typeDescriptions":{"typeIdentifier":"t_stringliteral_9f688071e1df0f70b63e3651005878331be1fe9591d6cfb3187cb52a13439e5d","typeString":"literal_string \"toAddress_outOfBounds\""},"value":"toAddress_outOfBounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_9f688071e1df0f70b63e3651005878331be1fe9591d6cfb3187cb52a13439e5d","typeString":"literal_string \"toAddress_outOfBounds\""}],"id":8414,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"12365:7:29","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":8422,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12365:62:29","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8423,"nodeType":"ExpressionStatement","src":"12365:62:29"},{"assignments":[8425],"declarations":[{"constant":false,"id":8425,"mutability":"mutable","name":"tempAddress","nameLocation":"12445:11:29","nodeType":"VariableDeclaration","scope":8430,"src":"12437:19:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8424,"name":"address","nodeType":"ElementaryTypeName","src":"12437:7:29","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":8426,"nodeType":"VariableDeclarationStatement","src":"12437:19:29"},{"AST":{"nativeSrc":"12476:110:29","nodeType":"YulBlock","src":"12476:110:29","statements":[{"nativeSrc":"12490:86:29","nodeType":"YulAssignment","src":"12490:86:29","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes","nativeSrc":"12523:6:29","nodeType":"YulIdentifier","src":"12523:6:29"},{"kind":"number","nativeSrc":"12531:4:29","nodeType":"YulLiteral","src":"12531:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"12519:3:29","nodeType":"YulIdentifier","src":"12519:3:29"},"nativeSrc":"12519:17:29","nodeType":"YulFunctionCall","src":"12519:17:29"},{"name":"_start","nativeSrc":"12538:6:29","nodeType":"YulIdentifier","src":"12538:6:29"}],"functionName":{"name":"add","nativeSrc":"12515:3:29","nodeType":"YulIdentifier","src":"12515:3:29"},"nativeSrc":"12515:30:29","nodeType":"YulFunctionCall","src":"12515:30:29"}],"functionName":{"name":"mload","nativeSrc":"12509:5:29","nodeType":"YulIdentifier","src":"12509:5:29"},"nativeSrc":"12509:37:29","nodeType":"YulFunctionCall","src":"12509:37:29"},{"kind":"number","nativeSrc":"12548:27:29","nodeType":"YulLiteral","src":"12548:27:29","type":"","value":"0x1000000000000000000000000"}],"functionName":{"name":"div","nativeSrc":"12505:3:29","nodeType":"YulIdentifier","src":"12505:3:29"},"nativeSrc":"12505:71:29","nodeType":"YulFunctionCall","src":"12505:71:29"},"variableNames":[{"name":"tempAddress","nativeSrc":"12490:11:29","nodeType":"YulIdentifier","src":"12490:11:29"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":8407,"isOffset":false,"isSlot":false,"src":"12523:6:29","valueSize":1},{"declaration":8409,"isOffset":false,"isSlot":false,"src":"12538:6:29","valueSize":1},{"declaration":8425,"isOffset":false,"isSlot":false,"src":"12490:11:29","valueSize":1}],"id":8427,"nodeType":"InlineAssembly","src":"12467:119:29"},{"expression":{"id":8428,"name":"tempAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8425,"src":"12603:11:29","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":8413,"id":8429,"nodeType":"Return","src":"12596:18:29"}]},"id":8431,"implemented":true,"kind":"function","modifiers":[],"name":"toAddress","nameLocation":"12276:9:29","nodeType":"FunctionDefinition","parameters":{"id":8410,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8407,"mutability":"mutable","name":"_bytes","nameLocation":"12299:6:29","nodeType":"VariableDeclaration","scope":8431,"src":"12286:19:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8406,"name":"bytes","nodeType":"ElementaryTypeName","src":"12286:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8409,"mutability":"mutable","name":"_start","nameLocation":"12315:6:29","nodeType":"VariableDeclaration","scope":8431,"src":"12307:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8408,"name":"uint256","nodeType":"ElementaryTypeName","src":"12307:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12285:37:29"},"returnParameters":{"id":8413,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8412,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8431,"src":"12346:7:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8411,"name":"address","nodeType":"ElementaryTypeName","src":"12346:7:29","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"12345:9:29"},"scope":8674,"src":"12267:354:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8456,"nodeType":"Block","src":"12711:218:29","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8446,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":8441,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8433,"src":"12729:6:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":8442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12736:6:29","memberName":"length","nodeType":"MemberAccess","src":"12729:13:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8445,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8443,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8435,"src":"12746:6:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":8444,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12755:1:29","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"12746:10:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12729:27:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"746f55696e74385f6f75744f66426f756e6473","id":8447,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"12759:21:29","typeDescriptions":{"typeIdentifier":"t_stringliteral_ce6d7be00009dd45cc670fb6c2ceee25786f142bcb64e7f1ee73012b26bb6ca1","typeString":"literal_string \"toUint8_outOfBounds\""},"value":"toUint8_outOfBounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_ce6d7be00009dd45cc670fb6c2ceee25786f142bcb64e7f1ee73012b26bb6ca1","typeString":"literal_string \"toUint8_outOfBounds\""}],"id":8440,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"12721:7:29","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":8448,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12721:60:29","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8449,"nodeType":"ExpressionStatement","src":"12721:60:29"},{"assignments":[8451],"declarations":[{"constant":false,"id":8451,"mutability":"mutable","name":"tempUint","nameLocation":"12797:8:29","nodeType":"VariableDeclaration","scope":8456,"src":"12791:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8450,"name":"uint8","nodeType":"ElementaryTypeName","src":"12791:5:29","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":8452,"nodeType":"VariableDeclarationStatement","src":"12791:14:29"},{"AST":{"nativeSrc":"12825:72:29","nodeType":"YulBlock","src":"12825:72:29","statements":[{"nativeSrc":"12839:48:29","nodeType":"YulAssignment","src":"12839:48:29","value":{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes","nativeSrc":"12865:6:29","nodeType":"YulIdentifier","src":"12865:6:29"},{"kind":"number","nativeSrc":"12873:3:29","nodeType":"YulLiteral","src":"12873:3:29","type":"","value":"0x1"}],"functionName":{"name":"add","nativeSrc":"12861:3:29","nodeType":"YulIdentifier","src":"12861:3:29"},"nativeSrc":"12861:16:29","nodeType":"YulFunctionCall","src":"12861:16:29"},{"name":"_start","nativeSrc":"12879:6:29","nodeType":"YulIdentifier","src":"12879:6:29"}],"functionName":{"name":"add","nativeSrc":"12857:3:29","nodeType":"YulIdentifier","src":"12857:3:29"},"nativeSrc":"12857:29:29","nodeType":"YulFunctionCall","src":"12857:29:29"}],"functionName":{"name":"mload","nativeSrc":"12851:5:29","nodeType":"YulIdentifier","src":"12851:5:29"},"nativeSrc":"12851:36:29","nodeType":"YulFunctionCall","src":"12851:36:29"},"variableNames":[{"name":"tempUint","nativeSrc":"12839:8:29","nodeType":"YulIdentifier","src":"12839:8:29"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":8433,"isOffset":false,"isSlot":false,"src":"12865:6:29","valueSize":1},{"declaration":8435,"isOffset":false,"isSlot":false,"src":"12879:6:29","valueSize":1},{"declaration":8451,"isOffset":false,"isSlot":false,"src":"12839:8:29","valueSize":1}],"id":8453,"nodeType":"InlineAssembly","src":"12816:81:29"},{"expression":{"id":8454,"name":"tempUint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8451,"src":"12914:8:29","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":8439,"id":8455,"nodeType":"Return","src":"12907:15:29"}]},"id":8457,"implemented":true,"kind":"function","modifiers":[],"name":"toUint8","nameLocation":"12636:7:29","nodeType":"FunctionDefinition","parameters":{"id":8436,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8433,"mutability":"mutable","name":"_bytes","nameLocation":"12657:6:29","nodeType":"VariableDeclaration","scope":8457,"src":"12644:19:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8432,"name":"bytes","nodeType":"ElementaryTypeName","src":"12644:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8435,"mutability":"mutable","name":"_start","nameLocation":"12673:6:29","nodeType":"VariableDeclaration","scope":8457,"src":"12665:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8434,"name":"uint256","nodeType":"ElementaryTypeName","src":"12665:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12643:37:29"},"returnParameters":{"id":8439,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8438,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8457,"src":"12704:5:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8437,"name":"uint8","nodeType":"ElementaryTypeName","src":"12704:5:29","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"12703:7:29"},"scope":8674,"src":"12627:302:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8482,"nodeType":"Block","src":"13021:219:29","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8472,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":8467,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8459,"src":"13039:6:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":8468,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13046:6:29","memberName":"length","nodeType":"MemberAccess","src":"13039:13:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8471,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8469,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8461,"src":"13056:6:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"32","id":8470,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13065:1:29","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"13056:10:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13039:27:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"746f55696e7431365f6f75744f66426f756e6473","id":8473,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13068:22:29","typeDescriptions":{"typeIdentifier":"t_stringliteral_414233483a71244a4f2700455a9733e71511b5279e381bdd2af6d44b1b09ecab","typeString":"literal_string \"toUint16_outOfBounds\""},"value":"toUint16_outOfBounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_414233483a71244a4f2700455a9733e71511b5279e381bdd2af6d44b1b09ecab","typeString":"literal_string \"toUint16_outOfBounds\""}],"id":8466,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13031:7:29","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":8474,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13031:60:29","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8475,"nodeType":"ExpressionStatement","src":"13031:60:29"},{"assignments":[8477],"declarations":[{"constant":false,"id":8477,"mutability":"mutable","name":"tempUint","nameLocation":"13108:8:29","nodeType":"VariableDeclaration","scope":8482,"src":"13101:15:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8476,"name":"uint16","nodeType":"ElementaryTypeName","src":"13101:6:29","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"id":8478,"nodeType":"VariableDeclarationStatement","src":"13101:15:29"},{"AST":{"nativeSrc":"13136:72:29","nodeType":"YulBlock","src":"13136:72:29","statements":[{"nativeSrc":"13150:48:29","nodeType":"YulAssignment","src":"13150:48:29","value":{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes","nativeSrc":"13176:6:29","nodeType":"YulIdentifier","src":"13176:6:29"},{"kind":"number","nativeSrc":"13184:3:29","nodeType":"YulLiteral","src":"13184:3:29","type":"","value":"0x2"}],"functionName":{"name":"add","nativeSrc":"13172:3:29","nodeType":"YulIdentifier","src":"13172:3:29"},"nativeSrc":"13172:16:29","nodeType":"YulFunctionCall","src":"13172:16:29"},{"name":"_start","nativeSrc":"13190:6:29","nodeType":"YulIdentifier","src":"13190:6:29"}],"functionName":{"name":"add","nativeSrc":"13168:3:29","nodeType":"YulIdentifier","src":"13168:3:29"},"nativeSrc":"13168:29:29","nodeType":"YulFunctionCall","src":"13168:29:29"}],"functionName":{"name":"mload","nativeSrc":"13162:5:29","nodeType":"YulIdentifier","src":"13162:5:29"},"nativeSrc":"13162:36:29","nodeType":"YulFunctionCall","src":"13162:36:29"},"variableNames":[{"name":"tempUint","nativeSrc":"13150:8:29","nodeType":"YulIdentifier","src":"13150:8:29"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":8459,"isOffset":false,"isSlot":false,"src":"13176:6:29","valueSize":1},{"declaration":8461,"isOffset":false,"isSlot":false,"src":"13190:6:29","valueSize":1},{"declaration":8477,"isOffset":false,"isSlot":false,"src":"13150:8:29","valueSize":1}],"id":8479,"nodeType":"InlineAssembly","src":"13127:81:29"},{"expression":{"id":8480,"name":"tempUint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8477,"src":"13225:8:29","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"functionReturnParameters":8465,"id":8481,"nodeType":"Return","src":"13218:15:29"}]},"id":8483,"implemented":true,"kind":"function","modifiers":[],"name":"toUint16","nameLocation":"12944:8:29","nodeType":"FunctionDefinition","parameters":{"id":8462,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8459,"mutability":"mutable","name":"_bytes","nameLocation":"12966:6:29","nodeType":"VariableDeclaration","scope":8483,"src":"12953:19:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8458,"name":"bytes","nodeType":"ElementaryTypeName","src":"12953:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8461,"mutability":"mutable","name":"_start","nameLocation":"12982:6:29","nodeType":"VariableDeclaration","scope":8483,"src":"12974:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8460,"name":"uint256","nodeType":"ElementaryTypeName","src":"12974:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12952:37:29"},"returnParameters":{"id":8465,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8464,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8483,"src":"13013:6:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8463,"name":"uint16","nodeType":"ElementaryTypeName","src":"13013:6:29","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"13012:8:29"},"scope":8674,"src":"12935:305:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8508,"nodeType":"Block","src":"13332:219:29","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8498,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":8493,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8485,"src":"13350:6:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":8494,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13357:6:29","memberName":"length","nodeType":"MemberAccess","src":"13350:13:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8497,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8495,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8487,"src":"13367:6:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"34","id":8496,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13376:1:29","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"13367:10:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13350:27:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"746f55696e7433325f6f75744f66426f756e6473","id":8499,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13379:22:29","typeDescriptions":{"typeIdentifier":"t_stringliteral_e0a09853867d05bef4b1d534052126bc72acd3515e1725b9b280e16d988e6ccf","typeString":"literal_string \"toUint32_outOfBounds\""},"value":"toUint32_outOfBounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e0a09853867d05bef4b1d534052126bc72acd3515e1725b9b280e16d988e6ccf","typeString":"literal_string \"toUint32_outOfBounds\""}],"id":8492,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13342:7:29","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":8500,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13342:60:29","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8501,"nodeType":"ExpressionStatement","src":"13342:60:29"},{"assignments":[8503],"declarations":[{"constant":false,"id":8503,"mutability":"mutable","name":"tempUint","nameLocation":"13419:8:29","nodeType":"VariableDeclaration","scope":8508,"src":"13412:15:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":8502,"name":"uint32","nodeType":"ElementaryTypeName","src":"13412:6:29","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"id":8504,"nodeType":"VariableDeclarationStatement","src":"13412:15:29"},{"AST":{"nativeSrc":"13447:72:29","nodeType":"YulBlock","src":"13447:72:29","statements":[{"nativeSrc":"13461:48:29","nodeType":"YulAssignment","src":"13461:48:29","value":{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes","nativeSrc":"13487:6:29","nodeType":"YulIdentifier","src":"13487:6:29"},{"kind":"number","nativeSrc":"13495:3:29","nodeType":"YulLiteral","src":"13495:3:29","type":"","value":"0x4"}],"functionName":{"name":"add","nativeSrc":"13483:3:29","nodeType":"YulIdentifier","src":"13483:3:29"},"nativeSrc":"13483:16:29","nodeType":"YulFunctionCall","src":"13483:16:29"},{"name":"_start","nativeSrc":"13501:6:29","nodeType":"YulIdentifier","src":"13501:6:29"}],"functionName":{"name":"add","nativeSrc":"13479:3:29","nodeType":"YulIdentifier","src":"13479:3:29"},"nativeSrc":"13479:29:29","nodeType":"YulFunctionCall","src":"13479:29:29"}],"functionName":{"name":"mload","nativeSrc":"13473:5:29","nodeType":"YulIdentifier","src":"13473:5:29"},"nativeSrc":"13473:36:29","nodeType":"YulFunctionCall","src":"13473:36:29"},"variableNames":[{"name":"tempUint","nativeSrc":"13461:8:29","nodeType":"YulIdentifier","src":"13461:8:29"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":8485,"isOffset":false,"isSlot":false,"src":"13487:6:29","valueSize":1},{"declaration":8487,"isOffset":false,"isSlot":false,"src":"13501:6:29","valueSize":1},{"declaration":8503,"isOffset":false,"isSlot":false,"src":"13461:8:29","valueSize":1}],"id":8505,"nodeType":"InlineAssembly","src":"13438:81:29"},{"expression":{"id":8506,"name":"tempUint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8503,"src":"13536:8:29","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"functionReturnParameters":8491,"id":8507,"nodeType":"Return","src":"13529:15:29"}]},"id":8509,"implemented":true,"kind":"function","modifiers":[],"name":"toUint32","nameLocation":"13255:8:29","nodeType":"FunctionDefinition","parameters":{"id":8488,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8485,"mutability":"mutable","name":"_bytes","nameLocation":"13277:6:29","nodeType":"VariableDeclaration","scope":8509,"src":"13264:19:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8484,"name":"bytes","nodeType":"ElementaryTypeName","src":"13264:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8487,"mutability":"mutable","name":"_start","nameLocation":"13293:6:29","nodeType":"VariableDeclaration","scope":8509,"src":"13285:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8486,"name":"uint256","nodeType":"ElementaryTypeName","src":"13285:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13263:37:29"},"returnParameters":{"id":8491,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8490,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8509,"src":"13324:6:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":8489,"name":"uint32","nodeType":"ElementaryTypeName","src":"13324:6:29","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"13323:8:29"},"scope":8674,"src":"13246:305:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8534,"nodeType":"Block","src":"13643:219:29","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8524,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":8519,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8511,"src":"13661:6:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":8520,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13668:6:29","memberName":"length","nodeType":"MemberAccess","src":"13661:13:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8523,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8521,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8513,"src":"13678:6:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"38","id":8522,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13687:1:29","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"13678:10:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13661:27:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"746f55696e7436345f6f75744f66426f756e6473","id":8525,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13690:22:29","typeDescriptions":{"typeIdentifier":"t_stringliteral_55885cc1e15ebd0ff3d9803b39476f6ee2279f42aa3070b40f2de433347c0145","typeString":"literal_string \"toUint64_outOfBounds\""},"value":"toUint64_outOfBounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_55885cc1e15ebd0ff3d9803b39476f6ee2279f42aa3070b40f2de433347c0145","typeString":"literal_string \"toUint64_outOfBounds\""}],"id":8518,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13653:7:29","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":8526,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13653:60:29","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8527,"nodeType":"ExpressionStatement","src":"13653:60:29"},{"assignments":[8529],"declarations":[{"constant":false,"id":8529,"mutability":"mutable","name":"tempUint","nameLocation":"13730:8:29","nodeType":"VariableDeclaration","scope":8534,"src":"13723:15:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":8528,"name":"uint64","nodeType":"ElementaryTypeName","src":"13723:6:29","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"id":8530,"nodeType":"VariableDeclarationStatement","src":"13723:15:29"},{"AST":{"nativeSrc":"13758:72:29","nodeType":"YulBlock","src":"13758:72:29","statements":[{"nativeSrc":"13772:48:29","nodeType":"YulAssignment","src":"13772:48:29","value":{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes","nativeSrc":"13798:6:29","nodeType":"YulIdentifier","src":"13798:6:29"},{"kind":"number","nativeSrc":"13806:3:29","nodeType":"YulLiteral","src":"13806:3:29","type":"","value":"0x8"}],"functionName":{"name":"add","nativeSrc":"13794:3:29","nodeType":"YulIdentifier","src":"13794:3:29"},"nativeSrc":"13794:16:29","nodeType":"YulFunctionCall","src":"13794:16:29"},{"name":"_start","nativeSrc":"13812:6:29","nodeType":"YulIdentifier","src":"13812:6:29"}],"functionName":{"name":"add","nativeSrc":"13790:3:29","nodeType":"YulIdentifier","src":"13790:3:29"},"nativeSrc":"13790:29:29","nodeType":"YulFunctionCall","src":"13790:29:29"}],"functionName":{"name":"mload","nativeSrc":"13784:5:29","nodeType":"YulIdentifier","src":"13784:5:29"},"nativeSrc":"13784:36:29","nodeType":"YulFunctionCall","src":"13784:36:29"},"variableNames":[{"name":"tempUint","nativeSrc":"13772:8:29","nodeType":"YulIdentifier","src":"13772:8:29"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":8511,"isOffset":false,"isSlot":false,"src":"13798:6:29","valueSize":1},{"declaration":8513,"isOffset":false,"isSlot":false,"src":"13812:6:29","valueSize":1},{"declaration":8529,"isOffset":false,"isSlot":false,"src":"13772:8:29","valueSize":1}],"id":8531,"nodeType":"InlineAssembly","src":"13749:81:29"},{"expression":{"id":8532,"name":"tempUint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8529,"src":"13847:8:29","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"functionReturnParameters":8517,"id":8533,"nodeType":"Return","src":"13840:15:29"}]},"id":8535,"implemented":true,"kind":"function","modifiers":[],"name":"toUint64","nameLocation":"13566:8:29","nodeType":"FunctionDefinition","parameters":{"id":8514,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8511,"mutability":"mutable","name":"_bytes","nameLocation":"13588:6:29","nodeType":"VariableDeclaration","scope":8535,"src":"13575:19:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8510,"name":"bytes","nodeType":"ElementaryTypeName","src":"13575:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8513,"mutability":"mutable","name":"_start","nameLocation":"13604:6:29","nodeType":"VariableDeclaration","scope":8535,"src":"13596:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8512,"name":"uint256","nodeType":"ElementaryTypeName","src":"13596:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13574:37:29"},"returnParameters":{"id":8517,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8516,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8535,"src":"13635:6:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":8515,"name":"uint64","nodeType":"ElementaryTypeName","src":"13635:6:29","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"src":"13634:8:29"},"scope":8674,"src":"13557:305:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8560,"nodeType":"Block","src":"13954:220:29","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8550,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":8545,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8537,"src":"13972:6:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":8546,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13979:6:29","memberName":"length","nodeType":"MemberAccess","src":"13972:13:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8549,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8547,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8539,"src":"13989:6:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"3132","id":8548,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13998:2:29","typeDescriptions":{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"},"value":"12"},"src":"13989:11:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13972:28:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"746f55696e7439365f6f75744f66426f756e6473","id":8551,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"14002:22:29","typeDescriptions":{"typeIdentifier":"t_stringliteral_245175b34ac1d95c460f2a4fcb106dbfea12949a3cbb7ae3362c49144bb9feb7","typeString":"literal_string \"toUint96_outOfBounds\""},"value":"toUint96_outOfBounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_245175b34ac1d95c460f2a4fcb106dbfea12949a3cbb7ae3362c49144bb9feb7","typeString":"literal_string \"toUint96_outOfBounds\""}],"id":8544,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13964:7:29","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":8552,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13964:61:29","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8553,"nodeType":"ExpressionStatement","src":"13964:61:29"},{"assignments":[8555],"declarations":[{"constant":false,"id":8555,"mutability":"mutable","name":"tempUint","nameLocation":"14042:8:29","nodeType":"VariableDeclaration","scope":8560,"src":"14035:15:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"},"typeName":{"id":8554,"name":"uint96","nodeType":"ElementaryTypeName","src":"14035:6:29","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"visibility":"internal"}],"id":8556,"nodeType":"VariableDeclarationStatement","src":"14035:15:29"},{"AST":{"nativeSrc":"14070:72:29","nodeType":"YulBlock","src":"14070:72:29","statements":[{"nativeSrc":"14084:48:29","nodeType":"YulAssignment","src":"14084:48:29","value":{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes","nativeSrc":"14110:6:29","nodeType":"YulIdentifier","src":"14110:6:29"},{"kind":"number","nativeSrc":"14118:3:29","nodeType":"YulLiteral","src":"14118:3:29","type":"","value":"0xc"}],"functionName":{"name":"add","nativeSrc":"14106:3:29","nodeType":"YulIdentifier","src":"14106:3:29"},"nativeSrc":"14106:16:29","nodeType":"YulFunctionCall","src":"14106:16:29"},{"name":"_start","nativeSrc":"14124:6:29","nodeType":"YulIdentifier","src":"14124:6:29"}],"functionName":{"name":"add","nativeSrc":"14102:3:29","nodeType":"YulIdentifier","src":"14102:3:29"},"nativeSrc":"14102:29:29","nodeType":"YulFunctionCall","src":"14102:29:29"}],"functionName":{"name":"mload","nativeSrc":"14096:5:29","nodeType":"YulIdentifier","src":"14096:5:29"},"nativeSrc":"14096:36:29","nodeType":"YulFunctionCall","src":"14096:36:29"},"variableNames":[{"name":"tempUint","nativeSrc":"14084:8:29","nodeType":"YulIdentifier","src":"14084:8:29"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":8537,"isOffset":false,"isSlot":false,"src":"14110:6:29","valueSize":1},{"declaration":8539,"isOffset":false,"isSlot":false,"src":"14124:6:29","valueSize":1},{"declaration":8555,"isOffset":false,"isSlot":false,"src":"14084:8:29","valueSize":1}],"id":8557,"nodeType":"InlineAssembly","src":"14061:81:29"},{"expression":{"id":8558,"name":"tempUint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8555,"src":"14159:8:29","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"functionReturnParameters":8543,"id":8559,"nodeType":"Return","src":"14152:15:29"}]},"id":8561,"implemented":true,"kind":"function","modifiers":[],"name":"toUint96","nameLocation":"13877:8:29","nodeType":"FunctionDefinition","parameters":{"id":8540,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8537,"mutability":"mutable","name":"_bytes","nameLocation":"13899:6:29","nodeType":"VariableDeclaration","scope":8561,"src":"13886:19:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8536,"name":"bytes","nodeType":"ElementaryTypeName","src":"13886:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8539,"mutability":"mutable","name":"_start","nameLocation":"13915:6:29","nodeType":"VariableDeclaration","scope":8561,"src":"13907:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8538,"name":"uint256","nodeType":"ElementaryTypeName","src":"13907:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13885:37:29"},"returnParameters":{"id":8543,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8542,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8561,"src":"13946:6:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"},"typeName":{"id":8541,"name":"uint96","nodeType":"ElementaryTypeName","src":"13946:6:29","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"visibility":"internal"}],"src":"13945:8:29"},"scope":8674,"src":"13868:306:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8586,"nodeType":"Block","src":"14268:223:29","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8576,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":8571,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8563,"src":"14286:6:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":8572,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14293:6:29","memberName":"length","nodeType":"MemberAccess","src":"14286:13:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8575,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8573,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8565,"src":"14303:6:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"3136","id":8574,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14312:2:29","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"14303:11:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14286:28:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"746f55696e743132385f6f75744f66426f756e6473","id":8577,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"14316:23:29","typeDescriptions":{"typeIdentifier":"t_stringliteral_17474b965d7fdba029328487966488b63c32338e60aea74eafb22325bb8d90dc","typeString":"literal_string \"toUint128_outOfBounds\""},"value":"toUint128_outOfBounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_17474b965d7fdba029328487966488b63c32338e60aea74eafb22325bb8d90dc","typeString":"literal_string \"toUint128_outOfBounds\""}],"id":8570,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"14278:7:29","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":8578,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14278:62:29","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8579,"nodeType":"ExpressionStatement","src":"14278:62:29"},{"assignments":[8581],"declarations":[{"constant":false,"id":8581,"mutability":"mutable","name":"tempUint","nameLocation":"14358:8:29","nodeType":"VariableDeclaration","scope":8586,"src":"14350:16:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8580,"name":"uint128","nodeType":"ElementaryTypeName","src":"14350:7:29","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":8582,"nodeType":"VariableDeclarationStatement","src":"14350:16:29"},{"AST":{"nativeSrc":"14386:73:29","nodeType":"YulBlock","src":"14386:73:29","statements":[{"nativeSrc":"14400:49:29","nodeType":"YulAssignment","src":"14400:49:29","value":{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes","nativeSrc":"14426:6:29","nodeType":"YulIdentifier","src":"14426:6:29"},{"kind":"number","nativeSrc":"14434:4:29","nodeType":"YulLiteral","src":"14434:4:29","type":"","value":"0x10"}],"functionName":{"name":"add","nativeSrc":"14422:3:29","nodeType":"YulIdentifier","src":"14422:3:29"},"nativeSrc":"14422:17:29","nodeType":"YulFunctionCall","src":"14422:17:29"},{"name":"_start","nativeSrc":"14441:6:29","nodeType":"YulIdentifier","src":"14441:6:29"}],"functionName":{"name":"add","nativeSrc":"14418:3:29","nodeType":"YulIdentifier","src":"14418:3:29"},"nativeSrc":"14418:30:29","nodeType":"YulFunctionCall","src":"14418:30:29"}],"functionName":{"name":"mload","nativeSrc":"14412:5:29","nodeType":"YulIdentifier","src":"14412:5:29"},"nativeSrc":"14412:37:29","nodeType":"YulFunctionCall","src":"14412:37:29"},"variableNames":[{"name":"tempUint","nativeSrc":"14400:8:29","nodeType":"YulIdentifier","src":"14400:8:29"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":8563,"isOffset":false,"isSlot":false,"src":"14426:6:29","valueSize":1},{"declaration":8565,"isOffset":false,"isSlot":false,"src":"14441:6:29","valueSize":1},{"declaration":8581,"isOffset":false,"isSlot":false,"src":"14400:8:29","valueSize":1}],"id":8583,"nodeType":"InlineAssembly","src":"14377:82:29"},{"expression":{"id":8584,"name":"tempUint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8581,"src":"14476:8:29","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"functionReturnParameters":8569,"id":8585,"nodeType":"Return","src":"14469:15:29"}]},"id":8587,"implemented":true,"kind":"function","modifiers":[],"name":"toUint128","nameLocation":"14189:9:29","nodeType":"FunctionDefinition","parameters":{"id":8566,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8563,"mutability":"mutable","name":"_bytes","nameLocation":"14212:6:29","nodeType":"VariableDeclaration","scope":8587,"src":"14199:19:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8562,"name":"bytes","nodeType":"ElementaryTypeName","src":"14199:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8565,"mutability":"mutable","name":"_start","nameLocation":"14228:6:29","nodeType":"VariableDeclaration","scope":8587,"src":"14220:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8564,"name":"uint256","nodeType":"ElementaryTypeName","src":"14220:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14198:37:29"},"returnParameters":{"id":8569,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8568,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8587,"src":"14259:7:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8567,"name":"uint128","nodeType":"ElementaryTypeName","src":"14259:7:29","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"14258:9:29"},"scope":8674,"src":"14180:311:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8612,"nodeType":"Block","src":"14585:223:29","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8602,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":8597,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8589,"src":"14603:6:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":8598,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14610:6:29","memberName":"length","nodeType":"MemberAccess","src":"14603:13:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8601,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8599,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"14620:6:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"3332","id":8600,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14629:2:29","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"14620:11:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14603:28:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"746f55696e743235365f6f75744f66426f756e6473","id":8603,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"14633:23:29","typeDescriptions":{"typeIdentifier":"t_stringliteral_87a32b96294a395a4fb365d8b27a23d532fa10419cffd7dc13367cdc71bf4d7b","typeString":"literal_string \"toUint256_outOfBounds\""},"value":"toUint256_outOfBounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_87a32b96294a395a4fb365d8b27a23d532fa10419cffd7dc13367cdc71bf4d7b","typeString":"literal_string \"toUint256_outOfBounds\""}],"id":8596,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"14595:7:29","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":8604,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14595:62:29","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8605,"nodeType":"ExpressionStatement","src":"14595:62:29"},{"assignments":[8607],"declarations":[{"constant":false,"id":8607,"mutability":"mutable","name":"tempUint","nameLocation":"14675:8:29","nodeType":"VariableDeclaration","scope":8612,"src":"14667:16:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8606,"name":"uint256","nodeType":"ElementaryTypeName","src":"14667:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8608,"nodeType":"VariableDeclarationStatement","src":"14667:16:29"},{"AST":{"nativeSrc":"14703:73:29","nodeType":"YulBlock","src":"14703:73:29","statements":[{"nativeSrc":"14717:49:29","nodeType":"YulAssignment","src":"14717:49:29","value":{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes","nativeSrc":"14743:6:29","nodeType":"YulIdentifier","src":"14743:6:29"},{"kind":"number","nativeSrc":"14751:4:29","nodeType":"YulLiteral","src":"14751:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"14739:3:29","nodeType":"YulIdentifier","src":"14739:3:29"},"nativeSrc":"14739:17:29","nodeType":"YulFunctionCall","src":"14739:17:29"},{"name":"_start","nativeSrc":"14758:6:29","nodeType":"YulIdentifier","src":"14758:6:29"}],"functionName":{"name":"add","nativeSrc":"14735:3:29","nodeType":"YulIdentifier","src":"14735:3:29"},"nativeSrc":"14735:30:29","nodeType":"YulFunctionCall","src":"14735:30:29"}],"functionName":{"name":"mload","nativeSrc":"14729:5:29","nodeType":"YulIdentifier","src":"14729:5:29"},"nativeSrc":"14729:37:29","nodeType":"YulFunctionCall","src":"14729:37:29"},"variableNames":[{"name":"tempUint","nativeSrc":"14717:8:29","nodeType":"YulIdentifier","src":"14717:8:29"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":8589,"isOffset":false,"isSlot":false,"src":"14743:6:29","valueSize":1},{"declaration":8591,"isOffset":false,"isSlot":false,"src":"14758:6:29","valueSize":1},{"declaration":8607,"isOffset":false,"isSlot":false,"src":"14717:8:29","valueSize":1}],"id":8609,"nodeType":"InlineAssembly","src":"14694:82:29"},{"expression":{"id":8610,"name":"tempUint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8607,"src":"14793:8:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":8595,"id":8611,"nodeType":"Return","src":"14786:15:29"}]},"id":8613,"implemented":true,"kind":"function","modifiers":[],"name":"toUint256","nameLocation":"14506:9:29","nodeType":"FunctionDefinition","parameters":{"id":8592,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8589,"mutability":"mutable","name":"_bytes","nameLocation":"14529:6:29","nodeType":"VariableDeclaration","scope":8613,"src":"14516:19:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8588,"name":"bytes","nodeType":"ElementaryTypeName","src":"14516:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8591,"mutability":"mutable","name":"_start","nameLocation":"14545:6:29","nodeType":"VariableDeclaration","scope":8613,"src":"14537:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8590,"name":"uint256","nodeType":"ElementaryTypeName","src":"14537:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14515:37:29"},"returnParameters":{"id":8595,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8594,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8613,"src":"14576:7:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8593,"name":"uint256","nodeType":"ElementaryTypeName","src":"14576:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14575:9:29"},"scope":8674,"src":"14497:311:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8638,"nodeType":"Block","src":"14902:232:29","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8628,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":8623,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8615,"src":"14920:6:29","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":8624,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14927:6:29","memberName":"length","nodeType":"MemberAccess","src":"14920:13:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8627,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8625,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8617,"src":"14937:6:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"3332","id":8626,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14946:2:29","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"14937:11:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14920:28:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"746f427974657333325f6f75744f66426f756e6473","id":8629,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"14950:23:29","typeDescriptions":{"typeIdentifier":"t_stringliteral_95abc635681816f3b423f999d8035c1cc722b70e3d801f56cd1748a4f5810fa2","typeString":"literal_string \"toBytes32_outOfBounds\""},"value":"toBytes32_outOfBounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_95abc635681816f3b423f999d8035c1cc722b70e3d801f56cd1748a4f5810fa2","typeString":"literal_string \"toBytes32_outOfBounds\""}],"id":8622,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"14912:7:29","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":8630,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14912:62:29","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8631,"nodeType":"ExpressionStatement","src":"14912:62:29"},{"assignments":[8633],"declarations":[{"constant":false,"id":8633,"mutability":"mutable","name":"tempBytes32","nameLocation":"14992:11:29","nodeType":"VariableDeclaration","scope":8638,"src":"14984:19:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8632,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14984:7:29","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8634,"nodeType":"VariableDeclarationStatement","src":"14984:19:29"},{"AST":{"nativeSrc":"15023:76:29","nodeType":"YulBlock","src":"15023:76:29","statements":[{"nativeSrc":"15037:52:29","nodeType":"YulAssignment","src":"15037:52:29","value":{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes","nativeSrc":"15066:6:29","nodeType":"YulIdentifier","src":"15066:6:29"},{"kind":"number","nativeSrc":"15074:4:29","nodeType":"YulLiteral","src":"15074:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"15062:3:29","nodeType":"YulIdentifier","src":"15062:3:29"},"nativeSrc":"15062:17:29","nodeType":"YulFunctionCall","src":"15062:17:29"},{"name":"_start","nativeSrc":"15081:6:29","nodeType":"YulIdentifier","src":"15081:6:29"}],"functionName":{"name":"add","nativeSrc":"15058:3:29","nodeType":"YulIdentifier","src":"15058:3:29"},"nativeSrc":"15058:30:29","nodeType":"YulFunctionCall","src":"15058:30:29"}],"functionName":{"name":"mload","nativeSrc":"15052:5:29","nodeType":"YulIdentifier","src":"15052:5:29"},"nativeSrc":"15052:37:29","nodeType":"YulFunctionCall","src":"15052:37:29"},"variableNames":[{"name":"tempBytes32","nativeSrc":"15037:11:29","nodeType":"YulIdentifier","src":"15037:11:29"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":8615,"isOffset":false,"isSlot":false,"src":"15066:6:29","valueSize":1},{"declaration":8617,"isOffset":false,"isSlot":false,"src":"15081:6:29","valueSize":1},{"declaration":8633,"isOffset":false,"isSlot":false,"src":"15037:11:29","valueSize":1}],"id":8635,"nodeType":"InlineAssembly","src":"15014:85:29"},{"expression":{"id":8636,"name":"tempBytes32","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8633,"src":"15116:11:29","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":8621,"id":8637,"nodeType":"Return","src":"15109:18:29"}]},"id":8639,"implemented":true,"kind":"function","modifiers":[],"name":"toBytes32","nameLocation":"14823:9:29","nodeType":"FunctionDefinition","parameters":{"id":8618,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8615,"mutability":"mutable","name":"_bytes","nameLocation":"14846:6:29","nodeType":"VariableDeclaration","scope":8639,"src":"14833:19:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8614,"name":"bytes","nodeType":"ElementaryTypeName","src":"14833:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8617,"mutability":"mutable","name":"_start","nameLocation":"14862:6:29","nodeType":"VariableDeclaration","scope":8639,"src":"14854:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8616,"name":"uint256","nodeType":"ElementaryTypeName","src":"14854:7:29","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14832:37:29"},"returnParameters":{"id":8621,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8620,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8639,"src":"14893:7:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8619,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14893:7:29","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"14892:9:29"},"scope":8674,"src":"14814:320:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8655,"nodeType":"Block","src":"15233:1323:29","statements":[{"assignments":[8649],"declarations":[{"constant":false,"id":8649,"mutability":"mutable","name":"success","nameLocation":"15248:7:29","nodeType":"VariableDeclaration","scope":8655,"src":"15243:12:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8648,"name":"bool","nodeType":"ElementaryTypeName","src":"15243:4:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":8651,"initialValue":{"hexValue":"74727565","id":8650,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"15258:4:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"nodeType":"VariableDeclarationStatement","src":"15243:19:29"},{"AST":{"nativeSrc":"15282:1243:29","nodeType":"YulBlock","src":"15282:1243:29","statements":[{"nativeSrc":"15296:30:29","nodeType":"YulVariableDeclaration","src":"15296:30:29","value":{"arguments":[{"name":"_preBytes","nativeSrc":"15316:9:29","nodeType":"YulIdentifier","src":"15316:9:29"}],"functionName":{"name":"mload","nativeSrc":"15310:5:29","nodeType":"YulIdentifier","src":"15310:5:29"},"nativeSrc":"15310:16:29","nodeType":"YulFunctionCall","src":"15310:16:29"},"variables":[{"name":"length","nativeSrc":"15300:6:29","nodeType":"YulTypedName","src":"15300:6:29","type":""}]},{"cases":[{"body":{"nativeSrc":"15459:961:29","nodeType":"YulBlock","src":"15459:961:29","statements":[{"nativeSrc":"15688:11:29","nodeType":"YulVariableDeclaration","src":"15688:11:29","value":{"kind":"number","nativeSrc":"15698:1:29","nodeType":"YulLiteral","src":"15698:1:29","type":"","value":"1"},"variables":[{"name":"cb","nativeSrc":"15692:2:29","nodeType":"YulTypedName","src":"15692:2:29","type":""}]},{"nativeSrc":"15717:30:29","nodeType":"YulVariableDeclaration","src":"15717:30:29","value":{"arguments":[{"name":"_preBytes","nativeSrc":"15731:9:29","nodeType":"YulIdentifier","src":"15731:9:29"},{"kind":"number","nativeSrc":"15742:4:29","nodeType":"YulLiteral","src":"15742:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"15727:3:29","nodeType":"YulIdentifier","src":"15727:3:29"},"nativeSrc":"15727:20:29","nodeType":"YulFunctionCall","src":"15727:20:29"},"variables":[{"name":"mc","nativeSrc":"15721:2:29","nodeType":"YulTypedName","src":"15721:2:29","type":""}]},{"nativeSrc":"15764:26:29","nodeType":"YulVariableDeclaration","src":"15764:26:29","value":{"arguments":[{"name":"mc","nativeSrc":"15779:2:29","nodeType":"YulIdentifier","src":"15779:2:29"},{"name":"length","nativeSrc":"15783:6:29","nodeType":"YulIdentifier","src":"15783:6:29"}],"functionName":{"name":"add","nativeSrc":"15775:3:29","nodeType":"YulIdentifier","src":"15775:3:29"},"nativeSrc":"15775:15:29","nodeType":"YulFunctionCall","src":"15775:15:29"},"variables":[{"name":"end","nativeSrc":"15768:3:29","nodeType":"YulTypedName","src":"15768:3:29","type":""}]},{"body":{"nativeSrc":"16122:284:29","nodeType":"YulBlock","src":"16122:284:29","statements":[{"body":{"nativeSrc":"16258:130:29","nodeType":"YulBlock","src":"16258:130:29","statements":[{"nativeSrc":"16322:12:29","nodeType":"YulAssignment","src":"16322:12:29","value":{"kind":"number","nativeSrc":"16333:1:29","nodeType":"YulLiteral","src":"16333:1:29","type":"","value":"0"},"variableNames":[{"name":"success","nativeSrc":"16322:7:29","nodeType":"YulIdentifier","src":"16322:7:29"}]},{"nativeSrc":"16359:7:29","nodeType":"YulAssignment","src":"16359:7:29","value":{"kind":"number","nativeSrc":"16365:1:29","nodeType":"YulLiteral","src":"16365:1:29","type":"","value":"0"},"variableNames":[{"name":"cb","nativeSrc":"16359:2:29","nodeType":"YulIdentifier","src":"16359:2:29"}]}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"mc","nativeSrc":"16241:2:29","nodeType":"YulIdentifier","src":"16241:2:29"}],"functionName":{"name":"mload","nativeSrc":"16235:5:29","nodeType":"YulIdentifier","src":"16235:5:29"},"nativeSrc":"16235:9:29","nodeType":"YulFunctionCall","src":"16235:9:29"},{"arguments":[{"name":"cc","nativeSrc":"16252:2:29","nodeType":"YulIdentifier","src":"16252:2:29"}],"functionName":{"name":"mload","nativeSrc":"16246:5:29","nodeType":"YulIdentifier","src":"16246:5:29"},"nativeSrc":"16246:9:29","nodeType":"YulFunctionCall","src":"16246:9:29"}],"functionName":{"name":"eq","nativeSrc":"16232:2:29","nodeType":"YulIdentifier","src":"16232:2:29"},"nativeSrc":"16232:24:29","nodeType":"YulFunctionCall","src":"16232:24:29"}],"functionName":{"name":"iszero","nativeSrc":"16225:6:29","nodeType":"YulIdentifier","src":"16225:6:29"},"nativeSrc":"16225:32:29","nodeType":"YulFunctionCall","src":"16225:32:29"},"nativeSrc":"16222:166:29","nodeType":"YulIf","src":"16222:166:29"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"mc","nativeSrc":"16004:2:29","nodeType":"YulIdentifier","src":"16004:2:29"},{"name":"end","nativeSrc":"16008:3:29","nodeType":"YulIdentifier","src":"16008:3:29"}],"functionName":{"name":"lt","nativeSrc":"16001:2:29","nodeType":"YulIdentifier","src":"16001:2:29"},"nativeSrc":"16001:11:29","nodeType":"YulFunctionCall","src":"16001:11:29"},{"name":"cb","nativeSrc":"16014:2:29","nodeType":"YulIdentifier","src":"16014:2:29"}],"functionName":{"name":"add","nativeSrc":"15997:3:29","nodeType":"YulIdentifier","src":"15997:3:29"},"nativeSrc":"15997:20:29","nodeType":"YulFunctionCall","src":"15997:20:29"},{"kind":"number","nativeSrc":"16019:1:29","nodeType":"YulLiteral","src":"16019:1:29","type":"","value":"2"}],"functionName":{"name":"eq","nativeSrc":"15994:2:29","nodeType":"YulIdentifier","src":"15994:2:29"},"nativeSrc":"15994:27:29","nodeType":"YulFunctionCall","src":"15994:27:29"},"nativeSrc":"15808:598:29","nodeType":"YulForLoop","post":{"nativeSrc":"16022:99:29","nodeType":"YulBlock","src":"16022:99:29","statements":[{"nativeSrc":"16044:19:29","nodeType":"YulAssignment","src":"16044:19:29","value":{"arguments":[{"name":"mc","nativeSrc":"16054:2:29","nodeType":"YulIdentifier","src":"16054:2:29"},{"kind":"number","nativeSrc":"16058:4:29","nodeType":"YulLiteral","src":"16058:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"16050:3:29","nodeType":"YulIdentifier","src":"16050:3:29"},"nativeSrc":"16050:13:29","nodeType":"YulFunctionCall","src":"16050:13:29"},"variableNames":[{"name":"mc","nativeSrc":"16044:2:29","nodeType":"YulIdentifier","src":"16044:2:29"}]},{"nativeSrc":"16084:19:29","nodeType":"YulAssignment","src":"16084:19:29","value":{"arguments":[{"name":"cc","nativeSrc":"16094:2:29","nodeType":"YulIdentifier","src":"16094:2:29"},{"kind":"number","nativeSrc":"16098:4:29","nodeType":"YulLiteral","src":"16098:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"16090:3:29","nodeType":"YulIdentifier","src":"16090:3:29"},"nativeSrc":"16090:13:29","nodeType":"YulFunctionCall","src":"16090:13:29"},"variableNames":[{"name":"cc","nativeSrc":"16084:2:29","nodeType":"YulIdentifier","src":"16084:2:29"}]}]},"pre":{"nativeSrc":"15812:181:29","nodeType":"YulBlock","src":"15812:181:29","statements":[{"nativeSrc":"15834:31:29","nodeType":"YulVariableDeclaration","src":"15834:31:29","value":{"arguments":[{"name":"_postBytes","nativeSrc":"15848:10:29","nodeType":"YulIdentifier","src":"15848:10:29"},{"kind":"number","nativeSrc":"15860:4:29","nodeType":"YulLiteral","src":"15860:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"15844:3:29","nodeType":"YulIdentifier","src":"15844:3:29"},"nativeSrc":"15844:21:29","nodeType":"YulFunctionCall","src":"15844:21:29"},"variables":[{"name":"cc","nativeSrc":"15838:2:29","nodeType":"YulTypedName","src":"15838:2:29","type":""}]}]},"src":"15808:598:29"}]},"nativeSrc":"15452:968:29","nodeType":"YulCase","src":"15452:968:29","value":{"kind":"number","nativeSrc":"15457:1:29","nodeType":"YulLiteral","src":"15457:1:29","type":"","value":"1"}},{"body":{"nativeSrc":"16441:74:29","nodeType":"YulBlock","src":"16441:74:29","statements":[{"nativeSrc":"16489:12:29","nodeType":"YulAssignment","src":"16489:12:29","value":{"kind":"number","nativeSrc":"16500:1:29","nodeType":"YulLiteral","src":"16500:1:29","type":"","value":"0"},"variableNames":[{"name":"success","nativeSrc":"16489:7:29","nodeType":"YulIdentifier","src":"16489:7:29"}]}]},"nativeSrc":"16433:82:29","nodeType":"YulCase","src":"16433:82:29","value":"default"}],"expression":{"arguments":[{"name":"length","nativeSrc":"15413:6:29","nodeType":"YulIdentifier","src":"15413:6:29"},{"arguments":[{"name":"_postBytes","nativeSrc":"15427:10:29","nodeType":"YulIdentifier","src":"15427:10:29"}],"functionName":{"name":"mload","nativeSrc":"15421:5:29","nodeType":"YulIdentifier","src":"15421:5:29"},"nativeSrc":"15421:17:29","nodeType":"YulFunctionCall","src":"15421:17:29"}],"functionName":{"name":"eq","nativeSrc":"15410:2:29","nodeType":"YulIdentifier","src":"15410:2:29"},"nativeSrc":"15410:29:29","nodeType":"YulFunctionCall","src":"15410:29:29"},"nativeSrc":"15403:1112:29","nodeType":"YulSwitch","src":"15403:1112:29"}]},"evmVersion":"paris","externalReferences":[{"declaration":8643,"isOffset":false,"isSlot":false,"src":"15427:10:29","valueSize":1},{"declaration":8643,"isOffset":false,"isSlot":false,"src":"15848:10:29","valueSize":1},{"declaration":8641,"isOffset":false,"isSlot":false,"src":"15316:9:29","valueSize":1},{"declaration":8641,"isOffset":false,"isSlot":false,"src":"15731:9:29","valueSize":1},{"declaration":8649,"isOffset":false,"isSlot":false,"src":"16322:7:29","valueSize":1},{"declaration":8649,"isOffset":false,"isSlot":false,"src":"16489:7:29","valueSize":1}],"id":8652,"nodeType":"InlineAssembly","src":"15273:1252:29"},{"expression":{"id":8653,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8649,"src":"16542:7:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":8647,"id":8654,"nodeType":"Return","src":"16535:14:29"}]},"id":8656,"implemented":true,"kind":"function","modifiers":[],"name":"equal","nameLocation":"15149:5:29","nodeType":"FunctionDefinition","parameters":{"id":8644,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8641,"mutability":"mutable","name":"_preBytes","nameLocation":"15168:9:29","nodeType":"VariableDeclaration","scope":8656,"src":"15155:22:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8640,"name":"bytes","nodeType":"ElementaryTypeName","src":"15155:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8643,"mutability":"mutable","name":"_postBytes","nameLocation":"15192:10:29","nodeType":"VariableDeclaration","scope":8656,"src":"15179:23:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8642,"name":"bytes","nodeType":"ElementaryTypeName","src":"15179:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"15154:49:29"},"returnParameters":{"id":8647,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8646,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8656,"src":"15227:4:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8645,"name":"bool","nodeType":"ElementaryTypeName","src":"15227:4:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"15226:6:29"},"scope":8674,"src":"15140:1416:29","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8672,"nodeType":"Block","src":"16713:2559:29","statements":[{"assignments":[8666],"declarations":[{"constant":false,"id":8666,"mutability":"mutable","name":"success","nameLocation":"16728:7:29","nodeType":"VariableDeclaration","scope":8672,"src":"16723:12:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8665,"name":"bool","nodeType":"ElementaryTypeName","src":"16723:4:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":8668,"initialValue":{"hexValue":"74727565","id":8667,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"16738:4:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"nodeType":"VariableDeclarationStatement","src":"16723:19:29"},{"AST":{"nativeSrc":"16762:2479:29","nodeType":"YulBlock","src":"16762:2479:29","statements":[{"nativeSrc":"16821:34:29","nodeType":"YulVariableDeclaration","src":"16821:34:29","value":{"arguments":[{"name":"_preBytes.slot","nativeSrc":"16840:14:29","nodeType":"YulIdentifier","src":"16840:14:29"}],"functionName":{"name":"sload","nativeSrc":"16834:5:29","nodeType":"YulIdentifier","src":"16834:5:29"},"nativeSrc":"16834:21:29","nodeType":"YulFunctionCall","src":"16834:21:29"},"variables":[{"name":"fslot","nativeSrc":"16825:5:29","nodeType":"YulTypedName","src":"16825:5:29","type":""}]},{"nativeSrc":"16946:76:29","nodeType":"YulVariableDeclaration","src":"16946:76:29","value":{"arguments":[{"arguments":[{"name":"fslot","nativeSrc":"16969:5:29","nodeType":"YulIdentifier","src":"16969:5:29"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"16984:5:29","nodeType":"YulLiteral","src":"16984:5:29","type":"","value":"0x100"},{"arguments":[{"arguments":[{"name":"fslot","nativeSrc":"17002:5:29","nodeType":"YulIdentifier","src":"17002:5:29"},{"kind":"number","nativeSrc":"17009:1:29","nodeType":"YulLiteral","src":"17009:1:29","type":"","value":"1"}],"functionName":{"name":"and","nativeSrc":"16998:3:29","nodeType":"YulIdentifier","src":"16998:3:29"},"nativeSrc":"16998:13:29","nodeType":"YulFunctionCall","src":"16998:13:29"}],"functionName":{"name":"iszero","nativeSrc":"16991:6:29","nodeType":"YulIdentifier","src":"16991:6:29"},"nativeSrc":"16991:21:29","nodeType":"YulFunctionCall","src":"16991:21:29"}],"functionName":{"name":"mul","nativeSrc":"16980:3:29","nodeType":"YulIdentifier","src":"16980:3:29"},"nativeSrc":"16980:33:29","nodeType":"YulFunctionCall","src":"16980:33:29"},{"kind":"number","nativeSrc":"17015:1:29","nodeType":"YulLiteral","src":"17015:1:29","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"16976:3:29","nodeType":"YulIdentifier","src":"16976:3:29"},"nativeSrc":"16976:41:29","nodeType":"YulFunctionCall","src":"16976:41:29"}],"functionName":{"name":"and","nativeSrc":"16965:3:29","nodeType":"YulIdentifier","src":"16965:3:29"},"nativeSrc":"16965:53:29","nodeType":"YulFunctionCall","src":"16965:53:29"},{"kind":"number","nativeSrc":"17020:1:29","nodeType":"YulLiteral","src":"17020:1:29","type":"","value":"2"}],"functionName":{"name":"div","nativeSrc":"16961:3:29","nodeType":"YulIdentifier","src":"16961:3:29"},"nativeSrc":"16961:61:29","nodeType":"YulFunctionCall","src":"16961:61:29"},"variables":[{"name":"slength","nativeSrc":"16950:7:29","nodeType":"YulTypedName","src":"16950:7:29","type":""}]},{"nativeSrc":"17035:32:29","nodeType":"YulVariableDeclaration","src":"17035:32:29","value":{"arguments":[{"name":"_postBytes","nativeSrc":"17056:10:29","nodeType":"YulIdentifier","src":"17056:10:29"}],"functionName":{"name":"mload","nativeSrc":"17050:5:29","nodeType":"YulIdentifier","src":"17050:5:29"},"nativeSrc":"17050:17:29","nodeType":"YulFunctionCall","src":"17050:17:29"},"variables":[{"name":"mlength","nativeSrc":"17039:7:29","nodeType":"YulTypedName","src":"17039:7:29","type":""}]},{"cases":[{"body":{"nativeSrc":"17191:1945:29","nodeType":"YulBlock","src":"17191:1945:29","statements":[{"body":{"nativeSrc":"17502:1620:29","nodeType":"YulBlock","src":"17502:1620:29","statements":[{"cases":[{"body":{"nativeSrc":"17574:340:29","nodeType":"YulBlock","src":"17574:340:29","statements":[{"nativeSrc":"17667:38:29","nodeType":"YulAssignment","src":"17667:38:29","value":{"arguments":[{"arguments":[{"name":"fslot","nativeSrc":"17684:5:29","nodeType":"YulIdentifier","src":"17684:5:29"},{"kind":"number","nativeSrc":"17691:5:29","nodeType":"YulLiteral","src":"17691:5:29","type":"","value":"0x100"}],"functionName":{"name":"div","nativeSrc":"17680:3:29","nodeType":"YulIdentifier","src":"17680:3:29"},"nativeSrc":"17680:17:29","nodeType":"YulFunctionCall","src":"17680:17:29"},{"kind":"number","nativeSrc":"17699:5:29","nodeType":"YulLiteral","src":"17699:5:29","type":"","value":"0x100"}],"functionName":{"name":"mul","nativeSrc":"17676:3:29","nodeType":"YulIdentifier","src":"17676:3:29"},"nativeSrc":"17676:29:29","nodeType":"YulFunctionCall","src":"17676:29:29"},"variableNames":[{"name":"fslot","nativeSrc":"17667:5:29","nodeType":"YulIdentifier","src":"17667:5:29"}]},{"body":{"nativeSrc":"17782:110:29","nodeType":"YulBlock","src":"17782:110:29","statements":[{"nativeSrc":"17854:12:29","nodeType":"YulAssignment","src":"17854:12:29","value":{"kind":"number","nativeSrc":"17865:1:29","nodeType":"YulLiteral","src":"17865:1:29","type":"","value":"0"},"variableNames":[{"name":"success","nativeSrc":"17854:7:29","nodeType":"YulIdentifier","src":"17854:7:29"}]}]},"condition":{"arguments":[{"arguments":[{"name":"fslot","nativeSrc":"17744:5:29","nodeType":"YulIdentifier","src":"17744:5:29"},{"arguments":[{"arguments":[{"name":"_postBytes","nativeSrc":"17761:10:29","nodeType":"YulIdentifier","src":"17761:10:29"},{"kind":"number","nativeSrc":"17773:4:29","nodeType":"YulLiteral","src":"17773:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"17757:3:29","nodeType":"YulIdentifier","src":"17757:3:29"},"nativeSrc":"17757:21:29","nodeType":"YulFunctionCall","src":"17757:21:29"}],"functionName":{"name":"mload","nativeSrc":"17751:5:29","nodeType":"YulIdentifier","src":"17751:5:29"},"nativeSrc":"17751:28:29","nodeType":"YulFunctionCall","src":"17751:28:29"}],"functionName":{"name":"eq","nativeSrc":"17741:2:29","nodeType":"YulIdentifier","src":"17741:2:29"},"nativeSrc":"17741:39:29","nodeType":"YulFunctionCall","src":"17741:39:29"}],"functionName":{"name":"iszero","nativeSrc":"17734:6:29","nodeType":"YulIdentifier","src":"17734:6:29"},"nativeSrc":"17734:47:29","nodeType":"YulFunctionCall","src":"17734:47:29"},"nativeSrc":"17731:161:29","nodeType":"YulIf","src":"17731:161:29"}]},"nativeSrc":"17567:347:29","nodeType":"YulCase","src":"17567:347:29","value":{"kind":"number","nativeSrc":"17572:1:29","nodeType":"YulLiteral","src":"17572:1:29","type":"","value":"1"}},{"body":{"nativeSrc":"17943:1161:29","nodeType":"YulBlock","src":"17943:1161:29","statements":[{"nativeSrc":"18212:11:29","nodeType":"YulVariableDeclaration","src":"18212:11:29","value":{"kind":"number","nativeSrc":"18222:1:29","nodeType":"YulLiteral","src":"18222:1:29","type":"","value":"1"},"variables":[{"name":"cb","nativeSrc":"18216:2:29","nodeType":"YulTypedName","src":"18216:2:29","type":""}]},{"expression":{"arguments":[{"kind":"number","nativeSrc":"18336:3:29","nodeType":"YulLiteral","src":"18336:3:29","type":"","value":"0x0"},{"name":"_preBytes.slot","nativeSrc":"18341:14:29","nodeType":"YulIdentifier","src":"18341:14:29"}],"functionName":{"name":"mstore","nativeSrc":"18329:6:29","nodeType":"YulIdentifier","src":"18329:6:29"},"nativeSrc":"18329:27:29","nodeType":"YulFunctionCall","src":"18329:27:29"},"nativeSrc":"18329:27:29","nodeType":"YulExpressionStatement","src":"18329:27:29"},{"nativeSrc":"18381:30:29","nodeType":"YulVariableDeclaration","src":"18381:30:29","value":{"arguments":[{"kind":"number","nativeSrc":"18401:3:29","nodeType":"YulLiteral","src":"18401:3:29","type":"","value":"0x0"},{"kind":"number","nativeSrc":"18406:4:29","nodeType":"YulLiteral","src":"18406:4:29","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nativeSrc":"18391:9:29","nodeType":"YulIdentifier","src":"18391:9:29"},"nativeSrc":"18391:20:29","nodeType":"YulFunctionCall","src":"18391:20:29"},"variables":[{"name":"sc","nativeSrc":"18385:2:29","nodeType":"YulTypedName","src":"18385:2:29","type":""}]},{"nativeSrc":"18437:31:29","nodeType":"YulVariableDeclaration","src":"18437:31:29","value":{"arguments":[{"name":"_postBytes","nativeSrc":"18451:10:29","nodeType":"YulIdentifier","src":"18451:10:29"},{"kind":"number","nativeSrc":"18463:4:29","nodeType":"YulLiteral","src":"18463:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"18447:3:29","nodeType":"YulIdentifier","src":"18447:3:29"},"nativeSrc":"18447:21:29","nodeType":"YulFunctionCall","src":"18447:21:29"},"variables":[{"name":"mc","nativeSrc":"18441:2:29","nodeType":"YulTypedName","src":"18441:2:29","type":""}]},{"nativeSrc":"18493:27:29","nodeType":"YulVariableDeclaration","src":"18493:27:29","value":{"arguments":[{"name":"mc","nativeSrc":"18508:2:29","nodeType":"YulIdentifier","src":"18508:2:29"},{"name":"mlength","nativeSrc":"18512:7:29","nodeType":"YulIdentifier","src":"18512:7:29"}],"functionName":{"name":"add","nativeSrc":"18504:3:29","nodeType":"YulIdentifier","src":"18504:3:29"},"nativeSrc":"18504:16:29","nodeType":"YulFunctionCall","src":"18504:16:29"},"variables":[{"name":"end","nativeSrc":"18497:3:29","nodeType":"YulTypedName","src":"18497:3:29","type":""}]},{"body":{"nativeSrc":"18828:254:29","nodeType":"YulBlock","src":"18828:254:29","statements":[{"body":{"nativeSrc":"18894:162:29","nodeType":"YulBlock","src":"18894:162:29","statements":[{"nativeSrc":"18974:12:29","nodeType":"YulAssignment","src":"18974:12:29","value":{"kind":"number","nativeSrc":"18985:1:29","nodeType":"YulLiteral","src":"18985:1:29","type":"","value":"0"},"variableNames":[{"name":"success","nativeSrc":"18974:7:29","nodeType":"YulIdentifier","src":"18974:7:29"}]},{"nativeSrc":"19019:7:29","nodeType":"YulAssignment","src":"19019:7:29","value":{"kind":"number","nativeSrc":"19025:1:29","nodeType":"YulLiteral","src":"19025:1:29","type":"","value":"0"},"variableNames":[{"name":"cb","nativeSrc":"19019:2:29","nodeType":"YulIdentifier","src":"19019:2:29"}]}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"sc","nativeSrc":"18877:2:29","nodeType":"YulIdentifier","src":"18877:2:29"}],"functionName":{"name":"sload","nativeSrc":"18871:5:29","nodeType":"YulIdentifier","src":"18871:5:29"},"nativeSrc":"18871:9:29","nodeType":"YulFunctionCall","src":"18871:9:29"},{"arguments":[{"name":"mc","nativeSrc":"18888:2:29","nodeType":"YulIdentifier","src":"18888:2:29"}],"functionName":{"name":"mload","nativeSrc":"18882:5:29","nodeType":"YulIdentifier","src":"18882:5:29"},"nativeSrc":"18882:9:29","nodeType":"YulFunctionCall","src":"18882:9:29"}],"functionName":{"name":"eq","nativeSrc":"18868:2:29","nodeType":"YulIdentifier","src":"18868:2:29"},"nativeSrc":"18868:24:29","nodeType":"YulFunctionCall","src":"18868:24:29"}],"functionName":{"name":"iszero","nativeSrc":"18861:6:29","nodeType":"YulIdentifier","src":"18861:6:29"},"nativeSrc":"18861:32:29","nodeType":"YulFunctionCall","src":"18861:32:29"},"nativeSrc":"18858:198:29","nodeType":"YulIf","src":"18858:198:29"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"mc","nativeSrc":"18689:2:29","nodeType":"YulIdentifier","src":"18689:2:29"},{"name":"end","nativeSrc":"18693:3:29","nodeType":"YulIdentifier","src":"18693:3:29"}],"functionName":{"name":"lt","nativeSrc":"18686:2:29","nodeType":"YulIdentifier","src":"18686:2:29"},"nativeSrc":"18686:11:29","nodeType":"YulFunctionCall","src":"18686:11:29"},{"name":"cb","nativeSrc":"18699:2:29","nodeType":"YulIdentifier","src":"18699:2:29"}],"functionName":{"name":"add","nativeSrc":"18682:3:29","nodeType":"YulIdentifier","src":"18682:3:29"},"nativeSrc":"18682:20:29","nodeType":"YulFunctionCall","src":"18682:20:29"},{"kind":"number","nativeSrc":"18704:1:29","nodeType":"YulLiteral","src":"18704:1:29","type":"","value":"2"}],"functionName":{"name":"eq","nativeSrc":"18679:2:29","nodeType":"YulIdentifier","src":"18679:2:29"},"nativeSrc":"18679:27:29","nodeType":"YulFunctionCall","src":"18679:27:29"},"nativeSrc":"18672:410:29","nodeType":"YulForLoop","post":{"nativeSrc":"18707:120:29","nodeType":"YulBlock","src":"18707:120:29","statements":[{"nativeSrc":"18737:16:29","nodeType":"YulAssignment","src":"18737:16:29","value":{"arguments":[{"name":"sc","nativeSrc":"18747:2:29","nodeType":"YulIdentifier","src":"18747:2:29"},{"kind":"number","nativeSrc":"18751:1:29","nodeType":"YulLiteral","src":"18751:1:29","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"18743:3:29","nodeType":"YulIdentifier","src":"18743:3:29"},"nativeSrc":"18743:10:29","nodeType":"YulFunctionCall","src":"18743:10:29"},"variableNames":[{"name":"sc","nativeSrc":"18737:2:29","nodeType":"YulIdentifier","src":"18737:2:29"}]},{"nativeSrc":"18782:19:29","nodeType":"YulAssignment","src":"18782:19:29","value":{"arguments":[{"name":"mc","nativeSrc":"18792:2:29","nodeType":"YulIdentifier","src":"18792:2:29"},{"kind":"number","nativeSrc":"18796:4:29","nodeType":"YulLiteral","src":"18796:4:29","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"18788:3:29","nodeType":"YulIdentifier","src":"18788:3:29"},"nativeSrc":"18788:13:29","nodeType":"YulFunctionCall","src":"18788:13:29"},"variableNames":[{"name":"mc","nativeSrc":"18782:2:29","nodeType":"YulIdentifier","src":"18782:2:29"}]}]},"pre":{"nativeSrc":"18676:2:29","nodeType":"YulBlock","src":"18676:2:29","statements":[]},"src":"18672:410:29"}]},"nativeSrc":"17935:1169:29","nodeType":"YulCase","src":"17935:1169:29","value":"default"}],"expression":{"arguments":[{"name":"slength","nativeSrc":"17534:7:29","nodeType":"YulIdentifier","src":"17534:7:29"},{"kind":"number","nativeSrc":"17543:2:29","nodeType":"YulLiteral","src":"17543:2:29","type":"","value":"32"}],"functionName":{"name":"lt","nativeSrc":"17531:2:29","nodeType":"YulIdentifier","src":"17531:2:29"},"nativeSrc":"17531:15:29","nodeType":"YulFunctionCall","src":"17531:15:29"},"nativeSrc":"17524:1580:29","nodeType":"YulSwitch","src":"17524:1580:29"}]},"condition":{"arguments":[{"arguments":[{"name":"slength","nativeSrc":"17492:7:29","nodeType":"YulIdentifier","src":"17492:7:29"}],"functionName":{"name":"iszero","nativeSrc":"17485:6:29","nodeType":"YulIdentifier","src":"17485:6:29"},"nativeSrc":"17485:15:29","nodeType":"YulFunctionCall","src":"17485:15:29"}],"functionName":{"name":"iszero","nativeSrc":"17478:6:29","nodeType":"YulIdentifier","src":"17478:6:29"},"nativeSrc":"17478:23:29","nodeType":"YulFunctionCall","src":"17478:23:29"},"nativeSrc":"17475:1647:29","nodeType":"YulIf","src":"17475:1647:29"}]},"nativeSrc":"17184:1952:29","nodeType":"YulCase","src":"17184:1952:29","value":{"kind":"number","nativeSrc":"17189:1:29","nodeType":"YulLiteral","src":"17189:1:29","type":"","value":"1"}},{"body":{"nativeSrc":"19157:74:29","nodeType":"YulBlock","src":"19157:74:29","statements":[{"nativeSrc":"19205:12:29","nodeType":"YulAssignment","src":"19205:12:29","value":{"kind":"number","nativeSrc":"19216:1:29","nodeType":"YulLiteral","src":"19216:1:29","type":"","value":"0"},"variableNames":[{"name":"success","nativeSrc":"19205:7:29","nodeType":"YulIdentifier","src":"19205:7:29"}]}]},"nativeSrc":"19149:82:29","nodeType":"YulCase","src":"19149:82:29","value":"default"}],"expression":{"arguments":[{"name":"slength","nativeSrc":"17154:7:29","nodeType":"YulIdentifier","src":"17154:7:29"},{"name":"mlength","nativeSrc":"17163:7:29","nodeType":"YulIdentifier","src":"17163:7:29"}],"functionName":{"name":"eq","nativeSrc":"17151:2:29","nodeType":"YulIdentifier","src":"17151:2:29"},"nativeSrc":"17151:20:29","nodeType":"YulFunctionCall","src":"17151:20:29"},"nativeSrc":"17144:2087:29","nodeType":"YulSwitch","src":"17144:2087:29"}]},"evmVersion":"paris","externalReferences":[{"declaration":8660,"isOffset":false,"isSlot":false,"src":"17056:10:29","valueSize":1},{"declaration":8660,"isOffset":false,"isSlot":false,"src":"17761:10:29","valueSize":1},{"declaration":8660,"isOffset":false,"isSlot":false,"src":"18451:10:29","valueSize":1},{"declaration":8658,"isOffset":false,"isSlot":true,"src":"16840:14:29","suffix":"slot","valueSize":1},{"declaration":8658,"isOffset":false,"isSlot":true,"src":"18341:14:29","suffix":"slot","valueSize":1},{"declaration":8666,"isOffset":false,"isSlot":false,"src":"17854:7:29","valueSize":1},{"declaration":8666,"isOffset":false,"isSlot":false,"src":"18974:7:29","valueSize":1},{"declaration":8666,"isOffset":false,"isSlot":false,"src":"19205:7:29","valueSize":1}],"id":8669,"nodeType":"InlineAssembly","src":"16753:2488:29"},{"expression":{"id":8670,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8666,"src":"19258:7:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":8664,"id":8671,"nodeType":"Return","src":"19251:14:29"}]},"id":8673,"implemented":true,"kind":"function","modifiers":[],"name":"equalStorage","nameLocation":"16571:12:29","nodeType":"FunctionDefinition","parameters":{"id":8661,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8658,"mutability":"mutable","name":"_preBytes","nameLocation":"16607:9:29","nodeType":"VariableDeclaration","scope":8673,"src":"16593:23:29","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":8657,"name":"bytes","nodeType":"ElementaryTypeName","src":"16593:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":8660,"mutability":"mutable","name":"_postBytes","nameLocation":"16639:10:29","nodeType":"VariableDeclaration","scope":8673,"src":"16626:23:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8659,"name":"bytes","nodeType":"ElementaryTypeName","src":"16626:5:29","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"16583:72:29"},"returnParameters":{"id":8664,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8663,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8673,"src":"16703:4:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8662,"name":"bool","nodeType":"ElementaryTypeName","src":"16703:4:29","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"16702:6:29"},"scope":8674,"src":"16562:2710:29","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":8675,"src":"370:18904:29","usedErrors":[],"usedEvents":[]}],"src":"336:18939:29"},"id":29}},"contracts":{"@openzeppelin/contracts/access/AccessControl.sol":{"AccessControl":{"abi":[{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DEFAULT_ADMIN_ROLE()":"a217fddf","getRoleAdmin(bytes32)":"248a9ca3","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f","supportsInterface(bytes4)":"01ffc9a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"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: ```solidity 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}: ```solidity 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. We recommend using {AccessControlDefaultAdminRules} to enforce additional security measures for this role.\",\"errors\":{\"AccessControlBadConfirmation()\":[{\"details\":\"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\"}],\"AccessControlUnauthorizedAccount(address,bytes32)\":[{\"details\":\"The `account` is missing a role.\"}]},\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"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.\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"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`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"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.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"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 `callerConfirmation`. May emit a {RoleRevoked} event.\"},\"revokeRole(bytes32,address)\":{\"details\":\"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.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/access/AccessControl.sol\":\"AccessControl\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0xa0e92d42942f4f57c5be50568dac11e9d00c93efcb458026e18d2d9b9b2e7308\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://46326c0bb1e296b67185e81c918e0b40501b8b6386165855df0a3f3c634b6a80\",\"dweb:/ipfs/QmTwyrDYtsxsk6pymJTK94PnEpzsmkpUxFuzEiakDopy4Z\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0xc1c2a7f1563b77050dc6d507db9f4ada5d042c1f6a9ddbffdc49c77cdc0a1606\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd54abb96a6156d9a761f6fdad1d3004bc48d2d4fce47f40a3f91a7ae83fc3a1\",\"dweb:/ipfs/QmUrFSGkTDJ7WaZ6qPVVe3Gn5uN2viPb7x7QQ35UX4DofX\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]}},\"version\":1}"}},"@openzeppelin/contracts/access/IAccessControl.sol":{"IAccessControl":{"abi":[{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"getRoleAdmin(bytes32)":"248a9ca3","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"External interface of AccessControl declared to support ERC-165 detection.\",\"errors\":{\"AccessControlBadConfirmation()\":[{\"details\":\"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\"}],\"AccessControlUnauthorizedAccount(address,bytes32)\":[{\"details\":\"The `account` is missing a role.\"}]},\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"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.\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"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`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"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.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"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 `callerConfirmation`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/access/IAccessControl.sol\":\"IAccessControl\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0xc1c2a7f1563b77050dc6d507db9f4ada5d042c1f6a9ddbffdc49c77cdc0a1606\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd54abb96a6156d9a761f6fdad1d3004bc48d2d4fce47f40a3f91a7ae83fc3a1\",\"dweb:/ipfs/QmUrFSGkTDJ7WaZ6qPVVe3Gn5uN2viPb7x7QQ35UX4DofX\"]}},\"version\":1}"}},"@openzeppelin/contracts/interfaces/IERC1363.sol":{"IERC1363":{"abi":[{"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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approveAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"approveAndCall","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":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferAndCall","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":"value","type":"uint256"}],"name":"transferFrom","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":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferFromAndCall","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":"value","type":"uint256"}],"name":"transferFromAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","approveAndCall(address,uint256)":"3177029f","approveAndCall(address,uint256,bytes)":"cae9ca51","balanceOf(address)":"70a08231","supportsInterface(bytes4)":"01ffc9a7","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferAndCall(address,uint256)":"1296ee62","transferAndCall(address,uint256,bytes)":"4000aea0","transferFrom(address,address,uint256)":"23b872dd","transferFromAndCall(address,address,uint256)":"d8fbe994","transferFromAndCall(address,address,uint256,bytes)":"c1d34b89"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"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\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"transferAndCall\",\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"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\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"transferFromAndCall\",\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFromAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363]. Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"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.\"},\"approve(address,uint256)\":{\"details\":\"Sets a `value` amount of tokens 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.\"},\"approveAndCall(address,uint256)\":{\"details\":\"Sets a `value` amount of tokens as the allowance of `spender` over the caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\",\"params\":{\"spender\":\"The address which will spend the funds.\",\"value\":\"The amount of tokens to be spent.\"},\"returns\":{\"_0\":\"A boolean value indicating whether the operation succeeded unless throwing.\"}},\"approveAndCall(address,uint256,bytes)\":{\"details\":\"Sets a `value` amount of tokens as the allowance of `spender` over the caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\",\"params\":{\"data\":\"Additional data with no specified format, sent in call to `spender`.\",\"spender\":\"The address which will spend the funds.\",\"value\":\"The amount of tokens to be spent.\"},\"returns\":{\"_0\":\"A boolean value indicating whether the operation succeeded unless throwing.\"}},\"balanceOf(address)\":{\"details\":\"Returns the value of tokens owned by `account`.\"},\"supportsInterface(bytes4)\":{\"details\":\"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[ERC section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"totalSupply()\":{\"details\":\"Returns the value of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferAndCall(address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from the caller's account to `to` and then calls {IERC1363Receiver-onTransferReceived} on `to`.\",\"params\":{\"to\":\"The address which you want to transfer to.\",\"value\":\"The amount of tokens to be transferred.\"},\"returns\":{\"_0\":\"A boolean value indicating whether the operation succeeded unless throwing.\"}},\"transferAndCall(address,uint256,bytes)\":{\"details\":\"Moves a `value` amount of tokens from the caller's account to `to` and then calls {IERC1363Receiver-onTransferReceived} on `to`.\",\"params\":{\"data\":\"Additional data with no specified format, sent in call to `to`.\",\"to\":\"The address which you want to transfer to.\",\"value\":\"The amount of tokens to be transferred.\"},\"returns\":{\"_0\":\"A boolean value indicating whether the operation succeeded unless throwing.\"}},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism. `value` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFromAndCall(address,address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism and then calls {IERC1363Receiver-onTransferReceived} on `to`.\",\"params\":{\"from\":\"The address which you want to send tokens from.\",\"to\":\"The address which you want to transfer to.\",\"value\":\"The amount of tokens to be transferred.\"},\"returns\":{\"_0\":\"A boolean value indicating whether the operation succeeded unless throwing.\"}},\"transferFromAndCall(address,address,uint256,bytes)\":{\"details\":\"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism and then calls {IERC1363Receiver-onTransferReceived} on `to`.\",\"params\":{\"data\":\"Additional data with no specified format, sent in call to `to`.\",\"from\":\"The address which you want to send tokens from.\",\"to\":\"The address which you want to transfer to.\",\"value\":\"The amount of tokens to be transferred.\"},\"returns\":{\"_0\":\"A boolean value indicating whether the operation succeeded unless throwing.\"}}},\"title\":\"IERC1363\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/interfaces/IERC1363.sol\":\"IERC1363\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b\",\"dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF\"]},\"@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a\",\"dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS\"]},\"@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba\",\"dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]}},\"version\":1}"}},"@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"IERC1155Errors":{"abi":[{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC1155InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC1155InvalidApprover","type":"error"},{"inputs":[{"internalType":"uint256","name":"idsLength","type":"uint256"},{"internalType":"uint256","name":"valuesLength","type":"uint256"}],"name":"ERC1155InvalidArrayLength","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC1155InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC1155InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC1155InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC1155MissingApprovalForAll","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC1155InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC1155InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"idsLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"valuesLength\",\"type\":\"uint256\"}],\"name\":\"ERC1155InvalidArrayLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"ERC1155InvalidOperator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC1155InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC1155InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC1155MissingApprovalForAll\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Standard ERC-1155 Errors Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\",\"errors\":{\"ERC1155InsufficientBalance(address,uint256,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC1155InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC1155InvalidArrayLength(uint256,uint256)\":[{\"details\":\"Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. Used in batch transfers.\",\"params\":{\"idsLength\":\"Length of the array of token identifiers\",\"valuesLength\":\"Length of the array of token amounts\"}}],\"ERC1155InvalidOperator(address)\":[{\"details\":\"Indicates a failure with the `operator` to be approved. Used in approvals.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC1155InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC1155InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC1155MissingApprovalForAll(address,address)\":[{\"details\":\"Indicates a failure with the `operator`\\u2019s approval. Used in transfers.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\",\"owner\":\"Address of the current owner of a token.\"}}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":\"IERC1155Errors\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]}},\"version\":1}"},"IERC20Errors":{"abi":[{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Standard ERC-20 Errors Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\",\"errors\":{\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`\\u2019s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":\"IERC20Errors\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]}},\"version\":1}"},"IERC721Errors":{"abi":[{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721IncorrectOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721InsufficientApproval\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOperator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC721InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721NonexistentToken\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Standard ERC-721 Errors Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\",\"errors\":{\"ERC721IncorrectOwner(address,uint256,address)\":[{\"details\":\"Indicates an error related to the ownership over a particular token. Used in transfers.\",\"params\":{\"owner\":\"Address of the current owner of a token.\",\"sender\":\"Address whose tokens are being transferred.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InsufficientApproval(address,uint256)\":[{\"details\":\"Indicates a failure with the `operator`\\u2019s approval. Used in transfers.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC721InvalidOperator(address)\":[{\"details\":\"Indicates a failure with the `operator` to be approved. Used in approvals.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC721InvalidOwner(address)\":[{\"details\":\"Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. Used in balance queries.\",\"params\":{\"owner\":\"Address of the current owner of a token.\"}}],\"ERC721InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC721InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC721NonexistentToken(uint256)\":[{\"details\":\"Indicates a `tokenId` whose `owner` is the zero address.\",\"params\":{\"tokenId\":\"Identifier number of a token.\"}}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":\"IERC721Errors\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC20/ERC20.sol":{"ERC20":{"abi":[{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"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":"value","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":[],"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":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","name()":"06fdde03","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"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\":\"value\",\"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\":[],\"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\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"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}. 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]. The default value of {decimals} is 18. To change this, you should override this function so it returns a different value. 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 ERC-20 applications.\",\"errors\":{\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`\\u2019s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}]},\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `value` 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}.\"},\"constructor\":{\"details\":\"Sets the values for {name} and {symbol}. All two of these values are immutable: they can only be set once during construction.\"},\"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 default value returned by this function, unless it's 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}.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. 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 `value`. - the caller must have allowance for ``from``'s tokens of at least `value`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":\"ERC20\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09\",\"dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"IERC20":{"abi":[{"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":"value","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\":\"value\",\"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\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC-20 standard as defined in the ERC.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"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.\"},\"approve(address,uint256)\":{\"details\":\"Sets a `value` amount of tokens 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.\"},\"balanceOf(address)\":{\"details\":\"Returns the value of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the value of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism. `value` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"IERC20Metadata":{"abi":[{"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":"value","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":[],"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":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","name()":"06fdde03","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\":\"value\",\"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\":[],\"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\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for the optional metadata functions from the ERC-20 standard.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"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.\"},\"approve(address,uint256)\":{\"details\":\"Sets a `value` amount of tokens 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.\"},\"balanceOf(address)\":{\"details\":\"Returns the value of tokens owned by `account`.\"},\"decimals()\":{\"details\":\"Returns the decimals places of the token.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token.\"},\"totalSupply()\":{\"details\":\"Returns the value of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism. `value` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":\"IERC20Metadata\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"SafeERC20":{"abi":[{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"currentAllowance","type":"uint256"},{"internalType":"uint256","name":"requestedDecrease","type":"uint256"}],"name":"SafeERC20FailedDecreaseAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212205116383267d4d4e79a0603c2233f257ec177f623d7308e1eaddfe32e7a25b1ae64736f6c634300081c0033","opcodes":"PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL 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 MLOAD AND CODESIZE ORIGIN PUSH8 0xD4D4E79A0603C223 EXTCODEHASH 0x25 PUSH31 0xC177F623D7308E1EADDFE32E7A25B1AE64736F6C634300081C003300000000 ","sourceMap":"750:8692:9:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;750:8692:9;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212205116383267d4d4e79a0603c2233f257ec177f623d7308e1eaddfe32e7a25b1ae64736f6c634300081c0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 MLOAD AND CODESIZE ORIGIN PUSH8 0xD4D4E79A0603C223 EXTCODEHASH 0x25 PUSH31 0xC177F623D7308E1EADDFE32E7A25B1AE64736F6C634300081C003300000000 ","sourceMap":"750:8692:9:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentAllowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestedDecrease\",\"type\":\"uint256\"}],\"name\":\"SafeERC20FailedDecreaseAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Wrappers around ERC-20 operations that throw on failure (when the token contract returns false). Tokens that return no value (and instead revert or throw on failure) are also supported, non-reverting calls are assumed to be successful. To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\",\"errors\":{\"SafeERC20FailedDecreaseAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failed `decreaseAllowance` request.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}]},\"kind\":\"dev\",\"methods\":{},\"title\":\"SafeERC20\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":\"SafeERC20\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b\",\"dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF\"]},\"@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a\",\"dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS\"]},\"@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba\",\"dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862\",\"dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23\",\"dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb\"]},\"@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Address.sol":{"Address":{"abi":[{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201333407781395913d78b538b9888f1820c78688477389f7371d7ebbcb608c52d64736f6c634300081c0033","opcodes":"PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL 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 SGT CALLER BLOCKHASH PUSH24 0x81395913D78B538B9888F1820C78688477389F7371D7EBBC 0xB6 ADDMOD 0xC5 0x2D PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"233:5799:10:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;233:5799:10;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201333407781395913d78b538b9888f1820c78688477389f7371d7ebbcb608c52d64736f6c634300081c0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SGT CALLER BLOCKHASH PUSH24 0x81395913D78B538B9888F1820C78688477389F7371D7EBBC 0xB6 ADDMOD 0xC5 0x2D PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"233:5799:10:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Collection of functions related to the address type\",\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Address.sol\":\"Address\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23\",\"dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb\"]},\"@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Context.sol":{"Context":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"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.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Context.sol\":\"Context\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Errors.sol":{"Errors":{"abi":[{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[],"name":"FailedDeployment","type":"error"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"MissingPrecompile","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206e0d5922a018cc1796aca29f49cc00b7ffd8988f2d37a8dd1c233a73a7f9209864736f6c634300081c0033","opcodes":"PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL 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 PUSH15 0xD5922A018CC1796ACA29F49CC00B7 SELFDESTRUCT 0xD8 SWAP9 DUP16 0x2D CALLDATACOPY 0xA8 0xDD SHR 0x23 GASPRICE PUSH20 0xA7F9209864736F6C634300081C00330000000000 ","sourceMap":"411:484:12:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;411:484:12;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206e0d5922a018cc1796aca29f49cc00b7ffd8988f2d37a8dd1c233a73a7f9209864736f6c634300081c0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH15 0xD5922A018CC1796ACA29F49CC00B7 SELFDESTRUCT 0xD8 SWAP9 DUP16 0x2D CALLDATACOPY 0xA8 0xDD SHR 0x23 GASPRICE PUSH20 0xA7F9209864736F6C634300081C00330000000000 ","sourceMap":"411:484:12:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"FailedCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedDeployment\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"MissingPrecompile\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Collection of common custom errors used in multiple contracts IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library. It is recommended to avoid relying on the error API for critical functionality. _Available since v5.1._\",\"errors\":{\"FailedCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"FailedDeployment()\":[{\"details\":\"The deployment failed.\"}],\"InsufficientBalance(uint256,uint256)\":[{\"details\":\"The ETH balance of the account is not enough to perform the operation.\"}],\"MissingPrecompile(address)\":[{\"details\":\"A necessary precompile is missing.\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Errors.sol\":\"Errors\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Panic.sol":{"Panic":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220480443931a2b8e6d08b7f7f303a7c4e4fb18367fcb810a9dc62b284df191e4e064736f6c634300081c0033","opcodes":"PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL 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 BASEFEE DIV NUMBER SWAP4 BYTE 0x2B DUP15 PUSH14 0x8B7F7F303A7C4E4FB18367FCB81 EXP SWAP14 0xC6 0x2B 0x28 0x4D CALL SWAP2 0xE4 0xE0 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"657:1315:13:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;657:1315:13;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220480443931a2b8e6d08b7f7f303a7c4e4fb18367fcb810a9dc62b284df191e4e064736f6c634300081c0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 BASEFEE DIV NUMBER SWAP4 BYTE 0x2B DUP15 PUSH14 0x8B7F7F303A7C4E4FB18367FCB81 EXP SWAP14 0xC6 0x2B 0x28 0x4D CALL SWAP2 0xE4 0xE0 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"657:1315:13:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Helper library for emitting standardized panic codes. ```solidity contract Example {      using Panic for uint256;      // Use any of the declared internal constants      function foo() { Panic.GENERIC.panic(); }      // Alternatively      function foo() { Panic.panic(Panic.GENERIC); } } ``` Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil]. _Available since v5.1._\",\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"ARRAY_OUT_OF_BOUNDS\":{\"details\":\"array out of bounds access\"},\"ASSERT\":{\"details\":\"used by the assert() builtin\"},\"DIVISION_BY_ZERO\":{\"details\":\"division or modulo by zero\"},\"EMPTY_ARRAY_POP\":{\"details\":\"empty array pop\"},\"ENUM_CONVERSION_ERROR\":{\"details\":\"enum conversion error\"},\"GENERIC\":{\"details\":\"generic / unspecified error\"},\"INVALID_INTERNAL_FUNCTION\":{\"details\":\"calling invalid internal function\"},\"RESOURCE_ERROR\":{\"details\":\"resource error (too large allocation or too large array)\"},\"STORAGE_ENCODING_ERROR\":{\"details\":\"invalid encoding in storage\"},\"UNDER_OVERFLOW\":{\"details\":\"arithmetic underflow or overflow\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Panic.sol\":\"Panic\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"ERC165":{"abi":[{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"supportsInterface(bytes4)":"01ffc9a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of the {IERC165} interface. Contracts that want to implement ERC-165 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); } ```\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":\"ERC165\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"IERC165":{"abi":[{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"supportsInterface(bytes4)":"01ffc9a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC-165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[ERC]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"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[ERC section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/math/Math.sol":{"Math":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cb20f7331818f57669171d01c05e9360981a09eef0109f5b1278b98ffce98cb664736f6c634300081c0033","opcodes":"PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL 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 0xCB KECCAK256 0xF7 CALLER XOR XOR CREATE2 PUSH23 0x69171D01C05E9360981A09EEF0109F5B1278B98FFCE98C 0xB6 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"281:28026:16:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;281:28026:16;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cb20f7331818f57669171d01c05e9360981a09eef0109f5b1278b98ffce98cb664736f6c634300081c0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCB KECCAK256 0xF7 CALLER XOR XOR CREATE2 PUSH23 0x69171D01C05E9360981A09EEF0109F5B1278B98FFCE98C 0xB6 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"281:28026:16:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Standard math utilities missing in the Solidity language.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/math/Math.sol\":\"Math\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa00be322d7db5786750ce0ac7e2f5b633ac30a5ed5fa1ced1e74acfc19acecea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c84e822f87cbdc4082533b626667b6928715bb2b1e8e7eb96954cebb9e38c8d\",\"dweb:/ipfs/QmZmy9dgxLTerBAQDuuHqbL6EpgRxddqgv5KmwpXYVbKz1\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"SafeCast":{"abi":[{"inputs":[{"internalType":"uint8","name":"bits","type":"uint8"},{"internalType":"int256","name":"value","type":"int256"}],"name":"SafeCastOverflowedIntDowncast","type":"error"},{"inputs":[{"internalType":"int256","name":"value","type":"int256"}],"name":"SafeCastOverflowedIntToUint","type":"error"},{"inputs":[{"internalType":"uint8","name":"bits","type":"uint8"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"SafeCastOverflowedUintDowncast","type":"error"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"SafeCastOverflowedUintToInt","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f339f8e25e68a389c2a927bb23c6cb93c79c9384ea0005062ee031ef0df1d28e64736f6c634300081c0033","opcodes":"PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL 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 RETURN CODECOPY 0xF8 0xE2 MCOPY PUSH9 0xA389C2A927BB23C6CB SWAP4 0xC7 SWAP13 SWAP4 DUP5 0xEA STOP SDIV MOD 0x2E 0xE0 BALANCE 0xEF 0xD CALL 0xD2 DUP15 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"769:34173:17:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;769:34173:17;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f339f8e25e68a389c2a927bb23c6cb93c79c9384ea0005062ee031ef0df1d28e64736f6c634300081c0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 RETURN CODECOPY 0xF8 0xE2 MCOPY PUSH9 0xA389C2A927BB23C6CB SWAP4 0xC7 SWAP13 SWAP4 DUP5 0xEA STOP SDIV MOD 0x2E 0xE0 BALANCE 0xEF 0xD CALL 0xD2 DUP15 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"769:34173:17:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"int256\",\"name\":\"value\",\"type\":\"int256\"}],\"name\":\"SafeCastOverflowedIntDowncast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"value\",\"type\":\"int256\"}],\"name\":\"SafeCastOverflowedIntToUint\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintDowncast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintToInt\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow checks. Downcasting from uint256/int256 in Solidity does not revert on overflow. This can easily result in undesired exploitation or bugs, since developers usually assume that overflows raise errors. `SafeCast` restores this intuition by reverting the transaction when such an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always.\",\"errors\":{\"SafeCastOverflowedIntDowncast(uint8,int256)\":[{\"details\":\"Value doesn't fit in an int of `bits` size.\"}],\"SafeCastOverflowedIntToUint(int256)\":[{\"details\":\"An int value doesn't fit in an uint of `bits` size.\"}],\"SafeCastOverflowedUintDowncast(uint8,uint256)\":[{\"details\":\"Value doesn't fit in an uint of `bits` size.\"}],\"SafeCastOverflowedUintToInt(uint256)\":[{\"details\":\"An uint value doesn't fit in an int of `bits` size.\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/math/SafeCast.sol\":\"SafeCast\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]}},\"version\":1}"}},"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol":{"IUniswapV3SwapCallback":{"abi":[{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"uniswapV3SwapCallback(int256,int256,bytes)":"fa461e33"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"details\":\"In the implementation you must pay the pool tokens owed for the swap. The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\",\"params\":{\"amount0Delta\":\"The amount of token0 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token0 to the pool.\",\"amount1Delta\":\"The amount of token1 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token1 to the pool.\",\"data\":\"Any data passed through by the caller via the IUniswapV3PoolActions#swap call\"}}},\"title\":\"Callback for IUniswapV3PoolActions#swap\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"notice\":\"Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\"}},\"notice\":\"Any contract that calls IUniswapV3PoolActions#swap must implement this interface\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":\"IUniswapV3SwapCallback\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]}},\"version\":1}"}},"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol":{"ISwapRouter":{"abi":[{"inputs":[{"components":[{"internalType":"bytes","name":"path","type":"bytes"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"}],"internalType":"struct ISwapRouter.ExactInputParams","name":"params","type":"tuple"}],"name":"exactInput","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct ISwapRouter.ExactInputSingleParams","name":"params","type":"tuple"}],"name":"exactInputSingle","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes","name":"path","type":"bytes"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMaximum","type":"uint256"}],"internalType":"struct ISwapRouter.ExactOutputParams","name":"params","type":"tuple"}],"name":"exactOutput","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMaximum","type":"uint256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct ISwapRouter.ExactOutputSingleParams","name":"params","type":"tuple"}],"name":"exactOutputSingle","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"exactInput((bytes,address,uint256,uint256,uint256))":"c04b8d59","exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))":"414bf389","exactOutput((bytes,address,uint256,uint256,uint256))":"f28c0498","exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))":"db3e2198","uniswapV3SwapCallback(int256,int256,bytes)":"fa461e33"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"}],\"internalType\":\"struct ISwapRouter.ExactInputParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct ISwapRouter.ExactInputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"}],\"internalType\":\"struct ISwapRouter.ExactOutputParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactOutput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct ISwapRouter.ExactOutputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactOutputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"exactInput((bytes,address,uint256,uint256,uint256))\":{\"params\":{\"params\":\"The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata\"},\"returns\":{\"amountOut\":\"The amount of the received token\"}},\"exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"params\":{\"params\":\"The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata\"},\"returns\":{\"amountOut\":\"The amount of the received token\"}},\"exactOutput((bytes,address,uint256,uint256,uint256))\":{\"params\":{\"params\":\"The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata\"},\"returns\":{\"amountIn\":\"The amount of the input token\"}},\"exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"params\":{\"params\":\"The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata\"},\"returns\":{\"amountIn\":\"The amount of the input token\"}},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"details\":\"In the implementation you must pay the pool tokens owed for the swap. The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\",\"params\":{\"amount0Delta\":\"The amount of token0 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token0 to the pool.\",\"amount1Delta\":\"The amount of token1 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token1 to the pool.\",\"data\":\"Any data passed through by the caller via the IUniswapV3PoolActions#swap call\"}}},\"title\":\"Router token swapping functionality\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"exactInput((bytes,address,uint256,uint256,uint256))\":{\"notice\":\"Swaps `amountIn` of one token for as much as possible of another along the specified path\"},\"exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"notice\":\"Swaps `amountIn` of one token for as much as possible of another token\"},\"exactOutput((bytes,address,uint256,uint256,uint256))\":{\"notice\":\"Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)\"},\"exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"notice\":\"Swaps as little as possible of one token for `amountOut` of another token\"},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"notice\":\"Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\"}},\"notice\":\"Functions for swapping tokens via Uniswap V3\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol\":\"ISwapRouter\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol\":{\"keccak256\":\"0x9bfaf1feb32814623e627ab70f2409760b15d95f1f9b058e2b3399a8bb732975\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8a2c3e55965b61bcd91993d8e1d5d34b8b8a63e0fdfce87a85f6af92526fd53\",\"dweb:/ipfs/QmQj2CSCSwqDSU4KMNWxGsN2336Cy64WgpV1X1EHXNZWxM\"]}},\"version\":1}"}},"contracts/CurveRoutes.sol":{"CurveRoutes":{"abi":[{"inputs":[],"name":"AtLeastOneRoute","type":"error"},{"inputs":[],"name":"CurveRouterCantBeZero","type":"error"},{"inputs":[],"name":"InvalidLength","type":"error"},{"inputs":[{"components":[{"internalType":"address[11]","name":"route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"swapParams","type":"uint256[5][5]"},{"internalType":"address[5]","name":"pools","type":"address[5]"}],"internalType":"struct CurveRoutes.CurveRoute","name":"route","type":"tuple"}],"name":"InvalidRoute","type":"error"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"RouteNotFound","type":"error"},{"inputs":[{"internalType":"uint8","name":"nSwaps","type":"uint8"}],"name":"TooManySwaps","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122087bb89ad4a78d9cb1c581a041617f25ca700f592191296755d343912cb2e172b64736f6c634300081c0033","opcodes":"PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL 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 DUP8 0xBB DUP10 0xAD BLOBBASEFEE PUSH25 0xD9CB1C581A041617F25CA700F592191296755D343912CB2E17 0x2B PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"839:4055:20:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;839:4055:20;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122087bb89ad4a78d9cb1c581a041617f25ca700f592191296755d343912cb2e172b64736f6c634300081c0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP8 0xBB DUP10 0xAD BLOBBASEFEE PUSH25 0xD9CB1C581A041617F25CA700F592191296755D343912CB2E17 0x2B PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"839:4055:20:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"AtLeastOneRoute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CurveRouterCantBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLength\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[11]\",\"name\":\"route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"swapParams\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"address[5]\",\"name\":\"pools\",\"type\":\"address[5]\"}],\"internalType\":\"struct CurveRoutes.CurveRoute\",\"name\":\"route\",\"type\":\"tuple\"}],\"name\":\"InvalidRoute\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"}],\"name\":\"RouteNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"nSwaps\",\"type\":\"uint8\"}],\"name\":\"TooManySwaps\",\"type\":\"error\"}],\"devdoc\":{\"author\":\"Ensuro\",\"custom:security-contact\":\"security@ensuro.co\",\"details\":\"The format is a concatenation of bytes, packed (ethers.solidityPack in js) with the following fields      Fields:      <ICurveRouter router>      <uint8 numberOfRoutes>      -- for each route --      <uint8 numberOfSwaps>      <address route[i] for i in range((numberOfSwaps * 2) + 1)      <uint8 swapParam[i][j] for i in range(numberOfSwaps) for j in range(5)>      <address pool[i] for in range(numberOfSwaps)      -- end - for each route --\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Library to access a set of curve routes stored as tightly packed bytes\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/CurveRoutes.sol\":\"CurveRoutes\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/CurveRoutes.sol\":{\"keccak256\":\"0x631af8ec291043d7eef34b97a427a4f53eb46d852088f6620c46a36a7e851963\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://fbaf0f64980572d977b87b83e8bfc9c79fd1d2dc49a21e77e2a11fb8dec2413a\",\"dweb:/ipfs/QmYTpv2BroRz8PpWXYRp5KaaCXRy3tkZ95DeXybP4j3ti4\"]},\"contracts/dependencies/ICurveRouter.sol\":{\"keccak256\":\"0xf8c39f61b7459cfe6ba74d88fee74efd6d3d05d5cd64dc9eb6d08fbe0361affd\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://55f11ef7e1cc66fa2c6c2aec436ccf00a835acf4281bff4ee9b4d2cb8980c92f\",\"dweb:/ipfs/QmPfvjcbLbHwoFRFGkM5zvM25vrEvZxjwbxSUL5jm5n3pZ\"]},\"solidity-bytes-utils/contracts/BytesLib.sol\":{\"keccak256\":\"0xf75784dfc94ea43668eb195d5690a1dde1b6eda62017e73a3899721583821d29\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://ca16cef8b94f3ac75d376489a668618f6c4595a906b939d674a883f4bf426014\",\"dweb:/ipfs/QmceGU7qhyFLSejaj6i4dEtMzXDCSF3aYDtW1UeKjXQaRn\"]}},\"version\":1}"}},"contracts/P2PSwapRouter.sol":{"P2PSwapRouter":{"abi":[{"inputs":[{"internalType":"address","name":"onBehalfOf","type":"address"},{"internalType":"address","name":"admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[],"name":"AmountCannotBeZero","type":"error"},{"inputs":[],"name":"DeadlineInThePast","type":"error"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountInMaximum","type":"uint256"}],"name":"InputAmountExceedsSlippage","type":"error"},{"inputs":[],"name":"NotImplemented","type":"error"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"}],"name":"OutputAmountLessThanSlippage","type":"error"},{"inputs":[],"name":"RecipientCannotBeZero","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"TokenCannotBeZero","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"onBehalfOf","type":"address"}],"name":"OnBehalfOfChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenIn","type":"address"},{"indexed":false,"internalType":"address","name":"tokenOut","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"PriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bytes","name":"path","type":"bytes"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"}],"internalType":"struct ISwapRouter.ExactInputParams","name":"","type":"tuple"}],"name":"exactInput","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct ISwapRouter.ExactInputSingleParams","name":"params","type":"tuple"}],"name":"exactInputSingle","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes","name":"path","type":"bytes"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMaximum","type":"uint256"}],"internalType":"struct ISwapRouter.ExactOutputParams","name":"","type":"tuple"}],"name":"exactOutput","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMaximum","type":"uint256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct ISwapRouter.ExactOutputSingleParams","name":"params","type":"tuple"}],"name":"exactOutputSingle","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"getCurrentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOnBehalfOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setCurrentPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"onBehalfOf","type":"address"}],"name":"setOnBehalfOf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"pure","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_6193":{"entryPoint":null,"id":6193,"parameterSlots":2,"returnSlots":0},"@_grantRole_256":{"entryPoint":75,"id":256,"parameterSlots":2,"returnSlots":1},"@_msgSender_1906":{"entryPoint":null,"id":1906,"parameterSlots":0,"returnSlots":1},"@_setOnBehalfOf_6207":{"entryPoint":247,"id":6207,"parameterSlots":1,"returnSlots":0},"@hasRole_80":{"entryPoint":null,"id":80,"parameterSlots":2,"returnSlots":1},"abi_decode_address_fromMemory":{"entryPoint":321,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_addresst_address_fromMemory":{"entryPoint":349,"id":null,"parameterSlots":2,"returnSlots":2}},"generatedSources":[{"ast":{"nativeSrc":"0:491:30","nodeType":"YulBlock","src":"0:491:30","statements":[{"nativeSrc":"6:3:30","nodeType":"YulBlock","src":"6:3:30","statements":[]},{"body":{"nativeSrc":"74:117:30","nodeType":"YulBlock","src":"74:117:30","statements":[{"nativeSrc":"84:22:30","nodeType":"YulAssignment","src":"84:22:30","value":{"arguments":[{"name":"offset","nativeSrc":"99:6:30","nodeType":"YulIdentifier","src":"99:6:30"}],"functionName":{"name":"mload","nativeSrc":"93:5:30","nodeType":"YulIdentifier","src":"93:5:30"},"nativeSrc":"93:13:30","nodeType":"YulFunctionCall","src":"93:13:30"},"variableNames":[{"name":"value","nativeSrc":"84:5:30","nodeType":"YulIdentifier","src":"84:5:30"}]},{"body":{"nativeSrc":"169:16:30","nodeType":"YulBlock","src":"169:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"178:1:30","nodeType":"YulLiteral","src":"178:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"181:1:30","nodeType":"YulLiteral","src":"181:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"171:6:30","nodeType":"YulIdentifier","src":"171:6:30"},"nativeSrc":"171:12:30","nodeType":"YulFunctionCall","src":"171:12:30"},"nativeSrc":"171:12:30","nodeType":"YulExpressionStatement","src":"171:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"128:5:30","nodeType":"YulIdentifier","src":"128:5:30"},{"arguments":[{"name":"value","nativeSrc":"139:5:30","nodeType":"YulIdentifier","src":"139:5:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"154:3:30","nodeType":"YulLiteral","src":"154:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"159:1:30","nodeType":"YulLiteral","src":"159:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"150:3:30","nodeType":"YulIdentifier","src":"150:3:30"},"nativeSrc":"150:11:30","nodeType":"YulFunctionCall","src":"150:11:30"},{"kind":"number","nativeSrc":"163:1:30","nodeType":"YulLiteral","src":"163:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"146:3:30","nodeType":"YulIdentifier","src":"146:3:30"},"nativeSrc":"146:19:30","nodeType":"YulFunctionCall","src":"146:19:30"}],"functionName":{"name":"and","nativeSrc":"135:3:30","nodeType":"YulIdentifier","src":"135:3:30"},"nativeSrc":"135:31:30","nodeType":"YulFunctionCall","src":"135:31:30"}],"functionName":{"name":"eq","nativeSrc":"125:2:30","nodeType":"YulIdentifier","src":"125:2:30"},"nativeSrc":"125:42:30","nodeType":"YulFunctionCall","src":"125:42:30"}],"functionName":{"name":"iszero","nativeSrc":"118:6:30","nodeType":"YulIdentifier","src":"118:6:30"},"nativeSrc":"118:50:30","nodeType":"YulFunctionCall","src":"118:50:30"},"nativeSrc":"115:70:30","nodeType":"YulIf","src":"115:70:30"}]},"name":"abi_decode_address_fromMemory","nativeSrc":"14:177:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"53:6:30","nodeType":"YulTypedName","src":"53:6:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"64:5:30","nodeType":"YulTypedName","src":"64:5:30","type":""}],"src":"14:177:30"},{"body":{"nativeSrc":"294:195:30","nodeType":"YulBlock","src":"294:195:30","statements":[{"body":{"nativeSrc":"340:16:30","nodeType":"YulBlock","src":"340:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"349:1:30","nodeType":"YulLiteral","src":"349:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"352:1:30","nodeType":"YulLiteral","src":"352:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"342:6:30","nodeType":"YulIdentifier","src":"342:6:30"},"nativeSrc":"342:12:30","nodeType":"YulFunctionCall","src":"342:12:30"},"nativeSrc":"342:12:30","nodeType":"YulExpressionStatement","src":"342:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"315:7:30","nodeType":"YulIdentifier","src":"315:7:30"},{"name":"headStart","nativeSrc":"324:9:30","nodeType":"YulIdentifier","src":"324:9:30"}],"functionName":{"name":"sub","nativeSrc":"311:3:30","nodeType":"YulIdentifier","src":"311:3:30"},"nativeSrc":"311:23:30","nodeType":"YulFunctionCall","src":"311:23:30"},{"kind":"number","nativeSrc":"336:2:30","nodeType":"YulLiteral","src":"336:2:30","type":"","value":"64"}],"functionName":{"name":"slt","nativeSrc":"307:3:30","nodeType":"YulIdentifier","src":"307:3:30"},"nativeSrc":"307:32:30","nodeType":"YulFunctionCall","src":"307:32:30"},"nativeSrc":"304:52:30","nodeType":"YulIf","src":"304:52:30"},{"nativeSrc":"365:50:30","nodeType":"YulAssignment","src":"365:50:30","value":{"arguments":[{"name":"headStart","nativeSrc":"405:9:30","nodeType":"YulIdentifier","src":"405:9:30"}],"functionName":{"name":"abi_decode_address_fromMemory","nativeSrc":"375:29:30","nodeType":"YulIdentifier","src":"375:29:30"},"nativeSrc":"375:40:30","nodeType":"YulFunctionCall","src":"375:40:30"},"variableNames":[{"name":"value0","nativeSrc":"365:6:30","nodeType":"YulIdentifier","src":"365:6:30"}]},{"nativeSrc":"424:59:30","nodeType":"YulAssignment","src":"424:59:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"468:9:30","nodeType":"YulIdentifier","src":"468:9:30"},{"kind":"number","nativeSrc":"479:2:30","nodeType":"YulLiteral","src":"479:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"464:3:30","nodeType":"YulIdentifier","src":"464:3:30"},"nativeSrc":"464:18:30","nodeType":"YulFunctionCall","src":"464:18:30"}],"functionName":{"name":"abi_decode_address_fromMemory","nativeSrc":"434:29:30","nodeType":"YulIdentifier","src":"434:29:30"},"nativeSrc":"434:49:30","nodeType":"YulFunctionCall","src":"434:49:30"},"variableNames":[{"name":"value1","nativeSrc":"424:6:30","nodeType":"YulIdentifier","src":"424:6:30"}]}]},"name":"abi_decode_tuple_t_addresst_address_fromMemory","nativeSrc":"196:293:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"252:9:30","nodeType":"YulTypedName","src":"252:9:30","type":""},{"name":"dataEnd","nativeSrc":"263:7:30","nodeType":"YulTypedName","src":"263:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"275:6:30","nodeType":"YulTypedName","src":"275:6:30","type":""},{"name":"value1","nativeSrc":"283:6:30","nodeType":"YulTypedName","src":"283:6:30","type":""}],"src":"196:293:30"}]},"contents":"{\n    { }\n    function abi_decode_address_fromMemory(offset) -> value\n    {\n        value := mload(offset)\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_address_fromMemory(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := abi_decode_address_fromMemory(headStart)\n        value1 := abi_decode_address_fromMemory(add(headStart, 32))\n    }\n}","id":30,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"608060405234801561001057600080fd5b5060405161131038038061131083398101604081905261002f9161015d565b61003a60008261004b565b50610044826100f7565b5050610190565b6000828152602081815260408083206001600160a01b038516845290915281205460ff166100ed576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556100a53390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016100f1565b5060005b92915050565b600280546001600160a01b0319166001600160a01b0383169081179091556040517f0d4942cd92e3890d7c5981c00a2fad602608157938bcd2c069ce005804288e3a90600090a250565b80516001600160a01b038116811461015857600080fd5b919050565b6000806040838503121561017057600080fd5b61017983610141565b915061018760208401610141565b90509250929050565b6111718061019f6000396000f3fe6080604052600436106101145760003560e01c8063a217fddf116100a0578063db16a55511610064578063db16a55514610319578063db3e21981461035f578063f28c04981461028a578063fa461e3314610372578063fbb812791461039257600080fd5b8063a217fddf14610275578063c04b8d591461028a578063caf031811461029d578063d4b7f403146102c5578063d547741f146102f957600080fd5b8063414bf389116100e7578063414bf389146101ce5780634562e015146101e157806370eceb6a1461020157806375b238fc1461022157806391d148541461025557600080fd5b806301ffc9a714610119578063248a9ca31461014e5780632f2ff15d1461018c57806336568abe146101ae575b600080fd5b34801561012557600080fd5b50610139610134366004610d90565b6103c6565b60405190151581526020015b60405180910390f35b34801561015a57600080fd5b5061017e610169366004610dba565b60009081526020819052604090206001015490565b604051908152602001610145565b34801561019857600080fd5b506101ac6101a7366004610def565b6103fd565b005b3480156101ba57600080fd5b506101ac6101c9366004610def565b610428565b61017e6101dc366004610e34565b610460565b3480156101ed57600080fd5b506101ac6101fc366004610e51565b61066f565b34801561020d57600080fd5b506101ac61021c366004610e8d565b610757565b34801561022d57600080fd5b5061017e7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b34801561026157600080fd5b50610139610270366004610def565b61078e565b34801561028157600080fd5b5061017e600081565b61017e610298366004610eba565b6107b7565b3480156102a957600080fd5b506002546040516001600160a01b039091168152602001610145565b3480156102d157600080fd5b5061017e7f499b8dbdbe4f7b12284c4a222a9951ce4488b43af4d09f42655d67f73b612fe181565b34801561030557600080fd5b506101ac610314366004610def565b6107d2565b34801561032557600080fd5b5061017e610334366004610ef7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61017e61036d366004610e34565b6107f7565b34801561037e57600080fd5b506101ac61038d366004610f21565b6109d7565b34801561039e57600080fd5b5061017e7fc6823861ee2bb2198ce6b1fd6faf4c8f44f745bc804aca4a762f67e0d507fd8a81565b60006001600160e01b03198216637965db0b60e01b14806103f757506301ffc9a760e01b6001600160e01b03198316145b92915050565b600082815260208190526040902060010154610418816109f0565b61042283836109fd565b50505050565b6001600160a01b03811633146104515760405163334bd91960e11b815260040160405180910390fd5b61045b8282610a8f565b505050565b60007f499b8dbdbe4f7b12284c4a222a9951ce4488b43af4d09f42655d67f73b612fe161048c816109f0565b600061049e6080850160608601610e8d565b6001600160a01b0316036104c45760405162e18e7f60e71b815260040160405180910390fd5b42836080013510156104ec576040516001623859e760e21b0319815260040160405180910390fd5b60008360a00135116105115760405163d11b25af60e01b815260040160405180910390fd5b60006105aa670de0b6b3a764000060018361052f6020890189610e8d565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008760200160208101906105649190610e8d565b6001600160a01b0316815260208082019290925260400160002054906105959061059090890189610e8d565b610afa565b6105a39060a0890135610fba565b9190610b74565b90506105bf6105906040860160208701610e8d565b6105c99082610fe7565b92508260c0850135808210156106005760405163296ba6e160e01b8152600481019290925260248201526044015b60405180910390fd5b50506002546106379033906001600160a01b031660a08701356106266020890189610e8d565b6001600160a01b0316929190610c30565b600254610668906001600160a01b03166106576080870160608801610e8d565b856106266040890160208a01610e8d565b5050919050565b7fc6823861ee2bb2198ce6b1fd6faf4c8f44f745bc804aca4a762f67e0d507fd8a610699816109f0565b6001600160a01b0384166106c05760405163165a825360e21b815260040160405180910390fd5b6001600160a01b0383166106e75760405163165a825360e21b815260040160405180910390fd5b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905581519283528201929092529081018390527fb71c154260e8508e211e2ace194becba2c6d7e727c3ed292fe4787458969cd109060600160405180910390a150505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610781816109f0565b61078a82610c8a565b5050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600060405163d623472560e01b815260040160405180910390fd5b6000828152602081905260409020600101546107ed816109f0565b6104228383610a8f565b60007f499b8dbdbe4f7b12284c4a222a9951ce4488b43af4d09f42655d67f73b612fe1610823816109f0565b60006108356080850160608601610e8d565b6001600160a01b03160361085b5760405162e18e7f60e71b815260040160405180910390fd5b4283608001351015610883576040516001623859e760e21b0319815260040160405180910390fd5b60008360a00135116108a85760405163d11b25af60e01b815260040160405180910390fd5b60006109326001826108bd6020880188610e8d565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008660200160208101906108f29190610e8d565b6001600160a01b03166001600160a01b0316815260200190815260200160002054670de0b6b3a76400006105958760200160208101906105909190610e8d565b90506109446105906020860186610e8d565b61094e9082610fe7565b92508260c08501358082111561098057604051639a06025d60e01b8152600481019290925260248201526044016105f7565b50506002546109a29033906001600160a01b0316856106266020890189610e8d565b600254610668906001600160a01b03166109c26080870160608801610e8d565b60a08701356106266040890160208a01610e8d565b60405163d623472560e01b815260040160405180910390fd5b6109fa8133610cd4565b50565b6000610a09838361078e565b610a87576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055610a3f3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016103f7565b5060006103f7565b6000610a9b838361078e565b15610a87576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016103f7565b6000816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5e9190611009565b610b6990601261102c565b6103f790600a61112c565b6000838302816000198587098281108382030391505080600003610bab57838281610ba157610ba1610fd1565b0492505050610c29565b808411610bc257610bc26003851502601118610d0d565b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150505b9392505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610422908590610d1f565b600280546001600160a01b0319166001600160a01b0383169081179091556040517f0d4942cd92e3890d7c5981c00a2fad602608157938bcd2c069ce005804288e3a90600090a250565b610cde828261078e565b61078a5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016105f7565b634e487b71600052806020526024601cfd5b600080602060008451602086016000885af180610d42576040513d6000823e3d81fd5b50506000513d91508115610d5a578060011415610d67565b6001600160a01b0384163b155b1561042257604051635274afe760e01b81526001600160a01b03851660048201526024016105f7565b600060208284031215610da257600080fd5b81356001600160e01b031981168114610c2957600080fd5b600060208284031215610dcc57600080fd5b5035919050565b80356001600160a01b0381168114610dea57600080fd5b919050565b60008060408385031215610e0257600080fd5b82359150610e1260208401610dd3565b90509250929050565b60006101008284031215610e2e57600080fd5b50919050565b60006101008284031215610e4757600080fd5b610c298383610e1b565b600080600060608486031215610e6657600080fd5b610e6f84610dd3565b9250610e7d60208501610dd3565b9150604084013590509250925092565b600060208284031215610e9f57600080fd5b610c2982610dd3565b600060a08284031215610e2e57600080fd5b600060208284031215610ecc57600080fd5b813567ffffffffffffffff811115610ee357600080fd5b610eef84828501610ea8565b949350505050565b60008060408385031215610f0a57600080fd5b610f1383610dd3565b9150610e1260208401610dd3565b60008060008060608587031215610f3757600080fd5b8435935060208501359250604085013567ffffffffffffffff811115610f5c57600080fd5b8501601f81018713610f6d57600080fd5b803567ffffffffffffffff811115610f8457600080fd5b876020828401011115610f9657600080fd5b949793965060200194505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176103f7576103f7610fa4565b634e487b7160e01b600052601260045260246000fd5b60008261100457634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561101b57600080fd5b815160ff81168114610c2957600080fd5b60ff82811682821603908111156103f7576103f7610fa4565b6001815b60018411156110805780850481111561106457611064610fa4565b600184161561107257908102905b60019390931c928002611049565b935093915050565b600082611097575060016103f7565b816110a4575060006103f7565b81600181146110ba57600281146110c4576110e0565b60019150506103f7565b60ff8411156110d5576110d5610fa4565b50506001821b6103f7565b5060208310610133831016604e8410600b8410161715611103575081810a6103f7565b6111106000198484611045565b806000190482111561112457611124610fa4565b029392505050565b6000610c2960ff84168361108856fea26469706673582212206d9746c70bd3433da28d4c5a2bf320425ef91dd5829793f88ed83f518e37788064736f6c634300081c0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x1310 CODESIZE SUB DUP1 PUSH2 0x1310 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x2F SWAP2 PUSH2 0x15D JUMP JUMPDEST PUSH2 0x3A PUSH1 0x0 DUP3 PUSH2 0x4B JUMP JUMPDEST POP PUSH2 0x44 DUP3 PUSH2 0xF7 JUMP JUMPDEST POP POP PUSH2 0x190 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0xED JUMPI PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0xA5 CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP PUSH1 0x1 PUSH2 0xF1 JUMP JUMPDEST POP PUSH1 0x0 JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x40 MLOAD PUSH32 0xD4942CD92E3890D7C5981C00A2FAD602608157938BCD2C069CE005804288E3A SWAP1 PUSH1 0x0 SWAP1 LOG2 POP JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x158 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x170 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x179 DUP4 PUSH2 0x141 JUMP JUMPDEST SWAP2 POP PUSH2 0x187 PUSH1 0x20 DUP5 ADD PUSH2 0x141 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x1171 DUP1 PUSH2 0x19F PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x114 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA217FDDF GT PUSH2 0xA0 JUMPI DUP1 PUSH4 0xDB16A555 GT PUSH2 0x64 JUMPI DUP1 PUSH4 0xDB16A555 EQ PUSH2 0x319 JUMPI DUP1 PUSH4 0xDB3E2198 EQ PUSH2 0x35F JUMPI DUP1 PUSH4 0xF28C0498 EQ PUSH2 0x28A JUMPI DUP1 PUSH4 0xFA461E33 EQ PUSH2 0x372 JUMPI DUP1 PUSH4 0xFBB81279 EQ PUSH2 0x392 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x275 JUMPI DUP1 PUSH4 0xC04B8D59 EQ PUSH2 0x28A JUMPI DUP1 PUSH4 0xCAF03181 EQ PUSH2 0x29D JUMPI DUP1 PUSH4 0xD4B7F403 EQ PUSH2 0x2C5 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x2F9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x414BF389 GT PUSH2 0xE7 JUMPI DUP1 PUSH4 0x414BF389 EQ PUSH2 0x1CE JUMPI DUP1 PUSH4 0x4562E015 EQ PUSH2 0x1E1 JUMPI DUP1 PUSH4 0x70ECEB6A EQ PUSH2 0x201 JUMPI DUP1 PUSH4 0x75B238FC EQ PUSH2 0x221 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x255 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x119 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x14E JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x18C JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x1AE JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x125 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x139 PUSH2 0x134 CALLDATASIZE PUSH1 0x4 PUSH2 0xD90 JUMP JUMPDEST PUSH2 0x3C6 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x15A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH2 0x169 CALLDATASIZE PUSH1 0x4 PUSH2 0xDBA JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x145 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x198 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x1A7 CALLDATASIZE PUSH1 0x4 PUSH2 0xDEF JUMP JUMPDEST PUSH2 0x3FD JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x1C9 CALLDATASIZE PUSH1 0x4 PUSH2 0xDEF JUMP JUMPDEST PUSH2 0x428 JUMP JUMPDEST PUSH2 0x17E PUSH2 0x1DC CALLDATASIZE PUSH1 0x4 PUSH2 0xE34 JUMP JUMPDEST PUSH2 0x460 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1ED JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x1FC CALLDATASIZE PUSH1 0x4 PUSH2 0xE51 JUMP JUMPDEST PUSH2 0x66F JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x20D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x21C CALLDATASIZE PUSH1 0x4 PUSH2 0xE8D JUMP JUMPDEST PUSH2 0x757 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x22D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH32 0xA49807205CE4D355092EF5A8A18F56E8913CF4A201FBE287825B095693C21775 DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x261 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x139 PUSH2 0x270 CALLDATASIZE PUSH1 0x4 PUSH2 0xDEF JUMP JUMPDEST PUSH2 0x78E JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x281 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x17E PUSH2 0x298 CALLDATASIZE PUSH1 0x4 PUSH2 0xEBA JUMP JUMPDEST PUSH2 0x7B7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2A9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x145 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2D1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH32 0x499B8DBDBE4F7B12284C4A222A9951CE4488B43AF4D09F42655D67F73B612FE1 DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x305 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x314 CALLDATASIZE PUSH1 0x4 PUSH2 0xDEF JUMP JUMPDEST PUSH2 0x7D2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x325 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH2 0x334 CALLDATASIZE PUSH1 0x4 PUSH2 0xEF7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x17E PUSH2 0x36D CALLDATASIZE PUSH1 0x4 PUSH2 0xE34 JUMP JUMPDEST PUSH2 0x7F7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x37E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x38D CALLDATASIZE PUSH1 0x4 PUSH2 0xF21 JUMP JUMPDEST PUSH2 0x9D7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x39E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH32 0xC6823861EE2BB2198CE6B1FD6FAF4C8F44F745BC804ACA4A762F67E0D507FD8A DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x3F7 JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x418 DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH2 0x422 DUP4 DUP4 PUSH2 0x9FD JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x451 JUMPI PUSH1 0x40 MLOAD PUSH4 0x334BD919 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x45B DUP3 DUP3 PUSH2 0xA8F JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH32 0x499B8DBDBE4F7B12284C4A222A9951CE4488B43AF4D09F42655D67F73B612FE1 PUSH2 0x48C DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x49E PUSH1 0x80 DUP6 ADD PUSH1 0x60 DUP7 ADD PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x4C4 JUMPI PUSH1 0x40 MLOAD PUSH3 0xE18E7F PUSH1 0xE7 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP4 PUSH1 0x80 ADD CALLDATALOAD LT ISZERO PUSH2 0x4EC JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH3 0x3859E7 PUSH1 0xE2 SHL SUB NOT DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP4 PUSH1 0xA0 ADD CALLDATALOAD GT PUSH2 0x511 JUMPI PUSH1 0x40 MLOAD PUSH4 0xD11B25AF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x5AA PUSH8 0xDE0B6B3A7640000 PUSH1 0x1 DUP4 PUSH2 0x52F PUSH1 0x20 DUP10 ADD DUP10 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP8 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x564 SWAP2 SWAP1 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x40 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 PUSH2 0x595 SWAP1 PUSH2 0x590 SWAP1 DUP10 ADD DUP10 PUSH2 0xE8D JUMP JUMPDEST PUSH2 0xAFA JUMP JUMPDEST PUSH2 0x5A3 SWAP1 PUSH1 0xA0 DUP10 ADD CALLDATALOAD PUSH2 0xFBA JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0xB74 JUMP JUMPDEST SWAP1 POP PUSH2 0x5BF PUSH2 0x590 PUSH1 0x40 DUP7 ADD PUSH1 0x20 DUP8 ADD PUSH2 0xE8D JUMP JUMPDEST PUSH2 0x5C9 SWAP1 DUP3 PUSH2 0xFE7 JUMP JUMPDEST SWAP3 POP DUP3 PUSH1 0xC0 DUP6 ADD CALLDATALOAD DUP1 DUP3 LT ISZERO PUSH2 0x600 JUMPI PUSH1 0x40 MLOAD PUSH4 0x296BA6E1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH2 0x637 SWAP1 CALLER SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0xA0 DUP8 ADD CALLDATALOAD PUSH2 0x626 PUSH1 0x20 DUP10 ADD DUP10 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 SWAP2 SWAP1 PUSH2 0xC30 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH2 0x668 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x657 PUSH1 0x80 DUP8 ADD PUSH1 0x60 DUP9 ADD PUSH2 0xE8D JUMP JUMPDEST DUP6 PUSH2 0x626 PUSH1 0x40 DUP10 ADD PUSH1 0x20 DUP11 ADD PUSH2 0xE8D JUMP JUMPDEST POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0xC6823861EE2BB2198CE6B1FD6FAF4C8F44F745BC804ACA4A762F67E0D507FD8A PUSH2 0x699 DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x6C0 JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x6E7 JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP9 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP7 SWAP1 SSTORE DUP2 MLOAD SWAP3 DUP4 MSTORE DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP1 DUP2 ADD DUP4 SWAP1 MSTORE PUSH32 0xB71C154260E8508E211E2ACE194BECBA2C6D7E727C3ED292FE4787458969CD10 SWAP1 PUSH1 0x60 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP JUMP JUMPDEST PUSH32 0xA49807205CE4D355092EF5A8A18F56E8913CF4A201FBE287825B095693C21775 PUSH2 0x781 DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH2 0x78A DUP3 PUSH2 0xC8A JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH4 0xD6234725 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x7ED DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH2 0x422 DUP4 DUP4 PUSH2 0xA8F JUMP JUMPDEST PUSH1 0x0 PUSH32 0x499B8DBDBE4F7B12284C4A222A9951CE4488B43AF4D09F42655D67F73B612FE1 PUSH2 0x823 DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x835 PUSH1 0x80 DUP6 ADD PUSH1 0x60 DUP7 ADD PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x85B JUMPI PUSH1 0x40 MLOAD PUSH3 0xE18E7F PUSH1 0xE7 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP4 PUSH1 0x80 ADD CALLDATALOAD LT ISZERO PUSH2 0x883 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH3 0x3859E7 PUSH1 0xE2 SHL SUB NOT DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP4 PUSH1 0xA0 ADD CALLDATALOAD GT PUSH2 0x8A8 JUMPI PUSH1 0x40 MLOAD PUSH4 0xD11B25AF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x932 PUSH1 0x1 DUP3 PUSH2 0x8BD PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP7 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x8F2 SWAP2 SWAP1 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD PUSH8 0xDE0B6B3A7640000 PUSH2 0x595 DUP8 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x590 SWAP2 SWAP1 PUSH2 0xE8D JUMP JUMPDEST SWAP1 POP PUSH2 0x944 PUSH2 0x590 PUSH1 0x20 DUP7 ADD DUP7 PUSH2 0xE8D JUMP JUMPDEST PUSH2 0x94E SWAP1 DUP3 PUSH2 0xFE7 JUMP JUMPDEST SWAP3 POP DUP3 PUSH1 0xC0 DUP6 ADD CALLDATALOAD DUP1 DUP3 GT ISZERO PUSH2 0x980 JUMPI PUSH1 0x40 MLOAD PUSH4 0x9A06025D PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x5F7 JUMP JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH2 0x9A2 SWAP1 CALLER SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 PUSH2 0x626 PUSH1 0x20 DUP10 ADD DUP10 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH2 0x668 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x9C2 PUSH1 0x80 DUP8 ADD PUSH1 0x60 DUP9 ADD PUSH2 0xE8D JUMP JUMPDEST PUSH1 0xA0 DUP8 ADD CALLDATALOAD PUSH2 0x626 PUSH1 0x40 DUP10 ADD PUSH1 0x20 DUP11 ADD PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xD6234725 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x9FA DUP2 CALLER PUSH2 0xCD4 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA09 DUP4 DUP4 PUSH2 0x78E JUMP JUMPDEST PUSH2 0xA87 JUMPI PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0xA3F CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP PUSH1 0x1 PUSH2 0x3F7 JUMP JUMPDEST POP PUSH1 0x0 PUSH2 0x3F7 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA9B DUP4 DUP4 PUSH2 0x78E JUMP JUMPDEST ISZERO PUSH2 0xA87 JUMPI PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP7 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP PUSH1 0x1 PUSH2 0x3F7 JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x313CE567 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xB3A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB5E SWAP2 SWAP1 PUSH2 0x1009 JUMP JUMPDEST PUSH2 0xB69 SWAP1 PUSH1 0x12 PUSH2 0x102C JUMP JUMPDEST PUSH2 0x3F7 SWAP1 PUSH1 0xA PUSH2 0x112C JUMP JUMPDEST PUSH1 0x0 DUP4 DUP4 MUL DUP2 PUSH1 0x0 NOT DUP6 DUP8 MULMOD DUP3 DUP2 LT DUP4 DUP3 SUB SUB SWAP2 POP POP DUP1 PUSH1 0x0 SUB PUSH2 0xBAB JUMPI DUP4 DUP3 DUP2 PUSH2 0xBA1 JUMPI PUSH2 0xBA1 PUSH2 0xFD1 JUMP JUMPDEST DIV SWAP3 POP POP POP PUSH2 0xC29 JUMP JUMPDEST DUP1 DUP5 GT PUSH2 0xBC2 JUMPI PUSH2 0xBC2 PUSH1 0x3 DUP6 ISZERO MUL PUSH1 0x11 XOR PUSH2 0xD0D JUMP JUMPDEST PUSH1 0x0 DUP5 DUP7 DUP9 MULMOD PUSH1 0x0 DUP7 DUP2 SUB DUP8 AND SWAP7 DUP8 SWAP1 DIV SWAP7 PUSH1 0x2 PUSH1 0x3 DUP10 MUL DUP2 XOR DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL SWAP1 SWAP2 SUB MUL SWAP2 DUP2 SWAP1 SUB DUP2 SWAP1 DIV PUSH1 0x1 ADD DUP7 DUP5 GT SWAP1 SWAP6 SUB SWAP5 SWAP1 SWAP5 MUL SWAP2 SWAP1 SWAP5 SUB SWAP3 SWAP1 SWAP3 DIV SWAP2 SWAP1 SWAP2 OR SWAP2 SWAP1 SWAP2 MUL SWAP2 POP POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE DUP5 AND PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 DUP1 DUP3 ADD DUP5 SWAP1 MSTORE DUP3 MLOAD DUP1 DUP4 SUB SWAP1 SWAP2 ADD DUP2 MSTORE PUSH1 0x84 SWAP1 SWAP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH4 0x23B872DD PUSH1 0xE0 SHL OR SWAP1 MSTORE PUSH2 0x422 SWAP1 DUP6 SWAP1 PUSH2 0xD1F JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x40 MLOAD PUSH32 0xD4942CD92E3890D7C5981C00A2FAD602608157938BCD2C069CE005804288E3A SWAP1 PUSH1 0x0 SWAP1 LOG2 POP JUMP JUMPDEST PUSH2 0xCDE DUP3 DUP3 PUSH2 0x78E JUMP JUMPDEST PUSH2 0x78A JUMPI PUSH1 0x40 MLOAD PUSH4 0xE2517D3F PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x44 ADD PUSH2 0x5F7 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0x0 MSTORE DUP1 PUSH1 0x20 MSTORE PUSH1 0x24 PUSH1 0x1C REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x20 PUSH1 0x0 DUP5 MLOAD PUSH1 0x20 DUP7 ADD PUSH1 0x0 DUP9 GAS CALL DUP1 PUSH2 0xD42 JUMPI PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE DUP2 REVERT JUMPDEST POP POP PUSH1 0x0 MLOAD RETURNDATASIZE SWAP2 POP DUP2 ISZERO PUSH2 0xD5A JUMPI DUP1 PUSH1 0x1 EQ ISZERO PUSH2 0xD67 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EXTCODESIZE ISZERO JUMPDEST ISZERO PUSH2 0x422 JUMPI PUSH1 0x40 MLOAD PUSH4 0x5274AFE7 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x5F7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xDA2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0xC29 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xDCC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xDEA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xE02 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH2 0xE12 PUSH1 0x20 DUP5 ADD PUSH2 0xDD3 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x100 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xE2E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x100 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xE47 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC29 DUP4 DUP4 PUSH2 0xE1B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xE66 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xE6F DUP5 PUSH2 0xDD3 JUMP JUMPDEST SWAP3 POP PUSH2 0xE7D PUSH1 0x20 DUP6 ADD PUSH2 0xDD3 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xE9F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC29 DUP3 PUSH2 0xDD3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA0 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xE2E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xECC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xEE3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xEEF DUP5 DUP3 DUP6 ADD PUSH2 0xEA8 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xF0A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF13 DUP4 PUSH2 0xDD3 JUMP JUMPDEST SWAP2 POP PUSH2 0xE12 PUSH1 0x20 DUP5 ADD PUSH2 0xDD3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x60 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xF37 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xF5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 ADD PUSH1 0x1F DUP2 ADD DUP8 SGT PUSH2 0xF6D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xF84 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 PUSH1 0x20 DUP3 DUP5 ADD ADD GT ISZERO PUSH2 0xF96 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP PUSH1 0x20 ADD SWAP5 POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x3F7 JUMPI PUSH2 0x3F7 PUSH2 0xFA4 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x1004 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x101B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0xC29 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0xFF DUP3 DUP2 AND DUP3 DUP3 AND SUB SWAP1 DUP2 GT ISZERO PUSH2 0x3F7 JUMPI PUSH2 0x3F7 PUSH2 0xFA4 JUMP JUMPDEST PUSH1 0x1 DUP2 JUMPDEST PUSH1 0x1 DUP5 GT ISZERO PUSH2 0x1080 JUMPI DUP1 DUP6 DIV DUP2 GT ISZERO PUSH2 0x1064 JUMPI PUSH2 0x1064 PUSH2 0xFA4 JUMP JUMPDEST PUSH1 0x1 DUP5 AND ISZERO PUSH2 0x1072 JUMPI SWAP1 DUP2 MUL SWAP1 JUMPDEST PUSH1 0x1 SWAP4 SWAP1 SWAP4 SHR SWAP3 DUP1 MUL PUSH2 0x1049 JUMP JUMPDEST SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x1097 JUMPI POP PUSH1 0x1 PUSH2 0x3F7 JUMP JUMPDEST DUP2 PUSH2 0x10A4 JUMPI POP PUSH1 0x0 PUSH2 0x3F7 JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH2 0x10BA JUMPI PUSH1 0x2 DUP2 EQ PUSH2 0x10C4 JUMPI PUSH2 0x10E0 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH2 0x3F7 JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH2 0x10D5 JUMPI PUSH2 0x10D5 PUSH2 0xFA4 JUMP JUMPDEST POP POP PUSH1 0x1 DUP3 SHL PUSH2 0x3F7 JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH2 0x1103 JUMPI POP DUP2 DUP2 EXP PUSH2 0x3F7 JUMP JUMPDEST PUSH2 0x1110 PUSH1 0x0 NOT DUP5 DUP5 PUSH2 0x1045 JUMP JUMPDEST DUP1 PUSH1 0x0 NOT DIV DUP3 GT ISZERO PUSH2 0x1124 JUMPI PUSH2 0x1124 PUSH2 0xFA4 JUMP JUMPDEST MUL SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC29 PUSH1 0xFF DUP5 AND DUP4 PUSH2 0x1088 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH14 0x9746C70BD3433DA28D4C5A2BF320 TIMESTAMP MCOPY 0xF9 SAR 0xD5 DUP3 SWAP8 SWAP4 0xF8 DUP15 0xD8 EXTCODEHASH MLOAD DUP15 CALLDATACOPY PUSH25 0x8064736F6C634300081C003300000000000000000000000000 ","sourceMap":"737:3827:21:-:0;;;1356:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1409:37;2232:4:0;1440:5:21;1409:10;:37::i;:::-;-1:-1:-1;1452:26:21;1467:10;1452:14;:26::i;:::-;1356:127;;737:3827;;6179:316:0;6256:4;2954:12;;;;;;;;;;;-1:-1:-1;;;;;2954:29:0;;;;;;;;;;;;6272:217;;6315:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6315:29:0;;;;;;;;;:36;;-1:-1:-1;;6315:36:0;6347:4;6315:36;;;6397:12;735:10:11;;656:96;6397:12:0;-1:-1:-1;;;;;6370:40:0;6388:7;-1:-1:-1;;;;;6370:40:0;6382:4;6370:40;;;;;;;;;;-1:-1:-1;6431:4:0;6424:11;;6272:217;-1:-1:-1;6473:5:0;6272:217;6179:316;;;;:::o;1487:128:21:-;1546:11;:24;;-1:-1:-1;;;;;;1546:24:21;-1:-1:-1;;;;;1546:24:21;;;;;;;;1581:29;;;;-1:-1:-1;;1581:29:21;1487:128;:::o;14:177:30:-;93:13;;-1:-1:-1;;;;;135:31:30;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:293::-;275:6;283;336:2;324:9;315:7;311:23;307:32;304:52;;;352:1;349;342:12;304:52;375:40;405:9;375:40;:::i;:::-;365:50;;434:49;479:2;468:9;464:18;434:49;:::i;:::-;424:59;;196:293;;;;;:::o;:::-;737:3827:21;;;;;;"},"deployedBytecode":{"functionDebugData":{"@ADMIN_ROLE_6156":{"entryPoint":null,"id":6156,"parameterSlots":0,"returnSlots":0},"@DEFAULT_ADMIN_ROLE_29":{"entryPoint":null,"id":29,"parameterSlots":0,"returnSlots":0},"@PRICER_ROLE_6151":{"entryPoint":null,"id":6151,"parameterSlots":0,"returnSlots":0},"@SWAP_ROLE_6146":{"entryPoint":null,"id":6146,"parameterSlots":0,"returnSlots":0},"@_callOptionalReturn_1593":{"entryPoint":3359,"id":1593,"parameterSlots":2,"returnSlots":0},"@_checkRole_114":{"entryPoint":3284,"id":114,"parameterSlots":2,"returnSlots":0},"@_checkRole_93":{"entryPoint":2544,"id":93,"parameterSlots":1,"returnSlots":0},"@_grantRole_256":{"entryPoint":2557,"id":256,"parameterSlots":2,"returnSlots":1},"@_msgSender_1906":{"entryPoint":null,"id":1906,"parameterSlots":0,"returnSlots":1},"@_revokeRole_294":{"entryPoint":2703,"id":294,"parameterSlots":2,"returnSlots":1},"@_setOnBehalfOf_6207":{"entryPoint":3210,"id":6207,"parameterSlots":1,"returnSlots":0},"@_toWadFactor_6235":{"entryPoint":2810,"id":6235,"parameterSlots":1,"returnSlots":1},"@exactInputSingle_6343":{"entryPoint":1120,"id":6343,"parameterSlots":1,"returnSlots":1},"@exactInput_6553":{"entryPoint":1975,"id":6553,"parameterSlots":1,"returnSlots":1},"@exactOutputSingle_6451":{"entryPoint":2039,"id":6451,"parameterSlots":1,"returnSlots":1},"@exactOutput_6541":{"entryPoint":null,"id":6541,"parameterSlots":1,"returnSlots":1},"@getCurrentPrice_6516":{"entryPoint":null,"id":6516,"parameterSlots":2,"returnSlots":1},"@getOnBehalfOf_6215":{"entryPoint":null,"id":6215,"parameterSlots":0,"returnSlots":1},"@getRoleAdmin_128":{"entryPoint":null,"id":128,"parameterSlots":1,"returnSlots":1},"@grantRole_147":{"entryPoint":1021,"id":147,"parameterSlots":2,"returnSlots":0},"@hasRole_80":{"entryPoint":1934,"id":80,"parameterSlots":2,"returnSlots":1},"@mulDiv_2470":{"entryPoint":2932,"id":2470,"parameterSlots":3,"returnSlots":1},"@panic_1997":{"entryPoint":3341,"id":1997,"parameterSlots":1,"returnSlots":0},"@renounceRole_189":{"entryPoint":1064,"id":189,"parameterSlots":2,"returnSlots":0},"@revokeRole_166":{"entryPoint":2002,"id":166,"parameterSlots":2,"returnSlots":0},"@safeTransferFrom_1298":{"entryPoint":3120,"id":1298,"parameterSlots":4,"returnSlots":0},"@setCurrentPrice_6500":{"entryPoint":1647,"id":6500,"parameterSlots":3,"returnSlots":0},"@setOnBehalfOf_6529":{"entryPoint":1879,"id":6529,"parameterSlots":1,"returnSlots":0},"@supportsInterface_2021":{"entryPoint":null,"id":2021,"parameterSlots":1,"returnSlots":1},"@supportsInterface_62":{"entryPoint":966,"id":62,"parameterSlots":1,"returnSlots":1},"@ternary_2231":{"entryPoint":null,"id":2231,"parameterSlots":3,"returnSlots":1},"@toUint_5404":{"entryPoint":null,"id":5404,"parameterSlots":1,"returnSlots":1},"@uniswapV3SwapCallback_6567":{"entryPoint":2519,"id":6567,"parameterSlots":4,"returnSlots":0},"abi_decode_address":{"entryPoint":3539,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_struct_ExactInputParams_calldata":{"entryPoint":3752,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_struct_ExactInputSingleParams_calldata":{"entryPoint":3611,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_address":{"entryPoint":3725,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_address":{"entryPoint":3831,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_addresst_uint256":{"entryPoint":3665,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_bytes32":{"entryPoint":3514,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_bytes32t_address":{"entryPoint":3567,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_bytes4":{"entryPoint":3472,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_int256t_int256t_bytes_calldata_ptr":{"entryPoint":3873,"id":null,"parameterSlots":2,"returnSlots":4},"abi_decode_tuple_t_struct$_ExactInputParams_$5463_calldata_ptr":{"entryPoint":3770,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_struct$_ExactInputSingleParams_$5443_calldata_ptr":{"entryPoint":3636,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_struct$_ExactOutputParams_$5509_calldata_ptr":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_struct$_ExactOutputSingleParams_$5489_calldata_ptr":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint8_fromMemory":{"entryPoint":4105,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_address__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_tuple_t_address_t_bytes32__to_t_address_t_bytes32__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"checked_div_t_uint256":{"entryPoint":4071,"id":null,"parameterSlots":2,"returnSlots":1},"checked_exp_helper":{"entryPoint":4165,"id":null,"parameterSlots":3,"returnSlots":2},"checked_exp_t_uint256_t_uint8":{"entryPoint":4396,"id":null,"parameterSlots":2,"returnSlots":1},"checked_exp_unsigned":{"entryPoint":4232,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_t_uint256":{"entryPoint":4026,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_t_uint8":{"entryPoint":4140,"id":null,"parameterSlots":2,"returnSlots":1},"panic_error_0x11":{"entryPoint":4004,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x12":{"entryPoint":4049,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nativeSrc":"0:8479:30","nodeType":"YulBlock","src":"0:8479:30","statements":[{"nativeSrc":"6:3:30","nodeType":"YulBlock","src":"6:3:30","statements":[]},{"body":{"nativeSrc":"83:217:30","nodeType":"YulBlock","src":"83:217:30","statements":[{"body":{"nativeSrc":"129:16:30","nodeType":"YulBlock","src":"129:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"138:1:30","nodeType":"YulLiteral","src":"138:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"141:1:30","nodeType":"YulLiteral","src":"141:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"131:6:30","nodeType":"YulIdentifier","src":"131:6:30"},"nativeSrc":"131:12:30","nodeType":"YulFunctionCall","src":"131:12:30"},"nativeSrc":"131:12:30","nodeType":"YulExpressionStatement","src":"131:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"104:7:30","nodeType":"YulIdentifier","src":"104:7:30"},{"name":"headStart","nativeSrc":"113:9:30","nodeType":"YulIdentifier","src":"113:9:30"}],"functionName":{"name":"sub","nativeSrc":"100:3:30","nodeType":"YulIdentifier","src":"100:3:30"},"nativeSrc":"100:23:30","nodeType":"YulFunctionCall","src":"100:23:30"},{"kind":"number","nativeSrc":"125:2:30","nodeType":"YulLiteral","src":"125:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"96:3:30","nodeType":"YulIdentifier","src":"96:3:30"},"nativeSrc":"96:32:30","nodeType":"YulFunctionCall","src":"96:32:30"},"nativeSrc":"93:52:30","nodeType":"YulIf","src":"93:52:30"},{"nativeSrc":"154:36:30","nodeType":"YulVariableDeclaration","src":"154:36:30","value":{"arguments":[{"name":"headStart","nativeSrc":"180:9:30","nodeType":"YulIdentifier","src":"180:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"167:12:30","nodeType":"YulIdentifier","src":"167:12:30"},"nativeSrc":"167:23:30","nodeType":"YulFunctionCall","src":"167:23:30"},"variables":[{"name":"value","nativeSrc":"158:5:30","nodeType":"YulTypedName","src":"158:5:30","type":""}]},{"body":{"nativeSrc":"254:16:30","nodeType":"YulBlock","src":"254:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"263:1:30","nodeType":"YulLiteral","src":"263:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"266:1:30","nodeType":"YulLiteral","src":"266:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"256:6:30","nodeType":"YulIdentifier","src":"256:6:30"},"nativeSrc":"256:12:30","nodeType":"YulFunctionCall","src":"256:12:30"},"nativeSrc":"256:12:30","nodeType":"YulExpressionStatement","src":"256:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"212:5:30","nodeType":"YulIdentifier","src":"212:5:30"},{"arguments":[{"name":"value","nativeSrc":"223:5:30","nodeType":"YulIdentifier","src":"223:5:30"},{"arguments":[{"kind":"number","nativeSrc":"234:3:30","nodeType":"YulLiteral","src":"234:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"239:10:30","nodeType":"YulLiteral","src":"239:10:30","type":"","value":"0xffffffff"}],"functionName":{"name":"shl","nativeSrc":"230:3:30","nodeType":"YulIdentifier","src":"230:3:30"},"nativeSrc":"230:20:30","nodeType":"YulFunctionCall","src":"230:20:30"}],"functionName":{"name":"and","nativeSrc":"219:3:30","nodeType":"YulIdentifier","src":"219:3:30"},"nativeSrc":"219:32:30","nodeType":"YulFunctionCall","src":"219:32:30"}],"functionName":{"name":"eq","nativeSrc":"209:2:30","nodeType":"YulIdentifier","src":"209:2:30"},"nativeSrc":"209:43:30","nodeType":"YulFunctionCall","src":"209:43:30"}],"functionName":{"name":"iszero","nativeSrc":"202:6:30","nodeType":"YulIdentifier","src":"202:6:30"},"nativeSrc":"202:51:30","nodeType":"YulFunctionCall","src":"202:51:30"},"nativeSrc":"199:71:30","nodeType":"YulIf","src":"199:71:30"},{"nativeSrc":"279:15:30","nodeType":"YulAssignment","src":"279:15:30","value":{"name":"value","nativeSrc":"289:5:30","nodeType":"YulIdentifier","src":"289:5:30"},"variableNames":[{"name":"value0","nativeSrc":"279:6:30","nodeType":"YulIdentifier","src":"279:6:30"}]}]},"name":"abi_decode_tuple_t_bytes4","nativeSrc":"14:286:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"49:9:30","nodeType":"YulTypedName","src":"49:9:30","type":""},{"name":"dataEnd","nativeSrc":"60:7:30","nodeType":"YulTypedName","src":"60:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"72:6:30","nodeType":"YulTypedName","src":"72:6:30","type":""}],"src":"14:286:30"},{"body":{"nativeSrc":"400:92:30","nodeType":"YulBlock","src":"400:92:30","statements":[{"nativeSrc":"410:26:30","nodeType":"YulAssignment","src":"410:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"422:9:30","nodeType":"YulIdentifier","src":"422:9:30"},{"kind":"number","nativeSrc":"433:2:30","nodeType":"YulLiteral","src":"433:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"418:3:30","nodeType":"YulIdentifier","src":"418:3:30"},"nativeSrc":"418:18:30","nodeType":"YulFunctionCall","src":"418:18:30"},"variableNames":[{"name":"tail","nativeSrc":"410:4:30","nodeType":"YulIdentifier","src":"410:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"452:9:30","nodeType":"YulIdentifier","src":"452:9:30"},{"arguments":[{"arguments":[{"name":"value0","nativeSrc":"477:6:30","nodeType":"YulIdentifier","src":"477:6:30"}],"functionName":{"name":"iszero","nativeSrc":"470:6:30","nodeType":"YulIdentifier","src":"470:6:30"},"nativeSrc":"470:14:30","nodeType":"YulFunctionCall","src":"470:14:30"}],"functionName":{"name":"iszero","nativeSrc":"463:6:30","nodeType":"YulIdentifier","src":"463:6:30"},"nativeSrc":"463:22:30","nodeType":"YulFunctionCall","src":"463:22:30"}],"functionName":{"name":"mstore","nativeSrc":"445:6:30","nodeType":"YulIdentifier","src":"445:6:30"},"nativeSrc":"445:41:30","nodeType":"YulFunctionCall","src":"445:41:30"},"nativeSrc":"445:41:30","nodeType":"YulExpressionStatement","src":"445:41:30"}]},"name":"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed","nativeSrc":"305:187:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"369:9:30","nodeType":"YulTypedName","src":"369:9:30","type":""},{"name":"value0","nativeSrc":"380:6:30","nodeType":"YulTypedName","src":"380:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"391:4:30","nodeType":"YulTypedName","src":"391:4:30","type":""}],"src":"305:187:30"},{"body":{"nativeSrc":"567:156:30","nodeType":"YulBlock","src":"567:156:30","statements":[{"body":{"nativeSrc":"613:16:30","nodeType":"YulBlock","src":"613:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"622:1:30","nodeType":"YulLiteral","src":"622:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"625:1:30","nodeType":"YulLiteral","src":"625:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"615:6:30","nodeType":"YulIdentifier","src":"615:6:30"},"nativeSrc":"615:12:30","nodeType":"YulFunctionCall","src":"615:12:30"},"nativeSrc":"615:12:30","nodeType":"YulExpressionStatement","src":"615:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"588:7:30","nodeType":"YulIdentifier","src":"588:7:30"},{"name":"headStart","nativeSrc":"597:9:30","nodeType":"YulIdentifier","src":"597:9:30"}],"functionName":{"name":"sub","nativeSrc":"584:3:30","nodeType":"YulIdentifier","src":"584:3:30"},"nativeSrc":"584:23:30","nodeType":"YulFunctionCall","src":"584:23:30"},{"kind":"number","nativeSrc":"609:2:30","nodeType":"YulLiteral","src":"609:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"580:3:30","nodeType":"YulIdentifier","src":"580:3:30"},"nativeSrc":"580:32:30","nodeType":"YulFunctionCall","src":"580:32:30"},"nativeSrc":"577:52:30","nodeType":"YulIf","src":"577:52:30"},{"nativeSrc":"638:14:30","nodeType":"YulVariableDeclaration","src":"638:14:30","value":{"kind":"number","nativeSrc":"651:1:30","nodeType":"YulLiteral","src":"651:1:30","type":"","value":"0"},"variables":[{"name":"value","nativeSrc":"642:5:30","nodeType":"YulTypedName","src":"642:5:30","type":""}]},{"nativeSrc":"661:32:30","nodeType":"YulAssignment","src":"661:32:30","value":{"arguments":[{"name":"headStart","nativeSrc":"683:9:30","nodeType":"YulIdentifier","src":"683:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"670:12:30","nodeType":"YulIdentifier","src":"670:12:30"},"nativeSrc":"670:23:30","nodeType":"YulFunctionCall","src":"670:23:30"},"variableNames":[{"name":"value","nativeSrc":"661:5:30","nodeType":"YulIdentifier","src":"661:5:30"}]},{"nativeSrc":"702:15:30","nodeType":"YulAssignment","src":"702:15:30","value":{"name":"value","nativeSrc":"712:5:30","nodeType":"YulIdentifier","src":"712:5:30"},"variableNames":[{"name":"value0","nativeSrc":"702:6:30","nodeType":"YulIdentifier","src":"702:6:30"}]}]},"name":"abi_decode_tuple_t_bytes32","nativeSrc":"497:226:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"533:9:30","nodeType":"YulTypedName","src":"533:9:30","type":""},{"name":"dataEnd","nativeSrc":"544:7:30","nodeType":"YulTypedName","src":"544:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"556:6:30","nodeType":"YulTypedName","src":"556:6:30","type":""}],"src":"497:226:30"},{"body":{"nativeSrc":"829:76:30","nodeType":"YulBlock","src":"829:76:30","statements":[{"nativeSrc":"839:26:30","nodeType":"YulAssignment","src":"839:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"851:9:30","nodeType":"YulIdentifier","src":"851:9:30"},{"kind":"number","nativeSrc":"862:2:30","nodeType":"YulLiteral","src":"862:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"847:3:30","nodeType":"YulIdentifier","src":"847:3:30"},"nativeSrc":"847:18:30","nodeType":"YulFunctionCall","src":"847:18:30"},"variableNames":[{"name":"tail","nativeSrc":"839:4:30","nodeType":"YulIdentifier","src":"839:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"881:9:30","nodeType":"YulIdentifier","src":"881:9:30"},{"name":"value0","nativeSrc":"892:6:30","nodeType":"YulIdentifier","src":"892:6:30"}],"functionName":{"name":"mstore","nativeSrc":"874:6:30","nodeType":"YulIdentifier","src":"874:6:30"},"nativeSrc":"874:25:30","nodeType":"YulFunctionCall","src":"874:25:30"},"nativeSrc":"874:25:30","nodeType":"YulExpressionStatement","src":"874:25:30"}]},"name":"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed","nativeSrc":"728:177:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"798:9:30","nodeType":"YulTypedName","src":"798:9:30","type":""},{"name":"value0","nativeSrc":"809:6:30","nodeType":"YulTypedName","src":"809:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"820:4:30","nodeType":"YulTypedName","src":"820:4:30","type":""}],"src":"728:177:30"},{"body":{"nativeSrc":"959:124:30","nodeType":"YulBlock","src":"959:124:30","statements":[{"nativeSrc":"969:29:30","nodeType":"YulAssignment","src":"969:29:30","value":{"arguments":[{"name":"offset","nativeSrc":"991:6:30","nodeType":"YulIdentifier","src":"991:6:30"}],"functionName":{"name":"calldataload","nativeSrc":"978:12:30","nodeType":"YulIdentifier","src":"978:12:30"},"nativeSrc":"978:20:30","nodeType":"YulFunctionCall","src":"978:20:30"},"variableNames":[{"name":"value","nativeSrc":"969:5:30","nodeType":"YulIdentifier","src":"969:5:30"}]},{"body":{"nativeSrc":"1061:16:30","nodeType":"YulBlock","src":"1061:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1070:1:30","nodeType":"YulLiteral","src":"1070:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1073:1:30","nodeType":"YulLiteral","src":"1073:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1063:6:30","nodeType":"YulIdentifier","src":"1063:6:30"},"nativeSrc":"1063:12:30","nodeType":"YulFunctionCall","src":"1063:12:30"},"nativeSrc":"1063:12:30","nodeType":"YulExpressionStatement","src":"1063:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"1020:5:30","nodeType":"YulIdentifier","src":"1020:5:30"},{"arguments":[{"name":"value","nativeSrc":"1031:5:30","nodeType":"YulIdentifier","src":"1031:5:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"1046:3:30","nodeType":"YulLiteral","src":"1046:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"1051:1:30","nodeType":"YulLiteral","src":"1051:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"1042:3:30","nodeType":"YulIdentifier","src":"1042:3:30"},"nativeSrc":"1042:11:30","nodeType":"YulFunctionCall","src":"1042:11:30"},{"kind":"number","nativeSrc":"1055:1:30","nodeType":"YulLiteral","src":"1055:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"1038:3:30","nodeType":"YulIdentifier","src":"1038:3:30"},"nativeSrc":"1038:19:30","nodeType":"YulFunctionCall","src":"1038:19:30"}],"functionName":{"name":"and","nativeSrc":"1027:3:30","nodeType":"YulIdentifier","src":"1027:3:30"},"nativeSrc":"1027:31:30","nodeType":"YulFunctionCall","src":"1027:31:30"}],"functionName":{"name":"eq","nativeSrc":"1017:2:30","nodeType":"YulIdentifier","src":"1017:2:30"},"nativeSrc":"1017:42:30","nodeType":"YulFunctionCall","src":"1017:42:30"}],"functionName":{"name":"iszero","nativeSrc":"1010:6:30","nodeType":"YulIdentifier","src":"1010:6:30"},"nativeSrc":"1010:50:30","nodeType":"YulFunctionCall","src":"1010:50:30"},"nativeSrc":"1007:70:30","nodeType":"YulIf","src":"1007:70:30"}]},"name":"abi_decode_address","nativeSrc":"910:173:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"938:6:30","nodeType":"YulTypedName","src":"938:6:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"949:5:30","nodeType":"YulTypedName","src":"949:5:30","type":""}],"src":"910:173:30"},{"body":{"nativeSrc":"1175:213:30","nodeType":"YulBlock","src":"1175:213:30","statements":[{"body":{"nativeSrc":"1221:16:30","nodeType":"YulBlock","src":"1221:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1230:1:30","nodeType":"YulLiteral","src":"1230:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1233:1:30","nodeType":"YulLiteral","src":"1233:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1223:6:30","nodeType":"YulIdentifier","src":"1223:6:30"},"nativeSrc":"1223:12:30","nodeType":"YulFunctionCall","src":"1223:12:30"},"nativeSrc":"1223:12:30","nodeType":"YulExpressionStatement","src":"1223:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"1196:7:30","nodeType":"YulIdentifier","src":"1196:7:30"},{"name":"headStart","nativeSrc":"1205:9:30","nodeType":"YulIdentifier","src":"1205:9:30"}],"functionName":{"name":"sub","nativeSrc":"1192:3:30","nodeType":"YulIdentifier","src":"1192:3:30"},"nativeSrc":"1192:23:30","nodeType":"YulFunctionCall","src":"1192:23:30"},{"kind":"number","nativeSrc":"1217:2:30","nodeType":"YulLiteral","src":"1217:2:30","type":"","value":"64"}],"functionName":{"name":"slt","nativeSrc":"1188:3:30","nodeType":"YulIdentifier","src":"1188:3:30"},"nativeSrc":"1188:32:30","nodeType":"YulFunctionCall","src":"1188:32:30"},"nativeSrc":"1185:52:30","nodeType":"YulIf","src":"1185:52:30"},{"nativeSrc":"1246:14:30","nodeType":"YulVariableDeclaration","src":"1246:14:30","value":{"kind":"number","nativeSrc":"1259:1:30","nodeType":"YulLiteral","src":"1259:1:30","type":"","value":"0"},"variables":[{"name":"value","nativeSrc":"1250:5:30","nodeType":"YulTypedName","src":"1250:5:30","type":""}]},{"nativeSrc":"1269:32:30","nodeType":"YulAssignment","src":"1269:32:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1291:9:30","nodeType":"YulIdentifier","src":"1291:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"1278:12:30","nodeType":"YulIdentifier","src":"1278:12:30"},"nativeSrc":"1278:23:30","nodeType":"YulFunctionCall","src":"1278:23:30"},"variableNames":[{"name":"value","nativeSrc":"1269:5:30","nodeType":"YulIdentifier","src":"1269:5:30"}]},{"nativeSrc":"1310:15:30","nodeType":"YulAssignment","src":"1310:15:30","value":{"name":"value","nativeSrc":"1320:5:30","nodeType":"YulIdentifier","src":"1320:5:30"},"variableNames":[{"name":"value0","nativeSrc":"1310:6:30","nodeType":"YulIdentifier","src":"1310:6:30"}]},{"nativeSrc":"1334:48:30","nodeType":"YulAssignment","src":"1334:48:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1367:9:30","nodeType":"YulIdentifier","src":"1367:9:30"},{"kind":"number","nativeSrc":"1378:2:30","nodeType":"YulLiteral","src":"1378:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"1363:3:30","nodeType":"YulIdentifier","src":"1363:3:30"},"nativeSrc":"1363:18:30","nodeType":"YulFunctionCall","src":"1363:18:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"1344:18:30","nodeType":"YulIdentifier","src":"1344:18:30"},"nativeSrc":"1344:38:30","nodeType":"YulFunctionCall","src":"1344:38:30"},"variableNames":[{"name":"value1","nativeSrc":"1334:6:30","nodeType":"YulIdentifier","src":"1334:6:30"}]}]},"name":"abi_decode_tuple_t_bytes32t_address","nativeSrc":"1088:300:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1133:9:30","nodeType":"YulTypedName","src":"1133:9:30","type":""},{"name":"dataEnd","nativeSrc":"1144:7:30","nodeType":"YulTypedName","src":"1144:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"1156:6:30","nodeType":"YulTypedName","src":"1156:6:30","type":""},{"name":"value1","nativeSrc":"1164:6:30","nodeType":"YulTypedName","src":"1164:6:30","type":""}],"src":"1088:300:30"},{"body":{"nativeSrc":"1478:86:30","nodeType":"YulBlock","src":"1478:86:30","statements":[{"body":{"nativeSrc":"1518:16:30","nodeType":"YulBlock","src":"1518:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1527:1:30","nodeType":"YulLiteral","src":"1527:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1530:1:30","nodeType":"YulLiteral","src":"1530:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1520:6:30","nodeType":"YulIdentifier","src":"1520:6:30"},"nativeSrc":"1520:12:30","nodeType":"YulFunctionCall","src":"1520:12:30"},"nativeSrc":"1520:12:30","nodeType":"YulExpressionStatement","src":"1520:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"end","nativeSrc":"1499:3:30","nodeType":"YulIdentifier","src":"1499:3:30"},{"name":"offset","nativeSrc":"1504:6:30","nodeType":"YulIdentifier","src":"1504:6:30"}],"functionName":{"name":"sub","nativeSrc":"1495:3:30","nodeType":"YulIdentifier","src":"1495:3:30"},"nativeSrc":"1495:16:30","nodeType":"YulFunctionCall","src":"1495:16:30"},{"kind":"number","nativeSrc":"1513:3:30","nodeType":"YulLiteral","src":"1513:3:30","type":"","value":"256"}],"functionName":{"name":"slt","nativeSrc":"1491:3:30","nodeType":"YulIdentifier","src":"1491:3:30"},"nativeSrc":"1491:26:30","nodeType":"YulFunctionCall","src":"1491:26:30"},"nativeSrc":"1488:46:30","nodeType":"YulIf","src":"1488:46:30"},{"nativeSrc":"1543:15:30","nodeType":"YulAssignment","src":"1543:15:30","value":{"name":"offset","nativeSrc":"1552:6:30","nodeType":"YulIdentifier","src":"1552:6:30"},"variableNames":[{"name":"value","nativeSrc":"1543:5:30","nodeType":"YulIdentifier","src":"1543:5:30"}]}]},"name":"abi_decode_struct_ExactInputSingleParams_calldata","nativeSrc":"1393:171:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"1452:6:30","nodeType":"YulTypedName","src":"1452:6:30","type":""},{"name":"end","nativeSrc":"1460:3:30","nodeType":"YulTypedName","src":"1460:3:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"1468:5:30","nodeType":"YulTypedName","src":"1468:5:30","type":""}],"src":"1393:171:30"},{"body":{"nativeSrc":"1681:157:30","nodeType":"YulBlock","src":"1681:157:30","statements":[{"body":{"nativeSrc":"1728:16:30","nodeType":"YulBlock","src":"1728:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1737:1:30","nodeType":"YulLiteral","src":"1737:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1740:1:30","nodeType":"YulLiteral","src":"1740:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1730:6:30","nodeType":"YulIdentifier","src":"1730:6:30"},"nativeSrc":"1730:12:30","nodeType":"YulFunctionCall","src":"1730:12:30"},"nativeSrc":"1730:12:30","nodeType":"YulExpressionStatement","src":"1730:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"1702:7:30","nodeType":"YulIdentifier","src":"1702:7:30"},{"name":"headStart","nativeSrc":"1711:9:30","nodeType":"YulIdentifier","src":"1711:9:30"}],"functionName":{"name":"sub","nativeSrc":"1698:3:30","nodeType":"YulIdentifier","src":"1698:3:30"},"nativeSrc":"1698:23:30","nodeType":"YulFunctionCall","src":"1698:23:30"},{"kind":"number","nativeSrc":"1723:3:30","nodeType":"YulLiteral","src":"1723:3:30","type":"","value":"256"}],"functionName":{"name":"slt","nativeSrc":"1694:3:30","nodeType":"YulIdentifier","src":"1694:3:30"},"nativeSrc":"1694:33:30","nodeType":"YulFunctionCall","src":"1694:33:30"},"nativeSrc":"1691:53:30","nodeType":"YulIf","src":"1691:53:30"},{"nativeSrc":"1753:79:30","nodeType":"YulAssignment","src":"1753:79:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1813:9:30","nodeType":"YulIdentifier","src":"1813:9:30"},{"name":"dataEnd","nativeSrc":"1824:7:30","nodeType":"YulIdentifier","src":"1824:7:30"}],"functionName":{"name":"abi_decode_struct_ExactInputSingleParams_calldata","nativeSrc":"1763:49:30","nodeType":"YulIdentifier","src":"1763:49:30"},"nativeSrc":"1763:69:30","nodeType":"YulFunctionCall","src":"1763:69:30"},"variableNames":[{"name":"value0","nativeSrc":"1753:6:30","nodeType":"YulIdentifier","src":"1753:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_ExactInputSingleParams_$5443_calldata_ptr","nativeSrc":"1569:269:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1647:9:30","nodeType":"YulTypedName","src":"1647:9:30","type":""},{"name":"dataEnd","nativeSrc":"1658:7:30","nodeType":"YulTypedName","src":"1658:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"1670:6:30","nodeType":"YulTypedName","src":"1670:6:30","type":""}],"src":"1569:269:30"},{"body":{"nativeSrc":"1944:76:30","nodeType":"YulBlock","src":"1944:76:30","statements":[{"nativeSrc":"1954:26:30","nodeType":"YulAssignment","src":"1954:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1966:9:30","nodeType":"YulIdentifier","src":"1966:9:30"},{"kind":"number","nativeSrc":"1977:2:30","nodeType":"YulLiteral","src":"1977:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"1962:3:30","nodeType":"YulIdentifier","src":"1962:3:30"},"nativeSrc":"1962:18:30","nodeType":"YulFunctionCall","src":"1962:18:30"},"variableNames":[{"name":"tail","nativeSrc":"1954:4:30","nodeType":"YulIdentifier","src":"1954:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"1996:9:30","nodeType":"YulIdentifier","src":"1996:9:30"},{"name":"value0","nativeSrc":"2007:6:30","nodeType":"YulIdentifier","src":"2007:6:30"}],"functionName":{"name":"mstore","nativeSrc":"1989:6:30","nodeType":"YulIdentifier","src":"1989:6:30"},"nativeSrc":"1989:25:30","nodeType":"YulFunctionCall","src":"1989:25:30"},"nativeSrc":"1989:25:30","nodeType":"YulExpressionStatement","src":"1989:25:30"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nativeSrc":"1843:177:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1913:9:30","nodeType":"YulTypedName","src":"1913:9:30","type":""},{"name":"value0","nativeSrc":"1924:6:30","nodeType":"YulTypedName","src":"1924:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"1935:4:30","nodeType":"YulTypedName","src":"1935:4:30","type":""}],"src":"1843:177:30"},{"body":{"nativeSrc":"2129:224:30","nodeType":"YulBlock","src":"2129:224:30","statements":[{"body":{"nativeSrc":"2175:16:30","nodeType":"YulBlock","src":"2175:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2184:1:30","nodeType":"YulLiteral","src":"2184:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2187:1:30","nodeType":"YulLiteral","src":"2187:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2177:6:30","nodeType":"YulIdentifier","src":"2177:6:30"},"nativeSrc":"2177:12:30","nodeType":"YulFunctionCall","src":"2177:12:30"},"nativeSrc":"2177:12:30","nodeType":"YulExpressionStatement","src":"2177:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"2150:7:30","nodeType":"YulIdentifier","src":"2150:7:30"},{"name":"headStart","nativeSrc":"2159:9:30","nodeType":"YulIdentifier","src":"2159:9:30"}],"functionName":{"name":"sub","nativeSrc":"2146:3:30","nodeType":"YulIdentifier","src":"2146:3:30"},"nativeSrc":"2146:23:30","nodeType":"YulFunctionCall","src":"2146:23:30"},{"kind":"number","nativeSrc":"2171:2:30","nodeType":"YulLiteral","src":"2171:2:30","type":"","value":"96"}],"functionName":{"name":"slt","nativeSrc":"2142:3:30","nodeType":"YulIdentifier","src":"2142:3:30"},"nativeSrc":"2142:32:30","nodeType":"YulFunctionCall","src":"2142:32:30"},"nativeSrc":"2139:52:30","nodeType":"YulIf","src":"2139:52:30"},{"nativeSrc":"2200:39:30","nodeType":"YulAssignment","src":"2200:39:30","value":{"arguments":[{"name":"headStart","nativeSrc":"2229:9:30","nodeType":"YulIdentifier","src":"2229:9:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"2210:18:30","nodeType":"YulIdentifier","src":"2210:18:30"},"nativeSrc":"2210:29:30","nodeType":"YulFunctionCall","src":"2210:29:30"},"variableNames":[{"name":"value0","nativeSrc":"2200:6:30","nodeType":"YulIdentifier","src":"2200:6:30"}]},{"nativeSrc":"2248:48:30","nodeType":"YulAssignment","src":"2248:48:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"2281:9:30","nodeType":"YulIdentifier","src":"2281:9:30"},{"kind":"number","nativeSrc":"2292:2:30","nodeType":"YulLiteral","src":"2292:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"2277:3:30","nodeType":"YulIdentifier","src":"2277:3:30"},"nativeSrc":"2277:18:30","nodeType":"YulFunctionCall","src":"2277:18:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"2258:18:30","nodeType":"YulIdentifier","src":"2258:18:30"},"nativeSrc":"2258:38:30","nodeType":"YulFunctionCall","src":"2258:38:30"},"variableNames":[{"name":"value1","nativeSrc":"2248:6:30","nodeType":"YulIdentifier","src":"2248:6:30"}]},{"nativeSrc":"2305:42:30","nodeType":"YulAssignment","src":"2305:42:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"2332:9:30","nodeType":"YulIdentifier","src":"2332:9:30"},{"kind":"number","nativeSrc":"2343:2:30","nodeType":"YulLiteral","src":"2343:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"2328:3:30","nodeType":"YulIdentifier","src":"2328:3:30"},"nativeSrc":"2328:18:30","nodeType":"YulFunctionCall","src":"2328:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"2315:12:30","nodeType":"YulIdentifier","src":"2315:12:30"},"nativeSrc":"2315:32:30","nodeType":"YulFunctionCall","src":"2315:32:30"},"variableNames":[{"name":"value2","nativeSrc":"2305:6:30","nodeType":"YulIdentifier","src":"2305:6:30"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256","nativeSrc":"2025:328:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"2079:9:30","nodeType":"YulTypedName","src":"2079:9:30","type":""},{"name":"dataEnd","nativeSrc":"2090:7:30","nodeType":"YulTypedName","src":"2090:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"2102:6:30","nodeType":"YulTypedName","src":"2102:6:30","type":""},{"name":"value1","nativeSrc":"2110:6:30","nodeType":"YulTypedName","src":"2110:6:30","type":""},{"name":"value2","nativeSrc":"2118:6:30","nodeType":"YulTypedName","src":"2118:6:30","type":""}],"src":"2025:328:30"},{"body":{"nativeSrc":"2428:116:30","nodeType":"YulBlock","src":"2428:116:30","statements":[{"body":{"nativeSrc":"2474:16:30","nodeType":"YulBlock","src":"2474:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2483:1:30","nodeType":"YulLiteral","src":"2483:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2486:1:30","nodeType":"YulLiteral","src":"2486:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2476:6:30","nodeType":"YulIdentifier","src":"2476:6:30"},"nativeSrc":"2476:12:30","nodeType":"YulFunctionCall","src":"2476:12:30"},"nativeSrc":"2476:12:30","nodeType":"YulExpressionStatement","src":"2476:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"2449:7:30","nodeType":"YulIdentifier","src":"2449:7:30"},{"name":"headStart","nativeSrc":"2458:9:30","nodeType":"YulIdentifier","src":"2458:9:30"}],"functionName":{"name":"sub","nativeSrc":"2445:3:30","nodeType":"YulIdentifier","src":"2445:3:30"},"nativeSrc":"2445:23:30","nodeType":"YulFunctionCall","src":"2445:23:30"},{"kind":"number","nativeSrc":"2470:2:30","nodeType":"YulLiteral","src":"2470:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"2441:3:30","nodeType":"YulIdentifier","src":"2441:3:30"},"nativeSrc":"2441:32:30","nodeType":"YulFunctionCall","src":"2441:32:30"},"nativeSrc":"2438:52:30","nodeType":"YulIf","src":"2438:52:30"},{"nativeSrc":"2499:39:30","nodeType":"YulAssignment","src":"2499:39:30","value":{"arguments":[{"name":"headStart","nativeSrc":"2528:9:30","nodeType":"YulIdentifier","src":"2528:9:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"2509:18:30","nodeType":"YulIdentifier","src":"2509:18:30"},"nativeSrc":"2509:29:30","nodeType":"YulFunctionCall","src":"2509:29:30"},"variableNames":[{"name":"value0","nativeSrc":"2499:6:30","nodeType":"YulIdentifier","src":"2499:6:30"}]}]},"name":"abi_decode_tuple_t_address","nativeSrc":"2358:186:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"2394:9:30","nodeType":"YulTypedName","src":"2394:9:30","type":""},{"name":"dataEnd","nativeSrc":"2405:7:30","nodeType":"YulTypedName","src":"2405:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"2417:6:30","nodeType":"YulTypedName","src":"2417:6:30","type":""}],"src":"2358:186:30"},{"body":{"nativeSrc":"2628:86:30","nodeType":"YulBlock","src":"2628:86:30","statements":[{"body":{"nativeSrc":"2668:16:30","nodeType":"YulBlock","src":"2668:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2677:1:30","nodeType":"YulLiteral","src":"2677:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2680:1:30","nodeType":"YulLiteral","src":"2680:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2670:6:30","nodeType":"YulIdentifier","src":"2670:6:30"},"nativeSrc":"2670:12:30","nodeType":"YulFunctionCall","src":"2670:12:30"},"nativeSrc":"2670:12:30","nodeType":"YulExpressionStatement","src":"2670:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"end","nativeSrc":"2649:3:30","nodeType":"YulIdentifier","src":"2649:3:30"},{"name":"offset","nativeSrc":"2654:6:30","nodeType":"YulIdentifier","src":"2654:6:30"}],"functionName":{"name":"sub","nativeSrc":"2645:3:30","nodeType":"YulIdentifier","src":"2645:3:30"},"nativeSrc":"2645:16:30","nodeType":"YulFunctionCall","src":"2645:16:30"},{"kind":"number","nativeSrc":"2663:3:30","nodeType":"YulLiteral","src":"2663:3:30","type":"","value":"160"}],"functionName":{"name":"slt","nativeSrc":"2641:3:30","nodeType":"YulIdentifier","src":"2641:3:30"},"nativeSrc":"2641:26:30","nodeType":"YulFunctionCall","src":"2641:26:30"},"nativeSrc":"2638:46:30","nodeType":"YulIf","src":"2638:46:30"},{"nativeSrc":"2693:15:30","nodeType":"YulAssignment","src":"2693:15:30","value":{"name":"offset","nativeSrc":"2702:6:30","nodeType":"YulIdentifier","src":"2702:6:30"},"variableNames":[{"name":"value","nativeSrc":"2693:5:30","nodeType":"YulIdentifier","src":"2693:5:30"}]}]},"name":"abi_decode_struct_ExactInputParams_calldata","nativeSrc":"2549:165:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"2602:6:30","nodeType":"YulTypedName","src":"2602:6:30","type":""},{"name":"end","nativeSrc":"2610:3:30","nodeType":"YulTypedName","src":"2610:3:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"2618:5:30","nodeType":"YulTypedName","src":"2618:5:30","type":""}],"src":"2549:165:30"},{"body":{"nativeSrc":"2825:268:30","nodeType":"YulBlock","src":"2825:268:30","statements":[{"body":{"nativeSrc":"2871:16:30","nodeType":"YulBlock","src":"2871:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2880:1:30","nodeType":"YulLiteral","src":"2880:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2883:1:30","nodeType":"YulLiteral","src":"2883:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2873:6:30","nodeType":"YulIdentifier","src":"2873:6:30"},"nativeSrc":"2873:12:30","nodeType":"YulFunctionCall","src":"2873:12:30"},"nativeSrc":"2873:12:30","nodeType":"YulExpressionStatement","src":"2873:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"2846:7:30","nodeType":"YulIdentifier","src":"2846:7:30"},{"name":"headStart","nativeSrc":"2855:9:30","nodeType":"YulIdentifier","src":"2855:9:30"}],"functionName":{"name":"sub","nativeSrc":"2842:3:30","nodeType":"YulIdentifier","src":"2842:3:30"},"nativeSrc":"2842:23:30","nodeType":"YulFunctionCall","src":"2842:23:30"},{"kind":"number","nativeSrc":"2867:2:30","nodeType":"YulLiteral","src":"2867:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"2838:3:30","nodeType":"YulIdentifier","src":"2838:3:30"},"nativeSrc":"2838:32:30","nodeType":"YulFunctionCall","src":"2838:32:30"},"nativeSrc":"2835:52:30","nodeType":"YulIf","src":"2835:52:30"},{"nativeSrc":"2896:37:30","nodeType":"YulVariableDeclaration","src":"2896:37:30","value":{"arguments":[{"name":"headStart","nativeSrc":"2923:9:30","nodeType":"YulIdentifier","src":"2923:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"2910:12:30","nodeType":"YulIdentifier","src":"2910:12:30"},"nativeSrc":"2910:23:30","nodeType":"YulFunctionCall","src":"2910:23:30"},"variables":[{"name":"offset","nativeSrc":"2900:6:30","nodeType":"YulTypedName","src":"2900:6:30","type":""}]},{"body":{"nativeSrc":"2976:16:30","nodeType":"YulBlock","src":"2976:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2985:1:30","nodeType":"YulLiteral","src":"2985:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2988:1:30","nodeType":"YulLiteral","src":"2988:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2978:6:30","nodeType":"YulIdentifier","src":"2978:6:30"},"nativeSrc":"2978:12:30","nodeType":"YulFunctionCall","src":"2978:12:30"},"nativeSrc":"2978:12:30","nodeType":"YulExpressionStatement","src":"2978:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"2948:6:30","nodeType":"YulIdentifier","src":"2948:6:30"},{"kind":"number","nativeSrc":"2956:18:30","nodeType":"YulLiteral","src":"2956:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"2945:2:30","nodeType":"YulIdentifier","src":"2945:2:30"},"nativeSrc":"2945:30:30","nodeType":"YulFunctionCall","src":"2945:30:30"},"nativeSrc":"2942:50:30","nodeType":"YulIf","src":"2942:50:30"},{"nativeSrc":"3001:86:30","nodeType":"YulAssignment","src":"3001:86:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"3059:9:30","nodeType":"YulIdentifier","src":"3059:9:30"},{"name":"offset","nativeSrc":"3070:6:30","nodeType":"YulIdentifier","src":"3070:6:30"}],"functionName":{"name":"add","nativeSrc":"3055:3:30","nodeType":"YulIdentifier","src":"3055:3:30"},"nativeSrc":"3055:22:30","nodeType":"YulFunctionCall","src":"3055:22:30"},{"name":"dataEnd","nativeSrc":"3079:7:30","nodeType":"YulIdentifier","src":"3079:7:30"}],"functionName":{"name":"abi_decode_struct_ExactInputParams_calldata","nativeSrc":"3011:43:30","nodeType":"YulIdentifier","src":"3011:43:30"},"nativeSrc":"3011:76:30","nodeType":"YulFunctionCall","src":"3011:76:30"},"variableNames":[{"name":"value0","nativeSrc":"3001:6:30","nodeType":"YulIdentifier","src":"3001:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_ExactInputParams_$5463_calldata_ptr","nativeSrc":"2719:374:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"2791:9:30","nodeType":"YulTypedName","src":"2791:9:30","type":""},{"name":"dataEnd","nativeSrc":"2802:7:30","nodeType":"YulTypedName","src":"2802:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"2814:6:30","nodeType":"YulTypedName","src":"2814:6:30","type":""}],"src":"2719:374:30"},{"body":{"nativeSrc":"3199:102:30","nodeType":"YulBlock","src":"3199:102:30","statements":[{"nativeSrc":"3209:26:30","nodeType":"YulAssignment","src":"3209:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"3221:9:30","nodeType":"YulIdentifier","src":"3221:9:30"},{"kind":"number","nativeSrc":"3232:2:30","nodeType":"YulLiteral","src":"3232:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3217:3:30","nodeType":"YulIdentifier","src":"3217:3:30"},"nativeSrc":"3217:18:30","nodeType":"YulFunctionCall","src":"3217:18:30"},"variableNames":[{"name":"tail","nativeSrc":"3209:4:30","nodeType":"YulIdentifier","src":"3209:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"3251:9:30","nodeType":"YulIdentifier","src":"3251:9:30"},{"arguments":[{"name":"value0","nativeSrc":"3266:6:30","nodeType":"YulIdentifier","src":"3266:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3282:3:30","nodeType":"YulLiteral","src":"3282:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"3287:1:30","nodeType":"YulLiteral","src":"3287:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"3278:3:30","nodeType":"YulIdentifier","src":"3278:3:30"},"nativeSrc":"3278:11:30","nodeType":"YulFunctionCall","src":"3278:11:30"},{"kind":"number","nativeSrc":"3291:1:30","nodeType":"YulLiteral","src":"3291:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"3274:3:30","nodeType":"YulIdentifier","src":"3274:3:30"},"nativeSrc":"3274:19:30","nodeType":"YulFunctionCall","src":"3274:19:30"}],"functionName":{"name":"and","nativeSrc":"3262:3:30","nodeType":"YulIdentifier","src":"3262:3:30"},"nativeSrc":"3262:32:30","nodeType":"YulFunctionCall","src":"3262:32:30"}],"functionName":{"name":"mstore","nativeSrc":"3244:6:30","nodeType":"YulIdentifier","src":"3244:6:30"},"nativeSrc":"3244:51:30","nodeType":"YulFunctionCall","src":"3244:51:30"},"nativeSrc":"3244:51:30","nodeType":"YulExpressionStatement","src":"3244:51:30"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nativeSrc":"3098:203:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"3168:9:30","nodeType":"YulTypedName","src":"3168:9:30","type":""},{"name":"value0","nativeSrc":"3179:6:30","nodeType":"YulTypedName","src":"3179:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"3190:4:30","nodeType":"YulTypedName","src":"3190:4:30","type":""}],"src":"3098:203:30"},{"body":{"nativeSrc":"3393:173:30","nodeType":"YulBlock","src":"3393:173:30","statements":[{"body":{"nativeSrc":"3439:16:30","nodeType":"YulBlock","src":"3439:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3448:1:30","nodeType":"YulLiteral","src":"3448:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3451:1:30","nodeType":"YulLiteral","src":"3451:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"3441:6:30","nodeType":"YulIdentifier","src":"3441:6:30"},"nativeSrc":"3441:12:30","nodeType":"YulFunctionCall","src":"3441:12:30"},"nativeSrc":"3441:12:30","nodeType":"YulExpressionStatement","src":"3441:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"3414:7:30","nodeType":"YulIdentifier","src":"3414:7:30"},{"name":"headStart","nativeSrc":"3423:9:30","nodeType":"YulIdentifier","src":"3423:9:30"}],"functionName":{"name":"sub","nativeSrc":"3410:3:30","nodeType":"YulIdentifier","src":"3410:3:30"},"nativeSrc":"3410:23:30","nodeType":"YulFunctionCall","src":"3410:23:30"},{"kind":"number","nativeSrc":"3435:2:30","nodeType":"YulLiteral","src":"3435:2:30","type":"","value":"64"}],"functionName":{"name":"slt","nativeSrc":"3406:3:30","nodeType":"YulIdentifier","src":"3406:3:30"},"nativeSrc":"3406:32:30","nodeType":"YulFunctionCall","src":"3406:32:30"},"nativeSrc":"3403:52:30","nodeType":"YulIf","src":"3403:52:30"},{"nativeSrc":"3464:39:30","nodeType":"YulAssignment","src":"3464:39:30","value":{"arguments":[{"name":"headStart","nativeSrc":"3493:9:30","nodeType":"YulIdentifier","src":"3493:9:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"3474:18:30","nodeType":"YulIdentifier","src":"3474:18:30"},"nativeSrc":"3474:29:30","nodeType":"YulFunctionCall","src":"3474:29:30"},"variableNames":[{"name":"value0","nativeSrc":"3464:6:30","nodeType":"YulIdentifier","src":"3464:6:30"}]},{"nativeSrc":"3512:48:30","nodeType":"YulAssignment","src":"3512:48:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"3545:9:30","nodeType":"YulIdentifier","src":"3545:9:30"},{"kind":"number","nativeSrc":"3556:2:30","nodeType":"YulLiteral","src":"3556:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3541:3:30","nodeType":"YulIdentifier","src":"3541:3:30"},"nativeSrc":"3541:18:30","nodeType":"YulFunctionCall","src":"3541:18:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"3522:18:30","nodeType":"YulIdentifier","src":"3522:18:30"},"nativeSrc":"3522:38:30","nodeType":"YulFunctionCall","src":"3522:38:30"},"variableNames":[{"name":"value1","nativeSrc":"3512:6:30","nodeType":"YulIdentifier","src":"3512:6:30"}]}]},"name":"abi_decode_tuple_t_addresst_address","nativeSrc":"3306:260:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"3351:9:30","nodeType":"YulTypedName","src":"3351:9:30","type":""},{"name":"dataEnd","nativeSrc":"3362:7:30","nodeType":"YulTypedName","src":"3362:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"3374:6:30","nodeType":"YulTypedName","src":"3374:6:30","type":""},{"name":"value1","nativeSrc":"3382:6:30","nodeType":"YulTypedName","src":"3382:6:30","type":""}],"src":"3306:260:30"},{"body":{"nativeSrc":"3684:157:30","nodeType":"YulBlock","src":"3684:157:30","statements":[{"body":{"nativeSrc":"3731:16:30","nodeType":"YulBlock","src":"3731:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3740:1:30","nodeType":"YulLiteral","src":"3740:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3743:1:30","nodeType":"YulLiteral","src":"3743:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"3733:6:30","nodeType":"YulIdentifier","src":"3733:6:30"},"nativeSrc":"3733:12:30","nodeType":"YulFunctionCall","src":"3733:12:30"},"nativeSrc":"3733:12:30","nodeType":"YulExpressionStatement","src":"3733:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"3705:7:30","nodeType":"YulIdentifier","src":"3705:7:30"},{"name":"headStart","nativeSrc":"3714:9:30","nodeType":"YulIdentifier","src":"3714:9:30"}],"functionName":{"name":"sub","nativeSrc":"3701:3:30","nodeType":"YulIdentifier","src":"3701:3:30"},"nativeSrc":"3701:23:30","nodeType":"YulFunctionCall","src":"3701:23:30"},{"kind":"number","nativeSrc":"3726:3:30","nodeType":"YulLiteral","src":"3726:3:30","type":"","value":"256"}],"functionName":{"name":"slt","nativeSrc":"3697:3:30","nodeType":"YulIdentifier","src":"3697:3:30"},"nativeSrc":"3697:33:30","nodeType":"YulFunctionCall","src":"3697:33:30"},"nativeSrc":"3694:53:30","nodeType":"YulIf","src":"3694:53:30"},{"nativeSrc":"3756:79:30","nodeType":"YulAssignment","src":"3756:79:30","value":{"arguments":[{"name":"headStart","nativeSrc":"3816:9:30","nodeType":"YulIdentifier","src":"3816:9:30"},{"name":"dataEnd","nativeSrc":"3827:7:30","nodeType":"YulIdentifier","src":"3827:7:30"}],"functionName":{"name":"abi_decode_struct_ExactInputSingleParams_calldata","nativeSrc":"3766:49:30","nodeType":"YulIdentifier","src":"3766:49:30"},"nativeSrc":"3766:69:30","nodeType":"YulFunctionCall","src":"3766:69:30"},"variableNames":[{"name":"value0","nativeSrc":"3756:6:30","nodeType":"YulIdentifier","src":"3756:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","nativeSrc":"3571:270:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"3650:9:30","nodeType":"YulTypedName","src":"3650:9:30","type":""},{"name":"dataEnd","nativeSrc":"3661:7:30","nodeType":"YulTypedName","src":"3661:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"3673:6:30","nodeType":"YulTypedName","src":"3673:6:30","type":""}],"src":"3571:270:30"},{"body":{"nativeSrc":"3953:268:30","nodeType":"YulBlock","src":"3953:268:30","statements":[{"body":{"nativeSrc":"3999:16:30","nodeType":"YulBlock","src":"3999:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4008:1:30","nodeType":"YulLiteral","src":"4008:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4011:1:30","nodeType":"YulLiteral","src":"4011:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4001:6:30","nodeType":"YulIdentifier","src":"4001:6:30"},"nativeSrc":"4001:12:30","nodeType":"YulFunctionCall","src":"4001:12:30"},"nativeSrc":"4001:12:30","nodeType":"YulExpressionStatement","src":"4001:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"3974:7:30","nodeType":"YulIdentifier","src":"3974:7:30"},{"name":"headStart","nativeSrc":"3983:9:30","nodeType":"YulIdentifier","src":"3983:9:30"}],"functionName":{"name":"sub","nativeSrc":"3970:3:30","nodeType":"YulIdentifier","src":"3970:3:30"},"nativeSrc":"3970:23:30","nodeType":"YulFunctionCall","src":"3970:23:30"},{"kind":"number","nativeSrc":"3995:2:30","nodeType":"YulLiteral","src":"3995:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"3966:3:30","nodeType":"YulIdentifier","src":"3966:3:30"},"nativeSrc":"3966:32:30","nodeType":"YulFunctionCall","src":"3966:32:30"},"nativeSrc":"3963:52:30","nodeType":"YulIf","src":"3963:52:30"},{"nativeSrc":"4024:37:30","nodeType":"YulVariableDeclaration","src":"4024:37:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4051:9:30","nodeType":"YulIdentifier","src":"4051:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"4038:12:30","nodeType":"YulIdentifier","src":"4038:12:30"},"nativeSrc":"4038:23:30","nodeType":"YulFunctionCall","src":"4038:23:30"},"variables":[{"name":"offset","nativeSrc":"4028:6:30","nodeType":"YulTypedName","src":"4028:6:30","type":""}]},{"body":{"nativeSrc":"4104:16:30","nodeType":"YulBlock","src":"4104:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4113:1:30","nodeType":"YulLiteral","src":"4113:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4116:1:30","nodeType":"YulLiteral","src":"4116:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4106:6:30","nodeType":"YulIdentifier","src":"4106:6:30"},"nativeSrc":"4106:12:30","nodeType":"YulFunctionCall","src":"4106:12:30"},"nativeSrc":"4106:12:30","nodeType":"YulExpressionStatement","src":"4106:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"4076:6:30","nodeType":"YulIdentifier","src":"4076:6:30"},{"kind":"number","nativeSrc":"4084:18:30","nodeType":"YulLiteral","src":"4084:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"4073:2:30","nodeType":"YulIdentifier","src":"4073:2:30"},"nativeSrc":"4073:30:30","nodeType":"YulFunctionCall","src":"4073:30:30"},"nativeSrc":"4070:50:30","nodeType":"YulIf","src":"4070:50:30"},{"nativeSrc":"4129:86:30","nodeType":"YulAssignment","src":"4129:86:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4187:9:30","nodeType":"YulIdentifier","src":"4187:9:30"},{"name":"offset","nativeSrc":"4198:6:30","nodeType":"YulIdentifier","src":"4198:6:30"}],"functionName":{"name":"add","nativeSrc":"4183:3:30","nodeType":"YulIdentifier","src":"4183:3:30"},"nativeSrc":"4183:22:30","nodeType":"YulFunctionCall","src":"4183:22:30"},{"name":"dataEnd","nativeSrc":"4207:7:30","nodeType":"YulIdentifier","src":"4207:7:30"}],"functionName":{"name":"abi_decode_struct_ExactInputParams_calldata","nativeSrc":"4139:43:30","nodeType":"YulIdentifier","src":"4139:43:30"},"nativeSrc":"4139:76:30","nodeType":"YulFunctionCall","src":"4139:76:30"},"variableNames":[{"name":"value0","nativeSrc":"4129:6:30","nodeType":"YulIdentifier","src":"4129:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_ExactOutputParams_$5509_calldata_ptr","nativeSrc":"3846:375:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"3919:9:30","nodeType":"YulTypedName","src":"3919:9:30","type":""},{"name":"dataEnd","nativeSrc":"3930:7:30","nodeType":"YulTypedName","src":"3930:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"3942:6:30","nodeType":"YulTypedName","src":"3942:6:30","type":""}],"src":"3846:375:30"},{"body":{"nativeSrc":"4347:697:30","nodeType":"YulBlock","src":"4347:697:30","statements":[{"body":{"nativeSrc":"4393:16:30","nodeType":"YulBlock","src":"4393:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4402:1:30","nodeType":"YulLiteral","src":"4402:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4405:1:30","nodeType":"YulLiteral","src":"4405:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4395:6:30","nodeType":"YulIdentifier","src":"4395:6:30"},"nativeSrc":"4395:12:30","nodeType":"YulFunctionCall","src":"4395:12:30"},"nativeSrc":"4395:12:30","nodeType":"YulExpressionStatement","src":"4395:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"4368:7:30","nodeType":"YulIdentifier","src":"4368:7:30"},{"name":"headStart","nativeSrc":"4377:9:30","nodeType":"YulIdentifier","src":"4377:9:30"}],"functionName":{"name":"sub","nativeSrc":"4364:3:30","nodeType":"YulIdentifier","src":"4364:3:30"},"nativeSrc":"4364:23:30","nodeType":"YulFunctionCall","src":"4364:23:30"},{"kind":"number","nativeSrc":"4389:2:30","nodeType":"YulLiteral","src":"4389:2:30","type":"","value":"96"}],"functionName":{"name":"slt","nativeSrc":"4360:3:30","nodeType":"YulIdentifier","src":"4360:3:30"},"nativeSrc":"4360:32:30","nodeType":"YulFunctionCall","src":"4360:32:30"},"nativeSrc":"4357:52:30","nodeType":"YulIf","src":"4357:52:30"},{"nativeSrc":"4418:14:30","nodeType":"YulVariableDeclaration","src":"4418:14:30","value":{"kind":"number","nativeSrc":"4431:1:30","nodeType":"YulLiteral","src":"4431:1:30","type":"","value":"0"},"variables":[{"name":"value","nativeSrc":"4422:5:30","nodeType":"YulTypedName","src":"4422:5:30","type":""}]},{"nativeSrc":"4441:32:30","nodeType":"YulAssignment","src":"4441:32:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4463:9:30","nodeType":"YulIdentifier","src":"4463:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"4450:12:30","nodeType":"YulIdentifier","src":"4450:12:30"},"nativeSrc":"4450:23:30","nodeType":"YulFunctionCall","src":"4450:23:30"},"variableNames":[{"name":"value","nativeSrc":"4441:5:30","nodeType":"YulIdentifier","src":"4441:5:30"}]},{"nativeSrc":"4482:15:30","nodeType":"YulAssignment","src":"4482:15:30","value":{"name":"value","nativeSrc":"4492:5:30","nodeType":"YulIdentifier","src":"4492:5:30"},"variableNames":[{"name":"value0","nativeSrc":"4482:6:30","nodeType":"YulIdentifier","src":"4482:6:30"}]},{"nativeSrc":"4506:16:30","nodeType":"YulVariableDeclaration","src":"4506:16:30","value":{"kind":"number","nativeSrc":"4521:1:30","nodeType":"YulLiteral","src":"4521:1:30","type":"","value":"0"},"variables":[{"name":"value_1","nativeSrc":"4510:7:30","nodeType":"YulTypedName","src":"4510:7:30","type":""}]},{"nativeSrc":"4531:43:30","nodeType":"YulAssignment","src":"4531:43:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4559:9:30","nodeType":"YulIdentifier","src":"4559:9:30"},{"kind":"number","nativeSrc":"4570:2:30","nodeType":"YulLiteral","src":"4570:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"4555:3:30","nodeType":"YulIdentifier","src":"4555:3:30"},"nativeSrc":"4555:18:30","nodeType":"YulFunctionCall","src":"4555:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"4542:12:30","nodeType":"YulIdentifier","src":"4542:12:30"},"nativeSrc":"4542:32:30","nodeType":"YulFunctionCall","src":"4542:32:30"},"variableNames":[{"name":"value_1","nativeSrc":"4531:7:30","nodeType":"YulIdentifier","src":"4531:7:30"}]},{"nativeSrc":"4583:17:30","nodeType":"YulAssignment","src":"4583:17:30","value":{"name":"value_1","nativeSrc":"4593:7:30","nodeType":"YulIdentifier","src":"4593:7:30"},"variableNames":[{"name":"value1","nativeSrc":"4583:6:30","nodeType":"YulIdentifier","src":"4583:6:30"}]},{"nativeSrc":"4609:46:30","nodeType":"YulVariableDeclaration","src":"4609:46:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4640:9:30","nodeType":"YulIdentifier","src":"4640:9:30"},{"kind":"number","nativeSrc":"4651:2:30","nodeType":"YulLiteral","src":"4651:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"4636:3:30","nodeType":"YulIdentifier","src":"4636:3:30"},"nativeSrc":"4636:18:30","nodeType":"YulFunctionCall","src":"4636:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"4623:12:30","nodeType":"YulIdentifier","src":"4623:12:30"},"nativeSrc":"4623:32:30","nodeType":"YulFunctionCall","src":"4623:32:30"},"variables":[{"name":"offset","nativeSrc":"4613:6:30","nodeType":"YulTypedName","src":"4613:6:30","type":""}]},{"body":{"nativeSrc":"4698:16:30","nodeType":"YulBlock","src":"4698:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4707:1:30","nodeType":"YulLiteral","src":"4707:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4710:1:30","nodeType":"YulLiteral","src":"4710:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4700:6:30","nodeType":"YulIdentifier","src":"4700:6:30"},"nativeSrc":"4700:12:30","nodeType":"YulFunctionCall","src":"4700:12:30"},"nativeSrc":"4700:12:30","nodeType":"YulExpressionStatement","src":"4700:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"4670:6:30","nodeType":"YulIdentifier","src":"4670:6:30"},{"kind":"number","nativeSrc":"4678:18:30","nodeType":"YulLiteral","src":"4678:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"4667:2:30","nodeType":"YulIdentifier","src":"4667:2:30"},"nativeSrc":"4667:30:30","nodeType":"YulFunctionCall","src":"4667:30:30"},"nativeSrc":"4664:50:30","nodeType":"YulIf","src":"4664:50:30"},{"nativeSrc":"4723:32:30","nodeType":"YulVariableDeclaration","src":"4723:32:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4737:9:30","nodeType":"YulIdentifier","src":"4737:9:30"},{"name":"offset","nativeSrc":"4748:6:30","nodeType":"YulIdentifier","src":"4748:6:30"}],"functionName":{"name":"add","nativeSrc":"4733:3:30","nodeType":"YulIdentifier","src":"4733:3:30"},"nativeSrc":"4733:22:30","nodeType":"YulFunctionCall","src":"4733:22:30"},"variables":[{"name":"_1","nativeSrc":"4727:2:30","nodeType":"YulTypedName","src":"4727:2:30","type":""}]},{"body":{"nativeSrc":"4803:16:30","nodeType":"YulBlock","src":"4803:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4812:1:30","nodeType":"YulLiteral","src":"4812:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4815:1:30","nodeType":"YulLiteral","src":"4815:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4805:6:30","nodeType":"YulIdentifier","src":"4805:6:30"},"nativeSrc":"4805:12:30","nodeType":"YulFunctionCall","src":"4805:12:30"},"nativeSrc":"4805:12:30","nodeType":"YulExpressionStatement","src":"4805:12:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_1","nativeSrc":"4782:2:30","nodeType":"YulIdentifier","src":"4782:2:30"},{"kind":"number","nativeSrc":"4786:4:30","nodeType":"YulLiteral","src":"4786:4:30","type":"","value":"0x1f"}],"functionName":{"name":"add","nativeSrc":"4778:3:30","nodeType":"YulIdentifier","src":"4778:3:30"},"nativeSrc":"4778:13:30","nodeType":"YulFunctionCall","src":"4778:13:30"},{"name":"dataEnd","nativeSrc":"4793:7:30","nodeType":"YulIdentifier","src":"4793:7:30"}],"functionName":{"name":"slt","nativeSrc":"4774:3:30","nodeType":"YulIdentifier","src":"4774:3:30"},"nativeSrc":"4774:27:30","nodeType":"YulFunctionCall","src":"4774:27:30"}],"functionName":{"name":"iszero","nativeSrc":"4767:6:30","nodeType":"YulIdentifier","src":"4767:6:30"},"nativeSrc":"4767:35:30","nodeType":"YulFunctionCall","src":"4767:35:30"},"nativeSrc":"4764:55:30","nodeType":"YulIf","src":"4764:55:30"},{"nativeSrc":"4828:30:30","nodeType":"YulVariableDeclaration","src":"4828:30:30","value":{"arguments":[{"name":"_1","nativeSrc":"4855:2:30","nodeType":"YulIdentifier","src":"4855:2:30"}],"functionName":{"name":"calldataload","nativeSrc":"4842:12:30","nodeType":"YulIdentifier","src":"4842:12:30"},"nativeSrc":"4842:16:30","nodeType":"YulFunctionCall","src":"4842:16:30"},"variables":[{"name":"length","nativeSrc":"4832:6:30","nodeType":"YulTypedName","src":"4832:6:30","type":""}]},{"body":{"nativeSrc":"4901:16:30","nodeType":"YulBlock","src":"4901:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4910:1:30","nodeType":"YulLiteral","src":"4910:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4913:1:30","nodeType":"YulLiteral","src":"4913:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4903:6:30","nodeType":"YulIdentifier","src":"4903:6:30"},"nativeSrc":"4903:12:30","nodeType":"YulFunctionCall","src":"4903:12:30"},"nativeSrc":"4903:12:30","nodeType":"YulExpressionStatement","src":"4903:12:30"}]},"condition":{"arguments":[{"name":"length","nativeSrc":"4873:6:30","nodeType":"YulIdentifier","src":"4873:6:30"},{"kind":"number","nativeSrc":"4881:18:30","nodeType":"YulLiteral","src":"4881:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"4870:2:30","nodeType":"YulIdentifier","src":"4870:2:30"},"nativeSrc":"4870:30:30","nodeType":"YulFunctionCall","src":"4870:30:30"},"nativeSrc":"4867:50:30","nodeType":"YulIf","src":"4867:50:30"},{"body":{"nativeSrc":"4967:16:30","nodeType":"YulBlock","src":"4967:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4976:1:30","nodeType":"YulLiteral","src":"4976:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4979:1:30","nodeType":"YulLiteral","src":"4979:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4969:6:30","nodeType":"YulIdentifier","src":"4969:6:30"},"nativeSrc":"4969:12:30","nodeType":"YulFunctionCall","src":"4969:12:30"},"nativeSrc":"4969:12:30","nodeType":"YulExpressionStatement","src":"4969:12:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_1","nativeSrc":"4940:2:30","nodeType":"YulIdentifier","src":"4940:2:30"},{"name":"length","nativeSrc":"4944:6:30","nodeType":"YulIdentifier","src":"4944:6:30"}],"functionName":{"name":"add","nativeSrc":"4936:3:30","nodeType":"YulIdentifier","src":"4936:3:30"},"nativeSrc":"4936:15:30","nodeType":"YulFunctionCall","src":"4936:15:30"},{"kind":"number","nativeSrc":"4953:2:30","nodeType":"YulLiteral","src":"4953:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"4932:3:30","nodeType":"YulIdentifier","src":"4932:3:30"},"nativeSrc":"4932:24:30","nodeType":"YulFunctionCall","src":"4932:24:30"},{"name":"dataEnd","nativeSrc":"4958:7:30","nodeType":"YulIdentifier","src":"4958:7:30"}],"functionName":{"name":"gt","nativeSrc":"4929:2:30","nodeType":"YulIdentifier","src":"4929:2:30"},"nativeSrc":"4929:37:30","nodeType":"YulFunctionCall","src":"4929:37:30"},"nativeSrc":"4926:57:30","nodeType":"YulIf","src":"4926:57:30"},{"nativeSrc":"4992:21:30","nodeType":"YulAssignment","src":"4992:21:30","value":{"arguments":[{"name":"_1","nativeSrc":"5006:2:30","nodeType":"YulIdentifier","src":"5006:2:30"},{"kind":"number","nativeSrc":"5010:2:30","nodeType":"YulLiteral","src":"5010:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"5002:3:30","nodeType":"YulIdentifier","src":"5002:3:30"},"nativeSrc":"5002:11:30","nodeType":"YulFunctionCall","src":"5002:11:30"},"variableNames":[{"name":"value2","nativeSrc":"4992:6:30","nodeType":"YulIdentifier","src":"4992:6:30"}]},{"nativeSrc":"5022:16:30","nodeType":"YulAssignment","src":"5022:16:30","value":{"name":"length","nativeSrc":"5032:6:30","nodeType":"YulIdentifier","src":"5032:6:30"},"variableNames":[{"name":"value3","nativeSrc":"5022:6:30","nodeType":"YulIdentifier","src":"5022:6:30"}]}]},"name":"abi_decode_tuple_t_int256t_int256t_bytes_calldata_ptr","nativeSrc":"4226:818:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"4289:9:30","nodeType":"YulTypedName","src":"4289:9:30","type":""},{"name":"dataEnd","nativeSrc":"4300:7:30","nodeType":"YulTypedName","src":"4300:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"4312:6:30","nodeType":"YulTypedName","src":"4312:6:30","type":""},{"name":"value1","nativeSrc":"4320:6:30","nodeType":"YulTypedName","src":"4320:6:30","type":""},{"name":"value2","nativeSrc":"4328:6:30","nodeType":"YulTypedName","src":"4328:6:30","type":""},{"name":"value3","nativeSrc":"4336:6:30","nodeType":"YulTypedName","src":"4336:6:30","type":""}],"src":"4226:818:30"},{"body":{"nativeSrc":"5081:95:30","nodeType":"YulBlock","src":"5081:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"5098:1:30","nodeType":"YulLiteral","src":"5098:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"5105:3:30","nodeType":"YulLiteral","src":"5105:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"5110:10:30","nodeType":"YulLiteral","src":"5110:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"5101:3:30","nodeType":"YulIdentifier","src":"5101:3:30"},"nativeSrc":"5101:20:30","nodeType":"YulFunctionCall","src":"5101:20:30"}],"functionName":{"name":"mstore","nativeSrc":"5091:6:30","nodeType":"YulIdentifier","src":"5091:6:30"},"nativeSrc":"5091:31:30","nodeType":"YulFunctionCall","src":"5091:31:30"},"nativeSrc":"5091:31:30","nodeType":"YulExpressionStatement","src":"5091:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"5138:1:30","nodeType":"YulLiteral","src":"5138:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"5141:4:30","nodeType":"YulLiteral","src":"5141:4:30","type":"","value":"0x11"}],"functionName":{"name":"mstore","nativeSrc":"5131:6:30","nodeType":"YulIdentifier","src":"5131:6:30"},"nativeSrc":"5131:15:30","nodeType":"YulFunctionCall","src":"5131:15:30"},"nativeSrc":"5131:15:30","nodeType":"YulExpressionStatement","src":"5131:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"5162:1:30","nodeType":"YulLiteral","src":"5162:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"5165:4:30","nodeType":"YulLiteral","src":"5165:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"5155:6:30","nodeType":"YulIdentifier","src":"5155:6:30"},"nativeSrc":"5155:15:30","nodeType":"YulFunctionCall","src":"5155:15:30"},"nativeSrc":"5155:15:30","nodeType":"YulExpressionStatement","src":"5155:15:30"}]},"name":"panic_error_0x11","nativeSrc":"5049:127:30","nodeType":"YulFunctionDefinition","src":"5049:127:30"},{"body":{"nativeSrc":"5233:116:30","nodeType":"YulBlock","src":"5233:116:30","statements":[{"nativeSrc":"5243:20:30","nodeType":"YulAssignment","src":"5243:20:30","value":{"arguments":[{"name":"x","nativeSrc":"5258:1:30","nodeType":"YulIdentifier","src":"5258:1:30"},{"name":"y","nativeSrc":"5261:1:30","nodeType":"YulIdentifier","src":"5261:1:30"}],"functionName":{"name":"mul","nativeSrc":"5254:3:30","nodeType":"YulIdentifier","src":"5254:3:30"},"nativeSrc":"5254:9:30","nodeType":"YulFunctionCall","src":"5254:9:30"},"variableNames":[{"name":"product","nativeSrc":"5243:7:30","nodeType":"YulIdentifier","src":"5243:7:30"}]},{"body":{"nativeSrc":"5321:22:30","nodeType":"YulBlock","src":"5321:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"5323:16:30","nodeType":"YulIdentifier","src":"5323:16:30"},"nativeSrc":"5323:18:30","nodeType":"YulFunctionCall","src":"5323:18:30"},"nativeSrc":"5323:18:30","nodeType":"YulExpressionStatement","src":"5323:18:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"x","nativeSrc":"5292:1:30","nodeType":"YulIdentifier","src":"5292:1:30"}],"functionName":{"name":"iszero","nativeSrc":"5285:6:30","nodeType":"YulIdentifier","src":"5285:6:30"},"nativeSrc":"5285:9:30","nodeType":"YulFunctionCall","src":"5285:9:30"},{"arguments":[{"name":"y","nativeSrc":"5299:1:30","nodeType":"YulIdentifier","src":"5299:1:30"},{"arguments":[{"name":"product","nativeSrc":"5306:7:30","nodeType":"YulIdentifier","src":"5306:7:30"},{"name":"x","nativeSrc":"5315:1:30","nodeType":"YulIdentifier","src":"5315:1:30"}],"functionName":{"name":"div","nativeSrc":"5302:3:30","nodeType":"YulIdentifier","src":"5302:3:30"},"nativeSrc":"5302:15:30","nodeType":"YulFunctionCall","src":"5302:15:30"}],"functionName":{"name":"eq","nativeSrc":"5296:2:30","nodeType":"YulIdentifier","src":"5296:2:30"},"nativeSrc":"5296:22:30","nodeType":"YulFunctionCall","src":"5296:22:30"}],"functionName":{"name":"or","nativeSrc":"5282:2:30","nodeType":"YulIdentifier","src":"5282:2:30"},"nativeSrc":"5282:37:30","nodeType":"YulFunctionCall","src":"5282:37:30"}],"functionName":{"name":"iszero","nativeSrc":"5275:6:30","nodeType":"YulIdentifier","src":"5275:6:30"},"nativeSrc":"5275:45:30","nodeType":"YulFunctionCall","src":"5275:45:30"},"nativeSrc":"5272:71:30","nodeType":"YulIf","src":"5272:71:30"}]},"name":"checked_mul_t_uint256","nativeSrc":"5181:168:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"5212:1:30","nodeType":"YulTypedName","src":"5212:1:30","type":""},{"name":"y","nativeSrc":"5215:1:30","nodeType":"YulTypedName","src":"5215:1:30","type":""}],"returnVariables":[{"name":"product","nativeSrc":"5221:7:30","nodeType":"YulTypedName","src":"5221:7:30","type":""}],"src":"5181:168:30"},{"body":{"nativeSrc":"5386:95:30","nodeType":"YulBlock","src":"5386:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"5403:1:30","nodeType":"YulLiteral","src":"5403:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"5410:3:30","nodeType":"YulLiteral","src":"5410:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"5415:10:30","nodeType":"YulLiteral","src":"5415:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"5406:3:30","nodeType":"YulIdentifier","src":"5406:3:30"},"nativeSrc":"5406:20:30","nodeType":"YulFunctionCall","src":"5406:20:30"}],"functionName":{"name":"mstore","nativeSrc":"5396:6:30","nodeType":"YulIdentifier","src":"5396:6:30"},"nativeSrc":"5396:31:30","nodeType":"YulFunctionCall","src":"5396:31:30"},"nativeSrc":"5396:31:30","nodeType":"YulExpressionStatement","src":"5396:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"5443:1:30","nodeType":"YulLiteral","src":"5443:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"5446:4:30","nodeType":"YulLiteral","src":"5446:4:30","type":"","value":"0x12"}],"functionName":{"name":"mstore","nativeSrc":"5436:6:30","nodeType":"YulIdentifier","src":"5436:6:30"},"nativeSrc":"5436:15:30","nodeType":"YulFunctionCall","src":"5436:15:30"},"nativeSrc":"5436:15:30","nodeType":"YulExpressionStatement","src":"5436:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"5467:1:30","nodeType":"YulLiteral","src":"5467:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"5470:4:30","nodeType":"YulLiteral","src":"5470:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"5460:6:30","nodeType":"YulIdentifier","src":"5460:6:30"},"nativeSrc":"5460:15:30","nodeType":"YulFunctionCall","src":"5460:15:30"},"nativeSrc":"5460:15:30","nodeType":"YulExpressionStatement","src":"5460:15:30"}]},"name":"panic_error_0x12","nativeSrc":"5354:127:30","nodeType":"YulFunctionDefinition","src":"5354:127:30"},{"body":{"nativeSrc":"5532:171:30","nodeType":"YulBlock","src":"5532:171:30","statements":[{"body":{"nativeSrc":"5563:111:30","nodeType":"YulBlock","src":"5563:111:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"5584:1:30","nodeType":"YulLiteral","src":"5584:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"5591:3:30","nodeType":"YulLiteral","src":"5591:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"5596:10:30","nodeType":"YulLiteral","src":"5596:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"5587:3:30","nodeType":"YulIdentifier","src":"5587:3:30"},"nativeSrc":"5587:20:30","nodeType":"YulFunctionCall","src":"5587:20:30"}],"functionName":{"name":"mstore","nativeSrc":"5577:6:30","nodeType":"YulIdentifier","src":"5577:6:30"},"nativeSrc":"5577:31:30","nodeType":"YulFunctionCall","src":"5577:31:30"},"nativeSrc":"5577:31:30","nodeType":"YulExpressionStatement","src":"5577:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"5628:1:30","nodeType":"YulLiteral","src":"5628:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"5631:4:30","nodeType":"YulLiteral","src":"5631:4:30","type":"","value":"0x12"}],"functionName":{"name":"mstore","nativeSrc":"5621:6:30","nodeType":"YulIdentifier","src":"5621:6:30"},"nativeSrc":"5621:15:30","nodeType":"YulFunctionCall","src":"5621:15:30"},"nativeSrc":"5621:15:30","nodeType":"YulExpressionStatement","src":"5621:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"5656:1:30","nodeType":"YulLiteral","src":"5656:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"5659:4:30","nodeType":"YulLiteral","src":"5659:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"5649:6:30","nodeType":"YulIdentifier","src":"5649:6:30"},"nativeSrc":"5649:15:30","nodeType":"YulFunctionCall","src":"5649:15:30"},"nativeSrc":"5649:15:30","nodeType":"YulExpressionStatement","src":"5649:15:30"}]},"condition":{"arguments":[{"name":"y","nativeSrc":"5552:1:30","nodeType":"YulIdentifier","src":"5552:1:30"}],"functionName":{"name":"iszero","nativeSrc":"5545:6:30","nodeType":"YulIdentifier","src":"5545:6:30"},"nativeSrc":"5545:9:30","nodeType":"YulFunctionCall","src":"5545:9:30"},"nativeSrc":"5542:132:30","nodeType":"YulIf","src":"5542:132:30"},{"nativeSrc":"5683:14:30","nodeType":"YulAssignment","src":"5683:14:30","value":{"arguments":[{"name":"x","nativeSrc":"5692:1:30","nodeType":"YulIdentifier","src":"5692:1:30"},{"name":"y","nativeSrc":"5695:1:30","nodeType":"YulIdentifier","src":"5695:1:30"}],"functionName":{"name":"div","nativeSrc":"5688:3:30","nodeType":"YulIdentifier","src":"5688:3:30"},"nativeSrc":"5688:9:30","nodeType":"YulFunctionCall","src":"5688:9:30"},"variableNames":[{"name":"r","nativeSrc":"5683:1:30","nodeType":"YulIdentifier","src":"5683:1:30"}]}]},"name":"checked_div_t_uint256","nativeSrc":"5486:217:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"5517:1:30","nodeType":"YulTypedName","src":"5517:1:30","type":""},{"name":"y","nativeSrc":"5520:1:30","nodeType":"YulTypedName","src":"5520:1:30","type":""}],"returnVariables":[{"name":"r","nativeSrc":"5526:1:30","nodeType":"YulTypedName","src":"5526:1:30","type":""}],"src":"5486:217:30"},{"body":{"nativeSrc":"5837:119:30","nodeType":"YulBlock","src":"5837:119:30","statements":[{"nativeSrc":"5847:26:30","nodeType":"YulAssignment","src":"5847:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5859:9:30","nodeType":"YulIdentifier","src":"5859:9:30"},{"kind":"number","nativeSrc":"5870:2:30","nodeType":"YulLiteral","src":"5870:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"5855:3:30","nodeType":"YulIdentifier","src":"5855:3:30"},"nativeSrc":"5855:18:30","nodeType":"YulFunctionCall","src":"5855:18:30"},"variableNames":[{"name":"tail","nativeSrc":"5847:4:30","nodeType":"YulIdentifier","src":"5847:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"5889:9:30","nodeType":"YulIdentifier","src":"5889:9:30"},{"name":"value0","nativeSrc":"5900:6:30","nodeType":"YulIdentifier","src":"5900:6:30"}],"functionName":{"name":"mstore","nativeSrc":"5882:6:30","nodeType":"YulIdentifier","src":"5882:6:30"},"nativeSrc":"5882:25:30","nodeType":"YulFunctionCall","src":"5882:25:30"},"nativeSrc":"5882:25:30","nodeType":"YulExpressionStatement","src":"5882:25:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"5927:9:30","nodeType":"YulIdentifier","src":"5927:9:30"},{"kind":"number","nativeSrc":"5938:2:30","nodeType":"YulLiteral","src":"5938:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"5923:3:30","nodeType":"YulIdentifier","src":"5923:3:30"},"nativeSrc":"5923:18:30","nodeType":"YulFunctionCall","src":"5923:18:30"},{"name":"value1","nativeSrc":"5943:6:30","nodeType":"YulIdentifier","src":"5943:6:30"}],"functionName":{"name":"mstore","nativeSrc":"5916:6:30","nodeType":"YulIdentifier","src":"5916:6:30"},"nativeSrc":"5916:34:30","nodeType":"YulFunctionCall","src":"5916:34:30"},"nativeSrc":"5916:34:30","nodeType":"YulExpressionStatement","src":"5916:34:30"}]},"name":"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed","nativeSrc":"5708:248:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5798:9:30","nodeType":"YulTypedName","src":"5798:9:30","type":""},{"name":"value1","nativeSrc":"5809:6:30","nodeType":"YulTypedName","src":"5809:6:30","type":""},{"name":"value0","nativeSrc":"5817:6:30","nodeType":"YulTypedName","src":"5817:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"5828:4:30","nodeType":"YulTypedName","src":"5828:4:30","type":""}],"src":"5708:248:30"},{"body":{"nativeSrc":"6118:214:30","nodeType":"YulBlock","src":"6118:214:30","statements":[{"nativeSrc":"6128:26:30","nodeType":"YulAssignment","src":"6128:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"6140:9:30","nodeType":"YulIdentifier","src":"6140:9:30"},{"kind":"number","nativeSrc":"6151:2:30","nodeType":"YulLiteral","src":"6151:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"6136:3:30","nodeType":"YulIdentifier","src":"6136:3:30"},"nativeSrc":"6136:18:30","nodeType":"YulFunctionCall","src":"6136:18:30"},"variableNames":[{"name":"tail","nativeSrc":"6128:4:30","nodeType":"YulIdentifier","src":"6128:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"6170:9:30","nodeType":"YulIdentifier","src":"6170:9:30"},{"arguments":[{"name":"value0","nativeSrc":"6185:6:30","nodeType":"YulIdentifier","src":"6185:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"6201:3:30","nodeType":"YulLiteral","src":"6201:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"6206:1:30","nodeType":"YulLiteral","src":"6206:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"6197:3:30","nodeType":"YulIdentifier","src":"6197:3:30"},"nativeSrc":"6197:11:30","nodeType":"YulFunctionCall","src":"6197:11:30"},{"kind":"number","nativeSrc":"6210:1:30","nodeType":"YulLiteral","src":"6210:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"6193:3:30","nodeType":"YulIdentifier","src":"6193:3:30"},"nativeSrc":"6193:19:30","nodeType":"YulFunctionCall","src":"6193:19:30"}],"functionName":{"name":"and","nativeSrc":"6181:3:30","nodeType":"YulIdentifier","src":"6181:3:30"},"nativeSrc":"6181:32:30","nodeType":"YulFunctionCall","src":"6181:32:30"}],"functionName":{"name":"mstore","nativeSrc":"6163:6:30","nodeType":"YulIdentifier","src":"6163:6:30"},"nativeSrc":"6163:51:30","nodeType":"YulFunctionCall","src":"6163:51:30"},"nativeSrc":"6163:51:30","nodeType":"YulExpressionStatement","src":"6163:51:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"6234:9:30","nodeType":"YulIdentifier","src":"6234:9:30"},{"kind":"number","nativeSrc":"6245:2:30","nodeType":"YulLiteral","src":"6245:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"6230:3:30","nodeType":"YulIdentifier","src":"6230:3:30"},"nativeSrc":"6230:18:30","nodeType":"YulFunctionCall","src":"6230:18:30"},{"arguments":[{"name":"value1","nativeSrc":"6254:6:30","nodeType":"YulIdentifier","src":"6254:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"6270:3:30","nodeType":"YulLiteral","src":"6270:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"6275:1:30","nodeType":"YulLiteral","src":"6275:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"6266:3:30","nodeType":"YulIdentifier","src":"6266:3:30"},"nativeSrc":"6266:11:30","nodeType":"YulFunctionCall","src":"6266:11:30"},{"kind":"number","nativeSrc":"6279:1:30","nodeType":"YulLiteral","src":"6279:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"6262:3:30","nodeType":"YulIdentifier","src":"6262:3:30"},"nativeSrc":"6262:19:30","nodeType":"YulFunctionCall","src":"6262:19:30"}],"functionName":{"name":"and","nativeSrc":"6250:3:30","nodeType":"YulIdentifier","src":"6250:3:30"},"nativeSrc":"6250:32:30","nodeType":"YulFunctionCall","src":"6250:32:30"}],"functionName":{"name":"mstore","nativeSrc":"6223:6:30","nodeType":"YulIdentifier","src":"6223:6:30"},"nativeSrc":"6223:60:30","nodeType":"YulFunctionCall","src":"6223:60:30"},"nativeSrc":"6223:60:30","nodeType":"YulExpressionStatement","src":"6223:60:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"6303:9:30","nodeType":"YulIdentifier","src":"6303:9:30"},{"kind":"number","nativeSrc":"6314:2:30","nodeType":"YulLiteral","src":"6314:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"6299:3:30","nodeType":"YulIdentifier","src":"6299:3:30"},"nativeSrc":"6299:18:30","nodeType":"YulFunctionCall","src":"6299:18:30"},{"name":"value2","nativeSrc":"6319:6:30","nodeType":"YulIdentifier","src":"6319:6:30"}],"functionName":{"name":"mstore","nativeSrc":"6292:6:30","nodeType":"YulIdentifier","src":"6292:6:30"},"nativeSrc":"6292:34:30","nodeType":"YulFunctionCall","src":"6292:34:30"},"nativeSrc":"6292:34:30","nodeType":"YulExpressionStatement","src":"6292:34:30"}]},"name":"abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed","nativeSrc":"5961:371:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"6071:9:30","nodeType":"YulTypedName","src":"6071:9:30","type":""},{"name":"value2","nativeSrc":"6082:6:30","nodeType":"YulTypedName","src":"6082:6:30","type":""},{"name":"value1","nativeSrc":"6090:6:30","nodeType":"YulTypedName","src":"6090:6:30","type":""},{"name":"value0","nativeSrc":"6098:6:30","nodeType":"YulTypedName","src":"6098:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"6109:4:30","nodeType":"YulTypedName","src":"6109:4:30","type":""}],"src":"5961:371:30"},{"body":{"nativeSrc":"6416:194:30","nodeType":"YulBlock","src":"6416:194:30","statements":[{"body":{"nativeSrc":"6462:16:30","nodeType":"YulBlock","src":"6462:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"6471:1:30","nodeType":"YulLiteral","src":"6471:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"6474:1:30","nodeType":"YulLiteral","src":"6474:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"6464:6:30","nodeType":"YulIdentifier","src":"6464:6:30"},"nativeSrc":"6464:12:30","nodeType":"YulFunctionCall","src":"6464:12:30"},"nativeSrc":"6464:12:30","nodeType":"YulExpressionStatement","src":"6464:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"6437:7:30","nodeType":"YulIdentifier","src":"6437:7:30"},{"name":"headStart","nativeSrc":"6446:9:30","nodeType":"YulIdentifier","src":"6446:9:30"}],"functionName":{"name":"sub","nativeSrc":"6433:3:30","nodeType":"YulIdentifier","src":"6433:3:30"},"nativeSrc":"6433:23:30","nodeType":"YulFunctionCall","src":"6433:23:30"},{"kind":"number","nativeSrc":"6458:2:30","nodeType":"YulLiteral","src":"6458:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"6429:3:30","nodeType":"YulIdentifier","src":"6429:3:30"},"nativeSrc":"6429:32:30","nodeType":"YulFunctionCall","src":"6429:32:30"},"nativeSrc":"6426:52:30","nodeType":"YulIf","src":"6426:52:30"},{"nativeSrc":"6487:29:30","nodeType":"YulVariableDeclaration","src":"6487:29:30","value":{"arguments":[{"name":"headStart","nativeSrc":"6506:9:30","nodeType":"YulIdentifier","src":"6506:9:30"}],"functionName":{"name":"mload","nativeSrc":"6500:5:30","nodeType":"YulIdentifier","src":"6500:5:30"},"nativeSrc":"6500:16:30","nodeType":"YulFunctionCall","src":"6500:16:30"},"variables":[{"name":"value","nativeSrc":"6491:5:30","nodeType":"YulTypedName","src":"6491:5:30","type":""}]},{"body":{"nativeSrc":"6564:16:30","nodeType":"YulBlock","src":"6564:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"6573:1:30","nodeType":"YulLiteral","src":"6573:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"6576:1:30","nodeType":"YulLiteral","src":"6576:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"6566:6:30","nodeType":"YulIdentifier","src":"6566:6:30"},"nativeSrc":"6566:12:30","nodeType":"YulFunctionCall","src":"6566:12:30"},"nativeSrc":"6566:12:30","nodeType":"YulExpressionStatement","src":"6566:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"6538:5:30","nodeType":"YulIdentifier","src":"6538:5:30"},{"arguments":[{"name":"value","nativeSrc":"6549:5:30","nodeType":"YulIdentifier","src":"6549:5:30"},{"kind":"number","nativeSrc":"6556:4:30","nodeType":"YulLiteral","src":"6556:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"6545:3:30","nodeType":"YulIdentifier","src":"6545:3:30"},"nativeSrc":"6545:16:30","nodeType":"YulFunctionCall","src":"6545:16:30"}],"functionName":{"name":"eq","nativeSrc":"6535:2:30","nodeType":"YulIdentifier","src":"6535:2:30"},"nativeSrc":"6535:27:30","nodeType":"YulFunctionCall","src":"6535:27:30"}],"functionName":{"name":"iszero","nativeSrc":"6528:6:30","nodeType":"YulIdentifier","src":"6528:6:30"},"nativeSrc":"6528:35:30","nodeType":"YulFunctionCall","src":"6528:35:30"},"nativeSrc":"6525:55:30","nodeType":"YulIf","src":"6525:55:30"},{"nativeSrc":"6589:15:30","nodeType":"YulAssignment","src":"6589:15:30","value":{"name":"value","nativeSrc":"6599:5:30","nodeType":"YulIdentifier","src":"6599:5:30"},"variableNames":[{"name":"value0","nativeSrc":"6589:6:30","nodeType":"YulIdentifier","src":"6589:6:30"}]}]},"name":"abi_decode_tuple_t_uint8_fromMemory","nativeSrc":"6337:273:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"6382:9:30","nodeType":"YulTypedName","src":"6382:9:30","type":""},{"name":"dataEnd","nativeSrc":"6393:7:30","nodeType":"YulTypedName","src":"6393:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"6405:6:30","nodeType":"YulTypedName","src":"6405:6:30","type":""}],"src":"6337:273:30"},{"body":{"nativeSrc":"6662:104:30","nodeType":"YulBlock","src":"6662:104:30","statements":[{"nativeSrc":"6672:39:30","nodeType":"YulAssignment","src":"6672:39:30","value":{"arguments":[{"arguments":[{"name":"x","nativeSrc":"6688:1:30","nodeType":"YulIdentifier","src":"6688:1:30"},{"kind":"number","nativeSrc":"6691:4:30","nodeType":"YulLiteral","src":"6691:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"6684:3:30","nodeType":"YulIdentifier","src":"6684:3:30"},"nativeSrc":"6684:12:30","nodeType":"YulFunctionCall","src":"6684:12:30"},{"arguments":[{"name":"y","nativeSrc":"6702:1:30","nodeType":"YulIdentifier","src":"6702:1:30"},{"kind":"number","nativeSrc":"6705:4:30","nodeType":"YulLiteral","src":"6705:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"6698:3:30","nodeType":"YulIdentifier","src":"6698:3:30"},"nativeSrc":"6698:12:30","nodeType":"YulFunctionCall","src":"6698:12:30"}],"functionName":{"name":"sub","nativeSrc":"6680:3:30","nodeType":"YulIdentifier","src":"6680:3:30"},"nativeSrc":"6680:31:30","nodeType":"YulFunctionCall","src":"6680:31:30"},"variableNames":[{"name":"diff","nativeSrc":"6672:4:30","nodeType":"YulIdentifier","src":"6672:4:30"}]},{"body":{"nativeSrc":"6738:22:30","nodeType":"YulBlock","src":"6738:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"6740:16:30","nodeType":"YulIdentifier","src":"6740:16:30"},"nativeSrc":"6740:18:30","nodeType":"YulFunctionCall","src":"6740:18:30"},"nativeSrc":"6740:18:30","nodeType":"YulExpressionStatement","src":"6740:18:30"}]},"condition":{"arguments":[{"name":"diff","nativeSrc":"6726:4:30","nodeType":"YulIdentifier","src":"6726:4:30"},{"kind":"number","nativeSrc":"6732:4:30","nodeType":"YulLiteral","src":"6732:4:30","type":"","value":"0xff"}],"functionName":{"name":"gt","nativeSrc":"6723:2:30","nodeType":"YulIdentifier","src":"6723:2:30"},"nativeSrc":"6723:14:30","nodeType":"YulFunctionCall","src":"6723:14:30"},"nativeSrc":"6720:40:30","nodeType":"YulIf","src":"6720:40:30"}]},"name":"checked_sub_t_uint8","nativeSrc":"6615:151:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"6644:1:30","nodeType":"YulTypedName","src":"6644:1:30","type":""},{"name":"y","nativeSrc":"6647:1:30","nodeType":"YulTypedName","src":"6647:1:30","type":""}],"returnVariables":[{"name":"diff","nativeSrc":"6653:4:30","nodeType":"YulTypedName","src":"6653:4:30","type":""}],"src":"6615:151:30"},{"body":{"nativeSrc":"6840:306:30","nodeType":"YulBlock","src":"6840:306:30","statements":[{"nativeSrc":"6850:10:30","nodeType":"YulAssignment","src":"6850:10:30","value":{"kind":"number","nativeSrc":"6859:1:30","nodeType":"YulLiteral","src":"6859:1:30","type":"","value":"1"},"variableNames":[{"name":"power","nativeSrc":"6850:5:30","nodeType":"YulIdentifier","src":"6850:5:30"}]},{"nativeSrc":"6869:13:30","nodeType":"YulAssignment","src":"6869:13:30","value":{"name":"_base","nativeSrc":"6877:5:30","nodeType":"YulIdentifier","src":"6877:5:30"},"variableNames":[{"name":"base","nativeSrc":"6869:4:30","nodeType":"YulIdentifier","src":"6869:4:30"}]},{"body":{"nativeSrc":"6927:213:30","nodeType":"YulBlock","src":"6927:213:30","statements":[{"body":{"nativeSrc":"6969:22:30","nodeType":"YulBlock","src":"6969:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"6971:16:30","nodeType":"YulIdentifier","src":"6971:16:30"},"nativeSrc":"6971:18:30","nodeType":"YulFunctionCall","src":"6971:18:30"},"nativeSrc":"6971:18:30","nodeType":"YulExpressionStatement","src":"6971:18:30"}]},"condition":{"arguments":[{"name":"base","nativeSrc":"6947:4:30","nodeType":"YulIdentifier","src":"6947:4:30"},{"arguments":[{"name":"max","nativeSrc":"6957:3:30","nodeType":"YulIdentifier","src":"6957:3:30"},{"name":"base","nativeSrc":"6962:4:30","nodeType":"YulIdentifier","src":"6962:4:30"}],"functionName":{"name":"div","nativeSrc":"6953:3:30","nodeType":"YulIdentifier","src":"6953:3:30"},"nativeSrc":"6953:14:30","nodeType":"YulFunctionCall","src":"6953:14:30"}],"functionName":{"name":"gt","nativeSrc":"6944:2:30","nodeType":"YulIdentifier","src":"6944:2:30"},"nativeSrc":"6944:24:30","nodeType":"YulFunctionCall","src":"6944:24:30"},"nativeSrc":"6941:50:30","nodeType":"YulIf","src":"6941:50:30"},{"body":{"nativeSrc":"7024:29:30","nodeType":"YulBlock","src":"7024:29:30","statements":[{"nativeSrc":"7026:25:30","nodeType":"YulAssignment","src":"7026:25:30","value":{"arguments":[{"name":"power","nativeSrc":"7039:5:30","nodeType":"YulIdentifier","src":"7039:5:30"},{"name":"base","nativeSrc":"7046:4:30","nodeType":"YulIdentifier","src":"7046:4:30"}],"functionName":{"name":"mul","nativeSrc":"7035:3:30","nodeType":"YulIdentifier","src":"7035:3:30"},"nativeSrc":"7035:16:30","nodeType":"YulFunctionCall","src":"7035:16:30"},"variableNames":[{"name":"power","nativeSrc":"7026:5:30","nodeType":"YulIdentifier","src":"7026:5:30"}]}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"7011:8:30","nodeType":"YulIdentifier","src":"7011:8:30"},{"kind":"number","nativeSrc":"7021:1:30","nodeType":"YulLiteral","src":"7021:1:30","type":"","value":"1"}],"functionName":{"name":"and","nativeSrc":"7007:3:30","nodeType":"YulIdentifier","src":"7007:3:30"},"nativeSrc":"7007:16:30","nodeType":"YulFunctionCall","src":"7007:16:30"},"nativeSrc":"7004:49:30","nodeType":"YulIf","src":"7004:49:30"},{"nativeSrc":"7066:23:30","nodeType":"YulAssignment","src":"7066:23:30","value":{"arguments":[{"name":"base","nativeSrc":"7078:4:30","nodeType":"YulIdentifier","src":"7078:4:30"},{"name":"base","nativeSrc":"7084:4:30","nodeType":"YulIdentifier","src":"7084:4:30"}],"functionName":{"name":"mul","nativeSrc":"7074:3:30","nodeType":"YulIdentifier","src":"7074:3:30"},"nativeSrc":"7074:15:30","nodeType":"YulFunctionCall","src":"7074:15:30"},"variableNames":[{"name":"base","nativeSrc":"7066:4:30","nodeType":"YulIdentifier","src":"7066:4:30"}]},{"nativeSrc":"7102:28:30","nodeType":"YulAssignment","src":"7102:28:30","value":{"arguments":[{"kind":"number","nativeSrc":"7118:1:30","nodeType":"YulLiteral","src":"7118:1:30","type":"","value":"1"},{"name":"exponent","nativeSrc":"7121:8:30","nodeType":"YulIdentifier","src":"7121:8:30"}],"functionName":{"name":"shr","nativeSrc":"7114:3:30","nodeType":"YulIdentifier","src":"7114:3:30"},"nativeSrc":"7114:16:30","nodeType":"YulFunctionCall","src":"7114:16:30"},"variableNames":[{"name":"exponent","nativeSrc":"7102:8:30","nodeType":"YulIdentifier","src":"7102:8:30"}]}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"6902:8:30","nodeType":"YulIdentifier","src":"6902:8:30"},{"kind":"number","nativeSrc":"6912:1:30","nodeType":"YulLiteral","src":"6912:1:30","type":"","value":"1"}],"functionName":{"name":"gt","nativeSrc":"6899:2:30","nodeType":"YulIdentifier","src":"6899:2:30"},"nativeSrc":"6899:15:30","nodeType":"YulFunctionCall","src":"6899:15:30"},"nativeSrc":"6891:249:30","nodeType":"YulForLoop","post":{"nativeSrc":"6915:3:30","nodeType":"YulBlock","src":"6915:3:30","statements":[]},"pre":{"nativeSrc":"6895:3:30","nodeType":"YulBlock","src":"6895:3:30","statements":[]},"src":"6891:249:30"}]},"name":"checked_exp_helper","nativeSrc":"6771:375:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"_base","nativeSrc":"6799:5:30","nodeType":"YulTypedName","src":"6799:5:30","type":""},{"name":"exponent","nativeSrc":"6806:8:30","nodeType":"YulTypedName","src":"6806:8:30","type":""},{"name":"max","nativeSrc":"6816:3:30","nodeType":"YulTypedName","src":"6816:3:30","type":""}],"returnVariables":[{"name":"power","nativeSrc":"6824:5:30","nodeType":"YulTypedName","src":"6824:5:30","type":""},{"name":"base","nativeSrc":"6831:4:30","nodeType":"YulTypedName","src":"6831:4:30","type":""}],"src":"6771:375:30"},{"body":{"nativeSrc":"7210:843:30","nodeType":"YulBlock","src":"7210:843:30","statements":[{"body":{"nativeSrc":"7248:52:30","nodeType":"YulBlock","src":"7248:52:30","statements":[{"nativeSrc":"7262:10:30","nodeType":"YulAssignment","src":"7262:10:30","value":{"kind":"number","nativeSrc":"7271:1:30","nodeType":"YulLiteral","src":"7271:1:30","type":"","value":"1"},"variableNames":[{"name":"power","nativeSrc":"7262:5:30","nodeType":"YulIdentifier","src":"7262:5:30"}]},{"nativeSrc":"7285:5:30","nodeType":"YulLeave","src":"7285:5:30"}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"7230:8:30","nodeType":"YulIdentifier","src":"7230:8:30"}],"functionName":{"name":"iszero","nativeSrc":"7223:6:30","nodeType":"YulIdentifier","src":"7223:6:30"},"nativeSrc":"7223:16:30","nodeType":"YulFunctionCall","src":"7223:16:30"},"nativeSrc":"7220:80:30","nodeType":"YulIf","src":"7220:80:30"},{"body":{"nativeSrc":"7333:52:30","nodeType":"YulBlock","src":"7333:52:30","statements":[{"nativeSrc":"7347:10:30","nodeType":"YulAssignment","src":"7347:10:30","value":{"kind":"number","nativeSrc":"7356:1:30","nodeType":"YulLiteral","src":"7356:1:30","type":"","value":"0"},"variableNames":[{"name":"power","nativeSrc":"7347:5:30","nodeType":"YulIdentifier","src":"7347:5:30"}]},{"nativeSrc":"7370:5:30","nodeType":"YulLeave","src":"7370:5:30"}]},"condition":{"arguments":[{"name":"base","nativeSrc":"7319:4:30","nodeType":"YulIdentifier","src":"7319:4:30"}],"functionName":{"name":"iszero","nativeSrc":"7312:6:30","nodeType":"YulIdentifier","src":"7312:6:30"},"nativeSrc":"7312:12:30","nodeType":"YulFunctionCall","src":"7312:12:30"},"nativeSrc":"7309:76:30","nodeType":"YulIf","src":"7309:76:30"},{"cases":[{"body":{"nativeSrc":"7421:52:30","nodeType":"YulBlock","src":"7421:52:30","statements":[{"nativeSrc":"7435:10:30","nodeType":"YulAssignment","src":"7435:10:30","value":{"kind":"number","nativeSrc":"7444:1:30","nodeType":"YulLiteral","src":"7444:1:30","type":"","value":"1"},"variableNames":[{"name":"power","nativeSrc":"7435:5:30","nodeType":"YulIdentifier","src":"7435:5:30"}]},{"nativeSrc":"7458:5:30","nodeType":"YulLeave","src":"7458:5:30"}]},"nativeSrc":"7414:59:30","nodeType":"YulCase","src":"7414:59:30","value":{"kind":"number","nativeSrc":"7419:1:30","nodeType":"YulLiteral","src":"7419:1:30","type":"","value":"1"}},{"body":{"nativeSrc":"7489:167:30","nodeType":"YulBlock","src":"7489:167:30","statements":[{"body":{"nativeSrc":"7524:22:30","nodeType":"YulBlock","src":"7524:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"7526:16:30","nodeType":"YulIdentifier","src":"7526:16:30"},"nativeSrc":"7526:18:30","nodeType":"YulFunctionCall","src":"7526:18:30"},"nativeSrc":"7526:18:30","nodeType":"YulExpressionStatement","src":"7526:18:30"}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"7509:8:30","nodeType":"YulIdentifier","src":"7509:8:30"},{"kind":"number","nativeSrc":"7519:3:30","nodeType":"YulLiteral","src":"7519:3:30","type":"","value":"255"}],"functionName":{"name":"gt","nativeSrc":"7506:2:30","nodeType":"YulIdentifier","src":"7506:2:30"},"nativeSrc":"7506:17:30","nodeType":"YulFunctionCall","src":"7506:17:30"},"nativeSrc":"7503:43:30","nodeType":"YulIf","src":"7503:43:30"},{"nativeSrc":"7559:25:30","nodeType":"YulAssignment","src":"7559:25:30","value":{"arguments":[{"name":"exponent","nativeSrc":"7572:8:30","nodeType":"YulIdentifier","src":"7572:8:30"},{"kind":"number","nativeSrc":"7582:1:30","nodeType":"YulLiteral","src":"7582:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"7568:3:30","nodeType":"YulIdentifier","src":"7568:3:30"},"nativeSrc":"7568:16:30","nodeType":"YulFunctionCall","src":"7568:16:30"},"variableNames":[{"name":"power","nativeSrc":"7559:5:30","nodeType":"YulIdentifier","src":"7559:5:30"}]},{"nativeSrc":"7597:11:30","nodeType":"YulVariableDeclaration","src":"7597:11:30","value":{"kind":"number","nativeSrc":"7607:1:30","nodeType":"YulLiteral","src":"7607:1:30","type":"","value":"0"},"variables":[{"name":"_1","nativeSrc":"7601:2:30","nodeType":"YulTypedName","src":"7601:2:30","type":""}]},{"nativeSrc":"7621:7:30","nodeType":"YulAssignment","src":"7621:7:30","value":{"kind":"number","nativeSrc":"7627:1:30","nodeType":"YulLiteral","src":"7627:1:30","type":"","value":"0"},"variableNames":[{"name":"_1","nativeSrc":"7621:2:30","nodeType":"YulIdentifier","src":"7621:2:30"}]},{"nativeSrc":"7641:5:30","nodeType":"YulLeave","src":"7641:5:30"}]},"nativeSrc":"7482:174:30","nodeType":"YulCase","src":"7482:174:30","value":{"kind":"number","nativeSrc":"7487:1:30","nodeType":"YulLiteral","src":"7487:1:30","type":"","value":"2"}}],"expression":{"name":"base","nativeSrc":"7401:4:30","nodeType":"YulIdentifier","src":"7401:4:30"},"nativeSrc":"7394:262:30","nodeType":"YulSwitch","src":"7394:262:30"},{"body":{"nativeSrc":"7754:114:30","nodeType":"YulBlock","src":"7754:114:30","statements":[{"nativeSrc":"7768:28:30","nodeType":"YulAssignment","src":"7768:28:30","value":{"arguments":[{"name":"base","nativeSrc":"7781:4:30","nodeType":"YulIdentifier","src":"7781:4:30"},{"name":"exponent","nativeSrc":"7787:8:30","nodeType":"YulIdentifier","src":"7787:8:30"}],"functionName":{"name":"exp","nativeSrc":"7777:3:30","nodeType":"YulIdentifier","src":"7777:3:30"},"nativeSrc":"7777:19:30","nodeType":"YulFunctionCall","src":"7777:19:30"},"variableNames":[{"name":"power","nativeSrc":"7768:5:30","nodeType":"YulIdentifier","src":"7768:5:30"}]},{"nativeSrc":"7809:11:30","nodeType":"YulVariableDeclaration","src":"7809:11:30","value":{"kind":"number","nativeSrc":"7819:1:30","nodeType":"YulLiteral","src":"7819:1:30","type":"","value":"0"},"variables":[{"name":"_2","nativeSrc":"7813:2:30","nodeType":"YulTypedName","src":"7813:2:30","type":""}]},{"nativeSrc":"7833:7:30","nodeType":"YulAssignment","src":"7833:7:30","value":{"kind":"number","nativeSrc":"7839:1:30","nodeType":"YulLiteral","src":"7839:1:30","type":"","value":"0"},"variableNames":[{"name":"_2","nativeSrc":"7833:2:30","nodeType":"YulIdentifier","src":"7833:2:30"}]},{"nativeSrc":"7853:5:30","nodeType":"YulLeave","src":"7853:5:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"base","nativeSrc":"7678:4:30","nodeType":"YulIdentifier","src":"7678:4:30"},{"kind":"number","nativeSrc":"7684:2:30","nodeType":"YulLiteral","src":"7684:2:30","type":"","value":"11"}],"functionName":{"name":"lt","nativeSrc":"7675:2:30","nodeType":"YulIdentifier","src":"7675:2:30"},"nativeSrc":"7675:12:30","nodeType":"YulFunctionCall","src":"7675:12:30"},{"arguments":[{"name":"exponent","nativeSrc":"7692:8:30","nodeType":"YulIdentifier","src":"7692:8:30"},{"kind":"number","nativeSrc":"7702:2:30","nodeType":"YulLiteral","src":"7702:2:30","type":"","value":"78"}],"functionName":{"name":"lt","nativeSrc":"7689:2:30","nodeType":"YulIdentifier","src":"7689:2:30"},"nativeSrc":"7689:16:30","nodeType":"YulFunctionCall","src":"7689:16:30"}],"functionName":{"name":"and","nativeSrc":"7671:3:30","nodeType":"YulIdentifier","src":"7671:3:30"},"nativeSrc":"7671:35:30","nodeType":"YulFunctionCall","src":"7671:35:30"},{"arguments":[{"arguments":[{"name":"base","nativeSrc":"7715:4:30","nodeType":"YulIdentifier","src":"7715:4:30"},{"kind":"number","nativeSrc":"7721:3:30","nodeType":"YulLiteral","src":"7721:3:30","type":"","value":"307"}],"functionName":{"name":"lt","nativeSrc":"7712:2:30","nodeType":"YulIdentifier","src":"7712:2:30"},"nativeSrc":"7712:13:30","nodeType":"YulFunctionCall","src":"7712:13:30"},{"arguments":[{"name":"exponent","nativeSrc":"7730:8:30","nodeType":"YulIdentifier","src":"7730:8:30"},{"kind":"number","nativeSrc":"7740:2:30","nodeType":"YulLiteral","src":"7740:2:30","type":"","value":"32"}],"functionName":{"name":"lt","nativeSrc":"7727:2:30","nodeType":"YulIdentifier","src":"7727:2:30"},"nativeSrc":"7727:16:30","nodeType":"YulFunctionCall","src":"7727:16:30"}],"functionName":{"name":"and","nativeSrc":"7708:3:30","nodeType":"YulIdentifier","src":"7708:3:30"},"nativeSrc":"7708:36:30","nodeType":"YulFunctionCall","src":"7708:36:30"}],"functionName":{"name":"or","nativeSrc":"7668:2:30","nodeType":"YulIdentifier","src":"7668:2:30"},"nativeSrc":"7668:77:30","nodeType":"YulFunctionCall","src":"7668:77:30"},"nativeSrc":"7665:203:30","nodeType":"YulIf","src":"7665:203:30"},{"nativeSrc":"7877:65:30","nodeType":"YulVariableDeclaration","src":"7877:65:30","value":{"arguments":[{"name":"base","nativeSrc":"7919:4:30","nodeType":"YulIdentifier","src":"7919:4:30"},{"name":"exponent","nativeSrc":"7925:8:30","nodeType":"YulIdentifier","src":"7925:8:30"},{"arguments":[{"kind":"number","nativeSrc":"7939:1:30","nodeType":"YulLiteral","src":"7939:1:30","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"7935:3:30","nodeType":"YulIdentifier","src":"7935:3:30"},"nativeSrc":"7935:6:30","nodeType":"YulFunctionCall","src":"7935:6:30"}],"functionName":{"name":"checked_exp_helper","nativeSrc":"7900:18:30","nodeType":"YulIdentifier","src":"7900:18:30"},"nativeSrc":"7900:42:30","nodeType":"YulFunctionCall","src":"7900:42:30"},"variables":[{"name":"power_1","nativeSrc":"7881:7:30","nodeType":"YulTypedName","src":"7881:7:30","type":""},{"name":"base_1","nativeSrc":"7890:6:30","nodeType":"YulTypedName","src":"7890:6:30","type":""}]},{"body":{"nativeSrc":"7987:22:30","nodeType":"YulBlock","src":"7987:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"7989:16:30","nodeType":"YulIdentifier","src":"7989:16:30"},"nativeSrc":"7989:18:30","nodeType":"YulFunctionCall","src":"7989:18:30"},"nativeSrc":"7989:18:30","nodeType":"YulExpressionStatement","src":"7989:18:30"}]},"condition":{"arguments":[{"name":"power_1","nativeSrc":"7957:7:30","nodeType":"YulIdentifier","src":"7957:7:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"7974:1:30","nodeType":"YulLiteral","src":"7974:1:30","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"7970:3:30","nodeType":"YulIdentifier","src":"7970:3:30"},"nativeSrc":"7970:6:30","nodeType":"YulFunctionCall","src":"7970:6:30"},{"name":"base_1","nativeSrc":"7978:6:30","nodeType":"YulIdentifier","src":"7978:6:30"}],"functionName":{"name":"div","nativeSrc":"7966:3:30","nodeType":"YulIdentifier","src":"7966:3:30"},"nativeSrc":"7966:19:30","nodeType":"YulFunctionCall","src":"7966:19:30"}],"functionName":{"name":"gt","nativeSrc":"7954:2:30","nodeType":"YulIdentifier","src":"7954:2:30"},"nativeSrc":"7954:32:30","nodeType":"YulFunctionCall","src":"7954:32:30"},"nativeSrc":"7951:58:30","nodeType":"YulIf","src":"7951:58:30"},{"nativeSrc":"8018:29:30","nodeType":"YulAssignment","src":"8018:29:30","value":{"arguments":[{"name":"power_1","nativeSrc":"8031:7:30","nodeType":"YulIdentifier","src":"8031:7:30"},{"name":"base_1","nativeSrc":"8040:6:30","nodeType":"YulIdentifier","src":"8040:6:30"}],"functionName":{"name":"mul","nativeSrc":"8027:3:30","nodeType":"YulIdentifier","src":"8027:3:30"},"nativeSrc":"8027:20:30","nodeType":"YulFunctionCall","src":"8027:20:30"},"variableNames":[{"name":"power","nativeSrc":"8018:5:30","nodeType":"YulIdentifier","src":"8018:5:30"}]}]},"name":"checked_exp_unsigned","nativeSrc":"7151:902:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"base","nativeSrc":"7181:4:30","nodeType":"YulTypedName","src":"7181:4:30","type":""},{"name":"exponent","nativeSrc":"7187:8:30","nodeType":"YulTypedName","src":"7187:8:30","type":""}],"returnVariables":[{"name":"power","nativeSrc":"7200:5:30","nodeType":"YulTypedName","src":"7200:5:30","type":""}],"src":"7151:902:30"},{"body":{"nativeSrc":"8126:72:30","nodeType":"YulBlock","src":"8126:72:30","statements":[{"nativeSrc":"8136:56:30","nodeType":"YulAssignment","src":"8136:56:30","value":{"arguments":[{"name":"base","nativeSrc":"8166:4:30","nodeType":"YulIdentifier","src":"8166:4:30"},{"arguments":[{"name":"exponent","nativeSrc":"8176:8:30","nodeType":"YulIdentifier","src":"8176:8:30"},{"kind":"number","nativeSrc":"8186:4:30","nodeType":"YulLiteral","src":"8186:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"8172:3:30","nodeType":"YulIdentifier","src":"8172:3:30"},"nativeSrc":"8172:19:30","nodeType":"YulFunctionCall","src":"8172:19:30"}],"functionName":{"name":"checked_exp_unsigned","nativeSrc":"8145:20:30","nodeType":"YulIdentifier","src":"8145:20:30"},"nativeSrc":"8145:47:30","nodeType":"YulFunctionCall","src":"8145:47:30"},"variableNames":[{"name":"power","nativeSrc":"8136:5:30","nodeType":"YulIdentifier","src":"8136:5:30"}]}]},"name":"checked_exp_t_uint256_t_uint8","nativeSrc":"8058:140:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"base","nativeSrc":"8097:4:30","nodeType":"YulTypedName","src":"8097:4:30","type":""},{"name":"exponent","nativeSrc":"8103:8:30","nodeType":"YulTypedName","src":"8103:8:30","type":""}],"returnVariables":[{"name":"power","nativeSrc":"8116:5:30","nodeType":"YulTypedName","src":"8116:5:30","type":""}],"src":"8058:140:30"},{"body":{"nativeSrc":"8332:145:30","nodeType":"YulBlock","src":"8332:145:30","statements":[{"nativeSrc":"8342:26:30","nodeType":"YulAssignment","src":"8342:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"8354:9:30","nodeType":"YulIdentifier","src":"8354:9:30"},{"kind":"number","nativeSrc":"8365:2:30","nodeType":"YulLiteral","src":"8365:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"8350:3:30","nodeType":"YulIdentifier","src":"8350:3:30"},"nativeSrc":"8350:18:30","nodeType":"YulFunctionCall","src":"8350:18:30"},"variableNames":[{"name":"tail","nativeSrc":"8342:4:30","nodeType":"YulIdentifier","src":"8342:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"8384:9:30","nodeType":"YulIdentifier","src":"8384:9:30"},{"arguments":[{"name":"value0","nativeSrc":"8399:6:30","nodeType":"YulIdentifier","src":"8399:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"8415:3:30","nodeType":"YulLiteral","src":"8415:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"8420:1:30","nodeType":"YulLiteral","src":"8420:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"8411:3:30","nodeType":"YulIdentifier","src":"8411:3:30"},"nativeSrc":"8411:11:30","nodeType":"YulFunctionCall","src":"8411:11:30"},{"kind":"number","nativeSrc":"8424:1:30","nodeType":"YulLiteral","src":"8424:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"8407:3:30","nodeType":"YulIdentifier","src":"8407:3:30"},"nativeSrc":"8407:19:30","nodeType":"YulFunctionCall","src":"8407:19:30"}],"functionName":{"name":"and","nativeSrc":"8395:3:30","nodeType":"YulIdentifier","src":"8395:3:30"},"nativeSrc":"8395:32:30","nodeType":"YulFunctionCall","src":"8395:32:30"}],"functionName":{"name":"mstore","nativeSrc":"8377:6:30","nodeType":"YulIdentifier","src":"8377:6:30"},"nativeSrc":"8377:51:30","nodeType":"YulFunctionCall","src":"8377:51:30"},"nativeSrc":"8377:51:30","nodeType":"YulExpressionStatement","src":"8377:51:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"8448:9:30","nodeType":"YulIdentifier","src":"8448:9:30"},{"kind":"number","nativeSrc":"8459:2:30","nodeType":"YulLiteral","src":"8459:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"8444:3:30","nodeType":"YulIdentifier","src":"8444:3:30"},"nativeSrc":"8444:18:30","nodeType":"YulFunctionCall","src":"8444:18:30"},{"name":"value1","nativeSrc":"8464:6:30","nodeType":"YulIdentifier","src":"8464:6:30"}],"functionName":{"name":"mstore","nativeSrc":"8437:6:30","nodeType":"YulIdentifier","src":"8437:6:30"},"nativeSrc":"8437:34:30","nodeType":"YulFunctionCall","src":"8437:34:30"},"nativeSrc":"8437:34:30","nodeType":"YulExpressionStatement","src":"8437:34:30"}]},"name":"abi_encode_tuple_t_address_t_bytes32__to_t_address_t_bytes32__fromStack_reversed","nativeSrc":"8203:274:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"8293:9:30","nodeType":"YulTypedName","src":"8293:9:30","type":""},{"name":"value1","nativeSrc":"8304:6:30","nodeType":"YulTypedName","src":"8304:6:30","type":""},{"name":"value0","nativeSrc":"8312:6:30","nodeType":"YulTypedName","src":"8312:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"8323:4:30","nodeType":"YulTypedName","src":"8323:4:30","type":""}],"src":"8203:274:30"}]},"contents":"{\n    { }\n    function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := calldataload(headStart)\n        if iszero(eq(value, and(value, shl(224, 0xffffffff)))) { revert(0, 0) }\n        value0 := value\n    }\n    function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, iszero(iszero(value0)))\n    }\n    function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := 0\n        value := calldataload(headStart)\n        value0 := value\n    }\n    function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function abi_decode_address(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        let value := 0\n        value := calldataload(headStart)\n        value0 := value\n        value1 := abi_decode_address(add(headStart, 32))\n    }\n    function abi_decode_struct_ExactInputSingleParams_calldata(offset, end) -> value\n    {\n        if slt(sub(end, offset), 256) { revert(0, 0) }\n        value := offset\n    }\n    function abi_decode_tuple_t_struct$_ExactInputSingleParams_$5443_calldata_ptr(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 256) { revert(0, 0) }\n        value0 := abi_decode_struct_ExactInputSingleParams_calldata(headStart, dataEnd)\n    }\n    function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        value1 := abi_decode_address(add(headStart, 32))\n        value2 := calldataload(add(headStart, 64))\n    }\n    function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n    }\n    function abi_decode_struct_ExactInputParams_calldata(offset, end) -> value\n    {\n        if slt(sub(end, offset), 160) { revert(0, 0) }\n        value := offset\n    }\n    function abi_decode_tuple_t_struct$_ExactInputParams_$5463_calldata_ptr(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        value0 := abi_decode_struct_ExactInputParams_calldata(add(headStart, offset), dataEnd)\n    }\n    function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n    }\n    function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        value1 := abi_decode_address(add(headStart, 32))\n    }\n    function abi_decode_tuple_t_struct$_ExactOutputSingleParams_$5489_calldata_ptr(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 256) { revert(0, 0) }\n        value0 := abi_decode_struct_ExactInputSingleParams_calldata(headStart, dataEnd)\n    }\n    function abi_decode_tuple_t_struct$_ExactOutputParams_$5509_calldata_ptr(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        value0 := abi_decode_struct_ExactInputParams_calldata(add(headStart, offset), dataEnd)\n    }\n    function abi_decode_tuple_t_int256t_int256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        let value := 0\n        value := calldataload(headStart)\n        value0 := value\n        let value_1 := 0\n        value_1 := calldataload(add(headStart, 32))\n        value1 := value_1\n        let offset := calldataload(add(headStart, 64))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let _1 := add(headStart, offset)\n        if iszero(slt(add(_1, 0x1f), dataEnd)) { revert(0, 0) }\n        let length := calldataload(_1)\n        if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n        if gt(add(add(_1, length), 32), dataEnd) { revert(0, 0) }\n        value2 := add(_1, 32)\n        value3 := length\n    }\n    function panic_error_0x11()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x11)\n        revert(0, 0x24)\n    }\n    function checked_mul_t_uint256(x, y) -> product\n    {\n        product := mul(x, y)\n        if iszero(or(iszero(x), eq(y, div(product, x)))) { panic_error_0x11() }\n    }\n    function panic_error_0x12()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x12)\n        revert(0, 0x24)\n    }\n    function checked_div_t_uint256(x, y) -> r\n    {\n        if iszero(y)\n        {\n            mstore(0, shl(224, 0x4e487b71))\n            mstore(4, 0x12)\n            revert(0, 0x24)\n        }\n        r := div(x, y)\n    }\n    function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, value0)\n        mstore(add(headStart, 32), value1)\n    }\n    function abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed(headStart, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 96)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 64), value2)\n    }\n    function abi_decode_tuple_t_uint8_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := mload(headStart)\n        if iszero(eq(value, and(value, 0xff))) { revert(0, 0) }\n        value0 := value\n    }\n    function checked_sub_t_uint8(x, y) -> diff\n    {\n        diff := sub(and(x, 0xff), and(y, 0xff))\n        if gt(diff, 0xff) { panic_error_0x11() }\n    }\n    function checked_exp_helper(_base, exponent, max) -> power, base\n    {\n        power := 1\n        base := _base\n        for { } gt(exponent, 1) { }\n        {\n            if gt(base, div(max, base)) { panic_error_0x11() }\n            if and(exponent, 1) { power := mul(power, base) }\n            base := mul(base, base)\n            exponent := shr(1, exponent)\n        }\n    }\n    function checked_exp_unsigned(base, exponent) -> power\n    {\n        if iszero(exponent)\n        {\n            power := 1\n            leave\n        }\n        if iszero(base)\n        {\n            power := 0\n            leave\n        }\n        switch base\n        case 1 {\n            power := 1\n            leave\n        }\n        case 2 {\n            if gt(exponent, 255) { panic_error_0x11() }\n            power := shl(exponent, 1)\n            let _1 := 0\n            _1 := 0\n            leave\n        }\n        if or(and(lt(base, 11), lt(exponent, 78)), and(lt(base, 307), lt(exponent, 32)))\n        {\n            power := exp(base, exponent)\n            let _2 := 0\n            _2 := 0\n            leave\n        }\n        let power_1, base_1 := checked_exp_helper(base, exponent, not(0))\n        if gt(power_1, div(not(0), base_1)) { panic_error_0x11() }\n        power := mul(power_1, base_1)\n    }\n    function checked_exp_t_uint256_t_uint8(base, exponent) -> power\n    {\n        power := checked_exp_unsigned(base, and(exponent, 0xff))\n    }\n    function abi_encode_tuple_t_address_t_bytes32__to_t_address_t_bytes32__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 32), value1)\n    }\n}","id":30,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"6080604052600436106101145760003560e01c8063a217fddf116100a0578063db16a55511610064578063db16a55514610319578063db3e21981461035f578063f28c04981461028a578063fa461e3314610372578063fbb812791461039257600080fd5b8063a217fddf14610275578063c04b8d591461028a578063caf031811461029d578063d4b7f403146102c5578063d547741f146102f957600080fd5b8063414bf389116100e7578063414bf389146101ce5780634562e015146101e157806370eceb6a1461020157806375b238fc1461022157806391d148541461025557600080fd5b806301ffc9a714610119578063248a9ca31461014e5780632f2ff15d1461018c57806336568abe146101ae575b600080fd5b34801561012557600080fd5b50610139610134366004610d90565b6103c6565b60405190151581526020015b60405180910390f35b34801561015a57600080fd5b5061017e610169366004610dba565b60009081526020819052604090206001015490565b604051908152602001610145565b34801561019857600080fd5b506101ac6101a7366004610def565b6103fd565b005b3480156101ba57600080fd5b506101ac6101c9366004610def565b610428565b61017e6101dc366004610e34565b610460565b3480156101ed57600080fd5b506101ac6101fc366004610e51565b61066f565b34801561020d57600080fd5b506101ac61021c366004610e8d565b610757565b34801561022d57600080fd5b5061017e7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b34801561026157600080fd5b50610139610270366004610def565b61078e565b34801561028157600080fd5b5061017e600081565b61017e610298366004610eba565b6107b7565b3480156102a957600080fd5b506002546040516001600160a01b039091168152602001610145565b3480156102d157600080fd5b5061017e7f499b8dbdbe4f7b12284c4a222a9951ce4488b43af4d09f42655d67f73b612fe181565b34801561030557600080fd5b506101ac610314366004610def565b6107d2565b34801561032557600080fd5b5061017e610334366004610ef7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61017e61036d366004610e34565b6107f7565b34801561037e57600080fd5b506101ac61038d366004610f21565b6109d7565b34801561039e57600080fd5b5061017e7fc6823861ee2bb2198ce6b1fd6faf4c8f44f745bc804aca4a762f67e0d507fd8a81565b60006001600160e01b03198216637965db0b60e01b14806103f757506301ffc9a760e01b6001600160e01b03198316145b92915050565b600082815260208190526040902060010154610418816109f0565b61042283836109fd565b50505050565b6001600160a01b03811633146104515760405163334bd91960e11b815260040160405180910390fd5b61045b8282610a8f565b505050565b60007f499b8dbdbe4f7b12284c4a222a9951ce4488b43af4d09f42655d67f73b612fe161048c816109f0565b600061049e6080850160608601610e8d565b6001600160a01b0316036104c45760405162e18e7f60e71b815260040160405180910390fd5b42836080013510156104ec576040516001623859e760e21b0319815260040160405180910390fd5b60008360a00135116105115760405163d11b25af60e01b815260040160405180910390fd5b60006105aa670de0b6b3a764000060018361052f6020890189610e8d565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008760200160208101906105649190610e8d565b6001600160a01b0316815260208082019290925260400160002054906105959061059090890189610e8d565b610afa565b6105a39060a0890135610fba565b9190610b74565b90506105bf6105906040860160208701610e8d565b6105c99082610fe7565b92508260c0850135808210156106005760405163296ba6e160e01b8152600481019290925260248201526044015b60405180910390fd5b50506002546106379033906001600160a01b031660a08701356106266020890189610e8d565b6001600160a01b0316929190610c30565b600254610668906001600160a01b03166106576080870160608801610e8d565b856106266040890160208a01610e8d565b5050919050565b7fc6823861ee2bb2198ce6b1fd6faf4c8f44f745bc804aca4a762f67e0d507fd8a610699816109f0565b6001600160a01b0384166106c05760405163165a825360e21b815260040160405180910390fd5b6001600160a01b0383166106e75760405163165a825360e21b815260040160405180910390fd5b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905581519283528201929092529081018390527fb71c154260e8508e211e2ace194becba2c6d7e727c3ed292fe4787458969cd109060600160405180910390a150505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610781816109f0565b61078a82610c8a565b5050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600060405163d623472560e01b815260040160405180910390fd5b6000828152602081905260409020600101546107ed816109f0565b6104228383610a8f565b60007f499b8dbdbe4f7b12284c4a222a9951ce4488b43af4d09f42655d67f73b612fe1610823816109f0565b60006108356080850160608601610e8d565b6001600160a01b03160361085b5760405162e18e7f60e71b815260040160405180910390fd5b4283608001351015610883576040516001623859e760e21b0319815260040160405180910390fd5b60008360a00135116108a85760405163d11b25af60e01b815260040160405180910390fd5b60006109326001826108bd6020880188610e8d565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008660200160208101906108f29190610e8d565b6001600160a01b03166001600160a01b0316815260200190815260200160002054670de0b6b3a76400006105958760200160208101906105909190610e8d565b90506109446105906020860186610e8d565b61094e9082610fe7565b92508260c08501358082111561098057604051639a06025d60e01b8152600481019290925260248201526044016105f7565b50506002546109a29033906001600160a01b0316856106266020890189610e8d565b600254610668906001600160a01b03166109c26080870160608801610e8d565b60a08701356106266040890160208a01610e8d565b60405163d623472560e01b815260040160405180910390fd5b6109fa8133610cd4565b50565b6000610a09838361078e565b610a87576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055610a3f3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016103f7565b5060006103f7565b6000610a9b838361078e565b15610a87576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016103f7565b6000816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5e9190611009565b610b6990601261102c565b6103f790600a61112c565b6000838302816000198587098281108382030391505080600003610bab57838281610ba157610ba1610fd1565b0492505050610c29565b808411610bc257610bc26003851502601118610d0d565b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150505b9392505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610422908590610d1f565b600280546001600160a01b0319166001600160a01b0383169081179091556040517f0d4942cd92e3890d7c5981c00a2fad602608157938bcd2c069ce005804288e3a90600090a250565b610cde828261078e565b61078a5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016105f7565b634e487b71600052806020526024601cfd5b600080602060008451602086016000885af180610d42576040513d6000823e3d81fd5b50506000513d91508115610d5a578060011415610d67565b6001600160a01b0384163b155b1561042257604051635274afe760e01b81526001600160a01b03851660048201526024016105f7565b600060208284031215610da257600080fd5b81356001600160e01b031981168114610c2957600080fd5b600060208284031215610dcc57600080fd5b5035919050565b80356001600160a01b0381168114610dea57600080fd5b919050565b60008060408385031215610e0257600080fd5b82359150610e1260208401610dd3565b90509250929050565b60006101008284031215610e2e57600080fd5b50919050565b60006101008284031215610e4757600080fd5b610c298383610e1b565b600080600060608486031215610e6657600080fd5b610e6f84610dd3565b9250610e7d60208501610dd3565b9150604084013590509250925092565b600060208284031215610e9f57600080fd5b610c2982610dd3565b600060a08284031215610e2e57600080fd5b600060208284031215610ecc57600080fd5b813567ffffffffffffffff811115610ee357600080fd5b610eef84828501610ea8565b949350505050565b60008060408385031215610f0a57600080fd5b610f1383610dd3565b9150610e1260208401610dd3565b60008060008060608587031215610f3757600080fd5b8435935060208501359250604085013567ffffffffffffffff811115610f5c57600080fd5b8501601f81018713610f6d57600080fd5b803567ffffffffffffffff811115610f8457600080fd5b876020828401011115610f9657600080fd5b949793965060200194505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176103f7576103f7610fa4565b634e487b7160e01b600052601260045260246000fd5b60008261100457634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561101b57600080fd5b815160ff81168114610c2957600080fd5b60ff82811682821603908111156103f7576103f7610fa4565b6001815b60018411156110805780850481111561106457611064610fa4565b600184161561107257908102905b60019390931c928002611049565b935093915050565b600082611097575060016103f7565b816110a4575060006103f7565b81600181146110ba57600281146110c4576110e0565b60019150506103f7565b60ff8411156110d5576110d5610fa4565b50506001821b6103f7565b5060208310610133831016604e8410600b8410161715611103575081810a6103f7565b6111106000198484611045565b806000190482111561112457611124610fa4565b029392505050565b6000610c2960ff84168361108856fea26469706673582212206d9746c70bd3433da28d4c5a2bf320425ef91dd5829793f88ed83f518e37788064736f6c634300081c0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x114 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA217FDDF GT PUSH2 0xA0 JUMPI DUP1 PUSH4 0xDB16A555 GT PUSH2 0x64 JUMPI DUP1 PUSH4 0xDB16A555 EQ PUSH2 0x319 JUMPI DUP1 PUSH4 0xDB3E2198 EQ PUSH2 0x35F JUMPI DUP1 PUSH4 0xF28C0498 EQ PUSH2 0x28A JUMPI DUP1 PUSH4 0xFA461E33 EQ PUSH2 0x372 JUMPI DUP1 PUSH4 0xFBB81279 EQ PUSH2 0x392 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x275 JUMPI DUP1 PUSH4 0xC04B8D59 EQ PUSH2 0x28A JUMPI DUP1 PUSH4 0xCAF03181 EQ PUSH2 0x29D JUMPI DUP1 PUSH4 0xD4B7F403 EQ PUSH2 0x2C5 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x2F9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x414BF389 GT PUSH2 0xE7 JUMPI DUP1 PUSH4 0x414BF389 EQ PUSH2 0x1CE JUMPI DUP1 PUSH4 0x4562E015 EQ PUSH2 0x1E1 JUMPI DUP1 PUSH4 0x70ECEB6A EQ PUSH2 0x201 JUMPI DUP1 PUSH4 0x75B238FC EQ PUSH2 0x221 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x255 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x119 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x14E JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x18C JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x1AE JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x125 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x139 PUSH2 0x134 CALLDATASIZE PUSH1 0x4 PUSH2 0xD90 JUMP JUMPDEST PUSH2 0x3C6 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x15A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH2 0x169 CALLDATASIZE PUSH1 0x4 PUSH2 0xDBA JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x145 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x198 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x1A7 CALLDATASIZE PUSH1 0x4 PUSH2 0xDEF JUMP JUMPDEST PUSH2 0x3FD JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x1C9 CALLDATASIZE PUSH1 0x4 PUSH2 0xDEF JUMP JUMPDEST PUSH2 0x428 JUMP JUMPDEST PUSH2 0x17E PUSH2 0x1DC CALLDATASIZE PUSH1 0x4 PUSH2 0xE34 JUMP JUMPDEST PUSH2 0x460 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1ED JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x1FC CALLDATASIZE PUSH1 0x4 PUSH2 0xE51 JUMP JUMPDEST PUSH2 0x66F JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x20D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x21C CALLDATASIZE PUSH1 0x4 PUSH2 0xE8D JUMP JUMPDEST PUSH2 0x757 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x22D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH32 0xA49807205CE4D355092EF5A8A18F56E8913CF4A201FBE287825B095693C21775 DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x261 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x139 PUSH2 0x270 CALLDATASIZE PUSH1 0x4 PUSH2 0xDEF JUMP JUMPDEST PUSH2 0x78E JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x281 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x17E PUSH2 0x298 CALLDATASIZE PUSH1 0x4 PUSH2 0xEBA JUMP JUMPDEST PUSH2 0x7B7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2A9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x145 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2D1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH32 0x499B8DBDBE4F7B12284C4A222A9951CE4488B43AF4D09F42655D67F73B612FE1 DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x305 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x314 CALLDATASIZE PUSH1 0x4 PUSH2 0xDEF JUMP JUMPDEST PUSH2 0x7D2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x325 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH2 0x334 CALLDATASIZE PUSH1 0x4 PUSH2 0xEF7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x17E PUSH2 0x36D CALLDATASIZE PUSH1 0x4 PUSH2 0xE34 JUMP JUMPDEST PUSH2 0x7F7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x37E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1AC PUSH2 0x38D CALLDATASIZE PUSH1 0x4 PUSH2 0xF21 JUMP JUMPDEST PUSH2 0x9D7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x39E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17E PUSH32 0xC6823861EE2BB2198CE6B1FD6FAF4C8F44F745BC804ACA4A762F67E0D507FD8A DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x3F7 JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x418 DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH2 0x422 DUP4 DUP4 PUSH2 0x9FD JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x451 JUMPI PUSH1 0x40 MLOAD PUSH4 0x334BD919 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x45B DUP3 DUP3 PUSH2 0xA8F JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH32 0x499B8DBDBE4F7B12284C4A222A9951CE4488B43AF4D09F42655D67F73B612FE1 PUSH2 0x48C DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x49E PUSH1 0x80 DUP6 ADD PUSH1 0x60 DUP7 ADD PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x4C4 JUMPI PUSH1 0x40 MLOAD PUSH3 0xE18E7F PUSH1 0xE7 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP4 PUSH1 0x80 ADD CALLDATALOAD LT ISZERO PUSH2 0x4EC JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH3 0x3859E7 PUSH1 0xE2 SHL SUB NOT DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP4 PUSH1 0xA0 ADD CALLDATALOAD GT PUSH2 0x511 JUMPI PUSH1 0x40 MLOAD PUSH4 0xD11B25AF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x5AA PUSH8 0xDE0B6B3A7640000 PUSH1 0x1 DUP4 PUSH2 0x52F PUSH1 0x20 DUP10 ADD DUP10 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP8 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x564 SWAP2 SWAP1 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x40 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 PUSH2 0x595 SWAP1 PUSH2 0x590 SWAP1 DUP10 ADD DUP10 PUSH2 0xE8D JUMP JUMPDEST PUSH2 0xAFA JUMP JUMPDEST PUSH2 0x5A3 SWAP1 PUSH1 0xA0 DUP10 ADD CALLDATALOAD PUSH2 0xFBA JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0xB74 JUMP JUMPDEST SWAP1 POP PUSH2 0x5BF PUSH2 0x590 PUSH1 0x40 DUP7 ADD PUSH1 0x20 DUP8 ADD PUSH2 0xE8D JUMP JUMPDEST PUSH2 0x5C9 SWAP1 DUP3 PUSH2 0xFE7 JUMP JUMPDEST SWAP3 POP DUP3 PUSH1 0xC0 DUP6 ADD CALLDATALOAD DUP1 DUP3 LT ISZERO PUSH2 0x600 JUMPI PUSH1 0x40 MLOAD PUSH4 0x296BA6E1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH2 0x637 SWAP1 CALLER SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0xA0 DUP8 ADD CALLDATALOAD PUSH2 0x626 PUSH1 0x20 DUP10 ADD DUP10 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 SWAP2 SWAP1 PUSH2 0xC30 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH2 0x668 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x657 PUSH1 0x80 DUP8 ADD PUSH1 0x60 DUP9 ADD PUSH2 0xE8D JUMP JUMPDEST DUP6 PUSH2 0x626 PUSH1 0x40 DUP10 ADD PUSH1 0x20 DUP11 ADD PUSH2 0xE8D JUMP JUMPDEST POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0xC6823861EE2BB2198CE6B1FD6FAF4C8F44F745BC804ACA4A762F67E0D507FD8A PUSH2 0x699 DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x6C0 JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x6E7 JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP9 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP7 SWAP1 SSTORE DUP2 MLOAD SWAP3 DUP4 MSTORE DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP1 DUP2 ADD DUP4 SWAP1 MSTORE PUSH32 0xB71C154260E8508E211E2ACE194BECBA2C6D7E727C3ED292FE4787458969CD10 SWAP1 PUSH1 0x60 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP JUMP JUMPDEST PUSH32 0xA49807205CE4D355092EF5A8A18F56E8913CF4A201FBE287825B095693C21775 PUSH2 0x781 DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH2 0x78A DUP3 PUSH2 0xC8A JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH4 0xD6234725 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x7ED DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH2 0x422 DUP4 DUP4 PUSH2 0xA8F JUMP JUMPDEST PUSH1 0x0 PUSH32 0x499B8DBDBE4F7B12284C4A222A9951CE4488B43AF4D09F42655D67F73B612FE1 PUSH2 0x823 DUP2 PUSH2 0x9F0 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x835 PUSH1 0x80 DUP6 ADD PUSH1 0x60 DUP7 ADD PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x85B JUMPI PUSH1 0x40 MLOAD PUSH3 0xE18E7F PUSH1 0xE7 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP4 PUSH1 0x80 ADD CALLDATALOAD LT ISZERO PUSH2 0x883 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH3 0x3859E7 PUSH1 0xE2 SHL SUB NOT DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP4 PUSH1 0xA0 ADD CALLDATALOAD GT PUSH2 0x8A8 JUMPI PUSH1 0x40 MLOAD PUSH4 0xD11B25AF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x932 PUSH1 0x1 DUP3 PUSH2 0x8BD PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP7 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x8F2 SWAP2 SWAP1 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD PUSH8 0xDE0B6B3A7640000 PUSH2 0x595 DUP8 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x590 SWAP2 SWAP1 PUSH2 0xE8D JUMP JUMPDEST SWAP1 POP PUSH2 0x944 PUSH2 0x590 PUSH1 0x20 DUP7 ADD DUP7 PUSH2 0xE8D JUMP JUMPDEST PUSH2 0x94E SWAP1 DUP3 PUSH2 0xFE7 JUMP JUMPDEST SWAP3 POP DUP3 PUSH1 0xC0 DUP6 ADD CALLDATALOAD DUP1 DUP3 GT ISZERO PUSH2 0x980 JUMPI PUSH1 0x40 MLOAD PUSH4 0x9A06025D PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x5F7 JUMP JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH2 0x9A2 SWAP1 CALLER SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 PUSH2 0x626 PUSH1 0x20 DUP10 ADD DUP10 PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH2 0x668 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x9C2 PUSH1 0x80 DUP8 ADD PUSH1 0x60 DUP9 ADD PUSH2 0xE8D JUMP JUMPDEST PUSH1 0xA0 DUP8 ADD CALLDATALOAD PUSH2 0x626 PUSH1 0x40 DUP10 ADD PUSH1 0x20 DUP11 ADD PUSH2 0xE8D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xD6234725 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x9FA DUP2 CALLER PUSH2 0xCD4 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA09 DUP4 DUP4 PUSH2 0x78E JUMP JUMPDEST PUSH2 0xA87 JUMPI PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0xA3F CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP PUSH1 0x1 PUSH2 0x3F7 JUMP JUMPDEST POP PUSH1 0x0 PUSH2 0x3F7 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA9B DUP4 DUP4 PUSH2 0x78E JUMP JUMPDEST ISZERO PUSH2 0xA87 JUMPI PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP7 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP PUSH1 0x1 PUSH2 0x3F7 JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x313CE567 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xB3A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB5E SWAP2 SWAP1 PUSH2 0x1009 JUMP JUMPDEST PUSH2 0xB69 SWAP1 PUSH1 0x12 PUSH2 0x102C JUMP JUMPDEST PUSH2 0x3F7 SWAP1 PUSH1 0xA PUSH2 0x112C JUMP JUMPDEST PUSH1 0x0 DUP4 DUP4 MUL DUP2 PUSH1 0x0 NOT DUP6 DUP8 MULMOD DUP3 DUP2 LT DUP4 DUP3 SUB SUB SWAP2 POP POP DUP1 PUSH1 0x0 SUB PUSH2 0xBAB JUMPI DUP4 DUP3 DUP2 PUSH2 0xBA1 JUMPI PUSH2 0xBA1 PUSH2 0xFD1 JUMP JUMPDEST DIV SWAP3 POP POP POP PUSH2 0xC29 JUMP JUMPDEST DUP1 DUP5 GT PUSH2 0xBC2 JUMPI PUSH2 0xBC2 PUSH1 0x3 DUP6 ISZERO MUL PUSH1 0x11 XOR PUSH2 0xD0D JUMP JUMPDEST PUSH1 0x0 DUP5 DUP7 DUP9 MULMOD PUSH1 0x0 DUP7 DUP2 SUB DUP8 AND SWAP7 DUP8 SWAP1 DIV SWAP7 PUSH1 0x2 PUSH1 0x3 DUP10 MUL DUP2 XOR DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL SWAP1 SWAP2 SUB MUL SWAP2 DUP2 SWAP1 SUB DUP2 SWAP1 DIV PUSH1 0x1 ADD DUP7 DUP5 GT SWAP1 SWAP6 SUB SWAP5 SWAP1 SWAP5 MUL SWAP2 SWAP1 SWAP5 SUB SWAP3 SWAP1 SWAP3 DIV SWAP2 SWAP1 SWAP2 OR SWAP2 SWAP1 SWAP2 MUL SWAP2 POP POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE DUP5 AND PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 DUP1 DUP3 ADD DUP5 SWAP1 MSTORE DUP3 MLOAD DUP1 DUP4 SUB SWAP1 SWAP2 ADD DUP2 MSTORE PUSH1 0x84 SWAP1 SWAP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH4 0x23B872DD PUSH1 0xE0 SHL OR SWAP1 MSTORE PUSH2 0x422 SWAP1 DUP6 SWAP1 PUSH2 0xD1F JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x40 MLOAD PUSH32 0xD4942CD92E3890D7C5981C00A2FAD602608157938BCD2C069CE005804288E3A SWAP1 PUSH1 0x0 SWAP1 LOG2 POP JUMP JUMPDEST PUSH2 0xCDE DUP3 DUP3 PUSH2 0x78E JUMP JUMPDEST PUSH2 0x78A JUMPI PUSH1 0x40 MLOAD PUSH4 0xE2517D3F PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x44 ADD PUSH2 0x5F7 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0x0 MSTORE DUP1 PUSH1 0x20 MSTORE PUSH1 0x24 PUSH1 0x1C REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x20 PUSH1 0x0 DUP5 MLOAD PUSH1 0x20 DUP7 ADD PUSH1 0x0 DUP9 GAS CALL DUP1 PUSH2 0xD42 JUMPI PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE DUP2 REVERT JUMPDEST POP POP PUSH1 0x0 MLOAD RETURNDATASIZE SWAP2 POP DUP2 ISZERO PUSH2 0xD5A JUMPI DUP1 PUSH1 0x1 EQ ISZERO PUSH2 0xD67 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EXTCODESIZE ISZERO JUMPDEST ISZERO PUSH2 0x422 JUMPI PUSH1 0x40 MLOAD PUSH4 0x5274AFE7 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x5F7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xDA2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0xC29 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xDCC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xDEA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xE02 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH2 0xE12 PUSH1 0x20 DUP5 ADD PUSH2 0xDD3 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x100 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xE2E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x100 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xE47 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC29 DUP4 DUP4 PUSH2 0xE1B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xE66 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xE6F DUP5 PUSH2 0xDD3 JUMP JUMPDEST SWAP3 POP PUSH2 0xE7D PUSH1 0x20 DUP6 ADD PUSH2 0xDD3 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xE9F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC29 DUP3 PUSH2 0xDD3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA0 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xE2E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xECC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xEE3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xEEF DUP5 DUP3 DUP6 ADD PUSH2 0xEA8 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xF0A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF13 DUP4 PUSH2 0xDD3 JUMP JUMPDEST SWAP2 POP PUSH2 0xE12 PUSH1 0x20 DUP5 ADD PUSH2 0xDD3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x60 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xF37 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xF5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 ADD PUSH1 0x1F DUP2 ADD DUP8 SGT PUSH2 0xF6D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xF84 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 PUSH1 0x20 DUP3 DUP5 ADD ADD GT ISZERO PUSH2 0xF96 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP PUSH1 0x20 ADD SWAP5 POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x3F7 JUMPI PUSH2 0x3F7 PUSH2 0xFA4 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x1004 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x101B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0xC29 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0xFF DUP3 DUP2 AND DUP3 DUP3 AND SUB SWAP1 DUP2 GT ISZERO PUSH2 0x3F7 JUMPI PUSH2 0x3F7 PUSH2 0xFA4 JUMP JUMPDEST PUSH1 0x1 DUP2 JUMPDEST PUSH1 0x1 DUP5 GT ISZERO PUSH2 0x1080 JUMPI DUP1 DUP6 DIV DUP2 GT ISZERO PUSH2 0x1064 JUMPI PUSH2 0x1064 PUSH2 0xFA4 JUMP JUMPDEST PUSH1 0x1 DUP5 AND ISZERO PUSH2 0x1072 JUMPI SWAP1 DUP2 MUL SWAP1 JUMPDEST PUSH1 0x1 SWAP4 SWAP1 SWAP4 SHR SWAP3 DUP1 MUL PUSH2 0x1049 JUMP JUMPDEST SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x1097 JUMPI POP PUSH1 0x1 PUSH2 0x3F7 JUMP JUMPDEST DUP2 PUSH2 0x10A4 JUMPI POP PUSH1 0x0 PUSH2 0x3F7 JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH2 0x10BA JUMPI PUSH1 0x2 DUP2 EQ PUSH2 0x10C4 JUMPI PUSH2 0x10E0 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH2 0x3F7 JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH2 0x10D5 JUMPI PUSH2 0x10D5 PUSH2 0xFA4 JUMP JUMPDEST POP POP PUSH1 0x1 DUP3 SHL PUSH2 0x3F7 JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH2 0x1103 JUMPI POP DUP2 DUP2 EXP PUSH2 0x3F7 JUMP JUMPDEST PUSH2 0x1110 PUSH1 0x0 NOT DUP5 DUP5 PUSH2 0x1045 JUMP JUMPDEST DUP1 PUSH1 0x0 NOT DIV DUP3 GT ISZERO PUSH2 0x1124 JUMPI PUSH2 0x1124 PUSH2 0xFA4 JUMP JUMPDEST MUL SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC29 PUSH1 0xFF DUP5 AND DUP4 PUSH2 0x1088 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH14 0x9746C70BD3433DA28D4C5A2BF320 TIMESTAMP MCOPY 0xF9 SAR 0xD5 DUP3 SWAP8 SWAP4 0xF8 DUP15 0xD8 EXTCODEHASH MLOAD DUP15 CALLDATACOPY PUSH25 0x8064736F6C634300081C003300000000000000000000000000 ","sourceMap":"737:3827:21:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2565:202:0;;;;;;;;;;-1:-1:-1;2565:202:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:30;;463:22;445:41;;433:2;418:18;2565:202:0;;;;;;;;3810:120;;;;;;;;;;-1:-1:-1;3810:120:0;;;;;:::i;:::-;3875:7;3901:12;;;;;;;;;;:22;;;;3810:120;;;;874:25:30;;;862:2;847:18;3810:120:0;728:177:30;4226:136:0;;;;;;;;;;-1:-1:-1;4226:136:0;;;;;:::i;:::-;;:::i;:::-;;5328:245;;;;;;;;;;-1:-1:-1;5328:245:0;;;;;:::i;:::-;;:::i;1847:865:21:-;;;;;;:::i;:::-;;:::i;3575:318::-;;;;;;;;;;-1:-1:-1;3575:318:21;;;;;:::i;:::-;;:::i;4037:110::-;;;;;;;;;;-1:-1:-1;4037:110:21;;;;;:::i;:::-;;:::i;1063:60::-;;;;;;;;;;;;1100:23;1063:60;;2854:136:0;;;;;;;;;;-1:-1:-1;2854:136:0;;;;;:::i;:::-;;:::i;2187:49::-;;;;;;;;;;-1:-1:-1;2187:49:0;2232:4;2187:49;;4273:116:21;;;;;;:::i;:::-;;:::i;1619:86::-;;;;;;;;;;-1:-1:-1;1689:11:21;;1619:86;;-1:-1:-1;;;;;1689:11:21;;;3244:51:30;;3232:2;3217:18;1619:86:21;3098:203:30;935:58:21;;;;;;;;;;;;971:22;935:58;;4642:138:0;;;;;;;;;;-1:-1:-1;4642:138:0;;;;;:::i;:::-;;:::i;3897:136:21:-;;;;;;;;;;-1:-1:-1;3897:136:21;;;;;:::i;:::-;-1:-1:-1;;;;;4002:16:21;;;3980:7;4002:16;;;:7;:16;;;;;;;;:26;;;;;;;;;;;;;3897:136;2716:855;;;;;;:::i;:::-;;:::i;4451:111::-;;;;;;;;;;-1:-1:-1;4451:111:21;;;;;:::i;:::-;;:::i;997:62::-;;;;;;;;;;;;1035:24;997:62;;2565:202:0;2650:4;-1:-1:-1;;;;;;2673:47:0;;-1:-1:-1;;;2673:47:0;;:87;;-1:-1:-1;;;;;;;;;;862:40:14;;;2724:36:0;2666:94;2565:202;-1:-1:-1;;2565:202:0:o;4226:136::-;3875:7;3901:12;;;;;;;;;;:22;;;2464:16;2475:4;2464:10;:16::i;:::-;4330:25:::1;4341:4;4347:7;4330:10;:25::i;:::-;;4226:136:::0;;;:::o;5328:245::-;-1:-1:-1;;;;;5421:34:0;;735:10:11;5421:34:0;5417:102;;5478:30;;-1:-1:-1;;;5478:30:0;;;;;;;;;;;5417:102;5529:37;5541:4;5547:18;5529:11;:37::i;:::-;;5328:245;;:::o;1847:865:21:-;1967:17;971:22;2464:16:0;2475:4;2464:10;:16::i;:::-;2028:1:21::1;2000:16;::::0;;;::::1;::::0;::::1;;:::i;:::-;-1:-1:-1::0;;;;;2000:30:21::1;::::0;1992:64:::1;;;;-1:-1:-1::0;;;1992:64:21::1;;;;;;;;;;;;2089:15;2070:6;:15;;;:34;;2062:64;;;;-1:-1:-1::0;;;;;;2062:64:21::1;;;;;;;;;;;;2158:1;2140:6;:15;;;:19;2132:50;;;;-1:-1:-1::0;;;2132:50:21::1;;;;;;;;;;;;2189:22;2214:120;927:4;2288:7;2189:22:::0;2296:14:::1;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;-1:-1:-1::0;;;;;2288:23:21::1;-1:-1:-1::0;;;;;2288:23:21::1;;;;;;;;;;;;:40;2312:6;:15;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;2288:40:21::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;-1:-1:-1;2288:40:21;;;2233:28:::1;::::0;2246:14:::1;::::0;;::::1;:6:::0;:14:::1;:::i;:::-;2233:12;:28::i;:::-;2215:46;::::0;:15:::1;::::0;::::1;;:46;:::i;:::-;2214:55:::0;:120;:55:::1;:120::i;:::-;2189:145:::0;-1:-1:-1;2369:29:21::1;2382:15;::::0;;;::::1;::::0;::::1;;:::i;2369:29::-;2352:46;::::0;:14;:46:::1;:::i;:::-;2340:58:::0;-1:-1:-1;2340:58:21;2425:23:::1;::::0;::::1;;2412:36:::0;;::::1;;2404:111;;;::::0;-1:-1:-1;;;2404:111:21;;::::1;::::0;::::1;5882:25:30::0;;;;5923:18;;;5916:34;5855:18;;2404:111:21::1;;;;;;;;;-1:-1:-1::0;;2582:11:21::1;::::0;2522:89:::1;::::0;2570:10:::1;::::0;-1:-1:-1;;;;;2582:11:21::1;2595:15;::::0;::::1;;2537:14;;::::0;::::1;2595:6:::0;2537:14:::1;:::i;:::-;-1:-1:-1::0;;;;;2522:47:21::1;::::0;:89;;:47:::1;:89::i;:::-;2666:11;::::0;2617:90:::1;::::0;-1:-1:-1;;;;;2666:11:21::1;2679:16;::::0;;;::::1;::::0;::::1;;:::i;:::-;2697:9:::0;2632:15:::1;::::0;;;::::1;::::0;::::1;;:::i;2617:90::-;1986:726;1847:865:::0;;;;:::o;3575:318::-;1035:24;2464:16:0;2475:4;2464:10;:16::i;:::-;-1:-1:-1;;;;;3696:21:21;::::1;3688:51;;;;-1:-1:-1::0;;;3688:51:21::1;;;;;;;;;;;;-1:-1:-1::0;;;;;3753:22:21;::::1;3745:52;;;;-1:-1:-1::0;;;3745:52:21::1;;;;;;;;;;;;-1:-1:-1::0;;;;;3803:16:21;;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:26;;::::1;::::0;;;;;;;;;;:35;;;3849:39;;6163:51:30;;;6230:18;;6223:60;;;;6299:18;;;6292:34;;;3849:39:21::1;::::0;6151:2:30;6136:18;3849:39:21::1;;;;;;;3575:318:::0;;;;:::o;4037:110::-;1100:23;2464:16:0;2475:4;2464:10;:16::i;:::-;4116:26:21::1;4131:10;4116:14;:26::i;:::-;4037:110:::0;;:::o;2854:136:0:-;2931:4;2954:12;;;;;;;;;;;-1:-1:-1;;;;;2954:29:0;;;;;;;;;;;;;;;2854:136::o;4273:116:21:-;4346:7;4368:16;;-1:-1:-1;;;4368:16:21;;;;;;;;;;;4642:138:0;3875:7;3901:12;;;;;;;;;;:22;;;2464:16;2475:4;2464:10;:16::i;:::-;4747:26:::1;4759:4;4765:7;4747:11;:26::i;2716:855:21:-:0;2838:16;971:22;2464:16:0;2475:4;2464:10;:16::i;:::-;2898:1:21::1;2870:16;::::0;;;::::1;::::0;::::1;;:::i;:::-;-1:-1:-1::0;;;;;2870:30:21::1;::::0;2862:64:::1;;;;-1:-1:-1::0;;;2862:64:21::1;;;;;;;;;;;;2959:15;2940:6;:15;;;:34;;2932:64;;;;-1:-1:-1::0;;;;;;2932:64:21::1;;;;;;;;;;;;3029:1;3010:6;:16;;;:20;3002:51;;;;-1:-1:-1::0;;;3002:51:21::1;;;;;;;;;;;;3060:19;3082:122;3147:7;3060:19:::0;3155:14:::1;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;-1:-1:-1::0;;;;;3147:23:21::1;-1:-1:-1::0;;;;;3147:23:21::1;;;;;;;;;;;;:40;3171:6;:15;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;3147:40:21::1;-1:-1:-1::0;;;;;3147:40:21::1;;;;;;;;;;;;;927:4;3102:29;3115:6;:15;;;;;;;;;;:::i;3082:122::-;3060:144:::0;-1:-1:-1;3235:28:21::1;3248:14;;::::0;::::1;:6:::0;:14:::1;:::i;3235:28::-;3221:42;::::0;:11;:42:::1;:::i;:::-;3210:53:::0;-1:-1:-1;3210:53:21;3289:22:::1;::::0;::::1;;3277:34:::0;;::::1;;3269:105;;;::::0;-1:-1:-1;;;3269:105:21;;::::1;::::0;::::1;5882:25:30::0;;;;5923:18;;;5916:34;5855:18;;3269:105:21::1;5708:248:30::0;3269:105:21::1;-1:-1:-1::0;;3441:11:21::1;::::0;3381:82:::1;::::0;3429:10:::1;::::0;-1:-1:-1;;;;;3441:11:21::1;3454:8:::0;3396:14:::1;;::::0;::::1;:6:::0;:14:::1;:::i;3381:82::-;3518:11;::::0;3469:97:::1;::::0;-1:-1:-1;;;;;3518:11:21::1;3531:16;::::0;;;::::1;::::0;::::1;;:::i;:::-;3549;::::0;::::1;;3484:15;::::0;;;::::1;::::0;::::1;;:::i;4451:111::-:0;4541:16;;-1:-1:-1;;;4541:16:21;;;;;;;;;;;3199:103:0;3265:30;3276:4;735:10:11;3265::0;:30::i;:::-;3199:103;:::o;6179:316::-;6256:4;6277:22;6285:4;6291:7;6277;:22::i;:::-;6272:217;;6315:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6315:29:0;;;;;;;;;:36;;-1:-1:-1;;6315:36:0;6347:4;6315:36;;;6397:12;735:10:11;;656:96;6397:12:0;-1:-1:-1;;;;;6370:40:0;6388:7;-1:-1:-1;;;;;6370:40:0;6382:4;6370:40;;;;;;;;;;-1:-1:-1;6431:4:0;6424:11;;6272:217;-1:-1:-1;6473:5:0;6466:12;;6730:317;6808:4;6828:22;6836:4;6842:7;6828;:22::i;:::-;6824:217;;;6898:5;6866:12;;;;;;;;;;;-1:-1:-1;;;;;6866:29:0;;;;;;;;;;:37;;-1:-1:-1;;6866:37:0;;;6922:40;735:10:11;;6866:12:0;;6922:40;;6898:5;6922:40;-1:-1:-1;6983:4:0;6976:11;;1709:134:21;1769:7;1819:5;-1:-1:-1;;;;;1804:30:21;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1799:37;;:2;:37;:::i;:::-;1792:45;;:2;:45;:::i;4996:4226:16:-;5078:14;5449:5;;;5078:14;-1:-1:-1;;5453:1:16;5449;5621:20;5694:5;5690:2;5687:13;5679:5;5675:2;5671:14;5667:34;5658:43;;;5796:5;5805:1;5796:10;5792:368;;6134:11;6126:5;:19;;;;;:::i;:::-;;6119:26;;;;;;5792:368;6285:5;6270:11;:20;6266:143;;6310:84;3066:5;6330:16;;3065:36;940:4:13;3060:42:16;6310:11;:84::i;:::-;6664:17;6799:11;6796:1;6793;6786:25;7199:12;7229:15;;;7214:31;;7348:22;;;;;8094:1;8075;:15;;8074:21;;8327;;;8323:25;;8312:36;8397:21;;;8393:25;;8382:36;8469:21;;;8465:25;;8454:36;8540:21;;;8536:25;;8525:36;8613:21;;;8609:25;;8598:36;8687:21;;;8683:25;;;8672:36;7597:12;;;;7593:23;;;7618:1;7589:31;6913:20;;;6902:32;;;7709:12;;;;6960:21;;;;7446:16;;;;7700:21;;;;9163:15;;;;;-1:-1:-1;;4996:4226:16;;;;;;:::o;1670:188:9:-;1797:53;;;-1:-1:-1;;;;;6181:32:30;;;1797:53:9;;;6163:51:30;6250:32;;6230:18;;;6223:60;6299:18;;;;6292:34;;;1797:53:9;;;;;;;;;;6136:18:30;;;;1797:53:9;;;;;;;;-1:-1:-1;;;;;1797:53:9;-1:-1:-1;;;1797:53:9;;;1770:81;;1790:5;;1770:19;:81::i;1487:128:21:-;1546:11;:24;;-1:-1:-1;;;;;;1546:24:21;-1:-1:-1;;;;;1546:24:21;;;;;;;;1581:29;;;;-1:-1:-1;;1581:29:21;1487:128;:::o;3432:197:0:-;3520:22;3528:4;3534:7;3520;:22::i;:::-;3515:108;;3565:47;;-1:-1:-1;;;3565:47:0;;-1:-1:-1;;;;;8395:32:30;;3565:47:0;;;8377:51:30;8444:18;;;8437:34;;;8350:18;;3565:47:0;8203:274:30;1776:194:13;1881:10;1875:4;1868:24;1918:4;1912;1905:18;1949:4;1943;1936:18;7738:720:9;7818:18;7846:19;7984:4;7981:1;7974:4;7968:11;7961:4;7955;7951:15;7948:1;7941:5;7934;7929:60;8041:7;8031:176;;8085:4;8079:11;8130:16;8127:1;8122:3;8107:40;8176:16;8171:3;8164:29;8031:176;-1:-1:-1;;8284:1:9;8278:8;8234:16;;-1:-1:-1;8310:15:9;;:68;;8362:11;8377:1;8362:16;;8310:68;;;-1:-1:-1;;;;;8328:26:9;;;:31;8310:68;8306:146;;;8401:40;;-1:-1:-1;;;8401:40:9;;-1:-1:-1;;;;;3262:32:30;;8401:40:9;;;3244:51:30;3217:18;;8401:40:9;3098:203:30;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:30;;209:43;;199:71;;266:1;263;256:12;497:226;556:6;609:2;597:9;588:7;584:23;580:32;577:52;;;625:1;622;615:12;577:52;-1:-1:-1;670:23:30;;497:226;-1:-1:-1;497:226:30:o;910:173::-;978:20;;-1:-1:-1;;;;;1027:31:30;;1017:42;;1007:70;;1073:1;1070;1063:12;1007:70;910:173;;;:::o;1088:300::-;1156:6;1164;1217:2;1205:9;1196:7;1192:23;1188:32;1185:52;;;1233:1;1230;1223:12;1185:52;1278:23;;;-1:-1:-1;1344:38:30;1378:2;1363:18;;1344:38;:::i;:::-;1334:48;;1088:300;;;;;:::o;1393:171::-;1468:5;1513:3;1504:6;1499:3;1495:16;1491:26;1488:46;;;1530:1;1527;1520:12;1488:46;-1:-1:-1;1552:6:30;1393:171;-1:-1:-1;1393:171:30:o;1569:269::-;1670:6;1723:3;1711:9;1702:7;1698:23;1694:33;1691:53;;;1740:1;1737;1730:12;1691:53;1763:69;1824:7;1813:9;1763:69;:::i;2025:328::-;2102:6;2110;2118;2171:2;2159:9;2150:7;2146:23;2142:32;2139:52;;;2187:1;2184;2177:12;2139:52;2210:29;2229:9;2210:29;:::i;:::-;2200:39;;2258:38;2292:2;2281:9;2277:18;2258:38;:::i;:::-;2248:48;;2343:2;2332:9;2328:18;2315:32;2305:42;;2025:328;;;;;:::o;2358:186::-;2417:6;2470:2;2458:9;2449:7;2445:23;2441:32;2438:52;;;2486:1;2483;2476:12;2438:52;2509:29;2528:9;2509:29;:::i;2549:165::-;2618:5;2663:3;2654:6;2649:3;2645:16;2641:26;2638:46;;;2680:1;2677;2670:12;2719:374;2814:6;2867:2;2855:9;2846:7;2842:23;2838:32;2835:52;;;2883:1;2880;2873:12;2835:52;2923:9;2910:23;2956:18;2948:6;2945:30;2942:50;;;2988:1;2985;2978:12;2942:50;3011:76;3079:7;3070:6;3059:9;3055:22;3011:76;:::i;:::-;3001:86;2719:374;-1:-1:-1;;;;2719:374:30:o;3306:260::-;3374:6;3382;3435:2;3423:9;3414:7;3410:23;3406:32;3403:52;;;3451:1;3448;3441:12;3403:52;3474:29;3493:9;3474:29;:::i;:::-;3464:39;;3522:38;3556:2;3545:9;3541:18;3522:38;:::i;4226:818::-;4312:6;4320;4328;4336;4389:2;4377:9;4368:7;4364:23;4360:32;4357:52;;;4405:1;4402;4395:12;4357:52;4450:23;;;-1:-1:-1;4570:2:30;4555:18;;4542:32;;-1:-1:-1;4651:2:30;4636:18;;4623:32;4678:18;4667:30;;4664:50;;;4710:1;4707;4700:12;4664:50;4733:22;;4786:4;4778:13;;4774:27;-1:-1:-1;4764:55:30;;4815:1;4812;4805:12;4764:55;4855:2;4842:16;4881:18;4873:6;4870:30;4867:50;;;4913:1;4910;4903:12;4867:50;4958:7;4953:2;4944:6;4940:2;4936:15;4932:24;4929:37;4926:57;;;4979:1;4976;4969:12;4926:57;4226:818;;;;-1:-1:-1;5010:2:30;5002:11;;-1:-1:-1;;;4226:818:30:o;5049:127::-;5110:10;5105:3;5101:20;5098:1;5091:31;5141:4;5138:1;5131:15;5165:4;5162:1;5155:15;5181:168;5254:9;;;5285;;5302:15;;;5296:22;;5282:37;5272:71;;5323:18;;:::i;5354:127::-;5415:10;5410:3;5406:20;5403:1;5396:31;5446:4;5443:1;5436:15;5470:4;5467:1;5460:15;5486:217;5526:1;5552;5542:132;;5596:10;5591:3;5587:20;5584:1;5577:31;5631:4;5628:1;5621:15;5659:4;5656:1;5649:15;5542:132;-1:-1:-1;5688:9:30;;5486:217::o;6337:273::-;6405:6;6458:2;6446:9;6437:7;6433:23;6429:32;6426:52;;;6474:1;6471;6464:12;6426:52;6506:9;6500:16;6556:4;6549:5;6545:16;6538:5;6535:27;6525:55;;6576:1;6573;6566:12;6615:151;6705:4;6698:12;;;6684;;;6680:31;;6723:14;;6720:40;;;6740:18;;:::i;6771:375::-;6859:1;6877:5;6891:249;6912:1;6902:8;6899:15;6891:249;;;6962:4;6957:3;6953:14;6947:4;6944:24;6941:50;;;6971:18;;:::i;:::-;7021:1;7011:8;7007:16;7004:49;;;7035:16;;;;7004:49;7118:1;7114:16;;;;;7074:15;;6891:249;;;6771:375;;;;;;:::o;7151:902::-;7200:5;7230:8;7220:80;;-1:-1:-1;7271:1:30;7285:5;;7220:80;7319:4;7309:76;;-1:-1:-1;7356:1:30;7370:5;;7309:76;7401:4;7419:1;7414:59;;;;7487:1;7482:174;;;;7394:262;;7414:59;7444:1;7435:10;;7458:5;;;7482:174;7519:3;7509:8;7506:17;7503:43;;;7526:18;;:::i;:::-;-1:-1:-1;;7582:1:30;7568:16;;7641:5;;7394:262;;7740:2;7730:8;7727:16;7721:3;7715:4;7712:13;7708:36;7702:2;7692:8;7689:16;7684:2;7678:4;7675:12;7671:35;7668:77;7665:203;;;-1:-1:-1;7777:19:30;;;7853:5;;7665:203;7900:42;-1:-1:-1;;7925:8:30;7919:4;7900:42;:::i;:::-;7978:6;7974:1;7970:6;7966:19;7957:7;7954:32;7951:58;;;7989:18;;:::i;:::-;8027:20;;7151:902;-1:-1:-1;;;7151:902:30:o;8058:140::-;8116:5;8145:47;8186:4;8176:8;8172:19;8166:4;8145:47;:::i"},"methodIdentifiers":{"ADMIN_ROLE()":"75b238fc","DEFAULT_ADMIN_ROLE()":"a217fddf","PRICER_ROLE()":"fbb81279","SWAP_ROLE()":"d4b7f403","exactInput((bytes,address,uint256,uint256,uint256))":"c04b8d59","exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))":"414bf389","exactOutput((bytes,address,uint256,uint256,uint256))":"f28c0498","exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))":"db3e2198","getCurrentPrice(address,address)":"db16a555","getOnBehalfOf()":"caf03181","getRoleAdmin(bytes32)":"248a9ca3","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f","setCurrentPrice(address,address,uint256)":"4562e015","setOnBehalfOf(address)":"70eceb6a","supportsInterface(bytes4)":"01ffc9a7","uniswapV3SwapCallback(int256,int256,bytes)":"fa461e33"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineInThePast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"}],\"name\":\"InputAmountExceedsSlippage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotImplemented\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"}],\"name\":\"OutputAmountLessThanSlippage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RecipientCannotBeZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenCannotBeZero\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"}],\"name\":\"OnBehalfOfChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"PriceUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PRICER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SWAP_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"}],\"internalType\":\"struct ISwapRouter.ExactInputParams\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"exactInput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct ISwapRouter.ExactInputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"}],\"internalType\":\"struct ISwapRouter.ExactOutputParams\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"exactOutput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct ISwapRouter.ExactOutputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactOutputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"}],\"name\":\"getCurrentPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOnBehalfOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price_\",\"type\":\"uint256\"}],\"name\":\"setCurrentPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"}],\"name\":\"setOnBehalfOf\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AccessControlBadConfirmation()\":[{\"details\":\"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\"}],\"AccessControlUnauthorizedAccount(address,bytes32)\":[{\"details\":\"The `account` is missing a role.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}]},\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"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.\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"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`)\"}},\"kind\":\"dev\",\"methods\":{\"exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"params\":{\"params\":\"The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata\"},\"returns\":{\"amountOut\":\"The amount of the received token\"}},\"exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"params\":{\"params\":\"The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata\"},\"returns\":{\"amountIn\":\"The amount of the input token\"}},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"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.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"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 `callerConfirmation`. May emit a {RoleRevoked} event.\"},\"revokeRole(bytes32,address)\":{\"details\":\"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.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"title\":\"P2PSwapRouter\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"notice\":\"Swaps `amountIn` of one token for as much as possible of another token\"},\"exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"notice\":\"Swaps as little as possible of one token for `amountOut` of another token\"},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"notice\":\"This function is not implemented\"}},\"notice\":\"Contract following the interface of ISwapRouter that executes single swaps from authorized contracts         at configured prices, on behalf of an account\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/P2PSwapRouter.sol\":\"P2PSwapRouter\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0xa0e92d42942f4f57c5be50568dac11e9d00c93efcb458026e18d2d9b9b2e7308\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://46326c0bb1e296b67185e81c918e0b40501b8b6386165855df0a3f3c634b6a80\",\"dweb:/ipfs/QmTwyrDYtsxsk6pymJTK94PnEpzsmkpUxFuzEiakDopy4Z\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0xc1c2a7f1563b77050dc6d507db9f4ada5d042c1f6a9ddbffdc49c77cdc0a1606\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd54abb96a6156d9a761f6fdad1d3004bc48d2d4fce47f40a3f91a7ae83fc3a1\",\"dweb:/ipfs/QmUrFSGkTDJ7WaZ6qPVVe3Gn5uN2viPb7x7QQ35UX4DofX\"]},\"@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b\",\"dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF\"]},\"@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a\",\"dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS\"]},\"@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba\",\"dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862\",\"dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23\",\"dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa00be322d7db5786750ce0ac7e2f5b633ac30a5ed5fa1ced1e74acfc19acecea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c84e822f87cbdc4082533b626667b6928715bb2b1e8e7eb96954cebb9e38c8d\",\"dweb:/ipfs/QmZmy9dgxLTerBAQDuuHqbL6EpgRxddqgv5KmwpXYVbKz1\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol\":{\"keccak256\":\"0x9bfaf1feb32814623e627ab70f2409760b15d95f1f9b058e2b3399a8bb732975\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8a2c3e55965b61bcd91993d8e1d5d34b8b8a63e0fdfce87a85f6af92526fd53\",\"dweb:/ipfs/QmQj2CSCSwqDSU4KMNWxGsN2336Cy64WgpV1X1EHXNZWxM\"]},\"contracts/P2PSwapRouter.sol\":{\"keccak256\":\"0x229aad258bbdd023e0cc7c0b06aa5fcaa758784bee677d46121727b651d0be6c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://dba7521ef9573a1b8c8cb124c290c5c907da1b19893dd1a2bc47b36bb0add3c0\",\"dweb:/ipfs/QmTGdGSn2W8qubEDavHsLXXYwbuyShTDD5dRBExs4tNvq5\"]},\"contracts/interfaces/ISwapRouterErrors.sol\":{\"keccak256\":\"0x896abfd41692c6fdce8bff95510374807df8661c25650bf5974abaa2f89f91f4\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1c221f36a8aad0c42df332f1984c2f5c1f251daf33858ff42b0d9aaa6b6eab3c\",\"dweb:/ipfs/Qmf8d7HwMfqqPxChyxn3X6ZikBmuxW8fGBCaADw5yKSzCL\"]}},\"version\":1}"}},"contracts/SwapLibrary.sol":{"SwapLibrary":{"abi":[{"inputs":[],"name":"AllowanceShouldGoBackToZero","type":"error"},{"inputs":[],"name":"AtLeastOneRoute","type":"error"},{"inputs":[],"name":"CurveRouterCantBeZero","type":"error"},{"inputs":[],"name":"InvalidLength","type":"error"},{"inputs":[],"name":"InvalidProtocol","type":"error"},{"inputs":[{"components":[{"internalType":"address[11]","name":"route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"swapParams","type":"uint256[5][5]"},{"internalType":"address[5]","name":"pools","type":"address[5]"}],"internalType":"struct CurveRoutes.CurveRoute","name":"route","type":"tuple"}],"name":"InvalidRoute","type":"error"},{"inputs":[],"name":"MaxSlippageCannotBeZero","type":"error"},{"inputs":[{"internalType":"uint256","name":"received","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"}],"name":"ReceivedLessThanAcceptable","type":"error"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"RouteNotFound","type":"error"},{"inputs":[{"internalType":"uint256","name":"spent","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"}],"name":"SpentMoreThanAcceptable","type":"error"},{"inputs":[{"internalType":"uint8","name":"nSwaps","type":"uint8"}],"name":"TooManySwaps","type":"error"},{"inputs":[],"name":"UniswapFeeTierCannotBeZero","type":"error"},{"inputs":[],"name":"UniswapRouterCannotBeZero","type":"error"},{"inputs":[{"components":[{"internalType":"enum SwapLibrary.SwapProtocol","name":"protocol","type":"SwapLibrary.SwapProtocol"},{"internalType":"uint256","name":"maxSlippage","type":"uint256"},{"internalType":"bytes","name":"customParams","type":"bytes"}],"internalType":"struct SwapLibrary.SwapConfig","name":"swapConfig","type":"tuple"}],"name":"validate","outputs":[],"stateMutability":"pure","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"611d23610039600b82828239805160001a607314602c57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061004b5760003560e01c8063581e517d146100505780637756691514610082578063b2fca32c146100a2575b600080fd5b81801561005c57600080fd5b5061007061006b3660046116d1565b6100b7565b60405190815260200160405180910390f35b81801561008e57600080fd5b5061007061009d3660046116d1565b610131565b6100b56100b0366004611745565b610197565b005b600060016100c86020880188611798565b60028111156100d9576100d9611782565b036100f2576100eb86868686866102e1565b9050610128565b60026101016020880188611798565b600281111561011257610112611782565b03610124576100eb868686868661052a565b5060005b95945050505050565b600060016101426020880188611798565b600281111561015357610153611782565b03610165576100eb86868686866106ee565b60026101746020880188611798565b600281111561018557610185611782565b03610124576100eb868686868661093e565b80602001356000036101bc57604051633b3a5b4760e21b815260040160405180910390fd5b60016101cb6020830183611798565b60028111156101dc576101dc611782565b036102565760006101f060408301836117b9565b8101906101fd9190611807565b60208101519091506001600160a01b031661022b5760405163e35d3f9360e01b815260040160405180910390fd5b805162ffffff166000036102525760405163c087296d60e01b815260040160405180910390fd5b5050565b60026102656020830183611798565b600281111561027657610276611782565b036102c8576102c561028b60408301836117b9565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610b2e92505050565b50565b6040516301fc71f560e21b815260040160405180910390fd5b6000806102f160408801886117b9565b8101906102fe9190611807565b90506000610313858960200135898988610d77565b602083015160405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291925088169063095ea7b3906044016020604051808303816000875af115801561036b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038f9190611883565b506000604051806101000160405280896001600160a01b03168152602001886001600160a01b03168152602001846000015162ffffff168152602001306001600160a01b0316815260200142815260200187815260200183815260200160006001600160a01b03168152509050600083602001516001600160a01b031663db3e2198836040518263ffffffff1660e01b815260040161042e919061191a565b6020604051808303816000875af115801561044d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104719190611929565b602085015160405163095ea7b360e01b81526001600160a01b039182166004820152600060248201529192508a169063095ea7b3906044016020604051808303816000875af11580156104c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ec9190611883565b508281111561051d57604051634641f9e160e01b815260048101829052602481018490526044015b60405180910390fd5b9998505050505050505050565b6000808061057c61053e60408a018a6117b9565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508b92508a9150610ddb9050565b915091506000610593868a602001358a8a89610d77565b60405163095ea7b360e01b81526001600160a01b038581166004830152602482018390529192509089169063095ea7b3906044016020604051808303816000875af11580156105e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060a9190611883565b506000805b871580159061061e5750600281105b1561066c5760008061063187878c610f27565b9150915061063f8a83611038565b610649908b611958565b9950610655818561196b565b9350505080806106649061197e565b91505061060f565b5060405163095ea7b360e01b81526001600160a01b038581166004830152600060248301528a169063095ea7b3906044016020604051808303816000875af11580156106bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e09190611883565b509998505050505050505050565b6000806106fe60408801886117b9565b81019061070b9190611807565b9050600061072085896020013589898861104d565b602083015160405163095ea7b360e01b81526001600160a01b0391821660048201526024810188905291925088169063095ea7b3906044016020604051808303816000875af1158015610777573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079b9190611883565b506000604051806101000160405280896001600160a01b03168152602001886001600160a01b03168152602001846000015162ffffff168152602001306001600160a01b0316815260200142815260200187815260200183815260200160006001600160a01b03168152509050600083602001516001600160a01b031663414bf389836040518263ffffffff1660e01b815260040161083a919061191a565b6020604051808303816000875af1158015610859573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087d9190611929565b6020850151604051636eb1769f60e11b81523060048201526001600160a01b0391821660248201529192508a169063dd62ed3e90604401602060405180830381865afa1580156108d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f59190611929565b1561091357604051630511d53d60e41b815260040160405180910390fd5b8281101561051d57604051634209aa3160e11b81526004810182905260248101849052604401610514565b6000808061095261053e60408a018a6117b9565b915091506000610969868a602001358a8a8961104d565b60405163095ea7b360e01b81526001600160a01b038581166004830152602482018990529192509089169063095ea7b3906044016020604051808303816000875af11580156109bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e09190611883565b5081516020830151604080850151905163c872a3c560e01b81526001600160a01b0387169363c872a3c593610a2293919290918c918891903090600401611a3c565b6020604051808303816000875af1158015610a41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a659190611929565b604051636eb1769f60e11b81523060048201526001600160a01b0385811660248301529195509089169063dd62ed3e90604401602060405180830381865afa158015610ab5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad99190611929565b15610af757604051630511d53d60e41b815260040160405180910390fd5b80841015610b2257604051634209aa3160e11b81526004810185905260248101829052604401610514565b50505095945050505050565b6000610b3a8282611081565b90506001600160a01b038116610b635760405163e368363760e01b815260040160405180910390fd5b6000610b7a610b7360148361196b565b84906110e6565b90508060ff16600003610ba0576040516301ec987f60e31b815260040160405180910390fd5b60006001610baf60148361196b565b610bb9919061196b565b905060005b8260ff16811015610d4f57600080610bd68785611142565b9150915060005b8260ff16811015610c80578151600090610bf8836002611a92565b600b8110610c0857610c08611aa9565b60200201516001600160a01b03161480610c5857508151600090610c2d836002611a92565b610c3890600161196b565b600b8110610c4857610c48611aa9565b60200201516001600160a01b0316145b15610c785781604051635875b11160e01b81526004016105149190611abf565b600101610bdd565b508051600090610c91846002611b24565b60ff16600b8110610ca457610ca4611aa9565b60200201516001600160a01b031603610cd25780604051635875b11160e01b81526004016105149190611abf565b60058260ff1614158015610d1057508051600090610cef84611441565b600b8110610cff57610cff611aa9565b60200201516001600160a01b031614155b15610d305780604051635875b11160e01b81526004016105149190611abf565b610d3982611462565b610d43908561196b565b93505050600101610bbe565b5080845114610d715760405163251f56a160e21b815260040160405180910390fd5b50505050565b6000610d82846114c0565b610dc7610d9787670de0b6b3a764000061196b565b670de0b6b3a7640000610dc086670de0b6b3a7640000610db68a6114c0565b610dc0908e611a92565b919061153a565b610dd19190611b56565b9695505050505050565b6000610de5611608565b610df0856000611081565b91506000610e09610e0260148361196b565b87906110e6565b905060006001610e1a60148361196b565b610e24919061196b565b905060005b8260ff16811015610ef2576000610e4089846110e6565b90506001600160a01b038816610e61610e5a60018661196b565b8b90611081565b6001600160a01b0316148015610eb857506001600160a01b038716610ead610e8d60ff84166014611a92565b610e98906002611a92565b610ea360018761196b565b610e5a919061196b565b6001600160a01b0316145b15610ed457610ec78984611142565b9550610f1f945050505050565b610edd81611462565b610ee7908461196b565b925050600101610e29565b50604051638c9aec7b60e01b81526001600160a01b03808816600483015286166024820152604401610514565b935093915050565b81516020830151604080850151905163c07b535360e01b815260009384936001600160a01b0389169363c07b535393610f669392918991600401611b78565b602060405180830381865afa158015610f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa79190611929565b84516020860151604080880151905163c872a3c560e01b81529394506001600160a01b0389169363c872a3c593610feb939092909187916000913090600401611a3c565b6020604051808303816000875af115801561100a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102e9190611929565b9150935093915050565b60008282188284100282185b90505b92915050565b6000611058836114c0565b610dc761106d87670de0b6b3a7640000611958565b84611077886114c0565b610dc0908b611a92565b600061108e82601461196b565b835110156110d65760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610514565b500160200151600160601b900490565b60006110f382600161196b565b835110156111395760405162461bcd60e51b8152602060048201526013602482015272746f55696e74385f6f75744f66426f756e647360681b6044820152606401610514565b50016001015190565b600061114c611608565b61115684846110e6565b915060058260ff16111561118257604051635b030b5960e11b815260ff83166004820152602401610514565b60005b61118e83611441565b8110156111ed576111bf6111a3601483611a92565b6111ae60018761196b565b6111b8919061196b565b8690611081565b825182600b81106111d2576111d2611aa9565b6001600160a01b039092166020929092020152600101611185565b5060146111f983611441565b6112039190611a92565b61120e90600161196b565b611218908461196b565b925060005b8260ff168110156113bc57611252611236600183611a92565b611241906005611a92565b61124b908661196b565b86906110e6565b60ff168260200151826005811061126b5761126b611aa9565b60200201515261129f61127f600183611a92565b61128a906005611a92565b611294908661196b565b61124b90600161196b565b60ff16826020015182600581106112b8576112b8611aa9565b6020020151600160200201526112f26112d2600183611a92565b6112dd906005611a92565b6112e7908661196b565b61124b90600261196b565b60ff168260200151826005811061130b5761130b611aa9565b602002015160400152611342611322600183611a92565b61132d906005611a92565b611337908661196b565b61124b90600361196b565b60ff168260200151826005811061135b5761135b611aa9565b602002015160600152611392611372600183611a92565b61137d906005611a92565b611387908661196b565b61124b90600461196b565b60ff16826020015182600581106113ab576113ab611aa9565b60200201516080015260010161121d565b506113cb600160ff8416611a92565b6113d6906005611a92565b6113e0908461196b565b925060005b8260ff16811015611439576114086113fe601483611a92565b6111b8908661196b565b8260400151826005811061141e5761141e611aa9565b6001600160a01b0390921660209290920201526001016113e5565b509250929050565b600061144e826002611b24565b611459906001611baa565b60ff1692915050565b6000611472601460ff8416611a92565b600161147f846005611b24565b60ff1661148c9190611a92565b601461149785611441565b6114a19190611a92565b6114ac90600161196b565b6114b6919061196b565b611047919061196b565b6000816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611500573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115249190611bc3565b61152f906012611be6565b61104790600a611cde565b60008383028160001985870982811083820303915050806000036115715783828161156757611567611b40565b04925050506115ef565b8084116115885761158860038515026011186115f6565b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150505b9392505050565b634e487b71600052806020526024601cfd5b604051806060016040528061161b61163a565b8152602001611628611659565b8152602001611635611686565b905290565b604051806101600160405280600b906020820280368337509192915050565b6040518060a001604052806005905b611670611686565b8152602001906001900390816116685790505090565b6040518060a001604052806005906020820280368337509192915050565b6000606082840312156116b657600080fd5b50919050565b6001600160a01b03811681146102c557600080fd5b600080600080600060a086880312156116e957600080fd5b853567ffffffffffffffff81111561170057600080fd5b61170c888289016116a4565b955050602086013561171d816116bc565b9350604086013561172d816116bc565b94979396509394606081013594506080013592915050565b60006020828403121561175757600080fd5b813567ffffffffffffffff81111561176e57600080fd5b61177a848285016116a4565b949350505050565b634e487b7160e01b600052602160045260246000fd5b6000602082840312156117aa57600080fd5b8135600381106115ef57600080fd5b6000808335601e198436030181126117d057600080fd5b83018035915067ffffffffffffffff8211156117eb57600080fd5b60200191503681900382131561180057600080fd5b9250929050565b6000604082840312801561181a57600080fd5b600090506040516040810181811067ffffffffffffffff8211171561184d57634e487b7160e01b83526041600452602483fd5b604052833562ffffff81168114611862578283fd5b815260208401359150611874826116bc565b60208101919091529392505050565b60006020828403121561189557600080fd5b815180151581146115ef57600080fd5b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015191821690840152506080810151608083015260a081015160a083015260c081015160c083015260e081015161191560e08401826001600160a01b03169052565b505050565b610100810161104782846118a5565b60006020828403121561193b57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561104757611047611942565b8082018082111561104757611047611942565b60006001820161199057611990611942565b5060010190565b8060005b600b811015610d715781516001600160a01b031684526020938401939091019060010161199b565b8060005b6005811015610d71578151600085815b60058110156119f65783518252602093840193909101906001016119d7565b50505060a0949094019350602091909101906001016119c7565b8060005b6005811015610d715781516001600160a01b0316845260209384019390910190600101611a14565b6105808101611a4b8289611997565b611a596101608301886119c3565b85610480830152846104a0830152611a756104c0830185611a10565b6001600160a01b0392909216610560919091015295945050505050565b808202811582820484141761104757611047611942565b634e487b7160e01b600052603260045260246000fd5b81516105208201908260005b600b811015611af35782516001600160a01b0316825260209283019290910190600101611acb565b5050506020830151611b096101608401826119c3565b506040830151611b1d610480840182611a10565b5092915050565b60ff8181168382160290811690818114611b1d57611b1d611942565b634e487b7160e01b600052601260045260246000fd5b600082611b7357634e487b7160e01b600052601260045260246000fd5b500490565b6105408101611b878287611997565b611b956101608301866119c3565b836104808301526101286104a0830184611a10565b60ff818116838216019081111561104757611047611942565b600060208284031215611bd557600080fd5b815160ff811681146115ef57600080fd5b60ff828116828216039081111561104757611047611942565b6001815b6001841115610f1f57808504811115611c1e57611c1e611942565b6001841615611c2c57908102905b60019390931c928002611c03565b600082611c4957506001611047565b81611c5657506000611047565b8160018114611c6c5760028114611c7657611c92565b6001915050611047565b60ff841115611c8757611c87611942565b50506001821b611047565b5060208310610133831016604e8410600b8410161715611cb5575081810a611047565b611cc26000198484611bff565b8060001904821115611cd657611cd6611942565b029392505050565b600061104460ff841683611c3a56fea26469706673582212203cfd9958529acddcddb32bf0ee9e785109530e511517b02fe9fc4d32a63c652164736f6c634300081c0033","opcodes":"PUSH2 0x1D23 PUSH2 0x39 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2C JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL 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 0x4 CALLDATASIZE LT PUSH2 0x4B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x581E517D EQ PUSH2 0x50 JUMPI DUP1 PUSH4 0x77566915 EQ PUSH2 0x82 JUMPI DUP1 PUSH4 0xB2FCA32C EQ PUSH2 0xA2 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP1 ISZERO PUSH2 0x5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x70 PUSH2 0x6B CALLDATASIZE PUSH1 0x4 PUSH2 0x16D1 JUMP JUMPDEST PUSH2 0xB7 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP2 DUP1 ISZERO PUSH2 0x8E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x70 PUSH2 0x9D CALLDATASIZE PUSH1 0x4 PUSH2 0x16D1 JUMP JUMPDEST PUSH2 0x131 JUMP JUMPDEST PUSH2 0xB5 PUSH2 0xB0 CALLDATASIZE PUSH1 0x4 PUSH2 0x1745 JUMP JUMPDEST PUSH2 0x197 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH2 0xC8 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0xD9 JUMPI PUSH2 0xD9 PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0xF2 JUMPI PUSH2 0xEB DUP7 DUP7 DUP7 DUP7 DUP7 PUSH2 0x2E1 JUMP JUMPDEST SWAP1 POP PUSH2 0x128 JUMP JUMPDEST PUSH1 0x2 PUSH2 0x101 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x112 JUMPI PUSH2 0x112 PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0x124 JUMPI PUSH2 0xEB DUP7 DUP7 DUP7 DUP7 DUP7 PUSH2 0x52A JUMP JUMPDEST POP PUSH1 0x0 JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH2 0x142 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x153 JUMPI PUSH2 0x153 PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0x165 JUMPI PUSH2 0xEB DUP7 DUP7 DUP7 DUP7 DUP7 PUSH2 0x6EE JUMP JUMPDEST PUSH1 0x2 PUSH2 0x174 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x185 JUMPI PUSH2 0x185 PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0x124 JUMPI PUSH2 0xEB DUP7 DUP7 DUP7 DUP7 DUP7 PUSH2 0x93E JUMP JUMPDEST DUP1 PUSH1 0x20 ADD CALLDATALOAD PUSH1 0x0 SUB PUSH2 0x1BC JUMPI PUSH1 0x40 MLOAD PUSH4 0x3B3A5B47 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH2 0x1CB PUSH1 0x20 DUP4 ADD DUP4 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1DC JUMPI PUSH2 0x1DC PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0x256 JUMPI PUSH1 0x0 PUSH2 0x1F0 PUSH1 0x40 DUP4 ADD DUP4 PUSH2 0x17B9 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x1FD SWAP2 SWAP1 PUSH2 0x1807 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD MLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x22B JUMPI PUSH1 0x40 MLOAD PUSH4 0xE35D3F93 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 MLOAD PUSH3 0xFFFFFF AND PUSH1 0x0 SUB PUSH2 0x252 JUMPI PUSH1 0x40 MLOAD PUSH4 0xC087296D PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 PUSH2 0x265 PUSH1 0x20 DUP4 ADD DUP4 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x276 JUMPI PUSH2 0x276 PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0x2C8 JUMPI PUSH2 0x2C5 PUSH2 0x28B PUSH1 0x40 DUP4 ADD DUP4 PUSH2 0x17B9 JUMP JUMPDEST DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP PUSH2 0xB2E SWAP3 POP POP POP JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x1FC71F5 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x2F1 PUSH1 0x40 DUP9 ADD DUP9 PUSH2 0x17B9 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x2FE SWAP2 SWAP1 PUSH2 0x1807 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x313 DUP6 DUP10 PUSH1 0x20 ADD CALLDATALOAD DUP10 DUP10 DUP9 PUSH2 0xD77 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x0 NOT PUSH1 0x24 DUP3 ADD MSTORE SWAP2 SWAP3 POP DUP9 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x36B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x38F SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH2 0x100 ADD PUSH1 0x40 MSTORE DUP1 DUP10 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP9 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 PUSH1 0x0 ADD MLOAD PUSH3 0xFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD ADDRESS PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD TIMESTAMP DUP2 MSTORE PUSH1 0x20 ADD DUP8 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE POP SWAP1 POP PUSH1 0x0 DUP4 PUSH1 0x20 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xDB3E2198 DUP4 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x42E SWAP2 SWAP1 PUSH2 0x191A JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x44D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x471 SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x0 PUSH1 0x24 DUP3 ADD MSTORE SWAP2 SWAP3 POP DUP11 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x4C8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4EC SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP DUP3 DUP2 GT ISZERO PUSH2 0x51D JUMPI PUSH1 0x40 MLOAD PUSH4 0x4641F9E1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x44 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 PUSH2 0x57C PUSH2 0x53E PUSH1 0x40 DUP11 ADD DUP11 PUSH2 0x17B9 JUMP JUMPDEST DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP DUP12 SWAP3 POP DUP11 SWAP2 POP PUSH2 0xDDB SWAP1 POP JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH1 0x0 PUSH2 0x593 DUP7 DUP11 PUSH1 0x20 ADD CALLDATALOAD DUP11 DUP11 DUP10 PUSH2 0xD77 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD DUP4 SWAP1 MSTORE SWAP2 SWAP3 POP SWAP1 DUP10 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x5E6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x60A SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP PUSH1 0x0 DUP1 JUMPDEST DUP8 ISZERO DUP1 ISZERO SWAP1 PUSH2 0x61E JUMPI POP PUSH1 0x2 DUP2 LT JUMPDEST ISZERO PUSH2 0x66C JUMPI PUSH1 0x0 DUP1 PUSH2 0x631 DUP8 DUP8 DUP13 PUSH2 0xF27 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x63F DUP11 DUP4 PUSH2 0x1038 JUMP JUMPDEST PUSH2 0x649 SWAP1 DUP12 PUSH2 0x1958 JUMP JUMPDEST SWAP10 POP PUSH2 0x655 DUP2 DUP6 PUSH2 0x196B JUMP JUMPDEST SWAP4 POP POP POP DUP1 DUP1 PUSH2 0x664 SWAP1 PUSH2 0x197E JUMP JUMPDEST SWAP2 POP POP PUSH2 0x60F JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x0 PUSH1 0x24 DUP4 ADD MSTORE DUP11 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x6BC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x6E0 SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x6FE PUSH1 0x40 DUP9 ADD DUP9 PUSH2 0x17B9 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x70B SWAP2 SWAP1 PUSH2 0x1807 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x720 DUP6 DUP10 PUSH1 0x20 ADD CALLDATALOAD DUP10 DUP10 DUP9 PUSH2 0x104D JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP9 SWAP1 MSTORE SWAP2 SWAP3 POP DUP9 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x777 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x79B SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH2 0x100 ADD PUSH1 0x40 MSTORE DUP1 DUP10 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP9 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 PUSH1 0x0 ADD MLOAD PUSH3 0xFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD ADDRESS PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD TIMESTAMP DUP2 MSTORE PUSH1 0x20 ADD DUP8 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE POP SWAP1 POP PUSH1 0x0 DUP4 PUSH1 0x20 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x414BF389 DUP4 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x83A SWAP2 SWAP1 PUSH2 0x191A JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x859 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x87D SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x6EB1769F PUSH1 0xE1 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x24 DUP3 ADD MSTORE SWAP2 SWAP3 POP DUP11 AND SWAP1 PUSH4 0xDD62ED3E SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8D1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x8F5 SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST ISZERO PUSH2 0x913 JUMPI PUSH1 0x40 MLOAD PUSH4 0x511D53D PUSH1 0xE4 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x51D JUMPI PUSH1 0x40 MLOAD PUSH4 0x4209AA31 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x44 ADD PUSH2 0x514 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 PUSH2 0x952 PUSH2 0x53E PUSH1 0x40 DUP11 ADD DUP11 PUSH2 0x17B9 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH1 0x0 PUSH2 0x969 DUP7 DUP11 PUSH1 0x20 ADD CALLDATALOAD DUP11 DUP11 DUP10 PUSH2 0x104D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD DUP10 SWAP1 MSTORE SWAP2 SWAP3 POP SWAP1 DUP10 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x9BC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x9E0 SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP DUP2 MLOAD PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x40 DUP1 DUP6 ADD MLOAD SWAP1 MLOAD PUSH4 0xC872A3C5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND SWAP4 PUSH4 0xC872A3C5 SWAP4 PUSH2 0xA22 SWAP4 SWAP2 SWAP3 SWAP1 SWAP2 DUP13 SWAP2 DUP9 SWAP2 SWAP1 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x1A3C JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0xA41 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA65 SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x6EB1769F PUSH1 0xE1 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE SWAP2 SWAP6 POP SWAP1 DUP10 AND SWAP1 PUSH4 0xDD62ED3E SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAB5 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xAD9 SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST ISZERO PUSH2 0xAF7 JUMPI PUSH1 0x40 MLOAD PUSH4 0x511D53D PUSH1 0xE4 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 DUP5 LT ISZERO PUSH2 0xB22 JUMPI PUSH1 0x40 MLOAD PUSH4 0x4209AA31 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x44 ADD PUSH2 0x514 JUMP JUMPDEST POP POP POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB3A DUP3 DUP3 PUSH2 0x1081 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xB63 JUMPI PUSH1 0x40 MLOAD PUSH4 0xE3683637 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xB7A PUSH2 0xB73 PUSH1 0x14 DUP4 PUSH2 0x196B JUMP JUMPDEST DUP5 SWAP1 PUSH2 0x10E6 JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0xFF AND PUSH1 0x0 SUB PUSH2 0xBA0 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1EC987F PUSH1 0xE3 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH2 0xBAF PUSH1 0x14 DUP4 PUSH2 0x196B JUMP JUMPDEST PUSH2 0xBB9 SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST SWAP1 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0xD4F JUMPI PUSH1 0x0 DUP1 PUSH2 0xBD6 DUP8 DUP6 PUSH2 0x1142 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0xC80 JUMPI DUP2 MLOAD PUSH1 0x0 SWAP1 PUSH2 0xBF8 DUP4 PUSH1 0x2 PUSH2 0x1A92 JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0xC08 JUMPI PUSH2 0xC08 PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0xC58 JUMPI POP DUP2 MLOAD PUSH1 0x0 SWAP1 PUSH2 0xC2D DUP4 PUSH1 0x2 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0xC38 SWAP1 PUSH1 0x1 PUSH2 0x196B JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0xC48 JUMPI PUSH2 0xC48 PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST ISZERO PUSH2 0xC78 JUMPI DUP2 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x514 SWAP2 SWAP1 PUSH2 0x1ABF JUMP JUMPDEST PUSH1 0x1 ADD PUSH2 0xBDD JUMP JUMPDEST POP DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0xC91 DUP5 PUSH1 0x2 PUSH2 0x1B24 JUMP JUMPDEST PUSH1 0xFF AND PUSH1 0xB DUP2 LT PUSH2 0xCA4 JUMPI PUSH2 0xCA4 PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0xCD2 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x514 SWAP2 SWAP1 PUSH2 0x1ABF JUMP JUMPDEST PUSH1 0x5 DUP3 PUSH1 0xFF AND EQ ISZERO DUP1 ISZERO PUSH2 0xD10 JUMPI POP DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0xCEF DUP5 PUSH2 0x1441 JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0xCFF JUMPI PUSH2 0xCFF PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO JUMPDEST ISZERO PUSH2 0xD30 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x514 SWAP2 SWAP1 PUSH2 0x1ABF JUMP JUMPDEST PUSH2 0xD39 DUP3 PUSH2 0x1462 JUMP JUMPDEST PUSH2 0xD43 SWAP1 DUP6 PUSH2 0x196B JUMP JUMPDEST SWAP4 POP POP POP PUSH1 0x1 ADD PUSH2 0xBBE JUMP JUMPDEST POP DUP1 DUP5 MLOAD EQ PUSH2 0xD71 JUMPI PUSH1 0x40 MLOAD PUSH4 0x251F56A1 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xD82 DUP5 PUSH2 0x14C0 JUMP JUMPDEST PUSH2 0xDC7 PUSH2 0xD97 DUP8 PUSH8 0xDE0B6B3A7640000 PUSH2 0x196B JUMP JUMPDEST PUSH8 0xDE0B6B3A7640000 PUSH2 0xDC0 DUP7 PUSH8 0xDE0B6B3A7640000 PUSH2 0xDB6 DUP11 PUSH2 0x14C0 JUMP JUMPDEST PUSH2 0xDC0 SWAP1 DUP15 PUSH2 0x1A92 JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0x153A JUMP JUMPDEST PUSH2 0xDD1 SWAP2 SWAP1 PUSH2 0x1B56 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xDE5 PUSH2 0x1608 JUMP JUMPDEST PUSH2 0xDF0 DUP6 PUSH1 0x0 PUSH2 0x1081 JUMP JUMPDEST SWAP2 POP PUSH1 0x0 PUSH2 0xE09 PUSH2 0xE02 PUSH1 0x14 DUP4 PUSH2 0x196B JUMP JUMPDEST DUP8 SWAP1 PUSH2 0x10E6 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x1 PUSH2 0xE1A PUSH1 0x14 DUP4 PUSH2 0x196B JUMP JUMPDEST PUSH2 0xE24 SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST SWAP1 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0xEF2 JUMPI PUSH1 0x0 PUSH2 0xE40 DUP10 DUP5 PUSH2 0x10E6 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND PUSH2 0xE61 PUSH2 0xE5A PUSH1 0x1 DUP7 PUSH2 0x196B JUMP JUMPDEST DUP12 SWAP1 PUSH2 0x1081 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 ISZERO PUSH2 0xEB8 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND PUSH2 0xEAD PUSH2 0xE8D PUSH1 0xFF DUP5 AND PUSH1 0x14 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0xE98 SWAP1 PUSH1 0x2 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0xEA3 PUSH1 0x1 DUP8 PUSH2 0x196B JUMP JUMPDEST PUSH2 0xE5A SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST ISZERO PUSH2 0xED4 JUMPI PUSH2 0xEC7 DUP10 DUP5 PUSH2 0x1142 JUMP JUMPDEST SWAP6 POP PUSH2 0xF1F SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH2 0xEDD DUP2 PUSH2 0x1462 JUMP JUMPDEST PUSH2 0xEE7 SWAP1 DUP5 PUSH2 0x196B JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 ADD PUSH2 0xE29 JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH4 0x8C9AEC7B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP9 AND PUSH1 0x4 DUP4 ADD MSTORE DUP7 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x514 JUMP JUMPDEST SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST DUP2 MLOAD PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x40 DUP1 DUP6 ADD MLOAD SWAP1 MLOAD PUSH4 0xC07B5353 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x0 SWAP4 DUP5 SWAP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND SWAP4 PUSH4 0xC07B5353 SWAP4 PUSH2 0xF66 SWAP4 SWAP3 SWAP2 DUP10 SWAP2 PUSH1 0x4 ADD PUSH2 0x1B78 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xF83 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xFA7 SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST DUP5 MLOAD PUSH1 0x20 DUP7 ADD MLOAD PUSH1 0x40 DUP1 DUP9 ADD MLOAD SWAP1 MLOAD PUSH4 0xC872A3C5 PUSH1 0xE0 SHL DUP2 MSTORE SWAP4 SWAP5 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND SWAP4 PUSH4 0xC872A3C5 SWAP4 PUSH2 0xFEB SWAP4 SWAP1 SWAP3 SWAP1 SWAP2 DUP8 SWAP2 PUSH1 0x0 SWAP2 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x1A3C JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x100A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x102E SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST SWAP2 POP SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 XOR DUP3 DUP5 LT MUL DUP3 XOR JUMPDEST SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1058 DUP4 PUSH2 0x14C0 JUMP JUMPDEST PUSH2 0xDC7 PUSH2 0x106D DUP8 PUSH8 0xDE0B6B3A7640000 PUSH2 0x1958 JUMP JUMPDEST DUP5 PUSH2 0x1077 DUP9 PUSH2 0x14C0 JUMP JUMPDEST PUSH2 0xDC0 SWAP1 DUP12 PUSH2 0x1A92 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x108E DUP3 PUSH1 0x14 PUSH2 0x196B JUMP JUMPDEST DUP4 MLOAD LT ISZERO PUSH2 0x10D6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x746F416464726573735F6F75744F66426F756E6473 PUSH1 0x58 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x514 JUMP JUMPDEST POP ADD PUSH1 0x20 ADD MLOAD PUSH1 0x1 PUSH1 0x60 SHL SWAP1 DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x10F3 DUP3 PUSH1 0x1 PUSH2 0x196B JUMP JUMPDEST DUP4 MLOAD LT ISZERO PUSH2 0x1139 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x746F55696E74385F6F75744F66426F756E6473 PUSH1 0x68 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x514 JUMP JUMPDEST POP ADD PUSH1 0x1 ADD MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x114C PUSH2 0x1608 JUMP JUMPDEST PUSH2 0x1156 DUP5 DUP5 PUSH2 0x10E6 JUMP JUMPDEST SWAP2 POP PUSH1 0x5 DUP3 PUSH1 0xFF AND GT ISZERO PUSH2 0x1182 JUMPI PUSH1 0x40 MLOAD PUSH4 0x5B030B59 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0xFF DUP4 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x514 JUMP JUMPDEST PUSH1 0x0 JUMPDEST PUSH2 0x118E DUP4 PUSH2 0x1441 JUMP JUMPDEST DUP2 LT ISZERO PUSH2 0x11ED JUMPI PUSH2 0x11BF PUSH2 0x11A3 PUSH1 0x14 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x11AE PUSH1 0x1 DUP8 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x11B8 SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST DUP7 SWAP1 PUSH2 0x1081 JUMP JUMPDEST DUP3 MLOAD DUP3 PUSH1 0xB DUP2 LT PUSH2 0x11D2 JUMPI PUSH2 0x11D2 PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 SWAP1 SWAP3 MUL ADD MSTORE PUSH1 0x1 ADD PUSH2 0x1185 JUMP JUMPDEST POP PUSH1 0x14 PUSH2 0x11F9 DUP4 PUSH2 0x1441 JUMP JUMPDEST PUSH2 0x1203 SWAP2 SWAP1 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x120E SWAP1 PUSH1 0x1 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x1218 SWAP1 DUP5 PUSH2 0x196B JUMP JUMPDEST SWAP3 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x13BC JUMPI PUSH2 0x1252 PUSH2 0x1236 PUSH1 0x1 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x1241 SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x124B SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST DUP7 SWAP1 PUSH2 0x10E6 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x126B JUMPI PUSH2 0x126B PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD MSTORE PUSH2 0x129F PUSH2 0x127F PUSH1 0x1 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x128A SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x1294 SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x124B SWAP1 PUSH1 0x1 PUSH2 0x196B JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x12B8 JUMPI PUSH2 0x12B8 PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x20 MUL ADD MSTORE PUSH2 0x12F2 PUSH2 0x12D2 PUSH1 0x1 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x12DD SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x12E7 SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x124B SWAP1 PUSH1 0x2 PUSH2 0x196B JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x130B JUMPI PUSH2 0x130B PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x40 ADD MSTORE PUSH2 0x1342 PUSH2 0x1322 PUSH1 0x1 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x132D SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x1337 SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x124B SWAP1 PUSH1 0x3 PUSH2 0x196B JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x135B JUMPI PUSH2 0x135B PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x60 ADD MSTORE PUSH2 0x1392 PUSH2 0x1372 PUSH1 0x1 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x137D SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x1387 SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x124B SWAP1 PUSH1 0x4 PUSH2 0x196B JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x13AB JUMPI PUSH2 0x13AB PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x80 ADD MSTORE PUSH1 0x1 ADD PUSH2 0x121D JUMP JUMPDEST POP PUSH2 0x13CB PUSH1 0x1 PUSH1 0xFF DUP5 AND PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x13D6 SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x13E0 SWAP1 DUP5 PUSH2 0x196B JUMP JUMPDEST SWAP3 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x1439 JUMPI PUSH2 0x1408 PUSH2 0x13FE PUSH1 0x14 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x11B8 SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST DUP3 PUSH1 0x40 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x141E JUMPI PUSH2 0x141E PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 SWAP1 SWAP3 MUL ADD MSTORE PUSH1 0x1 ADD PUSH2 0x13E5 JUMP JUMPDEST POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x144E DUP3 PUSH1 0x2 PUSH2 0x1B24 JUMP JUMPDEST PUSH2 0x1459 SWAP1 PUSH1 0x1 PUSH2 0x1BAA JUMP JUMPDEST PUSH1 0xFF AND SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1472 PUSH1 0x14 PUSH1 0xFF DUP5 AND PUSH2 0x1A92 JUMP JUMPDEST PUSH1 0x1 PUSH2 0x147F DUP5 PUSH1 0x5 PUSH2 0x1B24 JUMP JUMPDEST PUSH1 0xFF AND PUSH2 0x148C SWAP2 SWAP1 PUSH2 0x1A92 JUMP JUMPDEST PUSH1 0x14 PUSH2 0x1497 DUP6 PUSH2 0x1441 JUMP JUMPDEST PUSH2 0x14A1 SWAP2 SWAP1 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x14AC SWAP1 PUSH1 0x1 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x14B6 SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x1047 SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x313CE567 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1500 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1524 SWAP2 SWAP1 PUSH2 0x1BC3 JUMP JUMPDEST PUSH2 0x152F SWAP1 PUSH1 0x12 PUSH2 0x1BE6 JUMP JUMPDEST PUSH2 0x1047 SWAP1 PUSH1 0xA PUSH2 0x1CDE JUMP JUMPDEST PUSH1 0x0 DUP4 DUP4 MUL DUP2 PUSH1 0x0 NOT DUP6 DUP8 MULMOD DUP3 DUP2 LT DUP4 DUP3 SUB SUB SWAP2 POP POP DUP1 PUSH1 0x0 SUB PUSH2 0x1571 JUMPI DUP4 DUP3 DUP2 PUSH2 0x1567 JUMPI PUSH2 0x1567 PUSH2 0x1B40 JUMP JUMPDEST DIV SWAP3 POP POP POP PUSH2 0x15EF JUMP JUMPDEST DUP1 DUP5 GT PUSH2 0x1588 JUMPI PUSH2 0x1588 PUSH1 0x3 DUP6 ISZERO MUL PUSH1 0x11 XOR PUSH2 0x15F6 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP7 DUP9 MULMOD PUSH1 0x0 DUP7 DUP2 SUB DUP8 AND SWAP7 DUP8 SWAP1 DIV SWAP7 PUSH1 0x2 PUSH1 0x3 DUP10 MUL DUP2 XOR DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL SWAP1 SWAP2 SUB MUL SWAP2 DUP2 SWAP1 SUB DUP2 SWAP1 DIV PUSH1 0x1 ADD DUP7 DUP5 GT SWAP1 SWAP6 SUB SWAP5 SWAP1 SWAP5 MUL SWAP2 SWAP1 SWAP5 SUB SWAP3 SWAP1 SWAP3 DIV SWAP2 SWAP1 SWAP2 OR SWAP2 SWAP1 SWAP2 MUL SWAP2 POP POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0x0 MSTORE DUP1 PUSH1 0x20 MSTORE PUSH1 0x24 PUSH1 0x1C REVERT JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x161B PUSH2 0x163A JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1628 PUSH2 0x1659 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1635 PUSH2 0x1686 JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH2 0x160 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB SWAP1 PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP SWAP2 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 SWAP1 JUMPDEST PUSH2 0x1670 PUSH2 0x1686 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x1668 JUMPI SWAP1 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 SWAP1 PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP SWAP2 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x16B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x2C5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x16E9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1700 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x170C DUP9 DUP3 DUP10 ADD PUSH2 0x16A4 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 DUP7 ADD CALLDATALOAD PUSH2 0x171D DUP2 PUSH2 0x16BC JUMP JUMPDEST SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD PUSH2 0x172D DUP2 PUSH2 0x16BC JUMP JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP SWAP4 SWAP5 PUSH1 0x60 DUP2 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 ADD CALLDATALOAD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1757 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x176E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x177A DUP5 DUP3 DUP6 ADD PUSH2 0x16A4 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x17AA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH2 0x15EF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 CALLDATALOAD PUSH1 0x1E NOT DUP5 CALLDATASIZE SUB ADD DUP2 SLT PUSH2 0x17D0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 ADD DUP1 CALLDATALOAD SWAP2 POP PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x17EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 ADD SWAP2 POP CALLDATASIZE DUP2 SWAP1 SUB DUP3 SGT ISZERO PUSH2 0x1800 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT DUP1 ISZERO PUSH2 0x181A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SWAP1 POP PUSH1 0x40 MLOAD PUSH1 0x40 DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x184D JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 DUP4 REVERT JUMPDEST PUSH1 0x40 MSTORE DUP4 CALLDATALOAD PUSH3 0xFFFFFF DUP2 AND DUP2 EQ PUSH2 0x1862 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 MSTORE PUSH1 0x20 DUP5 ADD CALLDATALOAD SWAP2 POP PUSH2 0x1874 DUP3 PUSH2 0x16BC JUMP JUMPDEST PUSH1 0x20 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1895 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x15EF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP4 MSTORE PUSH1 0x20 DUP1 DUP4 ADD MLOAD DUP3 AND SWAP1 DUP5 ADD MSTORE PUSH1 0x40 DUP1 DUP4 ADD MLOAD PUSH3 0xFFFFFF AND SWAP1 DUP5 ADD MSTORE PUSH1 0x60 DUP1 DUP4 ADD MLOAD SWAP2 DUP3 AND SWAP1 DUP5 ADD MSTORE POP PUSH1 0x80 DUP2 ADD MLOAD PUSH1 0x80 DUP4 ADD MSTORE PUSH1 0xA0 DUP2 ADD MLOAD PUSH1 0xA0 DUP4 ADD MSTORE PUSH1 0xC0 DUP2 ADD MLOAD PUSH1 0xC0 DUP4 ADD MSTORE PUSH1 0xE0 DUP2 ADD MLOAD PUSH2 0x1915 PUSH1 0xE0 DUP5 ADD DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 MSTORE JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0x100 DUP2 ADD PUSH2 0x1047 DUP3 DUP5 PUSH2 0x18A5 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x193B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP2 DUP2 SUB DUP2 DUP2 GT ISZERO PUSH2 0x1047 JUMPI PUSH2 0x1047 PUSH2 0x1942 JUMP JUMPDEST DUP1 DUP3 ADD DUP1 DUP3 GT ISZERO PUSH2 0x1047 JUMPI PUSH2 0x1047 PUSH2 0x1942 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP3 ADD PUSH2 0x1990 JUMPI PUSH2 0x1990 PUSH2 0x1942 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST PUSH1 0xB DUP2 LT ISZERO PUSH2 0xD71 JUMPI DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x199B JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xD71 JUMPI DUP2 MLOAD PUSH1 0x0 DUP6 DUP2 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x19F6 JUMPI DUP4 MLOAD DUP3 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x19D7 JUMP JUMPDEST POP POP POP PUSH1 0xA0 SWAP5 SWAP1 SWAP5 ADD SWAP4 POP PUSH1 0x20 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x19C7 JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xD71 JUMPI DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1A14 JUMP JUMPDEST PUSH2 0x580 DUP2 ADD PUSH2 0x1A4B DUP3 DUP10 PUSH2 0x1997 JUMP JUMPDEST PUSH2 0x1A59 PUSH2 0x160 DUP4 ADD DUP9 PUSH2 0x19C3 JUMP JUMPDEST DUP6 PUSH2 0x480 DUP4 ADD MSTORE DUP5 PUSH2 0x4A0 DUP4 ADD MSTORE PUSH2 0x1A75 PUSH2 0x4C0 DUP4 ADD DUP6 PUSH2 0x1A10 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND PUSH2 0x560 SWAP2 SWAP1 SWAP2 ADD MSTORE SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x1047 JUMPI PUSH2 0x1047 PUSH2 0x1942 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x520 DUP3 ADD SWAP1 DUP3 PUSH1 0x0 JUMPDEST PUSH1 0xB DUP2 LT ISZERO PUSH2 0x1AF3 JUMPI DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 MSTORE PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1ACB JUMP JUMPDEST POP POP POP PUSH1 0x20 DUP4 ADD MLOAD PUSH2 0x1B09 PUSH2 0x160 DUP5 ADD DUP3 PUSH2 0x19C3 JUMP JUMPDEST POP PUSH1 0x40 DUP4 ADD MLOAD PUSH2 0x1B1D PUSH2 0x480 DUP5 ADD DUP3 PUSH2 0x1A10 JUMP JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0xFF DUP2 DUP2 AND DUP4 DUP3 AND MUL SWAP1 DUP2 AND SWAP1 DUP2 DUP2 EQ PUSH2 0x1B1D JUMPI PUSH2 0x1B1D PUSH2 0x1942 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x1B73 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH2 0x540 DUP2 ADD PUSH2 0x1B87 DUP3 DUP8 PUSH2 0x1997 JUMP JUMPDEST PUSH2 0x1B95 PUSH2 0x160 DUP4 ADD DUP7 PUSH2 0x19C3 JUMP JUMPDEST DUP4 PUSH2 0x480 DUP4 ADD MSTORE PUSH2 0x128 PUSH2 0x4A0 DUP4 ADD DUP5 PUSH2 0x1A10 JUMP JUMPDEST PUSH1 0xFF DUP2 DUP2 AND DUP4 DUP3 AND ADD SWAP1 DUP2 GT ISZERO PUSH2 0x1047 JUMPI PUSH2 0x1047 PUSH2 0x1942 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1BD5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x15EF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0xFF DUP3 DUP2 AND DUP3 DUP3 AND SUB SWAP1 DUP2 GT ISZERO PUSH2 0x1047 JUMPI PUSH2 0x1047 PUSH2 0x1942 JUMP JUMPDEST PUSH1 0x1 DUP2 JUMPDEST PUSH1 0x1 DUP5 GT ISZERO PUSH2 0xF1F JUMPI DUP1 DUP6 DIV DUP2 GT ISZERO PUSH2 0x1C1E JUMPI PUSH2 0x1C1E PUSH2 0x1942 JUMP JUMPDEST PUSH1 0x1 DUP5 AND ISZERO PUSH2 0x1C2C JUMPI SWAP1 DUP2 MUL SWAP1 JUMPDEST PUSH1 0x1 SWAP4 SWAP1 SWAP4 SHR SWAP3 DUP1 MUL PUSH2 0x1C03 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x1C49 JUMPI POP PUSH1 0x1 PUSH2 0x1047 JUMP JUMPDEST DUP2 PUSH2 0x1C56 JUMPI POP PUSH1 0x0 PUSH2 0x1047 JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH2 0x1C6C JUMPI PUSH1 0x2 DUP2 EQ PUSH2 0x1C76 JUMPI PUSH2 0x1C92 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH2 0x1047 JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH2 0x1C87 JUMPI PUSH2 0x1C87 PUSH2 0x1942 JUMP JUMPDEST POP POP PUSH1 0x1 DUP3 SHL PUSH2 0x1047 JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH2 0x1CB5 JUMPI POP DUP2 DUP2 EXP PUSH2 0x1047 JUMP JUMPDEST PUSH2 0x1CC2 PUSH1 0x0 NOT DUP5 DUP5 PUSH2 0x1BFF JUMP JUMPDEST DUP1 PUSH1 0x0 NOT DIV DUP3 GT ISZERO PUSH2 0x1CD6 JUMPI PUSH2 0x1CD6 PUSH2 0x1942 JUMP JUMPDEST MUL SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1044 PUSH1 0xFF DUP5 AND DUP4 PUSH2 0x1C3A JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 EXTCODECOPY REVERT SWAP10 PC MSTORE SWAP11 0xCD 0xDC 0xDD 0xB3 0x2B CREATE 0xEE SWAP15 PUSH25 0x5109530E511517B02FE9FC4D32A63C652164736F6C63430008 SHR STOP CALLER ","sourceMap":"522:9839:22:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;522:9839:22;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@_calcMaxAmount_6893":{"entryPoint":3447,"id":6893,"parameterSlots":5,"returnSlots":1},"@_calcMinAmount_6856":{"entryPoint":4173,"id":6856,"parameterSlots":5,"returnSlots":1},"@_exactInputCurve_7214":{"entryPoint":2366,"id":7214,"parameterSlots":5,"returnSlots":1},"@_exactInputUniswap_7005":{"entryPoint":1774,"id":7005,"parameterSlots":5,"returnSlots":1},"@_exactOutputCurve_7368":{"entryPoint":1322,"id":7368,"parameterSlots":5,"returnSlots":1},"@_exactOutputUniswap_7113":{"entryPoint":737,"id":7113,"parameterSlots":5,"returnSlots":1},"@_exchangeCurve_7261":{"entryPoint":3879,"id":7261,"parameterSlots":3,"returnSlots":2},"@_routeLen_6006":{"entryPoint":5185,"id":6006,"parameterSlots":1,"returnSlots":1},"@_toWadFactor_6723":{"entryPoint":5312,"id":6723,"parameterSlots":1,"returnSlots":1},"@exactInput_6773":{"entryPoint":305,"id":6773,"parameterSlots":5,"returnSlots":1},"@exactOutput_6823":{"entryPoint":183,"id":6823,"parameterSlots":5,"returnSlots":1},"@findRoute_6108":{"entryPoint":3547,"id":6108,"parameterSlots":3,"returnSlots":2},"@min_2269":{"entryPoint":4152,"id":2269,"parameterSlots":2,"returnSlots":1},"@mulDiv_2470":{"entryPoint":5434,"id":2470,"parameterSlots":3,"returnSlots":1},"@panic_1997":{"entryPoint":5622,"id":1997,"parameterSlots":1,"returnSlots":0},"@readRoute_5963":{"entryPoint":4418,"id":5963,"parameterSlots":2,"returnSlots":2},"@routeSize_5991":{"entryPoint":5218,"id":5991,"parameterSlots":1,"returnSlots":1},"@ternary_2231":{"entryPoint":null,"id":2231,"parameterSlots":3,"returnSlots":1},"@toAddress_8431":{"entryPoint":4225,"id":8431,"parameterSlots":2,"returnSlots":1},"@toUint8_8457":{"entryPoint":4326,"id":8457,"parameterSlots":2,"returnSlots":1},"@toUint_5404":{"entryPoint":null,"id":5404,"parameterSlots":1,"returnSlots":1},"@validate_5747":{"entryPoint":2862,"id":5747,"parameterSlots":1,"returnSlots":0},"@validate_6703":{"entryPoint":407,"id":6703,"parameterSlots":1,"returnSlots":0},"abi_decode_struct_SwapConfig_calldata":{"entryPoint":5796,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_bool_fromMemory":{"entryPoint":6275,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_enum$_SwapProtocol_$6595":{"entryPoint":6040,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptr":{"entryPoint":5957,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptrt_addresst_addresst_uint256t_uint256":{"entryPoint":5841,"id":null,"parameterSlots":2,"returnSlots":5},"abi_decode_tuple_t_struct$_UniswapCustomParams_$6609_memory_ptr":{"entryPoint":6151,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256_fromMemory":{"entryPoint":6441,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint8_fromMemory":{"entryPoint":7107,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_address":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_array_address":{"entryPoint":6551,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_array_address_to_array_address_fromStack":{"entryPoint":6672,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_array_array_uint256":{"entryPoint":6595,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_struct_ExactOutputSingleParams":{"entryPoint":6309,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_address_t_rational_0_by_1__to_t_address_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_array$_t_address_$5_memory_ptr__to_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_array$_t_address_$5_memory_ptr__fromStack_reversed":{"entryPoint":7032,"id":null,"parameterSlots":5,"returnSlots":1},"abi_encode_tuple_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_rational_0_by_1_t_array$_t_address_$5_memory_ptr_t_address__to_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_uint256_t_array$_t_address_$5_memory_ptr_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":7,"returnSlots":1},"abi_encode_tuple_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_uint256_t_array$_t_address_$5_memory_ptr_t_address__to_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_uint256_t_array$_t_address_$5_memory_ptr_t_address__fromStack_reversed":{"entryPoint":6716,"id":null,"parameterSlots":7,"returnSlots":1},"abi_encode_tuple_t_stringliteral_9f688071e1df0f70b63e3651005878331be1fe9591d6cfb3187cb52a13439e5d__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_ce6d7be00009dd45cc670fb6c2ceee25786f142bcb64e7f1ee73012b26bb6ca1__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_struct$_CurveRoute_$5567_memory_ptr__to_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed":{"entryPoint":6847,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_struct$_ExactInputSingleParams_$5443_memory_ptr__to_t_struct$_ExactInputSingleParams_$5443_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_struct$_ExactOutputSingleParams_$5489_memory_ptr__to_t_struct$_ExactOutputSingleParams_$5489_memory_ptr__fromStack_reversed":{"entryPoint":6426,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_library_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"access_calldata_tail_t_bytes_calldata_ptr":{"entryPoint":6073,"id":null,"parameterSlots":2,"returnSlots":2},"checked_add_t_uint256":{"entryPoint":6507,"id":null,"parameterSlots":2,"returnSlots":1},"checked_add_t_uint8":{"entryPoint":7082,"id":null,"parameterSlots":2,"returnSlots":1},"checked_div_t_uint256":{"entryPoint":6998,"id":null,"parameterSlots":2,"returnSlots":1},"checked_exp_helper":{"entryPoint":7167,"id":null,"parameterSlots":3,"returnSlots":2},"checked_exp_t_uint256_t_uint8":{"entryPoint":7390,"id":null,"parameterSlots":2,"returnSlots":1},"checked_exp_unsigned":{"entryPoint":7226,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_t_uint256":{"entryPoint":6802,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_t_uint8":{"entryPoint":6948,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_t_uint256":{"entryPoint":6488,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_t_uint8":{"entryPoint":7142,"id":null,"parameterSlots":2,"returnSlots":1},"increment_t_uint256":{"entryPoint":6526,"id":null,"parameterSlots":1,"returnSlots":1},"panic_error_0x11":{"entryPoint":6466,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x12":{"entryPoint":6976,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x21":{"entryPoint":6018,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x32":{"entryPoint":6825,"id":null,"parameterSlots":0,"returnSlots":0},"validator_revert_address":{"entryPoint":5820,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nativeSrc":"0:15449:30","nodeType":"YulBlock","src":"0:15449:30","statements":[{"nativeSrc":"6:3:30","nodeType":"YulBlock","src":"6:3:30","statements":[]},{"body":{"nativeSrc":"87:85:30","nodeType":"YulBlock","src":"87:85:30","statements":[{"body":{"nativeSrc":"126:16:30","nodeType":"YulBlock","src":"126:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"135:1:30","nodeType":"YulLiteral","src":"135:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"138:1:30","nodeType":"YulLiteral","src":"138:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"128:6:30","nodeType":"YulIdentifier","src":"128:6:30"},"nativeSrc":"128:12:30","nodeType":"YulFunctionCall","src":"128:12:30"},"nativeSrc":"128:12:30","nodeType":"YulExpressionStatement","src":"128:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"end","nativeSrc":"108:3:30","nodeType":"YulIdentifier","src":"108:3:30"},{"name":"offset","nativeSrc":"113:6:30","nodeType":"YulIdentifier","src":"113:6:30"}],"functionName":{"name":"sub","nativeSrc":"104:3:30","nodeType":"YulIdentifier","src":"104:3:30"},"nativeSrc":"104:16:30","nodeType":"YulFunctionCall","src":"104:16:30"},{"kind":"number","nativeSrc":"122:2:30","nodeType":"YulLiteral","src":"122:2:30","type":"","value":"96"}],"functionName":{"name":"slt","nativeSrc":"100:3:30","nodeType":"YulIdentifier","src":"100:3:30"},"nativeSrc":"100:25:30","nodeType":"YulFunctionCall","src":"100:25:30"},"nativeSrc":"97:45:30","nodeType":"YulIf","src":"97:45:30"},{"nativeSrc":"151:15:30","nodeType":"YulAssignment","src":"151:15:30","value":{"name":"offset","nativeSrc":"160:6:30","nodeType":"YulIdentifier","src":"160:6:30"},"variableNames":[{"name":"value","nativeSrc":"151:5:30","nodeType":"YulIdentifier","src":"151:5:30"}]}]},"name":"abi_decode_struct_SwapConfig_calldata","nativeSrc":"14:158:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"61:6:30","nodeType":"YulTypedName","src":"61:6:30","type":""},{"name":"end","nativeSrc":"69:3:30","nodeType":"YulTypedName","src":"69:3:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"77:5:30","nodeType":"YulTypedName","src":"77:5:30","type":""}],"src":"14:158:30"},{"body":{"nativeSrc":"222:86:30","nodeType":"YulBlock","src":"222:86:30","statements":[{"body":{"nativeSrc":"286:16:30","nodeType":"YulBlock","src":"286:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"295:1:30","nodeType":"YulLiteral","src":"295:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"298:1:30","nodeType":"YulLiteral","src":"298:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"288:6:30","nodeType":"YulIdentifier","src":"288:6:30"},"nativeSrc":"288:12:30","nodeType":"YulFunctionCall","src":"288:12:30"},"nativeSrc":"288:12:30","nodeType":"YulExpressionStatement","src":"288:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"245:5:30","nodeType":"YulIdentifier","src":"245:5:30"},{"arguments":[{"name":"value","nativeSrc":"256:5:30","nodeType":"YulIdentifier","src":"256:5:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"271:3:30","nodeType":"YulLiteral","src":"271:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"276:1:30","nodeType":"YulLiteral","src":"276:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"267:3:30","nodeType":"YulIdentifier","src":"267:3:30"},"nativeSrc":"267:11:30","nodeType":"YulFunctionCall","src":"267:11:30"},{"kind":"number","nativeSrc":"280:1:30","nodeType":"YulLiteral","src":"280:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"263:3:30","nodeType":"YulIdentifier","src":"263:3:30"},"nativeSrc":"263:19:30","nodeType":"YulFunctionCall","src":"263:19:30"}],"functionName":{"name":"and","nativeSrc":"252:3:30","nodeType":"YulIdentifier","src":"252:3:30"},"nativeSrc":"252:31:30","nodeType":"YulFunctionCall","src":"252:31:30"}],"functionName":{"name":"eq","nativeSrc":"242:2:30","nodeType":"YulIdentifier","src":"242:2:30"},"nativeSrc":"242:42:30","nodeType":"YulFunctionCall","src":"242:42:30"}],"functionName":{"name":"iszero","nativeSrc":"235:6:30","nodeType":"YulIdentifier","src":"235:6:30"},"nativeSrc":"235:50:30","nodeType":"YulFunctionCall","src":"235:50:30"},"nativeSrc":"232:70:30","nodeType":"YulIf","src":"232:70:30"}]},"name":"validator_revert_address","nativeSrc":"177:131:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nativeSrc":"211:5:30","nodeType":"YulTypedName","src":"211:5:30","type":""}],"src":"177:131:30"},{"body":{"nativeSrc":"481:712:30","nodeType":"YulBlock","src":"481:712:30","statements":[{"body":{"nativeSrc":"528:16:30","nodeType":"YulBlock","src":"528:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"537:1:30","nodeType":"YulLiteral","src":"537:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"540:1:30","nodeType":"YulLiteral","src":"540:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"530:6:30","nodeType":"YulIdentifier","src":"530:6:30"},"nativeSrc":"530:12:30","nodeType":"YulFunctionCall","src":"530:12:30"},"nativeSrc":"530:12:30","nodeType":"YulExpressionStatement","src":"530:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"502:7:30","nodeType":"YulIdentifier","src":"502:7:30"},{"name":"headStart","nativeSrc":"511:9:30","nodeType":"YulIdentifier","src":"511:9:30"}],"functionName":{"name":"sub","nativeSrc":"498:3:30","nodeType":"YulIdentifier","src":"498:3:30"},"nativeSrc":"498:23:30","nodeType":"YulFunctionCall","src":"498:23:30"},{"kind":"number","nativeSrc":"523:3:30","nodeType":"YulLiteral","src":"523:3:30","type":"","value":"160"}],"functionName":{"name":"slt","nativeSrc":"494:3:30","nodeType":"YulIdentifier","src":"494:3:30"},"nativeSrc":"494:33:30","nodeType":"YulFunctionCall","src":"494:33:30"},"nativeSrc":"491:53:30","nodeType":"YulIf","src":"491:53:30"},{"nativeSrc":"553:37:30","nodeType":"YulVariableDeclaration","src":"553:37:30","value":{"arguments":[{"name":"headStart","nativeSrc":"580:9:30","nodeType":"YulIdentifier","src":"580:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"567:12:30","nodeType":"YulIdentifier","src":"567:12:30"},"nativeSrc":"567:23:30","nodeType":"YulFunctionCall","src":"567:23:30"},"variables":[{"name":"offset","nativeSrc":"557:6:30","nodeType":"YulTypedName","src":"557:6:30","type":""}]},{"body":{"nativeSrc":"633:16:30","nodeType":"YulBlock","src":"633:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"642:1:30","nodeType":"YulLiteral","src":"642:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"645:1:30","nodeType":"YulLiteral","src":"645:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"635:6:30","nodeType":"YulIdentifier","src":"635:6:30"},"nativeSrc":"635:12:30","nodeType":"YulFunctionCall","src":"635:12:30"},"nativeSrc":"635:12:30","nodeType":"YulExpressionStatement","src":"635:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"605:6:30","nodeType":"YulIdentifier","src":"605:6:30"},{"kind":"number","nativeSrc":"613:18:30","nodeType":"YulLiteral","src":"613:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"602:2:30","nodeType":"YulIdentifier","src":"602:2:30"},"nativeSrc":"602:30:30","nodeType":"YulFunctionCall","src":"602:30:30"},"nativeSrc":"599:50:30","nodeType":"YulIf","src":"599:50:30"},{"nativeSrc":"658:80:30","nodeType":"YulAssignment","src":"658:80:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"710:9:30","nodeType":"YulIdentifier","src":"710:9:30"},{"name":"offset","nativeSrc":"721:6:30","nodeType":"YulIdentifier","src":"721:6:30"}],"functionName":{"name":"add","nativeSrc":"706:3:30","nodeType":"YulIdentifier","src":"706:3:30"},"nativeSrc":"706:22:30","nodeType":"YulFunctionCall","src":"706:22:30"},{"name":"dataEnd","nativeSrc":"730:7:30","nodeType":"YulIdentifier","src":"730:7:30"}],"functionName":{"name":"abi_decode_struct_SwapConfig_calldata","nativeSrc":"668:37:30","nodeType":"YulIdentifier","src":"668:37:30"},"nativeSrc":"668:70:30","nodeType":"YulFunctionCall","src":"668:70:30"},"variableNames":[{"name":"value0","nativeSrc":"658:6:30","nodeType":"YulIdentifier","src":"658:6:30"}]},{"nativeSrc":"747:45:30","nodeType":"YulVariableDeclaration","src":"747:45:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"777:9:30","nodeType":"YulIdentifier","src":"777:9:30"},{"kind":"number","nativeSrc":"788:2:30","nodeType":"YulLiteral","src":"788:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"773:3:30","nodeType":"YulIdentifier","src":"773:3:30"},"nativeSrc":"773:18:30","nodeType":"YulFunctionCall","src":"773:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"760:12:30","nodeType":"YulIdentifier","src":"760:12:30"},"nativeSrc":"760:32:30","nodeType":"YulFunctionCall","src":"760:32:30"},"variables":[{"name":"value","nativeSrc":"751:5:30","nodeType":"YulTypedName","src":"751:5:30","type":""}]},{"expression":{"arguments":[{"name":"value","nativeSrc":"826:5:30","nodeType":"YulIdentifier","src":"826:5:30"}],"functionName":{"name":"validator_revert_address","nativeSrc":"801:24:30","nodeType":"YulIdentifier","src":"801:24:30"},"nativeSrc":"801:31:30","nodeType":"YulFunctionCall","src":"801:31:30"},"nativeSrc":"801:31:30","nodeType":"YulExpressionStatement","src":"801:31:30"},{"nativeSrc":"841:15:30","nodeType":"YulAssignment","src":"841:15:30","value":{"name":"value","nativeSrc":"851:5:30","nodeType":"YulIdentifier","src":"851:5:30"},"variableNames":[{"name":"value1","nativeSrc":"841:6:30","nodeType":"YulIdentifier","src":"841:6:30"}]},{"nativeSrc":"865:47:30","nodeType":"YulVariableDeclaration","src":"865:47:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"897:9:30","nodeType":"YulIdentifier","src":"897:9:30"},{"kind":"number","nativeSrc":"908:2:30","nodeType":"YulLiteral","src":"908:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"893:3:30","nodeType":"YulIdentifier","src":"893:3:30"},"nativeSrc":"893:18:30","nodeType":"YulFunctionCall","src":"893:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"880:12:30","nodeType":"YulIdentifier","src":"880:12:30"},"nativeSrc":"880:32:30","nodeType":"YulFunctionCall","src":"880:32:30"},"variables":[{"name":"value_1","nativeSrc":"869:7:30","nodeType":"YulTypedName","src":"869:7:30","type":""}]},{"expression":{"arguments":[{"name":"value_1","nativeSrc":"946:7:30","nodeType":"YulIdentifier","src":"946:7:30"}],"functionName":{"name":"validator_revert_address","nativeSrc":"921:24:30","nodeType":"YulIdentifier","src":"921:24:30"},"nativeSrc":"921:33:30","nodeType":"YulFunctionCall","src":"921:33:30"},"nativeSrc":"921:33:30","nodeType":"YulExpressionStatement","src":"921:33:30"},{"nativeSrc":"963:17:30","nodeType":"YulAssignment","src":"963:17:30","value":{"name":"value_1","nativeSrc":"973:7:30","nodeType":"YulIdentifier","src":"973:7:30"},"variableNames":[{"name":"value2","nativeSrc":"963:6:30","nodeType":"YulIdentifier","src":"963:6:30"}]},{"nativeSrc":"989:16:30","nodeType":"YulVariableDeclaration","src":"989:16:30","value":{"kind":"number","nativeSrc":"1004:1:30","nodeType":"YulLiteral","src":"1004:1:30","type":"","value":"0"},"variables":[{"name":"value_2","nativeSrc":"993:7:30","nodeType":"YulTypedName","src":"993:7:30","type":""}]},{"nativeSrc":"1014:43:30","nodeType":"YulAssignment","src":"1014:43:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1042:9:30","nodeType":"YulIdentifier","src":"1042:9:30"},{"kind":"number","nativeSrc":"1053:2:30","nodeType":"YulLiteral","src":"1053:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"1038:3:30","nodeType":"YulIdentifier","src":"1038:3:30"},"nativeSrc":"1038:18:30","nodeType":"YulFunctionCall","src":"1038:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"1025:12:30","nodeType":"YulIdentifier","src":"1025:12:30"},"nativeSrc":"1025:32:30","nodeType":"YulFunctionCall","src":"1025:32:30"},"variableNames":[{"name":"value_2","nativeSrc":"1014:7:30","nodeType":"YulIdentifier","src":"1014:7:30"}]},{"nativeSrc":"1066:17:30","nodeType":"YulAssignment","src":"1066:17:30","value":{"name":"value_2","nativeSrc":"1076:7:30","nodeType":"YulIdentifier","src":"1076:7:30"},"variableNames":[{"name":"value3","nativeSrc":"1066:6:30","nodeType":"YulIdentifier","src":"1066:6:30"}]},{"nativeSrc":"1092:16:30","nodeType":"YulVariableDeclaration","src":"1092:16:30","value":{"kind":"number","nativeSrc":"1107:1:30","nodeType":"YulLiteral","src":"1107:1:30","type":"","value":"0"},"variables":[{"name":"value_3","nativeSrc":"1096:7:30","nodeType":"YulTypedName","src":"1096:7:30","type":""}]},{"nativeSrc":"1117:44:30","nodeType":"YulAssignment","src":"1117:44:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1145:9:30","nodeType":"YulIdentifier","src":"1145:9:30"},{"kind":"number","nativeSrc":"1156:3:30","nodeType":"YulLiteral","src":"1156:3:30","type":"","value":"128"}],"functionName":{"name":"add","nativeSrc":"1141:3:30","nodeType":"YulIdentifier","src":"1141:3:30"},"nativeSrc":"1141:19:30","nodeType":"YulFunctionCall","src":"1141:19:30"}],"functionName":{"name":"calldataload","nativeSrc":"1128:12:30","nodeType":"YulIdentifier","src":"1128:12:30"},"nativeSrc":"1128:33:30","nodeType":"YulFunctionCall","src":"1128:33:30"},"variableNames":[{"name":"value_3","nativeSrc":"1117:7:30","nodeType":"YulIdentifier","src":"1117:7:30"}]},{"nativeSrc":"1170:17:30","nodeType":"YulAssignment","src":"1170:17:30","value":{"name":"value_3","nativeSrc":"1180:7:30","nodeType":"YulIdentifier","src":"1180:7:30"},"variableNames":[{"name":"value4","nativeSrc":"1170:6:30","nodeType":"YulIdentifier","src":"1170:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptrt_addresst_addresst_uint256t_uint256","nativeSrc":"313:880:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"415:9:30","nodeType":"YulTypedName","src":"415:9:30","type":""},{"name":"dataEnd","nativeSrc":"426:7:30","nodeType":"YulTypedName","src":"426:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"438:6:30","nodeType":"YulTypedName","src":"438:6:30","type":""},{"name":"value1","nativeSrc":"446:6:30","nodeType":"YulTypedName","src":"446:6:30","type":""},{"name":"value2","nativeSrc":"454:6:30","nodeType":"YulTypedName","src":"454:6:30","type":""},{"name":"value3","nativeSrc":"462:6:30","nodeType":"YulTypedName","src":"462:6:30","type":""},{"name":"value4","nativeSrc":"470:6:30","nodeType":"YulTypedName","src":"470:6:30","type":""}],"src":"313:880:30"},{"body":{"nativeSrc":"1307:76:30","nodeType":"YulBlock","src":"1307:76:30","statements":[{"nativeSrc":"1317:26:30","nodeType":"YulAssignment","src":"1317:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1329:9:30","nodeType":"YulIdentifier","src":"1329:9:30"},{"kind":"number","nativeSrc":"1340:2:30","nodeType":"YulLiteral","src":"1340:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"1325:3:30","nodeType":"YulIdentifier","src":"1325:3:30"},"nativeSrc":"1325:18:30","nodeType":"YulFunctionCall","src":"1325:18:30"},"variableNames":[{"name":"tail","nativeSrc":"1317:4:30","nodeType":"YulIdentifier","src":"1317:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"1359:9:30","nodeType":"YulIdentifier","src":"1359:9:30"},{"name":"value0","nativeSrc":"1370:6:30","nodeType":"YulIdentifier","src":"1370:6:30"}],"functionName":{"name":"mstore","nativeSrc":"1352:6:30","nodeType":"YulIdentifier","src":"1352:6:30"},"nativeSrc":"1352:25:30","nodeType":"YulFunctionCall","src":"1352:25:30"},"nativeSrc":"1352:25:30","nodeType":"YulExpressionStatement","src":"1352:25:30"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_library_reversed","nativeSrc":"1198:185:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1276:9:30","nodeType":"YulTypedName","src":"1276:9:30","type":""},{"name":"value0","nativeSrc":"1287:6:30","nodeType":"YulTypedName","src":"1287:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"1298:4:30","nodeType":"YulTypedName","src":"1298:4:30","type":""}],"src":"1198:185:30"},{"body":{"nativeSrc":"1488:262:30","nodeType":"YulBlock","src":"1488:262:30","statements":[{"body":{"nativeSrc":"1534:16:30","nodeType":"YulBlock","src":"1534:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1543:1:30","nodeType":"YulLiteral","src":"1543:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1546:1:30","nodeType":"YulLiteral","src":"1546:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1536:6:30","nodeType":"YulIdentifier","src":"1536:6:30"},"nativeSrc":"1536:12:30","nodeType":"YulFunctionCall","src":"1536:12:30"},"nativeSrc":"1536:12:30","nodeType":"YulExpressionStatement","src":"1536:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"1509:7:30","nodeType":"YulIdentifier","src":"1509:7:30"},{"name":"headStart","nativeSrc":"1518:9:30","nodeType":"YulIdentifier","src":"1518:9:30"}],"functionName":{"name":"sub","nativeSrc":"1505:3:30","nodeType":"YulIdentifier","src":"1505:3:30"},"nativeSrc":"1505:23:30","nodeType":"YulFunctionCall","src":"1505:23:30"},{"kind":"number","nativeSrc":"1530:2:30","nodeType":"YulLiteral","src":"1530:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"1501:3:30","nodeType":"YulIdentifier","src":"1501:3:30"},"nativeSrc":"1501:32:30","nodeType":"YulFunctionCall","src":"1501:32:30"},"nativeSrc":"1498:52:30","nodeType":"YulIf","src":"1498:52:30"},{"nativeSrc":"1559:37:30","nodeType":"YulVariableDeclaration","src":"1559:37:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1586:9:30","nodeType":"YulIdentifier","src":"1586:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"1573:12:30","nodeType":"YulIdentifier","src":"1573:12:30"},"nativeSrc":"1573:23:30","nodeType":"YulFunctionCall","src":"1573:23:30"},"variables":[{"name":"offset","nativeSrc":"1563:6:30","nodeType":"YulTypedName","src":"1563:6:30","type":""}]},{"body":{"nativeSrc":"1639:16:30","nodeType":"YulBlock","src":"1639:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1648:1:30","nodeType":"YulLiteral","src":"1648:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1651:1:30","nodeType":"YulLiteral","src":"1651:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1641:6:30","nodeType":"YulIdentifier","src":"1641:6:30"},"nativeSrc":"1641:12:30","nodeType":"YulFunctionCall","src":"1641:12:30"},"nativeSrc":"1641:12:30","nodeType":"YulExpressionStatement","src":"1641:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"1611:6:30","nodeType":"YulIdentifier","src":"1611:6:30"},{"kind":"number","nativeSrc":"1619:18:30","nodeType":"YulLiteral","src":"1619:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"1608:2:30","nodeType":"YulIdentifier","src":"1608:2:30"},"nativeSrc":"1608:30:30","nodeType":"YulFunctionCall","src":"1608:30:30"},"nativeSrc":"1605:50:30","nodeType":"YulIf","src":"1605:50:30"},{"nativeSrc":"1664:80:30","nodeType":"YulAssignment","src":"1664:80:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1716:9:30","nodeType":"YulIdentifier","src":"1716:9:30"},{"name":"offset","nativeSrc":"1727:6:30","nodeType":"YulIdentifier","src":"1727:6:30"}],"functionName":{"name":"add","nativeSrc":"1712:3:30","nodeType":"YulIdentifier","src":"1712:3:30"},"nativeSrc":"1712:22:30","nodeType":"YulFunctionCall","src":"1712:22:30"},{"name":"dataEnd","nativeSrc":"1736:7:30","nodeType":"YulIdentifier","src":"1736:7:30"}],"functionName":{"name":"abi_decode_struct_SwapConfig_calldata","nativeSrc":"1674:37:30","nodeType":"YulIdentifier","src":"1674:37:30"},"nativeSrc":"1674:70:30","nodeType":"YulFunctionCall","src":"1674:70:30"},"variableNames":[{"name":"value0","nativeSrc":"1664:6:30","nodeType":"YulIdentifier","src":"1664:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptr","nativeSrc":"1388:362:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1454:9:30","nodeType":"YulTypedName","src":"1454:9:30","type":""},{"name":"dataEnd","nativeSrc":"1465:7:30","nodeType":"YulTypedName","src":"1465:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"1477:6:30","nodeType":"YulTypedName","src":"1477:6:30","type":""}],"src":"1388:362:30"},{"body":{"nativeSrc":"1787:95:30","nodeType":"YulBlock","src":"1787:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1804:1:30","nodeType":"YulLiteral","src":"1804:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"1811:3:30","nodeType":"YulLiteral","src":"1811:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"1816:10:30","nodeType":"YulLiteral","src":"1816:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"1807:3:30","nodeType":"YulIdentifier","src":"1807:3:30"},"nativeSrc":"1807:20:30","nodeType":"YulFunctionCall","src":"1807:20:30"}],"functionName":{"name":"mstore","nativeSrc":"1797:6:30","nodeType":"YulIdentifier","src":"1797:6:30"},"nativeSrc":"1797:31:30","nodeType":"YulFunctionCall","src":"1797:31:30"},"nativeSrc":"1797:31:30","nodeType":"YulExpressionStatement","src":"1797:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1844:1:30","nodeType":"YulLiteral","src":"1844:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"1847:4:30","nodeType":"YulLiteral","src":"1847:4:30","type":"","value":"0x21"}],"functionName":{"name":"mstore","nativeSrc":"1837:6:30","nodeType":"YulIdentifier","src":"1837:6:30"},"nativeSrc":"1837:15:30","nodeType":"YulFunctionCall","src":"1837:15:30"},"nativeSrc":"1837:15:30","nodeType":"YulExpressionStatement","src":"1837:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1868:1:30","nodeType":"YulLiteral","src":"1868:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1871:4:30","nodeType":"YulLiteral","src":"1871:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"1861:6:30","nodeType":"YulIdentifier","src":"1861:6:30"},"nativeSrc":"1861:15:30","nodeType":"YulFunctionCall","src":"1861:15:30"},"nativeSrc":"1861:15:30","nodeType":"YulExpressionStatement","src":"1861:15:30"}]},"name":"panic_error_0x21","nativeSrc":"1755:127:30","nodeType":"YulFunctionDefinition","src":"1755:127:30"},{"body":{"nativeSrc":"1974:186:30","nodeType":"YulBlock","src":"1974:186:30","statements":[{"body":{"nativeSrc":"2020:16:30","nodeType":"YulBlock","src":"2020:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2029:1:30","nodeType":"YulLiteral","src":"2029:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2032:1:30","nodeType":"YulLiteral","src":"2032:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2022:6:30","nodeType":"YulIdentifier","src":"2022:6:30"},"nativeSrc":"2022:12:30","nodeType":"YulFunctionCall","src":"2022:12:30"},"nativeSrc":"2022:12:30","nodeType":"YulExpressionStatement","src":"2022:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"1995:7:30","nodeType":"YulIdentifier","src":"1995:7:30"},{"name":"headStart","nativeSrc":"2004:9:30","nodeType":"YulIdentifier","src":"2004:9:30"}],"functionName":{"name":"sub","nativeSrc":"1991:3:30","nodeType":"YulIdentifier","src":"1991:3:30"},"nativeSrc":"1991:23:30","nodeType":"YulFunctionCall","src":"1991:23:30"},{"kind":"number","nativeSrc":"2016:2:30","nodeType":"YulLiteral","src":"2016:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"1987:3:30","nodeType":"YulIdentifier","src":"1987:3:30"},"nativeSrc":"1987:32:30","nodeType":"YulFunctionCall","src":"1987:32:30"},"nativeSrc":"1984:52:30","nodeType":"YulIf","src":"1984:52:30"},{"nativeSrc":"2045:36:30","nodeType":"YulVariableDeclaration","src":"2045:36:30","value":{"arguments":[{"name":"headStart","nativeSrc":"2071:9:30","nodeType":"YulIdentifier","src":"2071:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"2058:12:30","nodeType":"YulIdentifier","src":"2058:12:30"},"nativeSrc":"2058:23:30","nodeType":"YulFunctionCall","src":"2058:23:30"},"variables":[{"name":"value","nativeSrc":"2049:5:30","nodeType":"YulTypedName","src":"2049:5:30","type":""}]},{"body":{"nativeSrc":"2114:16:30","nodeType":"YulBlock","src":"2114:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2123:1:30","nodeType":"YulLiteral","src":"2123:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2126:1:30","nodeType":"YulLiteral","src":"2126:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2116:6:30","nodeType":"YulIdentifier","src":"2116:6:30"},"nativeSrc":"2116:12:30","nodeType":"YulFunctionCall","src":"2116:12:30"},"nativeSrc":"2116:12:30","nodeType":"YulExpressionStatement","src":"2116:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"2103:5:30","nodeType":"YulIdentifier","src":"2103:5:30"},{"kind":"number","nativeSrc":"2110:1:30","nodeType":"YulLiteral","src":"2110:1:30","type":"","value":"3"}],"functionName":{"name":"lt","nativeSrc":"2100:2:30","nodeType":"YulIdentifier","src":"2100:2:30"},"nativeSrc":"2100:12:30","nodeType":"YulFunctionCall","src":"2100:12:30"}],"functionName":{"name":"iszero","nativeSrc":"2093:6:30","nodeType":"YulIdentifier","src":"2093:6:30"},"nativeSrc":"2093:20:30","nodeType":"YulFunctionCall","src":"2093:20:30"},"nativeSrc":"2090:40:30","nodeType":"YulIf","src":"2090:40:30"},{"nativeSrc":"2139:15:30","nodeType":"YulAssignment","src":"2139:15:30","value":{"name":"value","nativeSrc":"2149:5:30","nodeType":"YulIdentifier","src":"2149:5:30"},"variableNames":[{"name":"value0","nativeSrc":"2139:6:30","nodeType":"YulIdentifier","src":"2139:6:30"}]}]},"name":"abi_decode_tuple_t_enum$_SwapProtocol_$6595","nativeSrc":"1887:273:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1940:9:30","nodeType":"YulTypedName","src":"1940:9:30","type":""},{"name":"dataEnd","nativeSrc":"1951:7:30","nodeType":"YulTypedName","src":"1951:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"1963:6:30","nodeType":"YulTypedName","src":"1963:6:30","type":""}],"src":"1887:273:30"},{"body":{"nativeSrc":"2259:427:30","nodeType":"YulBlock","src":"2259:427:30","statements":[{"nativeSrc":"2269:51:30","nodeType":"YulVariableDeclaration","src":"2269:51:30","value":{"arguments":[{"name":"ptr_to_tail","nativeSrc":"2308:11:30","nodeType":"YulIdentifier","src":"2308:11:30"}],"functionName":{"name":"calldataload","nativeSrc":"2295:12:30","nodeType":"YulIdentifier","src":"2295:12:30"},"nativeSrc":"2295:25:30","nodeType":"YulFunctionCall","src":"2295:25:30"},"variables":[{"name":"rel_offset_of_tail","nativeSrc":"2273:18:30","nodeType":"YulTypedName","src":"2273:18:30","type":""}]},{"body":{"nativeSrc":"2409:16:30","nodeType":"YulBlock","src":"2409:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2418:1:30","nodeType":"YulLiteral","src":"2418:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2421:1:30","nodeType":"YulLiteral","src":"2421:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2411:6:30","nodeType":"YulIdentifier","src":"2411:6:30"},"nativeSrc":"2411:12:30","nodeType":"YulFunctionCall","src":"2411:12:30"},"nativeSrc":"2411:12:30","nodeType":"YulExpressionStatement","src":"2411:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"rel_offset_of_tail","nativeSrc":"2343:18:30","nodeType":"YulIdentifier","src":"2343:18:30"},{"arguments":[{"arguments":[{"arguments":[],"functionName":{"name":"calldatasize","nativeSrc":"2371:12:30","nodeType":"YulIdentifier","src":"2371:12:30"},"nativeSrc":"2371:14:30","nodeType":"YulFunctionCall","src":"2371:14:30"},{"name":"base_ref","nativeSrc":"2387:8:30","nodeType":"YulIdentifier","src":"2387:8:30"}],"functionName":{"name":"sub","nativeSrc":"2367:3:30","nodeType":"YulIdentifier","src":"2367:3:30"},"nativeSrc":"2367:29:30","nodeType":"YulFunctionCall","src":"2367:29:30"},{"arguments":[{"kind":"number","nativeSrc":"2402:2:30","nodeType":"YulLiteral","src":"2402:2:30","type":"","value":"30"}],"functionName":{"name":"not","nativeSrc":"2398:3:30","nodeType":"YulIdentifier","src":"2398:3:30"},"nativeSrc":"2398:7:30","nodeType":"YulFunctionCall","src":"2398:7:30"}],"functionName":{"name":"add","nativeSrc":"2363:3:30","nodeType":"YulIdentifier","src":"2363:3:30"},"nativeSrc":"2363:43:30","nodeType":"YulFunctionCall","src":"2363:43:30"}],"functionName":{"name":"slt","nativeSrc":"2339:3:30","nodeType":"YulIdentifier","src":"2339:3:30"},"nativeSrc":"2339:68:30","nodeType":"YulFunctionCall","src":"2339:68:30"}],"functionName":{"name":"iszero","nativeSrc":"2332:6:30","nodeType":"YulIdentifier","src":"2332:6:30"},"nativeSrc":"2332:76:30","nodeType":"YulFunctionCall","src":"2332:76:30"},"nativeSrc":"2329:96:30","nodeType":"YulIf","src":"2329:96:30"},{"nativeSrc":"2434:47:30","nodeType":"YulVariableDeclaration","src":"2434:47:30","value":{"arguments":[{"name":"base_ref","nativeSrc":"2452:8:30","nodeType":"YulIdentifier","src":"2452:8:30"},{"name":"rel_offset_of_tail","nativeSrc":"2462:18:30","nodeType":"YulIdentifier","src":"2462:18:30"}],"functionName":{"name":"add","nativeSrc":"2448:3:30","nodeType":"YulIdentifier","src":"2448:3:30"},"nativeSrc":"2448:33:30","nodeType":"YulFunctionCall","src":"2448:33:30"},"variables":[{"name":"addr_1","nativeSrc":"2438:6:30","nodeType":"YulTypedName","src":"2438:6:30","type":""}]},{"nativeSrc":"2490:30:30","nodeType":"YulAssignment","src":"2490:30:30","value":{"arguments":[{"name":"addr_1","nativeSrc":"2513:6:30","nodeType":"YulIdentifier","src":"2513:6:30"}],"functionName":{"name":"calldataload","nativeSrc":"2500:12:30","nodeType":"YulIdentifier","src":"2500:12:30"},"nativeSrc":"2500:20:30","nodeType":"YulFunctionCall","src":"2500:20:30"},"variableNames":[{"name":"length","nativeSrc":"2490:6:30","nodeType":"YulIdentifier","src":"2490:6:30"}]},{"body":{"nativeSrc":"2563:16:30","nodeType":"YulBlock","src":"2563:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2572:1:30","nodeType":"YulLiteral","src":"2572:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2575:1:30","nodeType":"YulLiteral","src":"2575:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2565:6:30","nodeType":"YulIdentifier","src":"2565:6:30"},"nativeSrc":"2565:12:30","nodeType":"YulFunctionCall","src":"2565:12:30"},"nativeSrc":"2565:12:30","nodeType":"YulExpressionStatement","src":"2565:12:30"}]},"condition":{"arguments":[{"name":"length","nativeSrc":"2535:6:30","nodeType":"YulIdentifier","src":"2535:6:30"},{"kind":"number","nativeSrc":"2543:18:30","nodeType":"YulLiteral","src":"2543:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"2532:2:30","nodeType":"YulIdentifier","src":"2532:2:30"},"nativeSrc":"2532:30:30","nodeType":"YulFunctionCall","src":"2532:30:30"},"nativeSrc":"2529:50:30","nodeType":"YulIf","src":"2529:50:30"},{"nativeSrc":"2588:25:30","nodeType":"YulAssignment","src":"2588:25:30","value":{"arguments":[{"name":"addr_1","nativeSrc":"2600:6:30","nodeType":"YulIdentifier","src":"2600:6:30"},{"kind":"number","nativeSrc":"2608:4:30","nodeType":"YulLiteral","src":"2608:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2596:3:30","nodeType":"YulIdentifier","src":"2596:3:30"},"nativeSrc":"2596:17:30","nodeType":"YulFunctionCall","src":"2596:17:30"},"variableNames":[{"name":"addr","nativeSrc":"2588:4:30","nodeType":"YulIdentifier","src":"2588:4:30"}]},{"body":{"nativeSrc":"2664:16:30","nodeType":"YulBlock","src":"2664:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2673:1:30","nodeType":"YulLiteral","src":"2673:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2676:1:30","nodeType":"YulLiteral","src":"2676:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2666:6:30","nodeType":"YulIdentifier","src":"2666:6:30"},"nativeSrc":"2666:12:30","nodeType":"YulFunctionCall","src":"2666:12:30"},"nativeSrc":"2666:12:30","nodeType":"YulExpressionStatement","src":"2666:12:30"}]},"condition":{"arguments":[{"name":"addr","nativeSrc":"2629:4:30","nodeType":"YulIdentifier","src":"2629:4:30"},{"arguments":[{"arguments":[],"functionName":{"name":"calldatasize","nativeSrc":"2639:12:30","nodeType":"YulIdentifier","src":"2639:12:30"},"nativeSrc":"2639:14:30","nodeType":"YulFunctionCall","src":"2639:14:30"},{"name":"length","nativeSrc":"2655:6:30","nodeType":"YulIdentifier","src":"2655:6:30"}],"functionName":{"name":"sub","nativeSrc":"2635:3:30","nodeType":"YulIdentifier","src":"2635:3:30"},"nativeSrc":"2635:27:30","nodeType":"YulFunctionCall","src":"2635:27:30"}],"functionName":{"name":"sgt","nativeSrc":"2625:3:30","nodeType":"YulIdentifier","src":"2625:3:30"},"nativeSrc":"2625:38:30","nodeType":"YulFunctionCall","src":"2625:38:30"},"nativeSrc":"2622:58:30","nodeType":"YulIf","src":"2622:58:30"}]},"name":"access_calldata_tail_t_bytes_calldata_ptr","nativeSrc":"2165:521:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"base_ref","nativeSrc":"2216:8:30","nodeType":"YulTypedName","src":"2216:8:30","type":""},{"name":"ptr_to_tail","nativeSrc":"2226:11:30","nodeType":"YulTypedName","src":"2226:11:30","type":""}],"returnVariables":[{"name":"addr","nativeSrc":"2242:4:30","nodeType":"YulTypedName","src":"2242:4:30","type":""},{"name":"length","nativeSrc":"2248:6:30","nodeType":"YulTypedName","src":"2248:6:30","type":""}],"src":"2165:521:30"},{"body":{"nativeSrc":"2798:715:30","nodeType":"YulBlock","src":"2798:715:30","statements":[{"nativeSrc":"2808:42:30","nodeType":"YulVariableDeclaration","src":"2808:42:30","value":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"2826:7:30","nodeType":"YulIdentifier","src":"2826:7:30"},{"name":"headStart","nativeSrc":"2835:9:30","nodeType":"YulIdentifier","src":"2835:9:30"}],"functionName":{"name":"sub","nativeSrc":"2822:3:30","nodeType":"YulIdentifier","src":"2822:3:30"},"nativeSrc":"2822:23:30","nodeType":"YulFunctionCall","src":"2822:23:30"},{"kind":"number","nativeSrc":"2847:2:30","nodeType":"YulLiteral","src":"2847:2:30","type":"","value":"64"}],"functionName":{"name":"slt","nativeSrc":"2818:3:30","nodeType":"YulIdentifier","src":"2818:3:30"},"nativeSrc":"2818:32:30","nodeType":"YulFunctionCall","src":"2818:32:30"},"variables":[{"name":"_1","nativeSrc":"2812:2:30","nodeType":"YulTypedName","src":"2812:2:30","type":""}]},{"body":{"nativeSrc":"2865:16:30","nodeType":"YulBlock","src":"2865:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2874:1:30","nodeType":"YulLiteral","src":"2874:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2877:1:30","nodeType":"YulLiteral","src":"2877:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2867:6:30","nodeType":"YulIdentifier","src":"2867:6:30"},"nativeSrc":"2867:12:30","nodeType":"YulFunctionCall","src":"2867:12:30"},"nativeSrc":"2867:12:30","nodeType":"YulExpressionStatement","src":"2867:12:30"}]},"condition":{"name":"_1","nativeSrc":"2862:2:30","nodeType":"YulIdentifier","src":"2862:2:30"},"nativeSrc":"2859:22:30","nodeType":"YulIf","src":"2859:22:30"},{"nativeSrc":"2890:7:30","nodeType":"YulAssignment","src":"2890:7:30","value":{"kind":"number","nativeSrc":"2896:1:30","nodeType":"YulLiteral","src":"2896:1:30","type":"","value":"0"},"variableNames":[{"name":"_1","nativeSrc":"2890:2:30","nodeType":"YulIdentifier","src":"2890:2:30"}]},{"nativeSrc":"2906:23:30","nodeType":"YulVariableDeclaration","src":"2906:23:30","value":{"arguments":[{"kind":"number","nativeSrc":"2926:2:30","nodeType":"YulLiteral","src":"2926:2:30","type":"","value":"64"}],"functionName":{"name":"mload","nativeSrc":"2920:5:30","nodeType":"YulIdentifier","src":"2920:5:30"},"nativeSrc":"2920:9:30","nodeType":"YulFunctionCall","src":"2920:9:30"},"variables":[{"name":"memPtr","nativeSrc":"2910:6:30","nodeType":"YulTypedName","src":"2910:6:30","type":""}]},{"nativeSrc":"2938:33:30","nodeType":"YulVariableDeclaration","src":"2938:33:30","value":{"arguments":[{"name":"memPtr","nativeSrc":"2960:6:30","nodeType":"YulIdentifier","src":"2960:6:30"},{"kind":"number","nativeSrc":"2968:2:30","nodeType":"YulLiteral","src":"2968:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"2956:3:30","nodeType":"YulIdentifier","src":"2956:3:30"},"nativeSrc":"2956:15:30","nodeType":"YulFunctionCall","src":"2956:15:30"},"variables":[{"name":"newFreePtr","nativeSrc":"2942:10:30","nodeType":"YulTypedName","src":"2942:10:30","type":""}]},{"body":{"nativeSrc":"3054:113:30","nodeType":"YulBlock","src":"3054:113:30","statements":[{"expression":{"arguments":[{"name":"_1","nativeSrc":"3075:2:30","nodeType":"YulIdentifier","src":"3075:2:30"},{"arguments":[{"kind":"number","nativeSrc":"3083:3:30","nodeType":"YulLiteral","src":"3083:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"3088:10:30","nodeType":"YulLiteral","src":"3088:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"3079:3:30","nodeType":"YulIdentifier","src":"3079:3:30"},"nativeSrc":"3079:20:30","nodeType":"YulFunctionCall","src":"3079:20:30"}],"functionName":{"name":"mstore","nativeSrc":"3068:6:30","nodeType":"YulIdentifier","src":"3068:6:30"},"nativeSrc":"3068:32:30","nodeType":"YulFunctionCall","src":"3068:32:30"},"nativeSrc":"3068:32:30","nodeType":"YulExpressionStatement","src":"3068:32:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3120:1:30","nodeType":"YulLiteral","src":"3120:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"3123:4:30","nodeType":"YulLiteral","src":"3123:4:30","type":"","value":"0x41"}],"functionName":{"name":"mstore","nativeSrc":"3113:6:30","nodeType":"YulIdentifier","src":"3113:6:30"},"nativeSrc":"3113:15:30","nodeType":"YulFunctionCall","src":"3113:15:30"},"nativeSrc":"3113:15:30","nodeType":"YulExpressionStatement","src":"3113:15:30"},{"expression":{"arguments":[{"name":"_1","nativeSrc":"3148:2:30","nodeType":"YulIdentifier","src":"3148:2:30"},{"kind":"number","nativeSrc":"3152:4:30","nodeType":"YulLiteral","src":"3152:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"3141:6:30","nodeType":"YulIdentifier","src":"3141:6:30"},"nativeSrc":"3141:16:30","nodeType":"YulFunctionCall","src":"3141:16:30"},"nativeSrc":"3141:16:30","nodeType":"YulExpressionStatement","src":"3141:16:30"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nativeSrc":"2989:10:30","nodeType":"YulIdentifier","src":"2989:10:30"},{"kind":"number","nativeSrc":"3001:18:30","nodeType":"YulLiteral","src":"3001:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"2986:2:30","nodeType":"YulIdentifier","src":"2986:2:30"},"nativeSrc":"2986:34:30","nodeType":"YulFunctionCall","src":"2986:34:30"},{"arguments":[{"name":"newFreePtr","nativeSrc":"3025:10:30","nodeType":"YulIdentifier","src":"3025:10:30"},{"name":"memPtr","nativeSrc":"3037:6:30","nodeType":"YulIdentifier","src":"3037:6:30"}],"functionName":{"name":"lt","nativeSrc":"3022:2:30","nodeType":"YulIdentifier","src":"3022:2:30"},"nativeSrc":"3022:22:30","nodeType":"YulFunctionCall","src":"3022:22:30"}],"functionName":{"name":"or","nativeSrc":"2983:2:30","nodeType":"YulIdentifier","src":"2983:2:30"},"nativeSrc":"2983:62:30","nodeType":"YulFunctionCall","src":"2983:62:30"},"nativeSrc":"2980:187:30","nodeType":"YulIf","src":"2980:187:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3183:2:30","nodeType":"YulLiteral","src":"3183:2:30","type":"","value":"64"},{"name":"newFreePtr","nativeSrc":"3187:10:30","nodeType":"YulIdentifier","src":"3187:10:30"}],"functionName":{"name":"mstore","nativeSrc":"3176:6:30","nodeType":"YulIdentifier","src":"3176:6:30"},"nativeSrc":"3176:22:30","nodeType":"YulFunctionCall","src":"3176:22:30"},"nativeSrc":"3176:22:30","nodeType":"YulExpressionStatement","src":"3176:22:30"},{"nativeSrc":"3207:36:30","nodeType":"YulVariableDeclaration","src":"3207:36:30","value":{"arguments":[{"name":"headStart","nativeSrc":"3233:9:30","nodeType":"YulIdentifier","src":"3233:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"3220:12:30","nodeType":"YulIdentifier","src":"3220:12:30"},"nativeSrc":"3220:23:30","nodeType":"YulFunctionCall","src":"3220:23:30"},"variables":[{"name":"value","nativeSrc":"3211:5:30","nodeType":"YulTypedName","src":"3211:5:30","type":""}]},{"body":{"nativeSrc":"3295:18:30","nodeType":"YulBlock","src":"3295:18:30","statements":[{"expression":{"arguments":[{"name":"_1","nativeSrc":"3304:2:30","nodeType":"YulIdentifier","src":"3304:2:30"},{"name":"_1","nativeSrc":"3308:2:30","nodeType":"YulIdentifier","src":"3308:2:30"}],"functionName":{"name":"revert","nativeSrc":"3297:6:30","nodeType":"YulIdentifier","src":"3297:6:30"},"nativeSrc":"3297:14:30","nodeType":"YulFunctionCall","src":"3297:14:30"},"nativeSrc":"3297:14:30","nodeType":"YulExpressionStatement","src":"3297:14:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"3265:5:30","nodeType":"YulIdentifier","src":"3265:5:30"},{"arguments":[{"name":"value","nativeSrc":"3276:5:30","nodeType":"YulIdentifier","src":"3276:5:30"},{"kind":"number","nativeSrc":"3283:8:30","nodeType":"YulLiteral","src":"3283:8:30","type":"","value":"0xffffff"}],"functionName":{"name":"and","nativeSrc":"3272:3:30","nodeType":"YulIdentifier","src":"3272:3:30"},"nativeSrc":"3272:20:30","nodeType":"YulFunctionCall","src":"3272:20:30"}],"functionName":{"name":"eq","nativeSrc":"3262:2:30","nodeType":"YulIdentifier","src":"3262:2:30"},"nativeSrc":"3262:31:30","nodeType":"YulFunctionCall","src":"3262:31:30"}],"functionName":{"name":"iszero","nativeSrc":"3255:6:30","nodeType":"YulIdentifier","src":"3255:6:30"},"nativeSrc":"3255:39:30","nodeType":"YulFunctionCall","src":"3255:39:30"},"nativeSrc":"3252:61:30","nodeType":"YulIf","src":"3252:61:30"},{"expression":{"arguments":[{"name":"memPtr","nativeSrc":"3329:6:30","nodeType":"YulIdentifier","src":"3329:6:30"},{"name":"value","nativeSrc":"3337:5:30","nodeType":"YulIdentifier","src":"3337:5:30"}],"functionName":{"name":"mstore","nativeSrc":"3322:6:30","nodeType":"YulIdentifier","src":"3322:6:30"},"nativeSrc":"3322:21:30","nodeType":"YulFunctionCall","src":"3322:21:30"},"nativeSrc":"3322:21:30","nodeType":"YulExpressionStatement","src":"3322:21:30"},{"nativeSrc":"3352:47:30","nodeType":"YulVariableDeclaration","src":"3352:47:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"3384:9:30","nodeType":"YulIdentifier","src":"3384:9:30"},{"kind":"number","nativeSrc":"3395:2:30","nodeType":"YulLiteral","src":"3395:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3380:3:30","nodeType":"YulIdentifier","src":"3380:3:30"},"nativeSrc":"3380:18:30","nodeType":"YulFunctionCall","src":"3380:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"3367:12:30","nodeType":"YulIdentifier","src":"3367:12:30"},"nativeSrc":"3367:32:30","nodeType":"YulFunctionCall","src":"3367:32:30"},"variables":[{"name":"value_1","nativeSrc":"3356:7:30","nodeType":"YulTypedName","src":"3356:7:30","type":""}]},{"expression":{"arguments":[{"name":"value_1","nativeSrc":"3433:7:30","nodeType":"YulIdentifier","src":"3433:7:30"}],"functionName":{"name":"validator_revert_address","nativeSrc":"3408:24:30","nodeType":"YulIdentifier","src":"3408:24:30"},"nativeSrc":"3408:33:30","nodeType":"YulFunctionCall","src":"3408:33:30"},"nativeSrc":"3408:33:30","nodeType":"YulExpressionStatement","src":"3408:33:30"},{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nativeSrc":"3461:6:30","nodeType":"YulIdentifier","src":"3461:6:30"},{"kind":"number","nativeSrc":"3469:2:30","nodeType":"YulLiteral","src":"3469:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3457:3:30","nodeType":"YulIdentifier","src":"3457:3:30"},"nativeSrc":"3457:15:30","nodeType":"YulFunctionCall","src":"3457:15:30"},{"name":"value_1","nativeSrc":"3474:7:30","nodeType":"YulIdentifier","src":"3474:7:30"}],"functionName":{"name":"mstore","nativeSrc":"3450:6:30","nodeType":"YulIdentifier","src":"3450:6:30"},"nativeSrc":"3450:32:30","nodeType":"YulFunctionCall","src":"3450:32:30"},"nativeSrc":"3450:32:30","nodeType":"YulExpressionStatement","src":"3450:32:30"},{"nativeSrc":"3491:16:30","nodeType":"YulAssignment","src":"3491:16:30","value":{"name":"memPtr","nativeSrc":"3501:6:30","nodeType":"YulIdentifier","src":"3501:6:30"},"variableNames":[{"name":"value0","nativeSrc":"3491:6:30","nodeType":"YulIdentifier","src":"3491:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_UniswapCustomParams_$6609_memory_ptr","nativeSrc":"2691:822:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"2764:9:30","nodeType":"YulTypedName","src":"2764:9:30","type":""},{"name":"dataEnd","nativeSrc":"2775:7:30","nodeType":"YulTypedName","src":"2775:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"2787:6:30","nodeType":"YulTypedName","src":"2787:6:30","type":""}],"src":"2691:822:30"},{"body":{"nativeSrc":"3562:60:30","nodeType":"YulBlock","src":"3562:60:30","statements":[{"expression":{"arguments":[{"name":"pos","nativeSrc":"3579:3:30","nodeType":"YulIdentifier","src":"3579:3:30"},{"arguments":[{"name":"value","nativeSrc":"3588:5:30","nodeType":"YulIdentifier","src":"3588:5:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3603:3:30","nodeType":"YulLiteral","src":"3603:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"3608:1:30","nodeType":"YulLiteral","src":"3608:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"3599:3:30","nodeType":"YulIdentifier","src":"3599:3:30"},"nativeSrc":"3599:11:30","nodeType":"YulFunctionCall","src":"3599:11:30"},{"kind":"number","nativeSrc":"3612:1:30","nodeType":"YulLiteral","src":"3612:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"3595:3:30","nodeType":"YulIdentifier","src":"3595:3:30"},"nativeSrc":"3595:19:30","nodeType":"YulFunctionCall","src":"3595:19:30"}],"functionName":{"name":"and","nativeSrc":"3584:3:30","nodeType":"YulIdentifier","src":"3584:3:30"},"nativeSrc":"3584:31:30","nodeType":"YulFunctionCall","src":"3584:31:30"}],"functionName":{"name":"mstore","nativeSrc":"3572:6:30","nodeType":"YulIdentifier","src":"3572:6:30"},"nativeSrc":"3572:44:30","nodeType":"YulFunctionCall","src":"3572:44:30"},"nativeSrc":"3572:44:30","nodeType":"YulExpressionStatement","src":"3572:44:30"}]},"name":"abi_encode_address","nativeSrc":"3518:104:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nativeSrc":"3546:5:30","nodeType":"YulTypedName","src":"3546:5:30","type":""},{"name":"pos","nativeSrc":"3553:3:30","nodeType":"YulTypedName","src":"3553:3:30","type":""}],"src":"3518:104:30"},{"body":{"nativeSrc":"3756:145:30","nodeType":"YulBlock","src":"3756:145:30","statements":[{"nativeSrc":"3766:26:30","nodeType":"YulAssignment","src":"3766:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"3778:9:30","nodeType":"YulIdentifier","src":"3778:9:30"},{"kind":"number","nativeSrc":"3789:2:30","nodeType":"YulLiteral","src":"3789:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"3774:3:30","nodeType":"YulIdentifier","src":"3774:3:30"},"nativeSrc":"3774:18:30","nodeType":"YulFunctionCall","src":"3774:18:30"},"variableNames":[{"name":"tail","nativeSrc":"3766:4:30","nodeType":"YulIdentifier","src":"3766:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"3808:9:30","nodeType":"YulIdentifier","src":"3808:9:30"},{"arguments":[{"name":"value0","nativeSrc":"3823:6:30","nodeType":"YulIdentifier","src":"3823:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3839:3:30","nodeType":"YulLiteral","src":"3839:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"3844:1:30","nodeType":"YulLiteral","src":"3844:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"3835:3:30","nodeType":"YulIdentifier","src":"3835:3:30"},"nativeSrc":"3835:11:30","nodeType":"YulFunctionCall","src":"3835:11:30"},{"kind":"number","nativeSrc":"3848:1:30","nodeType":"YulLiteral","src":"3848:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"3831:3:30","nodeType":"YulIdentifier","src":"3831:3:30"},"nativeSrc":"3831:19:30","nodeType":"YulFunctionCall","src":"3831:19:30"}],"functionName":{"name":"and","nativeSrc":"3819:3:30","nodeType":"YulIdentifier","src":"3819:3:30"},"nativeSrc":"3819:32:30","nodeType":"YulFunctionCall","src":"3819:32:30"}],"functionName":{"name":"mstore","nativeSrc":"3801:6:30","nodeType":"YulIdentifier","src":"3801:6:30"},"nativeSrc":"3801:51:30","nodeType":"YulFunctionCall","src":"3801:51:30"},"nativeSrc":"3801:51:30","nodeType":"YulExpressionStatement","src":"3801:51:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"3872:9:30","nodeType":"YulIdentifier","src":"3872:9:30"},{"kind":"number","nativeSrc":"3883:2:30","nodeType":"YulLiteral","src":"3883:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3868:3:30","nodeType":"YulIdentifier","src":"3868:3:30"},"nativeSrc":"3868:18:30","nodeType":"YulFunctionCall","src":"3868:18:30"},{"name":"value1","nativeSrc":"3888:6:30","nodeType":"YulIdentifier","src":"3888:6:30"}],"functionName":{"name":"mstore","nativeSrc":"3861:6:30","nodeType":"YulIdentifier","src":"3861:6:30"},"nativeSrc":"3861:34:30","nodeType":"YulFunctionCall","src":"3861:34:30"},"nativeSrc":"3861:34:30","nodeType":"YulExpressionStatement","src":"3861:34:30"}]},"name":"abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed","nativeSrc":"3627:274:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"3717:9:30","nodeType":"YulTypedName","src":"3717:9:30","type":""},{"name":"value1","nativeSrc":"3728:6:30","nodeType":"YulTypedName","src":"3728:6:30","type":""},{"name":"value0","nativeSrc":"3736:6:30","nodeType":"YulTypedName","src":"3736:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"3747:4:30","nodeType":"YulTypedName","src":"3747:4:30","type":""}],"src":"3627:274:30"},{"body":{"nativeSrc":"3984:199:30","nodeType":"YulBlock","src":"3984:199:30","statements":[{"body":{"nativeSrc":"4030:16:30","nodeType":"YulBlock","src":"4030:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4039:1:30","nodeType":"YulLiteral","src":"4039:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4042:1:30","nodeType":"YulLiteral","src":"4042:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4032:6:30","nodeType":"YulIdentifier","src":"4032:6:30"},"nativeSrc":"4032:12:30","nodeType":"YulFunctionCall","src":"4032:12:30"},"nativeSrc":"4032:12:30","nodeType":"YulExpressionStatement","src":"4032:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"4005:7:30","nodeType":"YulIdentifier","src":"4005:7:30"},{"name":"headStart","nativeSrc":"4014:9:30","nodeType":"YulIdentifier","src":"4014:9:30"}],"functionName":{"name":"sub","nativeSrc":"4001:3:30","nodeType":"YulIdentifier","src":"4001:3:30"},"nativeSrc":"4001:23:30","nodeType":"YulFunctionCall","src":"4001:23:30"},{"kind":"number","nativeSrc":"4026:2:30","nodeType":"YulLiteral","src":"4026:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"3997:3:30","nodeType":"YulIdentifier","src":"3997:3:30"},"nativeSrc":"3997:32:30","nodeType":"YulFunctionCall","src":"3997:32:30"},"nativeSrc":"3994:52:30","nodeType":"YulIf","src":"3994:52:30"},{"nativeSrc":"4055:29:30","nodeType":"YulVariableDeclaration","src":"4055:29:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4074:9:30","nodeType":"YulIdentifier","src":"4074:9:30"}],"functionName":{"name":"mload","nativeSrc":"4068:5:30","nodeType":"YulIdentifier","src":"4068:5:30"},"nativeSrc":"4068:16:30","nodeType":"YulFunctionCall","src":"4068:16:30"},"variables":[{"name":"value","nativeSrc":"4059:5:30","nodeType":"YulTypedName","src":"4059:5:30","type":""}]},{"body":{"nativeSrc":"4137:16:30","nodeType":"YulBlock","src":"4137:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4146:1:30","nodeType":"YulLiteral","src":"4146:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4149:1:30","nodeType":"YulLiteral","src":"4149:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4139:6:30","nodeType":"YulIdentifier","src":"4139:6:30"},"nativeSrc":"4139:12:30","nodeType":"YulFunctionCall","src":"4139:12:30"},"nativeSrc":"4139:12:30","nodeType":"YulExpressionStatement","src":"4139:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"4106:5:30","nodeType":"YulIdentifier","src":"4106:5:30"},{"arguments":[{"arguments":[{"name":"value","nativeSrc":"4127:5:30","nodeType":"YulIdentifier","src":"4127:5:30"}],"functionName":{"name":"iszero","nativeSrc":"4120:6:30","nodeType":"YulIdentifier","src":"4120:6:30"},"nativeSrc":"4120:13:30","nodeType":"YulFunctionCall","src":"4120:13:30"}],"functionName":{"name":"iszero","nativeSrc":"4113:6:30","nodeType":"YulIdentifier","src":"4113:6:30"},"nativeSrc":"4113:21:30","nodeType":"YulFunctionCall","src":"4113:21:30"}],"functionName":{"name":"eq","nativeSrc":"4103:2:30","nodeType":"YulIdentifier","src":"4103:2:30"},"nativeSrc":"4103:32:30","nodeType":"YulFunctionCall","src":"4103:32:30"}],"functionName":{"name":"iszero","nativeSrc":"4096:6:30","nodeType":"YulIdentifier","src":"4096:6:30"},"nativeSrc":"4096:40:30","nodeType":"YulFunctionCall","src":"4096:40:30"},"nativeSrc":"4093:60:30","nodeType":"YulIf","src":"4093:60:30"},{"nativeSrc":"4162:15:30","nodeType":"YulAssignment","src":"4162:15:30","value":{"name":"value","nativeSrc":"4172:5:30","nodeType":"YulIdentifier","src":"4172:5:30"},"variableNames":[{"name":"value0","nativeSrc":"4162:6:30","nodeType":"YulIdentifier","src":"4162:6:30"}]}]},"name":"abi_decode_tuple_t_bool_fromMemory","nativeSrc":"3906:277:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"3950:9:30","nodeType":"YulTypedName","src":"3950:9:30","type":""},{"name":"dataEnd","nativeSrc":"3961:7:30","nodeType":"YulTypedName","src":"3961:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"3973:6:30","nodeType":"YulTypedName","src":"3973:6:30","type":""}],"src":"3906:277:30"},{"body":{"nativeSrc":"4255:610:30","nodeType":"YulBlock","src":"4255:610:30","statements":[{"expression":{"arguments":[{"name":"pos","nativeSrc":"4272:3:30","nodeType":"YulIdentifier","src":"4272:3:30"},{"arguments":[{"arguments":[{"name":"value","nativeSrc":"4287:5:30","nodeType":"YulIdentifier","src":"4287:5:30"}],"functionName":{"name":"mload","nativeSrc":"4281:5:30","nodeType":"YulIdentifier","src":"4281:5:30"},"nativeSrc":"4281:12:30","nodeType":"YulFunctionCall","src":"4281:12:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"4303:3:30","nodeType":"YulLiteral","src":"4303:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"4308:1:30","nodeType":"YulLiteral","src":"4308:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"4299:3:30","nodeType":"YulIdentifier","src":"4299:3:30"},"nativeSrc":"4299:11:30","nodeType":"YulFunctionCall","src":"4299:11:30"},{"kind":"number","nativeSrc":"4312:1:30","nodeType":"YulLiteral","src":"4312:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"4295:3:30","nodeType":"YulIdentifier","src":"4295:3:30"},"nativeSrc":"4295:19:30","nodeType":"YulFunctionCall","src":"4295:19:30"}],"functionName":{"name":"and","nativeSrc":"4277:3:30","nodeType":"YulIdentifier","src":"4277:3:30"},"nativeSrc":"4277:38:30","nodeType":"YulFunctionCall","src":"4277:38:30"}],"functionName":{"name":"mstore","nativeSrc":"4265:6:30","nodeType":"YulIdentifier","src":"4265:6:30"},"nativeSrc":"4265:51:30","nodeType":"YulFunctionCall","src":"4265:51:30"},"nativeSrc":"4265:51:30","nodeType":"YulExpressionStatement","src":"4265:51:30"},{"expression":{"arguments":[{"arguments":[{"name":"pos","nativeSrc":"4336:3:30","nodeType":"YulIdentifier","src":"4336:3:30"},{"kind":"number","nativeSrc":"4341:4:30","nodeType":"YulLiteral","src":"4341:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"4332:3:30","nodeType":"YulIdentifier","src":"4332:3:30"},"nativeSrc":"4332:14:30","nodeType":"YulFunctionCall","src":"4332:14:30"},{"arguments":[{"arguments":[{"arguments":[{"name":"value","nativeSrc":"4362:5:30","nodeType":"YulIdentifier","src":"4362:5:30"},{"kind":"number","nativeSrc":"4369:4:30","nodeType":"YulLiteral","src":"4369:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"4358:3:30","nodeType":"YulIdentifier","src":"4358:3:30"},"nativeSrc":"4358:16:30","nodeType":"YulFunctionCall","src":"4358:16:30"}],"functionName":{"name":"mload","nativeSrc":"4352:5:30","nodeType":"YulIdentifier","src":"4352:5:30"},"nativeSrc":"4352:23:30","nodeType":"YulFunctionCall","src":"4352:23:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"4385:3:30","nodeType":"YulLiteral","src":"4385:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"4390:1:30","nodeType":"YulLiteral","src":"4390:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"4381:3:30","nodeType":"YulIdentifier","src":"4381:3:30"},"nativeSrc":"4381:11:30","nodeType":"YulFunctionCall","src":"4381:11:30"},{"kind":"number","nativeSrc":"4394:1:30","nodeType":"YulLiteral","src":"4394:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"4377:3:30","nodeType":"YulIdentifier","src":"4377:3:30"},"nativeSrc":"4377:19:30","nodeType":"YulFunctionCall","src":"4377:19:30"}],"functionName":{"name":"and","nativeSrc":"4348:3:30","nodeType":"YulIdentifier","src":"4348:3:30"},"nativeSrc":"4348:49:30","nodeType":"YulFunctionCall","src":"4348:49:30"}],"functionName":{"name":"mstore","nativeSrc":"4325:6:30","nodeType":"YulIdentifier","src":"4325:6:30"},"nativeSrc":"4325:73:30","nodeType":"YulFunctionCall","src":"4325:73:30"},"nativeSrc":"4325:73:30","nodeType":"YulExpressionStatement","src":"4325:73:30"},{"expression":{"arguments":[{"arguments":[{"name":"pos","nativeSrc":"4418:3:30","nodeType":"YulIdentifier","src":"4418:3:30"},{"kind":"number","nativeSrc":"4423:4:30","nodeType":"YulLiteral","src":"4423:4:30","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"4414:3:30","nodeType":"YulIdentifier","src":"4414:3:30"},"nativeSrc":"4414:14:30","nodeType":"YulFunctionCall","src":"4414:14:30"},{"arguments":[{"arguments":[{"arguments":[{"name":"value","nativeSrc":"4444:5:30","nodeType":"YulIdentifier","src":"4444:5:30"},{"kind":"number","nativeSrc":"4451:4:30","nodeType":"YulLiteral","src":"4451:4:30","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"4440:3:30","nodeType":"YulIdentifier","src":"4440:3:30"},"nativeSrc":"4440:16:30","nodeType":"YulFunctionCall","src":"4440:16:30"}],"functionName":{"name":"mload","nativeSrc":"4434:5:30","nodeType":"YulIdentifier","src":"4434:5:30"},"nativeSrc":"4434:23:30","nodeType":"YulFunctionCall","src":"4434:23:30"},{"kind":"number","nativeSrc":"4459:8:30","nodeType":"YulLiteral","src":"4459:8:30","type":"","value":"0xffffff"}],"functionName":{"name":"and","nativeSrc":"4430:3:30","nodeType":"YulIdentifier","src":"4430:3:30"},"nativeSrc":"4430:38:30","nodeType":"YulFunctionCall","src":"4430:38:30"}],"functionName":{"name":"mstore","nativeSrc":"4407:6:30","nodeType":"YulIdentifier","src":"4407:6:30"},"nativeSrc":"4407:62:30","nodeType":"YulFunctionCall","src":"4407:62:30"},"nativeSrc":"4407:62:30","nodeType":"YulExpressionStatement","src":"4407:62:30"},{"nativeSrc":"4478:43:30","nodeType":"YulVariableDeclaration","src":"4478:43:30","value":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"4508:5:30","nodeType":"YulIdentifier","src":"4508:5:30"},{"kind":"number","nativeSrc":"4515:4:30","nodeType":"YulLiteral","src":"4515:4:30","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"4504:3:30","nodeType":"YulIdentifier","src":"4504:3:30"},"nativeSrc":"4504:16:30","nodeType":"YulFunctionCall","src":"4504:16:30"}],"functionName":{"name":"mload","nativeSrc":"4498:5:30","nodeType":"YulIdentifier","src":"4498:5:30"},"nativeSrc":"4498:23:30","nodeType":"YulFunctionCall","src":"4498:23:30"},"variables":[{"name":"memberValue0","nativeSrc":"4482:12:30","nodeType":"YulTypedName","src":"4482:12:30","type":""}]},{"expression":{"arguments":[{"name":"memberValue0","nativeSrc":"4549:12:30","nodeType":"YulIdentifier","src":"4549:12:30"},{"arguments":[{"name":"pos","nativeSrc":"4567:3:30","nodeType":"YulIdentifier","src":"4567:3:30"},{"kind":"number","nativeSrc":"4572:4:30","nodeType":"YulLiteral","src":"4572:4:30","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"4563:3:30","nodeType":"YulIdentifier","src":"4563:3:30"},"nativeSrc":"4563:14:30","nodeType":"YulFunctionCall","src":"4563:14:30"}],"functionName":{"name":"abi_encode_address","nativeSrc":"4530:18:30","nodeType":"YulIdentifier","src":"4530:18:30"},"nativeSrc":"4530:48:30","nodeType":"YulFunctionCall","src":"4530:48:30"},"nativeSrc":"4530:48:30","nodeType":"YulExpressionStatement","src":"4530:48:30"},{"expression":{"arguments":[{"arguments":[{"name":"pos","nativeSrc":"4598:3:30","nodeType":"YulIdentifier","src":"4598:3:30"},{"kind":"number","nativeSrc":"4603:4:30","nodeType":"YulLiteral","src":"4603:4:30","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"4594:3:30","nodeType":"YulIdentifier","src":"4594:3:30"},"nativeSrc":"4594:14:30","nodeType":"YulFunctionCall","src":"4594:14:30"},{"arguments":[{"arguments":[{"name":"value","nativeSrc":"4620:5:30","nodeType":"YulIdentifier","src":"4620:5:30"},{"kind":"number","nativeSrc":"4627:4:30","nodeType":"YulLiteral","src":"4627:4:30","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"4616:3:30","nodeType":"YulIdentifier","src":"4616:3:30"},"nativeSrc":"4616:16:30","nodeType":"YulFunctionCall","src":"4616:16:30"}],"functionName":{"name":"mload","nativeSrc":"4610:5:30","nodeType":"YulIdentifier","src":"4610:5:30"},"nativeSrc":"4610:23:30","nodeType":"YulFunctionCall","src":"4610:23:30"}],"functionName":{"name":"mstore","nativeSrc":"4587:6:30","nodeType":"YulIdentifier","src":"4587:6:30"},"nativeSrc":"4587:47:30","nodeType":"YulFunctionCall","src":"4587:47:30"},"nativeSrc":"4587:47:30","nodeType":"YulExpressionStatement","src":"4587:47:30"},{"expression":{"arguments":[{"arguments":[{"name":"pos","nativeSrc":"4654:3:30","nodeType":"YulIdentifier","src":"4654:3:30"},{"kind":"number","nativeSrc":"4659:4:30","nodeType":"YulLiteral","src":"4659:4:30","type":"","value":"0xa0"}],"functionName":{"name":"add","nativeSrc":"4650:3:30","nodeType":"YulIdentifier","src":"4650:3:30"},"nativeSrc":"4650:14:30","nodeType":"YulFunctionCall","src":"4650:14:30"},{"arguments":[{"arguments":[{"name":"value","nativeSrc":"4676:5:30","nodeType":"YulIdentifier","src":"4676:5:30"},{"kind":"number","nativeSrc":"4683:4:30","nodeType":"YulLiteral","src":"4683:4:30","type":"","value":"0xa0"}],"functionName":{"name":"add","nativeSrc":"4672:3:30","nodeType":"YulIdentifier","src":"4672:3:30"},"nativeSrc":"4672:16:30","nodeType":"YulFunctionCall","src":"4672:16:30"}],"functionName":{"name":"mload","nativeSrc":"4666:5:30","nodeType":"YulIdentifier","src":"4666:5:30"},"nativeSrc":"4666:23:30","nodeType":"YulFunctionCall","src":"4666:23:30"}],"functionName":{"name":"mstore","nativeSrc":"4643:6:30","nodeType":"YulIdentifier","src":"4643:6:30"},"nativeSrc":"4643:47:30","nodeType":"YulFunctionCall","src":"4643:47:30"},"nativeSrc":"4643:47:30","nodeType":"YulExpressionStatement","src":"4643:47:30"},{"expression":{"arguments":[{"arguments":[{"name":"pos","nativeSrc":"4710:3:30","nodeType":"YulIdentifier","src":"4710:3:30"},{"kind":"number","nativeSrc":"4715:4:30","nodeType":"YulLiteral","src":"4715:4:30","type":"","value":"0xc0"}],"functionName":{"name":"add","nativeSrc":"4706:3:30","nodeType":"YulIdentifier","src":"4706:3:30"},"nativeSrc":"4706:14:30","nodeType":"YulFunctionCall","src":"4706:14:30"},{"arguments":[{"arguments":[{"name":"value","nativeSrc":"4732:5:30","nodeType":"YulIdentifier","src":"4732:5:30"},{"kind":"number","nativeSrc":"4739:4:30","nodeType":"YulLiteral","src":"4739:4:30","type":"","value":"0xc0"}],"functionName":{"name":"add","nativeSrc":"4728:3:30","nodeType":"YulIdentifier","src":"4728:3:30"},"nativeSrc":"4728:16:30","nodeType":"YulFunctionCall","src":"4728:16:30"}],"functionName":{"name":"mload","nativeSrc":"4722:5:30","nodeType":"YulIdentifier","src":"4722:5:30"},"nativeSrc":"4722:23:30","nodeType":"YulFunctionCall","src":"4722:23:30"}],"functionName":{"name":"mstore","nativeSrc":"4699:6:30","nodeType":"YulIdentifier","src":"4699:6:30"},"nativeSrc":"4699:47:30","nodeType":"YulFunctionCall","src":"4699:47:30"},"nativeSrc":"4699:47:30","nodeType":"YulExpressionStatement","src":"4699:47:30"},{"nativeSrc":"4755:45:30","nodeType":"YulVariableDeclaration","src":"4755:45:30","value":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"4787:5:30","nodeType":"YulIdentifier","src":"4787:5:30"},{"kind":"number","nativeSrc":"4794:4:30","nodeType":"YulLiteral","src":"4794:4:30","type":"","value":"0xe0"}],"functionName":{"name":"add","nativeSrc":"4783:3:30","nodeType":"YulIdentifier","src":"4783:3:30"},"nativeSrc":"4783:16:30","nodeType":"YulFunctionCall","src":"4783:16:30"}],"functionName":{"name":"mload","nativeSrc":"4777:5:30","nodeType":"YulIdentifier","src":"4777:5:30"},"nativeSrc":"4777:23:30","nodeType":"YulFunctionCall","src":"4777:23:30"},"variables":[{"name":"memberValue0_1","nativeSrc":"4759:14:30","nodeType":"YulTypedName","src":"4759:14:30","type":""}]},{"expression":{"arguments":[{"name":"memberValue0_1","nativeSrc":"4828:14:30","nodeType":"YulIdentifier","src":"4828:14:30"},{"arguments":[{"name":"pos","nativeSrc":"4848:3:30","nodeType":"YulIdentifier","src":"4848:3:30"},{"kind":"number","nativeSrc":"4853:4:30","nodeType":"YulLiteral","src":"4853:4:30","type":"","value":"0xe0"}],"functionName":{"name":"add","nativeSrc":"4844:3:30","nodeType":"YulIdentifier","src":"4844:3:30"},"nativeSrc":"4844:14:30","nodeType":"YulFunctionCall","src":"4844:14:30"}],"functionName":{"name":"abi_encode_address","nativeSrc":"4809:18:30","nodeType":"YulIdentifier","src":"4809:18:30"},"nativeSrc":"4809:50:30","nodeType":"YulFunctionCall","src":"4809:50:30"},"nativeSrc":"4809:50:30","nodeType":"YulExpressionStatement","src":"4809:50:30"}]},"name":"abi_encode_struct_ExactOutputSingleParams","nativeSrc":"4188:677:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nativeSrc":"4239:5:30","nodeType":"YulTypedName","src":"4239:5:30","type":""},{"name":"pos","nativeSrc":"4246:3:30","nodeType":"YulTypedName","src":"4246:3:30","type":""}],"src":"4188:677:30"},{"body":{"nativeSrc":"5053:112:30","nodeType":"YulBlock","src":"5053:112:30","statements":[{"nativeSrc":"5063:27:30","nodeType":"YulAssignment","src":"5063:27:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5075:9:30","nodeType":"YulIdentifier","src":"5075:9:30"},{"kind":"number","nativeSrc":"5086:3:30","nodeType":"YulLiteral","src":"5086:3:30","type":"","value":"256"}],"functionName":{"name":"add","nativeSrc":"5071:3:30","nodeType":"YulIdentifier","src":"5071:3:30"},"nativeSrc":"5071:19:30","nodeType":"YulFunctionCall","src":"5071:19:30"},"variableNames":[{"name":"tail","nativeSrc":"5063:4:30","nodeType":"YulIdentifier","src":"5063:4:30"}]},{"expression":{"arguments":[{"name":"value0","nativeSrc":"5141:6:30","nodeType":"YulIdentifier","src":"5141:6:30"},{"name":"headStart","nativeSrc":"5149:9:30","nodeType":"YulIdentifier","src":"5149:9:30"}],"functionName":{"name":"abi_encode_struct_ExactOutputSingleParams","nativeSrc":"5099:41:30","nodeType":"YulIdentifier","src":"5099:41:30"},"nativeSrc":"5099:60:30","nodeType":"YulFunctionCall","src":"5099:60:30"},"nativeSrc":"5099:60:30","nodeType":"YulExpressionStatement","src":"5099:60:30"}]},"name":"abi_encode_tuple_t_struct$_ExactOutputSingleParams_$5489_memory_ptr__to_t_struct$_ExactOutputSingleParams_$5489_memory_ptr__fromStack_reversed","nativeSrc":"4870:295:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5022:9:30","nodeType":"YulTypedName","src":"5022:9:30","type":""},{"name":"value0","nativeSrc":"5033:6:30","nodeType":"YulTypedName","src":"5033:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"5044:4:30","nodeType":"YulTypedName","src":"5044:4:30","type":""}],"src":"4870:295:30"},{"body":{"nativeSrc":"5251:103:30","nodeType":"YulBlock","src":"5251:103:30","statements":[{"body":{"nativeSrc":"5297:16:30","nodeType":"YulBlock","src":"5297:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"5306:1:30","nodeType":"YulLiteral","src":"5306:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"5309:1:30","nodeType":"YulLiteral","src":"5309:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"5299:6:30","nodeType":"YulIdentifier","src":"5299:6:30"},"nativeSrc":"5299:12:30","nodeType":"YulFunctionCall","src":"5299:12:30"},"nativeSrc":"5299:12:30","nodeType":"YulExpressionStatement","src":"5299:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"5272:7:30","nodeType":"YulIdentifier","src":"5272:7:30"},{"name":"headStart","nativeSrc":"5281:9:30","nodeType":"YulIdentifier","src":"5281:9:30"}],"functionName":{"name":"sub","nativeSrc":"5268:3:30","nodeType":"YulIdentifier","src":"5268:3:30"},"nativeSrc":"5268:23:30","nodeType":"YulFunctionCall","src":"5268:23:30"},{"kind":"number","nativeSrc":"5293:2:30","nodeType":"YulLiteral","src":"5293:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"5264:3:30","nodeType":"YulIdentifier","src":"5264:3:30"},"nativeSrc":"5264:32:30","nodeType":"YulFunctionCall","src":"5264:32:30"},"nativeSrc":"5261:52:30","nodeType":"YulIf","src":"5261:52:30"},{"nativeSrc":"5322:26:30","nodeType":"YulAssignment","src":"5322:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5338:9:30","nodeType":"YulIdentifier","src":"5338:9:30"}],"functionName":{"name":"mload","nativeSrc":"5332:5:30","nodeType":"YulIdentifier","src":"5332:5:30"},"nativeSrc":"5332:16:30","nodeType":"YulFunctionCall","src":"5332:16:30"},"variableNames":[{"name":"value0","nativeSrc":"5322:6:30","nodeType":"YulIdentifier","src":"5322:6:30"}]}]},"name":"abi_decode_tuple_t_uint256_fromMemory","nativeSrc":"5170:184:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5217:9:30","nodeType":"YulTypedName","src":"5217:9:30","type":""},{"name":"dataEnd","nativeSrc":"5228:7:30","nodeType":"YulTypedName","src":"5228:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"5240:6:30","nodeType":"YulTypedName","src":"5240:6:30","type":""}],"src":"5170:184:30"},{"body":{"nativeSrc":"5496:145:30","nodeType":"YulBlock","src":"5496:145:30","statements":[{"nativeSrc":"5506:26:30","nodeType":"YulAssignment","src":"5506:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5518:9:30","nodeType":"YulIdentifier","src":"5518:9:30"},{"kind":"number","nativeSrc":"5529:2:30","nodeType":"YulLiteral","src":"5529:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"5514:3:30","nodeType":"YulIdentifier","src":"5514:3:30"},"nativeSrc":"5514:18:30","nodeType":"YulFunctionCall","src":"5514:18:30"},"variableNames":[{"name":"tail","nativeSrc":"5506:4:30","nodeType":"YulIdentifier","src":"5506:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"5548:9:30","nodeType":"YulIdentifier","src":"5548:9:30"},{"arguments":[{"name":"value0","nativeSrc":"5563:6:30","nodeType":"YulIdentifier","src":"5563:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"5579:3:30","nodeType":"YulLiteral","src":"5579:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"5584:1:30","nodeType":"YulLiteral","src":"5584:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"5575:3:30","nodeType":"YulIdentifier","src":"5575:3:30"},"nativeSrc":"5575:11:30","nodeType":"YulFunctionCall","src":"5575:11:30"},{"kind":"number","nativeSrc":"5588:1:30","nodeType":"YulLiteral","src":"5588:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"5571:3:30","nodeType":"YulIdentifier","src":"5571:3:30"},"nativeSrc":"5571:19:30","nodeType":"YulFunctionCall","src":"5571:19:30"}],"functionName":{"name":"and","nativeSrc":"5559:3:30","nodeType":"YulIdentifier","src":"5559:3:30"},"nativeSrc":"5559:32:30","nodeType":"YulFunctionCall","src":"5559:32:30"}],"functionName":{"name":"mstore","nativeSrc":"5541:6:30","nodeType":"YulIdentifier","src":"5541:6:30"},"nativeSrc":"5541:51:30","nodeType":"YulFunctionCall","src":"5541:51:30"},"nativeSrc":"5541:51:30","nodeType":"YulExpressionStatement","src":"5541:51:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"5612:9:30","nodeType":"YulIdentifier","src":"5612:9:30"},{"kind":"number","nativeSrc":"5623:2:30","nodeType":"YulLiteral","src":"5623:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"5608:3:30","nodeType":"YulIdentifier","src":"5608:3:30"},"nativeSrc":"5608:18:30","nodeType":"YulFunctionCall","src":"5608:18:30"},{"name":"value1","nativeSrc":"5628:6:30","nodeType":"YulIdentifier","src":"5628:6:30"}],"functionName":{"name":"mstore","nativeSrc":"5601:6:30","nodeType":"YulIdentifier","src":"5601:6:30"},"nativeSrc":"5601:34:30","nodeType":"YulFunctionCall","src":"5601:34:30"},"nativeSrc":"5601:34:30","nodeType":"YulExpressionStatement","src":"5601:34:30"}]},"name":"abi_encode_tuple_t_address_t_rational_0_by_1__to_t_address_t_uint256__fromStack_reversed","nativeSrc":"5359:282:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5457:9:30","nodeType":"YulTypedName","src":"5457:9:30","type":""},{"name":"value1","nativeSrc":"5468:6:30","nodeType":"YulTypedName","src":"5468:6:30","type":""},{"name":"value0","nativeSrc":"5476:6:30","nodeType":"YulTypedName","src":"5476:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"5487:4:30","nodeType":"YulTypedName","src":"5487:4:30","type":""}],"src":"5359:282:30"},{"body":{"nativeSrc":"5775:119:30","nodeType":"YulBlock","src":"5775:119:30","statements":[{"nativeSrc":"5785:26:30","nodeType":"YulAssignment","src":"5785:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5797:9:30","nodeType":"YulIdentifier","src":"5797:9:30"},{"kind":"number","nativeSrc":"5808:2:30","nodeType":"YulLiteral","src":"5808:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"5793:3:30","nodeType":"YulIdentifier","src":"5793:3:30"},"nativeSrc":"5793:18:30","nodeType":"YulFunctionCall","src":"5793:18:30"},"variableNames":[{"name":"tail","nativeSrc":"5785:4:30","nodeType":"YulIdentifier","src":"5785:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"5827:9:30","nodeType":"YulIdentifier","src":"5827:9:30"},{"name":"value0","nativeSrc":"5838:6:30","nodeType":"YulIdentifier","src":"5838:6:30"}],"functionName":{"name":"mstore","nativeSrc":"5820:6:30","nodeType":"YulIdentifier","src":"5820:6:30"},"nativeSrc":"5820:25:30","nodeType":"YulFunctionCall","src":"5820:25:30"},"nativeSrc":"5820:25:30","nodeType":"YulExpressionStatement","src":"5820:25:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"5865:9:30","nodeType":"YulIdentifier","src":"5865:9:30"},{"kind":"number","nativeSrc":"5876:2:30","nodeType":"YulLiteral","src":"5876:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"5861:3:30","nodeType":"YulIdentifier","src":"5861:3:30"},"nativeSrc":"5861:18:30","nodeType":"YulFunctionCall","src":"5861:18:30"},{"name":"value1","nativeSrc":"5881:6:30","nodeType":"YulIdentifier","src":"5881:6:30"}],"functionName":{"name":"mstore","nativeSrc":"5854:6:30","nodeType":"YulIdentifier","src":"5854:6:30"},"nativeSrc":"5854:34:30","nodeType":"YulFunctionCall","src":"5854:34:30"},"nativeSrc":"5854:34:30","nodeType":"YulExpressionStatement","src":"5854:34:30"}]},"name":"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed","nativeSrc":"5646:248:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5736:9:30","nodeType":"YulTypedName","src":"5736:9:30","type":""},{"name":"value1","nativeSrc":"5747:6:30","nodeType":"YulTypedName","src":"5747:6:30","type":""},{"name":"value0","nativeSrc":"5755:6:30","nodeType":"YulTypedName","src":"5755:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"5766:4:30","nodeType":"YulTypedName","src":"5766:4:30","type":""}],"src":"5646:248:30"},{"body":{"nativeSrc":"5931:95:30","nodeType":"YulBlock","src":"5931:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"5948:1:30","nodeType":"YulLiteral","src":"5948:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"5955:3:30","nodeType":"YulLiteral","src":"5955:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"5960:10:30","nodeType":"YulLiteral","src":"5960:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"5951:3:30","nodeType":"YulIdentifier","src":"5951:3:30"},"nativeSrc":"5951:20:30","nodeType":"YulFunctionCall","src":"5951:20:30"}],"functionName":{"name":"mstore","nativeSrc":"5941:6:30","nodeType":"YulIdentifier","src":"5941:6:30"},"nativeSrc":"5941:31:30","nodeType":"YulFunctionCall","src":"5941:31:30"},"nativeSrc":"5941:31:30","nodeType":"YulExpressionStatement","src":"5941:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"5988:1:30","nodeType":"YulLiteral","src":"5988:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"5991:4:30","nodeType":"YulLiteral","src":"5991:4:30","type":"","value":"0x11"}],"functionName":{"name":"mstore","nativeSrc":"5981:6:30","nodeType":"YulIdentifier","src":"5981:6:30"},"nativeSrc":"5981:15:30","nodeType":"YulFunctionCall","src":"5981:15:30"},"nativeSrc":"5981:15:30","nodeType":"YulExpressionStatement","src":"5981:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"6012:1:30","nodeType":"YulLiteral","src":"6012:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"6015:4:30","nodeType":"YulLiteral","src":"6015:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"6005:6:30","nodeType":"YulIdentifier","src":"6005:6:30"},"nativeSrc":"6005:15:30","nodeType":"YulFunctionCall","src":"6005:15:30"},"nativeSrc":"6005:15:30","nodeType":"YulExpressionStatement","src":"6005:15:30"}]},"name":"panic_error_0x11","nativeSrc":"5899:127:30","nodeType":"YulFunctionDefinition","src":"5899:127:30"},{"body":{"nativeSrc":"6080:79:30","nodeType":"YulBlock","src":"6080:79:30","statements":[{"nativeSrc":"6090:17:30","nodeType":"YulAssignment","src":"6090:17:30","value":{"arguments":[{"name":"x","nativeSrc":"6102:1:30","nodeType":"YulIdentifier","src":"6102:1:30"},{"name":"y","nativeSrc":"6105:1:30","nodeType":"YulIdentifier","src":"6105:1:30"}],"functionName":{"name":"sub","nativeSrc":"6098:3:30","nodeType":"YulIdentifier","src":"6098:3:30"},"nativeSrc":"6098:9:30","nodeType":"YulFunctionCall","src":"6098:9:30"},"variableNames":[{"name":"diff","nativeSrc":"6090:4:30","nodeType":"YulIdentifier","src":"6090:4:30"}]},{"body":{"nativeSrc":"6131:22:30","nodeType":"YulBlock","src":"6131:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"6133:16:30","nodeType":"YulIdentifier","src":"6133:16:30"},"nativeSrc":"6133:18:30","nodeType":"YulFunctionCall","src":"6133:18:30"},"nativeSrc":"6133:18:30","nodeType":"YulExpressionStatement","src":"6133:18:30"}]},"condition":{"arguments":[{"name":"diff","nativeSrc":"6122:4:30","nodeType":"YulIdentifier","src":"6122:4:30"},{"name":"x","nativeSrc":"6128:1:30","nodeType":"YulIdentifier","src":"6128:1:30"}],"functionName":{"name":"gt","nativeSrc":"6119:2:30","nodeType":"YulIdentifier","src":"6119:2:30"},"nativeSrc":"6119:11:30","nodeType":"YulFunctionCall","src":"6119:11:30"},"nativeSrc":"6116:37:30","nodeType":"YulIf","src":"6116:37:30"}]},"name":"checked_sub_t_uint256","nativeSrc":"6031:128:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"6062:1:30","nodeType":"YulTypedName","src":"6062:1:30","type":""},{"name":"y","nativeSrc":"6065:1:30","nodeType":"YulTypedName","src":"6065:1:30","type":""}],"returnVariables":[{"name":"diff","nativeSrc":"6071:4:30","nodeType":"YulTypedName","src":"6071:4:30","type":""}],"src":"6031:128:30"},{"body":{"nativeSrc":"6212:77:30","nodeType":"YulBlock","src":"6212:77:30","statements":[{"nativeSrc":"6222:16:30","nodeType":"YulAssignment","src":"6222:16:30","value":{"arguments":[{"name":"x","nativeSrc":"6233:1:30","nodeType":"YulIdentifier","src":"6233:1:30"},{"name":"y","nativeSrc":"6236:1:30","nodeType":"YulIdentifier","src":"6236:1:30"}],"functionName":{"name":"add","nativeSrc":"6229:3:30","nodeType":"YulIdentifier","src":"6229:3:30"},"nativeSrc":"6229:9:30","nodeType":"YulFunctionCall","src":"6229:9:30"},"variableNames":[{"name":"sum","nativeSrc":"6222:3:30","nodeType":"YulIdentifier","src":"6222:3:30"}]},{"body":{"nativeSrc":"6261:22:30","nodeType":"YulBlock","src":"6261:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"6263:16:30","nodeType":"YulIdentifier","src":"6263:16:30"},"nativeSrc":"6263:18:30","nodeType":"YulFunctionCall","src":"6263:18:30"},"nativeSrc":"6263:18:30","nodeType":"YulExpressionStatement","src":"6263:18:30"}]},"condition":{"arguments":[{"name":"x","nativeSrc":"6253:1:30","nodeType":"YulIdentifier","src":"6253:1:30"},{"name":"sum","nativeSrc":"6256:3:30","nodeType":"YulIdentifier","src":"6256:3:30"}],"functionName":{"name":"gt","nativeSrc":"6250:2:30","nodeType":"YulIdentifier","src":"6250:2:30"},"nativeSrc":"6250:10:30","nodeType":"YulFunctionCall","src":"6250:10:30"},"nativeSrc":"6247:36:30","nodeType":"YulIf","src":"6247:36:30"}]},"name":"checked_add_t_uint256","nativeSrc":"6164:125:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"6195:1:30","nodeType":"YulTypedName","src":"6195:1:30","type":""},{"name":"y","nativeSrc":"6198:1:30","nodeType":"YulTypedName","src":"6198:1:30","type":""}],"returnVariables":[{"name":"sum","nativeSrc":"6204:3:30","nodeType":"YulTypedName","src":"6204:3:30","type":""}],"src":"6164:125:30"},{"body":{"nativeSrc":"6341:88:30","nodeType":"YulBlock","src":"6341:88:30","statements":[{"body":{"nativeSrc":"6372:22:30","nodeType":"YulBlock","src":"6372:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"6374:16:30","nodeType":"YulIdentifier","src":"6374:16:30"},"nativeSrc":"6374:18:30","nodeType":"YulFunctionCall","src":"6374:18:30"},"nativeSrc":"6374:18:30","nodeType":"YulExpressionStatement","src":"6374:18:30"}]},"condition":{"arguments":[{"name":"value","nativeSrc":"6357:5:30","nodeType":"YulIdentifier","src":"6357:5:30"},{"arguments":[{"kind":"number","nativeSrc":"6368:1:30","nodeType":"YulLiteral","src":"6368:1:30","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"6364:3:30","nodeType":"YulIdentifier","src":"6364:3:30"},"nativeSrc":"6364:6:30","nodeType":"YulFunctionCall","src":"6364:6:30"}],"functionName":{"name":"eq","nativeSrc":"6354:2:30","nodeType":"YulIdentifier","src":"6354:2:30"},"nativeSrc":"6354:17:30","nodeType":"YulFunctionCall","src":"6354:17:30"},"nativeSrc":"6351:43:30","nodeType":"YulIf","src":"6351:43:30"},{"nativeSrc":"6403:20:30","nodeType":"YulAssignment","src":"6403:20:30","value":{"arguments":[{"name":"value","nativeSrc":"6414:5:30","nodeType":"YulIdentifier","src":"6414:5:30"},{"kind":"number","nativeSrc":"6421:1:30","nodeType":"YulLiteral","src":"6421:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"6410:3:30","nodeType":"YulIdentifier","src":"6410:3:30"},"nativeSrc":"6410:13:30","nodeType":"YulFunctionCall","src":"6410:13:30"},"variableNames":[{"name":"ret","nativeSrc":"6403:3:30","nodeType":"YulIdentifier","src":"6403:3:30"}]}]},"name":"increment_t_uint256","nativeSrc":"6294:135:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nativeSrc":"6323:5:30","nodeType":"YulTypedName","src":"6323:5:30","type":""}],"returnVariables":[{"name":"ret","nativeSrc":"6333:3:30","nodeType":"YulTypedName","src":"6333:3:30","type":""}],"src":"6294:135:30"},{"body":{"nativeSrc":"6615:112:30","nodeType":"YulBlock","src":"6615:112:30","statements":[{"nativeSrc":"6625:27:30","nodeType":"YulAssignment","src":"6625:27:30","value":{"arguments":[{"name":"headStart","nativeSrc":"6637:9:30","nodeType":"YulIdentifier","src":"6637:9:30"},{"kind":"number","nativeSrc":"6648:3:30","nodeType":"YulLiteral","src":"6648:3:30","type":"","value":"256"}],"functionName":{"name":"add","nativeSrc":"6633:3:30","nodeType":"YulIdentifier","src":"6633:3:30"},"nativeSrc":"6633:19:30","nodeType":"YulFunctionCall","src":"6633:19:30"},"variableNames":[{"name":"tail","nativeSrc":"6625:4:30","nodeType":"YulIdentifier","src":"6625:4:30"}]},{"expression":{"arguments":[{"name":"value0","nativeSrc":"6703:6:30","nodeType":"YulIdentifier","src":"6703:6:30"},{"name":"headStart","nativeSrc":"6711:9:30","nodeType":"YulIdentifier","src":"6711:9:30"}],"functionName":{"name":"abi_encode_struct_ExactOutputSingleParams","nativeSrc":"6661:41:30","nodeType":"YulIdentifier","src":"6661:41:30"},"nativeSrc":"6661:60:30","nodeType":"YulFunctionCall","src":"6661:60:30"},"nativeSrc":"6661:60:30","nodeType":"YulExpressionStatement","src":"6661:60:30"}]},"name":"abi_encode_tuple_t_struct$_ExactInputSingleParams_$5443_memory_ptr__to_t_struct$_ExactInputSingleParams_$5443_memory_ptr__fromStack_reversed","nativeSrc":"6434:293:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"6584:9:30","nodeType":"YulTypedName","src":"6584:9:30","type":""},{"name":"value0","nativeSrc":"6595:6:30","nodeType":"YulTypedName","src":"6595:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"6606:4:30","nodeType":"YulTypedName","src":"6606:4:30","type":""}],"src":"6434:293:30"},{"body":{"nativeSrc":"6861:171:30","nodeType":"YulBlock","src":"6861:171:30","statements":[{"nativeSrc":"6871:26:30","nodeType":"YulAssignment","src":"6871:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"6883:9:30","nodeType":"YulIdentifier","src":"6883:9:30"},{"kind":"number","nativeSrc":"6894:2:30","nodeType":"YulLiteral","src":"6894:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"6879:3:30","nodeType":"YulIdentifier","src":"6879:3:30"},"nativeSrc":"6879:18:30","nodeType":"YulFunctionCall","src":"6879:18:30"},"variableNames":[{"name":"tail","nativeSrc":"6871:4:30","nodeType":"YulIdentifier","src":"6871:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"6913:9:30","nodeType":"YulIdentifier","src":"6913:9:30"},{"arguments":[{"name":"value0","nativeSrc":"6928:6:30","nodeType":"YulIdentifier","src":"6928:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"6944:3:30","nodeType":"YulLiteral","src":"6944:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"6949:1:30","nodeType":"YulLiteral","src":"6949:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"6940:3:30","nodeType":"YulIdentifier","src":"6940:3:30"},"nativeSrc":"6940:11:30","nodeType":"YulFunctionCall","src":"6940:11:30"},{"kind":"number","nativeSrc":"6953:1:30","nodeType":"YulLiteral","src":"6953:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"6936:3:30","nodeType":"YulIdentifier","src":"6936:3:30"},"nativeSrc":"6936:19:30","nodeType":"YulFunctionCall","src":"6936:19:30"}],"functionName":{"name":"and","nativeSrc":"6924:3:30","nodeType":"YulIdentifier","src":"6924:3:30"},"nativeSrc":"6924:32:30","nodeType":"YulFunctionCall","src":"6924:32:30"}],"functionName":{"name":"mstore","nativeSrc":"6906:6:30","nodeType":"YulIdentifier","src":"6906:6:30"},"nativeSrc":"6906:51:30","nodeType":"YulFunctionCall","src":"6906:51:30"},"nativeSrc":"6906:51:30","nodeType":"YulExpressionStatement","src":"6906:51:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"6977:9:30","nodeType":"YulIdentifier","src":"6977:9:30"},{"kind":"number","nativeSrc":"6988:2:30","nodeType":"YulLiteral","src":"6988:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"6973:3:30","nodeType":"YulIdentifier","src":"6973:3:30"},"nativeSrc":"6973:18:30","nodeType":"YulFunctionCall","src":"6973:18:30"},{"arguments":[{"name":"value1","nativeSrc":"6997:6:30","nodeType":"YulIdentifier","src":"6997:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"7013:3:30","nodeType":"YulLiteral","src":"7013:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"7018:1:30","nodeType":"YulLiteral","src":"7018:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"7009:3:30","nodeType":"YulIdentifier","src":"7009:3:30"},"nativeSrc":"7009:11:30","nodeType":"YulFunctionCall","src":"7009:11:30"},{"kind":"number","nativeSrc":"7022:1:30","nodeType":"YulLiteral","src":"7022:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"7005:3:30","nodeType":"YulIdentifier","src":"7005:3:30"},"nativeSrc":"7005:19:30","nodeType":"YulFunctionCall","src":"7005:19:30"}],"functionName":{"name":"and","nativeSrc":"6993:3:30","nodeType":"YulIdentifier","src":"6993:3:30"},"nativeSrc":"6993:32:30","nodeType":"YulFunctionCall","src":"6993:32:30"}],"functionName":{"name":"mstore","nativeSrc":"6966:6:30","nodeType":"YulIdentifier","src":"6966:6:30"},"nativeSrc":"6966:60:30","nodeType":"YulFunctionCall","src":"6966:60:30"},"nativeSrc":"6966:60:30","nodeType":"YulExpressionStatement","src":"6966:60:30"}]},"name":"abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed","nativeSrc":"6732:300:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"6822:9:30","nodeType":"YulTypedName","src":"6822:9:30","type":""},{"name":"value1","nativeSrc":"6833:6:30","nodeType":"YulTypedName","src":"6833:6:30","type":""},{"name":"value0","nativeSrc":"6841:6:30","nodeType":"YulTypedName","src":"6841:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"6852:4:30","nodeType":"YulTypedName","src":"6852:4:30","type":""}],"src":"6732:300:30"},{"body":{"nativeSrc":"7087:279:30","nodeType":"YulBlock","src":"7087:279:30","statements":[{"nativeSrc":"7097:10:30","nodeType":"YulAssignment","src":"7097:10:30","value":{"name":"pos","nativeSrc":"7104:3:30","nodeType":"YulIdentifier","src":"7104:3:30"},"variableNames":[{"name":"pos","nativeSrc":"7097:3:30","nodeType":"YulIdentifier","src":"7097:3:30"}]},{"nativeSrc":"7116:19:30","nodeType":"YulVariableDeclaration","src":"7116:19:30","value":{"name":"value","nativeSrc":"7130:5:30","nodeType":"YulIdentifier","src":"7130:5:30"},"variables":[{"name":"srcPtr","nativeSrc":"7120:6:30","nodeType":"YulTypedName","src":"7120:6:30","type":""}]},{"nativeSrc":"7144:10:30","nodeType":"YulVariableDeclaration","src":"7144:10:30","value":{"kind":"number","nativeSrc":"7153:1:30","nodeType":"YulLiteral","src":"7153:1:30","type":"","value":"0"},"variables":[{"name":"i","nativeSrc":"7148:1:30","nodeType":"YulTypedName","src":"7148:1:30","type":""}]},{"body":{"nativeSrc":"7210:150:30","nodeType":"YulBlock","src":"7210:150:30","statements":[{"expression":{"arguments":[{"name":"pos","nativeSrc":"7231:3:30","nodeType":"YulIdentifier","src":"7231:3:30"},{"arguments":[{"arguments":[{"name":"srcPtr","nativeSrc":"7246:6:30","nodeType":"YulIdentifier","src":"7246:6:30"}],"functionName":{"name":"mload","nativeSrc":"7240:5:30","nodeType":"YulIdentifier","src":"7240:5:30"},"nativeSrc":"7240:13:30","nodeType":"YulFunctionCall","src":"7240:13:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"7263:3:30","nodeType":"YulLiteral","src":"7263:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"7268:1:30","nodeType":"YulLiteral","src":"7268:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"7259:3:30","nodeType":"YulIdentifier","src":"7259:3:30"},"nativeSrc":"7259:11:30","nodeType":"YulFunctionCall","src":"7259:11:30"},{"kind":"number","nativeSrc":"7272:1:30","nodeType":"YulLiteral","src":"7272:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"7255:3:30","nodeType":"YulIdentifier","src":"7255:3:30"},"nativeSrc":"7255:19:30","nodeType":"YulFunctionCall","src":"7255:19:30"}],"functionName":{"name":"and","nativeSrc":"7236:3:30","nodeType":"YulIdentifier","src":"7236:3:30"},"nativeSrc":"7236:39:30","nodeType":"YulFunctionCall","src":"7236:39:30"}],"functionName":{"name":"mstore","nativeSrc":"7224:6:30","nodeType":"YulIdentifier","src":"7224:6:30"},"nativeSrc":"7224:52:30","nodeType":"YulFunctionCall","src":"7224:52:30"},"nativeSrc":"7224:52:30","nodeType":"YulExpressionStatement","src":"7224:52:30"},{"nativeSrc":"7289:21:30","nodeType":"YulAssignment","src":"7289:21:30","value":{"arguments":[{"name":"pos","nativeSrc":"7300:3:30","nodeType":"YulIdentifier","src":"7300:3:30"},{"kind":"number","nativeSrc":"7305:4:30","nodeType":"YulLiteral","src":"7305:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"7296:3:30","nodeType":"YulIdentifier","src":"7296:3:30"},"nativeSrc":"7296:14:30","nodeType":"YulFunctionCall","src":"7296:14:30"},"variableNames":[{"name":"pos","nativeSrc":"7289:3:30","nodeType":"YulIdentifier","src":"7289:3:30"}]},{"nativeSrc":"7323:27:30","nodeType":"YulAssignment","src":"7323:27:30","value":{"arguments":[{"name":"srcPtr","nativeSrc":"7337:6:30","nodeType":"YulIdentifier","src":"7337:6:30"},{"kind":"number","nativeSrc":"7345:4:30","nodeType":"YulLiteral","src":"7345:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"7333:3:30","nodeType":"YulIdentifier","src":"7333:3:30"},"nativeSrc":"7333:17:30","nodeType":"YulFunctionCall","src":"7333:17:30"},"variableNames":[{"name":"srcPtr","nativeSrc":"7323:6:30","nodeType":"YulIdentifier","src":"7323:6:30"}]}]},"condition":{"arguments":[{"name":"i","nativeSrc":"7174:1:30","nodeType":"YulIdentifier","src":"7174:1:30"},{"kind":"number","nativeSrc":"7177:4:30","nodeType":"YulLiteral","src":"7177:4:30","type":"","value":"0x0b"}],"functionName":{"name":"lt","nativeSrc":"7171:2:30","nodeType":"YulIdentifier","src":"7171:2:30"},"nativeSrc":"7171:11:30","nodeType":"YulFunctionCall","src":"7171:11:30"},"nativeSrc":"7163:197:30","nodeType":"YulForLoop","post":{"nativeSrc":"7183:18:30","nodeType":"YulBlock","src":"7183:18:30","statements":[{"nativeSrc":"7185:14:30","nodeType":"YulAssignment","src":"7185:14:30","value":{"arguments":[{"name":"i","nativeSrc":"7194:1:30","nodeType":"YulIdentifier","src":"7194:1:30"},{"kind":"number","nativeSrc":"7197:1:30","nodeType":"YulLiteral","src":"7197:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"7190:3:30","nodeType":"YulIdentifier","src":"7190:3:30"},"nativeSrc":"7190:9:30","nodeType":"YulFunctionCall","src":"7190:9:30"},"variableNames":[{"name":"i","nativeSrc":"7185:1:30","nodeType":"YulIdentifier","src":"7185:1:30"}]}]},"pre":{"nativeSrc":"7167:3:30","nodeType":"YulBlock","src":"7167:3:30","statements":[]},"src":"7163:197:30"}]},"name":"abi_encode_array_address","nativeSrc":"7037:329:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nativeSrc":"7071:5:30","nodeType":"YulTypedName","src":"7071:5:30","type":""},{"name":"pos","nativeSrc":"7078:3:30","nodeType":"YulTypedName","src":"7078:3:30","type":""}],"src":"7037:329:30"},{"body":{"nativeSrc":"7427:660:30","nodeType":"YulBlock","src":"7427:660:30","statements":[{"nativeSrc":"7437:10:30","nodeType":"YulAssignment","src":"7437:10:30","value":{"name":"pos","nativeSrc":"7444:3:30","nodeType":"YulIdentifier","src":"7444:3:30"},"variableNames":[{"name":"pos","nativeSrc":"7437:3:30","nodeType":"YulIdentifier","src":"7437:3:30"}]},{"nativeSrc":"7456:19:30","nodeType":"YulVariableDeclaration","src":"7456:19:30","value":{"name":"value","nativeSrc":"7470:5:30","nodeType":"YulIdentifier","src":"7470:5:30"},"variables":[{"name":"srcPtr","nativeSrc":"7460:6:30","nodeType":"YulTypedName","src":"7460:6:30","type":""}]},{"nativeSrc":"7484:10:30","nodeType":"YulVariableDeclaration","src":"7484:10:30","value":{"kind":"number","nativeSrc":"7493:1:30","nodeType":"YulLiteral","src":"7493:1:30","type":"","value":"0"},"variables":[{"name":"i","nativeSrc":"7488:1:30","nodeType":"YulTypedName","src":"7488:1:30","type":""}]},{"body":{"nativeSrc":"7550:531:30","nodeType":"YulBlock","src":"7550:531:30","statements":[{"nativeSrc":"7564:23:30","nodeType":"YulVariableDeclaration","src":"7564:23:30","value":{"arguments":[{"name":"srcPtr","nativeSrc":"7580:6:30","nodeType":"YulIdentifier","src":"7580:6:30"}],"functionName":{"name":"mload","nativeSrc":"7574:5:30","nodeType":"YulIdentifier","src":"7574:5:30"},"nativeSrc":"7574:13:30","nodeType":"YulFunctionCall","src":"7574:13:30"},"variables":[{"name":"_1","nativeSrc":"7568:2:30","nodeType":"YulTypedName","src":"7568:2:30","type":""}]},{"nativeSrc":"7600:19:30","nodeType":"YulVariableDeclaration","src":"7600:19:30","value":{"kind":"number","nativeSrc":"7618:1:30","nodeType":"YulLiteral","src":"7618:1:30","type":"","value":"0"},"variables":[{"name":"updatedPos","nativeSrc":"7604:10:30","nodeType":"YulTypedName","src":"7604:10:30","type":""}]},{"nativeSrc":"7632:16:30","nodeType":"YulVariableDeclaration","src":"7632:16:30","value":{"name":"pos","nativeSrc":"7645:3:30","nodeType":"YulIdentifier","src":"7645:3:30"},"variables":[{"name":"pos_1","nativeSrc":"7636:5:30","nodeType":"YulTypedName","src":"7636:5:30","type":""}]},{"nativeSrc":"7661:12:30","nodeType":"YulAssignment","src":"7661:12:30","value":{"name":"pos","nativeSrc":"7670:3:30","nodeType":"YulIdentifier","src":"7670:3:30"},"variableNames":[{"name":"pos_1","nativeSrc":"7661:5:30","nodeType":"YulIdentifier","src":"7661:5:30"}]},{"nativeSrc":"7686:18:30","nodeType":"YulVariableDeclaration","src":"7686:18:30","value":{"name":"_1","nativeSrc":"7702:2:30","nodeType":"YulIdentifier","src":"7702:2:30"},"variables":[{"name":"srcPtr_1","nativeSrc":"7690:8:30","nodeType":"YulTypedName","src":"7690:8:30","type":""}]},{"nativeSrc":"7717:21:30","nodeType":"YulVariableDeclaration","src":"7717:21:30","value":{"name":"updatedPos","nativeSrc":"7728:10:30","nodeType":"YulIdentifier","src":"7728:10:30"},"variables":[{"name":"i_1","nativeSrc":"7721:3:30","nodeType":"YulTypedName","src":"7721:3:30","type":""}]},{"body":{"nativeSrc":"7808:152:30","nodeType":"YulBlock","src":"7808:152:30","statements":[{"expression":{"arguments":[{"name":"pos_1","nativeSrc":"7833:5:30","nodeType":"YulIdentifier","src":"7833:5:30"},{"arguments":[{"name":"srcPtr_1","nativeSrc":"7846:8:30","nodeType":"YulIdentifier","src":"7846:8:30"}],"functionName":{"name":"mload","nativeSrc":"7840:5:30","nodeType":"YulIdentifier","src":"7840:5:30"},"nativeSrc":"7840:15:30","nodeType":"YulFunctionCall","src":"7840:15:30"}],"functionName":{"name":"mstore","nativeSrc":"7826:6:30","nodeType":"YulIdentifier","src":"7826:6:30"},"nativeSrc":"7826:30:30","nodeType":"YulFunctionCall","src":"7826:30:30"},"nativeSrc":"7826:30:30","nodeType":"YulExpressionStatement","src":"7826:30:30"},{"nativeSrc":"7873:25:30","nodeType":"YulAssignment","src":"7873:25:30","value":{"arguments":[{"name":"pos_1","nativeSrc":"7886:5:30","nodeType":"YulIdentifier","src":"7886:5:30"},{"kind":"number","nativeSrc":"7893:4:30","nodeType":"YulLiteral","src":"7893:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"7882:3:30","nodeType":"YulIdentifier","src":"7882:3:30"},"nativeSrc":"7882:16:30","nodeType":"YulFunctionCall","src":"7882:16:30"},"variableNames":[{"name":"pos_1","nativeSrc":"7873:5:30","nodeType":"YulIdentifier","src":"7873:5:30"}]},{"nativeSrc":"7915:31:30","nodeType":"YulAssignment","src":"7915:31:30","value":{"arguments":[{"name":"srcPtr_1","nativeSrc":"7931:8:30","nodeType":"YulIdentifier","src":"7931:8:30"},{"kind":"number","nativeSrc":"7941:4:30","nodeType":"YulLiteral","src":"7941:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"7927:3:30","nodeType":"YulIdentifier","src":"7927:3:30"},"nativeSrc":"7927:19:30","nodeType":"YulFunctionCall","src":"7927:19:30"},"variableNames":[{"name":"srcPtr_1","nativeSrc":"7915:8:30","nodeType":"YulIdentifier","src":"7915:8:30"}]}]},"condition":{"arguments":[{"name":"i_1","nativeSrc":"7762:3:30","nodeType":"YulIdentifier","src":"7762:3:30"},{"kind":"number","nativeSrc":"7767:4:30","nodeType":"YulLiteral","src":"7767:4:30","type":"","value":"0x05"}],"functionName":{"name":"lt","nativeSrc":"7759:2:30","nodeType":"YulIdentifier","src":"7759:2:30"},"nativeSrc":"7759:13:30","nodeType":"YulFunctionCall","src":"7759:13:30"},"nativeSrc":"7751:209:30","nodeType":"YulForLoop","post":{"nativeSrc":"7773:22:30","nodeType":"YulBlock","src":"7773:22:30","statements":[{"nativeSrc":"7775:18:30","nodeType":"YulAssignment","src":"7775:18:30","value":{"arguments":[{"name":"i_1","nativeSrc":"7786:3:30","nodeType":"YulIdentifier","src":"7786:3:30"},{"kind":"number","nativeSrc":"7791:1:30","nodeType":"YulLiteral","src":"7791:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"7782:3:30","nodeType":"YulIdentifier","src":"7782:3:30"},"nativeSrc":"7782:11:30","nodeType":"YulFunctionCall","src":"7782:11:30"},"variableNames":[{"name":"i_1","nativeSrc":"7775:3:30","nodeType":"YulIdentifier","src":"7775:3:30"}]}]},"pre":{"nativeSrc":"7755:3:30","nodeType":"YulBlock","src":"7755:3:30","statements":[]},"src":"7751:209:30"},{"nativeSrc":"7973:28:30","nodeType":"YulAssignment","src":"7973:28:30","value":{"arguments":[{"name":"pos","nativeSrc":"7991:3:30","nodeType":"YulIdentifier","src":"7991:3:30"},{"kind":"number","nativeSrc":"7996:4:30","nodeType":"YulLiteral","src":"7996:4:30","type":"","value":"0xa0"}],"functionName":{"name":"add","nativeSrc":"7987:3:30","nodeType":"YulIdentifier","src":"7987:3:30"},"nativeSrc":"7987:14:30","nodeType":"YulFunctionCall","src":"7987:14:30"},"variableNames":[{"name":"updatedPos","nativeSrc":"7973:10:30","nodeType":"YulIdentifier","src":"7973:10:30"}]},{"nativeSrc":"8014:17:30","nodeType":"YulAssignment","src":"8014:17:30","value":{"name":"updatedPos","nativeSrc":"8021:10:30","nodeType":"YulIdentifier","src":"8021:10:30"},"variableNames":[{"name":"pos","nativeSrc":"8014:3:30","nodeType":"YulIdentifier","src":"8014:3:30"}]},{"nativeSrc":"8044:27:30","nodeType":"YulAssignment","src":"8044:27:30","value":{"arguments":[{"name":"srcPtr","nativeSrc":"8058:6:30","nodeType":"YulIdentifier","src":"8058:6:30"},{"kind":"number","nativeSrc":"8066:4:30","nodeType":"YulLiteral","src":"8066:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"8054:3:30","nodeType":"YulIdentifier","src":"8054:3:30"},"nativeSrc":"8054:17:30","nodeType":"YulFunctionCall","src":"8054:17:30"},"variableNames":[{"name":"srcPtr","nativeSrc":"8044:6:30","nodeType":"YulIdentifier","src":"8044:6:30"}]}]},"condition":{"arguments":[{"name":"i","nativeSrc":"7514:1:30","nodeType":"YulIdentifier","src":"7514:1:30"},{"kind":"number","nativeSrc":"7517:4:30","nodeType":"YulLiteral","src":"7517:4:30","type":"","value":"0x05"}],"functionName":{"name":"lt","nativeSrc":"7511:2:30","nodeType":"YulIdentifier","src":"7511:2:30"},"nativeSrc":"7511:11:30","nodeType":"YulFunctionCall","src":"7511:11:30"},"nativeSrc":"7503:578:30","nodeType":"YulForLoop","post":{"nativeSrc":"7523:18:30","nodeType":"YulBlock","src":"7523:18:30","statements":[{"nativeSrc":"7525:14:30","nodeType":"YulAssignment","src":"7525:14:30","value":{"arguments":[{"name":"i","nativeSrc":"7534:1:30","nodeType":"YulIdentifier","src":"7534:1:30"},{"kind":"number","nativeSrc":"7537:1:30","nodeType":"YulLiteral","src":"7537:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"7530:3:30","nodeType":"YulIdentifier","src":"7530:3:30"},"nativeSrc":"7530:9:30","nodeType":"YulFunctionCall","src":"7530:9:30"},"variableNames":[{"name":"i","nativeSrc":"7525:1:30","nodeType":"YulIdentifier","src":"7525:1:30"}]}]},"pre":{"nativeSrc":"7507:3:30","nodeType":"YulBlock","src":"7507:3:30","statements":[]},"src":"7503:578:30"}]},"name":"abi_encode_array_array_uint256","nativeSrc":"7371:716:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nativeSrc":"7411:5:30","nodeType":"YulTypedName","src":"7411:5:30","type":""},{"name":"pos","nativeSrc":"7418:3:30","nodeType":"YulTypedName","src":"7418:3:30","type":""}],"src":"7371:716:30"},{"body":{"nativeSrc":"8169:279:30","nodeType":"YulBlock","src":"8169:279:30","statements":[{"nativeSrc":"8179:10:30","nodeType":"YulAssignment","src":"8179:10:30","value":{"name":"pos","nativeSrc":"8186:3:30","nodeType":"YulIdentifier","src":"8186:3:30"},"variableNames":[{"name":"pos","nativeSrc":"8179:3:30","nodeType":"YulIdentifier","src":"8179:3:30"}]},{"nativeSrc":"8198:19:30","nodeType":"YulVariableDeclaration","src":"8198:19:30","value":{"name":"value","nativeSrc":"8212:5:30","nodeType":"YulIdentifier","src":"8212:5:30"},"variables":[{"name":"srcPtr","nativeSrc":"8202:6:30","nodeType":"YulTypedName","src":"8202:6:30","type":""}]},{"nativeSrc":"8226:10:30","nodeType":"YulVariableDeclaration","src":"8226:10:30","value":{"kind":"number","nativeSrc":"8235:1:30","nodeType":"YulLiteral","src":"8235:1:30","type":"","value":"0"},"variables":[{"name":"i","nativeSrc":"8230:1:30","nodeType":"YulTypedName","src":"8230:1:30","type":""}]},{"body":{"nativeSrc":"8292:150:30","nodeType":"YulBlock","src":"8292:150:30","statements":[{"expression":{"arguments":[{"name":"pos","nativeSrc":"8313:3:30","nodeType":"YulIdentifier","src":"8313:3:30"},{"arguments":[{"arguments":[{"name":"srcPtr","nativeSrc":"8328:6:30","nodeType":"YulIdentifier","src":"8328:6:30"}],"functionName":{"name":"mload","nativeSrc":"8322:5:30","nodeType":"YulIdentifier","src":"8322:5:30"},"nativeSrc":"8322:13:30","nodeType":"YulFunctionCall","src":"8322:13:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"8345:3:30","nodeType":"YulLiteral","src":"8345:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"8350:1:30","nodeType":"YulLiteral","src":"8350:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"8341:3:30","nodeType":"YulIdentifier","src":"8341:3:30"},"nativeSrc":"8341:11:30","nodeType":"YulFunctionCall","src":"8341:11:30"},{"kind":"number","nativeSrc":"8354:1:30","nodeType":"YulLiteral","src":"8354:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"8337:3:30","nodeType":"YulIdentifier","src":"8337:3:30"},"nativeSrc":"8337:19:30","nodeType":"YulFunctionCall","src":"8337:19:30"}],"functionName":{"name":"and","nativeSrc":"8318:3:30","nodeType":"YulIdentifier","src":"8318:3:30"},"nativeSrc":"8318:39:30","nodeType":"YulFunctionCall","src":"8318:39:30"}],"functionName":{"name":"mstore","nativeSrc":"8306:6:30","nodeType":"YulIdentifier","src":"8306:6:30"},"nativeSrc":"8306:52:30","nodeType":"YulFunctionCall","src":"8306:52:30"},"nativeSrc":"8306:52:30","nodeType":"YulExpressionStatement","src":"8306:52:30"},{"nativeSrc":"8371:21:30","nodeType":"YulAssignment","src":"8371:21:30","value":{"arguments":[{"name":"pos","nativeSrc":"8382:3:30","nodeType":"YulIdentifier","src":"8382:3:30"},{"kind":"number","nativeSrc":"8387:4:30","nodeType":"YulLiteral","src":"8387:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"8378:3:30","nodeType":"YulIdentifier","src":"8378:3:30"},"nativeSrc":"8378:14:30","nodeType":"YulFunctionCall","src":"8378:14:30"},"variableNames":[{"name":"pos","nativeSrc":"8371:3:30","nodeType":"YulIdentifier","src":"8371:3:30"}]},{"nativeSrc":"8405:27:30","nodeType":"YulAssignment","src":"8405:27:30","value":{"arguments":[{"name":"srcPtr","nativeSrc":"8419:6:30","nodeType":"YulIdentifier","src":"8419:6:30"},{"kind":"number","nativeSrc":"8427:4:30","nodeType":"YulLiteral","src":"8427:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"8415:3:30","nodeType":"YulIdentifier","src":"8415:3:30"},"nativeSrc":"8415:17:30","nodeType":"YulFunctionCall","src":"8415:17:30"},"variableNames":[{"name":"srcPtr","nativeSrc":"8405:6:30","nodeType":"YulIdentifier","src":"8405:6:30"}]}]},"condition":{"arguments":[{"name":"i","nativeSrc":"8256:1:30","nodeType":"YulIdentifier","src":"8256:1:30"},{"kind":"number","nativeSrc":"8259:4:30","nodeType":"YulLiteral","src":"8259:4:30","type":"","value":"0x05"}],"functionName":{"name":"lt","nativeSrc":"8253:2:30","nodeType":"YulIdentifier","src":"8253:2:30"},"nativeSrc":"8253:11:30","nodeType":"YulFunctionCall","src":"8253:11:30"},"nativeSrc":"8245:197:30","nodeType":"YulForLoop","post":{"nativeSrc":"8265:18:30","nodeType":"YulBlock","src":"8265:18:30","statements":[{"nativeSrc":"8267:14:30","nodeType":"YulAssignment","src":"8267:14:30","value":{"arguments":[{"name":"i","nativeSrc":"8276:1:30","nodeType":"YulIdentifier","src":"8276:1:30"},{"kind":"number","nativeSrc":"8279:1:30","nodeType":"YulLiteral","src":"8279:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"8272:3:30","nodeType":"YulIdentifier","src":"8272:3:30"},"nativeSrc":"8272:9:30","nodeType":"YulFunctionCall","src":"8272:9:30"},"variableNames":[{"name":"i","nativeSrc":"8267:1:30","nodeType":"YulIdentifier","src":"8267:1:30"}]}]},"pre":{"nativeSrc":"8249:3:30","nodeType":"YulBlock","src":"8249:3:30","statements":[]},"src":"8245:197:30"}]},"name":"abi_encode_array_address_to_array_address_fromStack","nativeSrc":"8092:356:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nativeSrc":"8153:5:30","nodeType":"YulTypedName","src":"8153:5:30","type":""},{"name":"pos","nativeSrc":"8160:3:30","nodeType":"YulTypedName","src":"8160:3:30","type":""}],"src":"8092:356:30"},{"body":{"nativeSrc":"8880:415:30","nodeType":"YulBlock","src":"8880:415:30","statements":[{"nativeSrc":"8890:28:30","nodeType":"YulAssignment","src":"8890:28:30","value":{"arguments":[{"name":"headStart","nativeSrc":"8902:9:30","nodeType":"YulIdentifier","src":"8902:9:30"},{"kind":"number","nativeSrc":"8913:4:30","nodeType":"YulLiteral","src":"8913:4:30","type":"","value":"1408"}],"functionName":{"name":"add","nativeSrc":"8898:3:30","nodeType":"YulIdentifier","src":"8898:3:30"},"nativeSrc":"8898:20:30","nodeType":"YulFunctionCall","src":"8898:20:30"},"variableNames":[{"name":"tail","nativeSrc":"8890:4:30","nodeType":"YulIdentifier","src":"8890:4:30"}]},{"expression":{"arguments":[{"name":"value0","nativeSrc":"8952:6:30","nodeType":"YulIdentifier","src":"8952:6:30"},{"name":"headStart","nativeSrc":"8960:9:30","nodeType":"YulIdentifier","src":"8960:9:30"}],"functionName":{"name":"abi_encode_array_address","nativeSrc":"8927:24:30","nodeType":"YulIdentifier","src":"8927:24:30"},"nativeSrc":"8927:43:30","nodeType":"YulFunctionCall","src":"8927:43:30"},"nativeSrc":"8927:43:30","nodeType":"YulExpressionStatement","src":"8927:43:30"},{"expression":{"arguments":[{"name":"value1","nativeSrc":"9010:6:30","nodeType":"YulIdentifier","src":"9010:6:30"},{"arguments":[{"name":"headStart","nativeSrc":"9022:9:30","nodeType":"YulIdentifier","src":"9022:9:30"},{"kind":"number","nativeSrc":"9033:3:30","nodeType":"YulLiteral","src":"9033:3:30","type":"","value":"352"}],"functionName":{"name":"add","nativeSrc":"9018:3:30","nodeType":"YulIdentifier","src":"9018:3:30"},"nativeSrc":"9018:19:30","nodeType":"YulFunctionCall","src":"9018:19:30"}],"functionName":{"name":"abi_encode_array_array_uint256","nativeSrc":"8979:30:30","nodeType":"YulIdentifier","src":"8979:30:30"},"nativeSrc":"8979:59:30","nodeType":"YulFunctionCall","src":"8979:59:30"},"nativeSrc":"8979:59:30","nodeType":"YulExpressionStatement","src":"8979:59:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"9058:9:30","nodeType":"YulIdentifier","src":"9058:9:30"},{"kind":"number","nativeSrc":"9069:4:30","nodeType":"YulLiteral","src":"9069:4:30","type":"","value":"1152"}],"functionName":{"name":"add","nativeSrc":"9054:3:30","nodeType":"YulIdentifier","src":"9054:3:30"},"nativeSrc":"9054:20:30","nodeType":"YulFunctionCall","src":"9054:20:30"},{"name":"value2","nativeSrc":"9076:6:30","nodeType":"YulIdentifier","src":"9076:6:30"}],"functionName":{"name":"mstore","nativeSrc":"9047:6:30","nodeType":"YulIdentifier","src":"9047:6:30"},"nativeSrc":"9047:36:30","nodeType":"YulFunctionCall","src":"9047:36:30"},"nativeSrc":"9047:36:30","nodeType":"YulExpressionStatement","src":"9047:36:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"9103:9:30","nodeType":"YulIdentifier","src":"9103:9:30"},{"kind":"number","nativeSrc":"9114:4:30","nodeType":"YulLiteral","src":"9114:4:30","type":"","value":"1184"}],"functionName":{"name":"add","nativeSrc":"9099:3:30","nodeType":"YulIdentifier","src":"9099:3:30"},"nativeSrc":"9099:20:30","nodeType":"YulFunctionCall","src":"9099:20:30"},{"name":"value3","nativeSrc":"9121:6:30","nodeType":"YulIdentifier","src":"9121:6:30"}],"functionName":{"name":"mstore","nativeSrc":"9092:6:30","nodeType":"YulIdentifier","src":"9092:6:30"},"nativeSrc":"9092:36:30","nodeType":"YulFunctionCall","src":"9092:36:30"},"nativeSrc":"9092:36:30","nodeType":"YulExpressionStatement","src":"9092:36:30"},{"expression":{"arguments":[{"name":"value4","nativeSrc":"9189:6:30","nodeType":"YulIdentifier","src":"9189:6:30"},{"arguments":[{"name":"headStart","nativeSrc":"9201:9:30","nodeType":"YulIdentifier","src":"9201:9:30"},{"kind":"number","nativeSrc":"9212:4:30","nodeType":"YulLiteral","src":"9212:4:30","type":"","value":"1216"}],"functionName":{"name":"add","nativeSrc":"9197:3:30","nodeType":"YulIdentifier","src":"9197:3:30"},"nativeSrc":"9197:20:30","nodeType":"YulFunctionCall","src":"9197:20:30"}],"functionName":{"name":"abi_encode_array_address_to_array_address_fromStack","nativeSrc":"9137:51:30","nodeType":"YulIdentifier","src":"9137:51:30"},"nativeSrc":"9137:81:30","nodeType":"YulFunctionCall","src":"9137:81:30"},"nativeSrc":"9137:81:30","nodeType":"YulExpressionStatement","src":"9137:81:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"9238:9:30","nodeType":"YulIdentifier","src":"9238:9:30"},{"kind":"number","nativeSrc":"9249:4:30","nodeType":"YulLiteral","src":"9249:4:30","type":"","value":"1376"}],"functionName":{"name":"add","nativeSrc":"9234:3:30","nodeType":"YulIdentifier","src":"9234:3:30"},"nativeSrc":"9234:20:30","nodeType":"YulFunctionCall","src":"9234:20:30"},{"arguments":[{"name":"value5","nativeSrc":"9260:6:30","nodeType":"YulIdentifier","src":"9260:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"9276:3:30","nodeType":"YulLiteral","src":"9276:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"9281:1:30","nodeType":"YulLiteral","src":"9281:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"9272:3:30","nodeType":"YulIdentifier","src":"9272:3:30"},"nativeSrc":"9272:11:30","nodeType":"YulFunctionCall","src":"9272:11:30"},{"kind":"number","nativeSrc":"9285:1:30","nodeType":"YulLiteral","src":"9285:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"9268:3:30","nodeType":"YulIdentifier","src":"9268:3:30"},"nativeSrc":"9268:19:30","nodeType":"YulFunctionCall","src":"9268:19:30"}],"functionName":{"name":"and","nativeSrc":"9256:3:30","nodeType":"YulIdentifier","src":"9256:3:30"},"nativeSrc":"9256:32:30","nodeType":"YulFunctionCall","src":"9256:32:30"}],"functionName":{"name":"mstore","nativeSrc":"9227:6:30","nodeType":"YulIdentifier","src":"9227:6:30"},"nativeSrc":"9227:62:30","nodeType":"YulFunctionCall","src":"9227:62:30"},"nativeSrc":"9227:62:30","nodeType":"YulExpressionStatement","src":"9227:62:30"}]},"name":"abi_encode_tuple_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_uint256_t_array$_t_address_$5_memory_ptr_t_address__to_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_uint256_t_array$_t_address_$5_memory_ptr_t_address__fromStack_reversed","nativeSrc":"8453:842:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"8809:9:30","nodeType":"YulTypedName","src":"8809:9:30","type":""},{"name":"value5","nativeSrc":"8820:6:30","nodeType":"YulTypedName","src":"8820:6:30","type":""},{"name":"value4","nativeSrc":"8828:6:30","nodeType":"YulTypedName","src":"8828:6:30","type":""},{"name":"value3","nativeSrc":"8836:6:30","nodeType":"YulTypedName","src":"8836:6:30","type":""},{"name":"value2","nativeSrc":"8844:6:30","nodeType":"YulTypedName","src":"8844:6:30","type":""},{"name":"value1","nativeSrc":"8852:6:30","nodeType":"YulTypedName","src":"8852:6:30","type":""},{"name":"value0","nativeSrc":"8860:6:30","nodeType":"YulTypedName","src":"8860:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"8871:4:30","nodeType":"YulTypedName","src":"8871:4:30","type":""}],"src":"8453:842:30"},{"body":{"nativeSrc":"9352:116:30","nodeType":"YulBlock","src":"9352:116:30","statements":[{"nativeSrc":"9362:20:30","nodeType":"YulAssignment","src":"9362:20:30","value":{"arguments":[{"name":"x","nativeSrc":"9377:1:30","nodeType":"YulIdentifier","src":"9377:1:30"},{"name":"y","nativeSrc":"9380:1:30","nodeType":"YulIdentifier","src":"9380:1:30"}],"functionName":{"name":"mul","nativeSrc":"9373:3:30","nodeType":"YulIdentifier","src":"9373:3:30"},"nativeSrc":"9373:9:30","nodeType":"YulFunctionCall","src":"9373:9:30"},"variableNames":[{"name":"product","nativeSrc":"9362:7:30","nodeType":"YulIdentifier","src":"9362:7:30"}]},{"body":{"nativeSrc":"9440:22:30","nodeType":"YulBlock","src":"9440:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"9442:16:30","nodeType":"YulIdentifier","src":"9442:16:30"},"nativeSrc":"9442:18:30","nodeType":"YulFunctionCall","src":"9442:18:30"},"nativeSrc":"9442:18:30","nodeType":"YulExpressionStatement","src":"9442:18:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"x","nativeSrc":"9411:1:30","nodeType":"YulIdentifier","src":"9411:1:30"}],"functionName":{"name":"iszero","nativeSrc":"9404:6:30","nodeType":"YulIdentifier","src":"9404:6:30"},"nativeSrc":"9404:9:30","nodeType":"YulFunctionCall","src":"9404:9:30"},{"arguments":[{"name":"y","nativeSrc":"9418:1:30","nodeType":"YulIdentifier","src":"9418:1:30"},{"arguments":[{"name":"product","nativeSrc":"9425:7:30","nodeType":"YulIdentifier","src":"9425:7:30"},{"name":"x","nativeSrc":"9434:1:30","nodeType":"YulIdentifier","src":"9434:1:30"}],"functionName":{"name":"div","nativeSrc":"9421:3:30","nodeType":"YulIdentifier","src":"9421:3:30"},"nativeSrc":"9421:15:30","nodeType":"YulFunctionCall","src":"9421:15:30"}],"functionName":{"name":"eq","nativeSrc":"9415:2:30","nodeType":"YulIdentifier","src":"9415:2:30"},"nativeSrc":"9415:22:30","nodeType":"YulFunctionCall","src":"9415:22:30"}],"functionName":{"name":"or","nativeSrc":"9401:2:30","nodeType":"YulIdentifier","src":"9401:2:30"},"nativeSrc":"9401:37:30","nodeType":"YulFunctionCall","src":"9401:37:30"}],"functionName":{"name":"iszero","nativeSrc":"9394:6:30","nodeType":"YulIdentifier","src":"9394:6:30"},"nativeSrc":"9394:45:30","nodeType":"YulFunctionCall","src":"9394:45:30"},"nativeSrc":"9391:71:30","nodeType":"YulIf","src":"9391:71:30"}]},"name":"checked_mul_t_uint256","nativeSrc":"9300:168:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"9331:1:30","nodeType":"YulTypedName","src":"9331:1:30","type":""},{"name":"y","nativeSrc":"9334:1:30","nodeType":"YulTypedName","src":"9334:1:30","type":""}],"returnVariables":[{"name":"product","nativeSrc":"9340:7:30","nodeType":"YulTypedName","src":"9340:7:30","type":""}],"src":"9300:168:30"},{"body":{"nativeSrc":"9505:95:30","nodeType":"YulBlock","src":"9505:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"9522:1:30","nodeType":"YulLiteral","src":"9522:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"9529:3:30","nodeType":"YulLiteral","src":"9529:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"9534:10:30","nodeType":"YulLiteral","src":"9534:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"9525:3:30","nodeType":"YulIdentifier","src":"9525:3:30"},"nativeSrc":"9525:20:30","nodeType":"YulFunctionCall","src":"9525:20:30"}],"functionName":{"name":"mstore","nativeSrc":"9515:6:30","nodeType":"YulIdentifier","src":"9515:6:30"},"nativeSrc":"9515:31:30","nodeType":"YulFunctionCall","src":"9515:31:30"},"nativeSrc":"9515:31:30","nodeType":"YulExpressionStatement","src":"9515:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"9562:1:30","nodeType":"YulLiteral","src":"9562:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"9565:4:30","nodeType":"YulLiteral","src":"9565:4:30","type":"","value":"0x32"}],"functionName":{"name":"mstore","nativeSrc":"9555:6:30","nodeType":"YulIdentifier","src":"9555:6:30"},"nativeSrc":"9555:15:30","nodeType":"YulFunctionCall","src":"9555:15:30"},"nativeSrc":"9555:15:30","nodeType":"YulExpressionStatement","src":"9555:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"9586:1:30","nodeType":"YulLiteral","src":"9586:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"9589:4:30","nodeType":"YulLiteral","src":"9589:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"9579:6:30","nodeType":"YulIdentifier","src":"9579:6:30"},"nativeSrc":"9579:15:30","nodeType":"YulFunctionCall","src":"9579:15:30"},"nativeSrc":"9579:15:30","nodeType":"YulExpressionStatement","src":"9579:15:30"}]},"name":"panic_error_0x32","nativeSrc":"9473:127:30","nodeType":"YulFunctionDefinition","src":"9473:127:30"},{"body":{"nativeSrc":"9762:665:30","nodeType":"YulBlock","src":"9762:665:30","statements":[{"nativeSrc":"9772:28:30","nodeType":"YulAssignment","src":"9772:28:30","value":{"arguments":[{"name":"headStart","nativeSrc":"9784:9:30","nodeType":"YulIdentifier","src":"9784:9:30"},{"kind":"number","nativeSrc":"9795:4:30","nodeType":"YulLiteral","src":"9795:4:30","type":"","value":"1312"}],"functionName":{"name":"add","nativeSrc":"9780:3:30","nodeType":"YulIdentifier","src":"9780:3:30"},"nativeSrc":"9780:20:30","nodeType":"YulFunctionCall","src":"9780:20:30"},"variableNames":[{"name":"tail","nativeSrc":"9772:4:30","nodeType":"YulIdentifier","src":"9772:4:30"}]},{"nativeSrc":"9809:23:30","nodeType":"YulVariableDeclaration","src":"9809:23:30","value":{"arguments":[{"name":"value0","nativeSrc":"9825:6:30","nodeType":"YulIdentifier","src":"9825:6:30"}],"functionName":{"name":"mload","nativeSrc":"9819:5:30","nodeType":"YulIdentifier","src":"9819:5:30"},"nativeSrc":"9819:13:30","nodeType":"YulFunctionCall","src":"9819:13:30"},"variables":[{"name":"_1","nativeSrc":"9813:2:30","nodeType":"YulTypedName","src":"9813:2:30","type":""}]},{"nativeSrc":"9841:20:30","nodeType":"YulVariableDeclaration","src":"9841:20:30","value":{"name":"headStart","nativeSrc":"9852:9:30","nodeType":"YulIdentifier","src":"9852:9:30"},"variables":[{"name":"pos","nativeSrc":"9845:3:30","nodeType":"YulTypedName","src":"9845:3:30","type":""}]},{"nativeSrc":"9870:16:30","nodeType":"YulAssignment","src":"9870:16:30","value":{"name":"headStart","nativeSrc":"9877:9:30","nodeType":"YulIdentifier","src":"9877:9:30"},"variableNames":[{"name":"pos","nativeSrc":"9870:3:30","nodeType":"YulIdentifier","src":"9870:3:30"}]},{"nativeSrc":"9895:16:30","nodeType":"YulVariableDeclaration","src":"9895:16:30","value":{"name":"_1","nativeSrc":"9909:2:30","nodeType":"YulIdentifier","src":"9909:2:30"},"variables":[{"name":"srcPtr","nativeSrc":"9899:6:30","nodeType":"YulTypedName","src":"9899:6:30","type":""}]},{"nativeSrc":"9920:10:30","nodeType":"YulVariableDeclaration","src":"9920:10:30","value":{"kind":"number","nativeSrc":"9929:1:30","nodeType":"YulLiteral","src":"9929:1:30","type":"","value":"0"},"variables":[{"name":"i","nativeSrc":"9924:1:30","nodeType":"YulTypedName","src":"9924:1:30","type":""}]},{"body":{"nativeSrc":"9986:150:30","nodeType":"YulBlock","src":"9986:150:30","statements":[{"expression":{"arguments":[{"name":"pos","nativeSrc":"10007:3:30","nodeType":"YulIdentifier","src":"10007:3:30"},{"arguments":[{"arguments":[{"name":"srcPtr","nativeSrc":"10022:6:30","nodeType":"YulIdentifier","src":"10022:6:30"}],"functionName":{"name":"mload","nativeSrc":"10016:5:30","nodeType":"YulIdentifier","src":"10016:5:30"},"nativeSrc":"10016:13:30","nodeType":"YulFunctionCall","src":"10016:13:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"10039:3:30","nodeType":"YulLiteral","src":"10039:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"10044:1:30","nodeType":"YulLiteral","src":"10044:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"10035:3:30","nodeType":"YulIdentifier","src":"10035:3:30"},"nativeSrc":"10035:11:30","nodeType":"YulFunctionCall","src":"10035:11:30"},{"kind":"number","nativeSrc":"10048:1:30","nodeType":"YulLiteral","src":"10048:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"10031:3:30","nodeType":"YulIdentifier","src":"10031:3:30"},"nativeSrc":"10031:19:30","nodeType":"YulFunctionCall","src":"10031:19:30"}],"functionName":{"name":"and","nativeSrc":"10012:3:30","nodeType":"YulIdentifier","src":"10012:3:30"},"nativeSrc":"10012:39:30","nodeType":"YulFunctionCall","src":"10012:39:30"}],"functionName":{"name":"mstore","nativeSrc":"10000:6:30","nodeType":"YulIdentifier","src":"10000:6:30"},"nativeSrc":"10000:52:30","nodeType":"YulFunctionCall","src":"10000:52:30"},"nativeSrc":"10000:52:30","nodeType":"YulExpressionStatement","src":"10000:52:30"},{"nativeSrc":"10065:21:30","nodeType":"YulAssignment","src":"10065:21:30","value":{"arguments":[{"name":"pos","nativeSrc":"10076:3:30","nodeType":"YulIdentifier","src":"10076:3:30"},{"kind":"number","nativeSrc":"10081:4:30","nodeType":"YulLiteral","src":"10081:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"10072:3:30","nodeType":"YulIdentifier","src":"10072:3:30"},"nativeSrc":"10072:14:30","nodeType":"YulFunctionCall","src":"10072:14:30"},"variableNames":[{"name":"pos","nativeSrc":"10065:3:30","nodeType":"YulIdentifier","src":"10065:3:30"}]},{"nativeSrc":"10099:27:30","nodeType":"YulAssignment","src":"10099:27:30","value":{"arguments":[{"name":"srcPtr","nativeSrc":"10113:6:30","nodeType":"YulIdentifier","src":"10113:6:30"},{"kind":"number","nativeSrc":"10121:4:30","nodeType":"YulLiteral","src":"10121:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"10109:3:30","nodeType":"YulIdentifier","src":"10109:3:30"},"nativeSrc":"10109:17:30","nodeType":"YulFunctionCall","src":"10109:17:30"},"variableNames":[{"name":"srcPtr","nativeSrc":"10099:6:30","nodeType":"YulIdentifier","src":"10099:6:30"}]}]},"condition":{"arguments":[{"name":"i","nativeSrc":"9950:1:30","nodeType":"YulIdentifier","src":"9950:1:30"},{"kind":"number","nativeSrc":"9953:4:30","nodeType":"YulLiteral","src":"9953:4:30","type":"","value":"0x0b"}],"functionName":{"name":"lt","nativeSrc":"9947:2:30","nodeType":"YulIdentifier","src":"9947:2:30"},"nativeSrc":"9947:11:30","nodeType":"YulFunctionCall","src":"9947:11:30"},"nativeSrc":"9939:197:30","nodeType":"YulForLoop","post":{"nativeSrc":"9959:18:30","nodeType":"YulBlock","src":"9959:18:30","statements":[{"nativeSrc":"9961:14:30","nodeType":"YulAssignment","src":"9961:14:30","value":{"arguments":[{"name":"i","nativeSrc":"9970:1:30","nodeType":"YulIdentifier","src":"9970:1:30"},{"kind":"number","nativeSrc":"9973:1:30","nodeType":"YulLiteral","src":"9973:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"9966:3:30","nodeType":"YulIdentifier","src":"9966:3:30"},"nativeSrc":"9966:9:30","nodeType":"YulFunctionCall","src":"9966:9:30"},"variableNames":[{"name":"i","nativeSrc":"9961:1:30","nodeType":"YulIdentifier","src":"9961:1:30"}]}]},"pre":{"nativeSrc":"9943:3:30","nodeType":"YulBlock","src":"9943:3:30","statements":[]},"src":"9939:197:30"},{"nativeSrc":"10145:44:30","nodeType":"YulVariableDeclaration","src":"10145:44:30","value":{"arguments":[{"arguments":[{"name":"value0","nativeSrc":"10175:6:30","nodeType":"YulIdentifier","src":"10175:6:30"},{"kind":"number","nativeSrc":"10183:4:30","nodeType":"YulLiteral","src":"10183:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"10171:3:30","nodeType":"YulIdentifier","src":"10171:3:30"},"nativeSrc":"10171:17:30","nodeType":"YulFunctionCall","src":"10171:17:30"}],"functionName":{"name":"mload","nativeSrc":"10165:5:30","nodeType":"YulIdentifier","src":"10165:5:30"},"nativeSrc":"10165:24:30","nodeType":"YulFunctionCall","src":"10165:24:30"},"variables":[{"name":"memberValue0","nativeSrc":"10149:12:30","nodeType":"YulTypedName","src":"10149:12:30","type":""}]},{"expression":{"arguments":[{"name":"memberValue0","nativeSrc":"10229:12:30","nodeType":"YulIdentifier","src":"10229:12:30"},{"arguments":[{"name":"headStart","nativeSrc":"10247:9:30","nodeType":"YulIdentifier","src":"10247:9:30"},{"kind":"number","nativeSrc":"10258:6:30","nodeType":"YulLiteral","src":"10258:6:30","type":"","value":"0x0160"}],"functionName":{"name":"add","nativeSrc":"10243:3:30","nodeType":"YulIdentifier","src":"10243:3:30"},"nativeSrc":"10243:22:30","nodeType":"YulFunctionCall","src":"10243:22:30"}],"functionName":{"name":"abi_encode_array_array_uint256","nativeSrc":"10198:30:30","nodeType":"YulIdentifier","src":"10198:30:30"},"nativeSrc":"10198:68:30","nodeType":"YulFunctionCall","src":"10198:68:30"},"nativeSrc":"10198:68:30","nodeType":"YulExpressionStatement","src":"10198:68:30"},{"nativeSrc":"10275:46:30","nodeType":"YulVariableDeclaration","src":"10275:46:30","value":{"arguments":[{"arguments":[{"name":"value0","nativeSrc":"10307:6:30","nodeType":"YulIdentifier","src":"10307:6:30"},{"kind":"number","nativeSrc":"10315:4:30","nodeType":"YulLiteral","src":"10315:4:30","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"10303:3:30","nodeType":"YulIdentifier","src":"10303:3:30"},"nativeSrc":"10303:17:30","nodeType":"YulFunctionCall","src":"10303:17:30"}],"functionName":{"name":"mload","nativeSrc":"10297:5:30","nodeType":"YulIdentifier","src":"10297:5:30"},"nativeSrc":"10297:24:30","nodeType":"YulFunctionCall","src":"10297:24:30"},"variables":[{"name":"memberValue0_1","nativeSrc":"10279:14:30","nodeType":"YulTypedName","src":"10279:14:30","type":""}]},{"expression":{"arguments":[{"name":"memberValue0_1","nativeSrc":"10382:14:30","nodeType":"YulIdentifier","src":"10382:14:30"},{"arguments":[{"name":"headStart","nativeSrc":"10402:9:30","nodeType":"YulIdentifier","src":"10402:9:30"},{"kind":"number","nativeSrc":"10413:6:30","nodeType":"YulLiteral","src":"10413:6:30","type":"","value":"0x0480"}],"functionName":{"name":"add","nativeSrc":"10398:3:30","nodeType":"YulIdentifier","src":"10398:3:30"},"nativeSrc":"10398:22:30","nodeType":"YulFunctionCall","src":"10398:22:30"}],"functionName":{"name":"abi_encode_array_address_to_array_address_fromStack","nativeSrc":"10330:51:30","nodeType":"YulIdentifier","src":"10330:51:30"},"nativeSrc":"10330:91:30","nodeType":"YulFunctionCall","src":"10330:91:30"},"nativeSrc":"10330:91:30","nodeType":"YulExpressionStatement","src":"10330:91:30"}]},"name":"abi_encode_tuple_t_struct$_CurveRoute_$5567_memory_ptr__to_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed","nativeSrc":"9605:822:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"9731:9:30","nodeType":"YulTypedName","src":"9731:9:30","type":""},{"name":"value0","nativeSrc":"9742:6:30","nodeType":"YulTypedName","src":"9742:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"9753:4:30","nodeType":"YulTypedName","src":"9753:4:30","type":""}],"src":"9605:822:30"},{"body":{"nativeSrc":"10482:175:30","nodeType":"YulBlock","src":"10482:175:30","statements":[{"nativeSrc":"10492:50:30","nodeType":"YulVariableDeclaration","src":"10492:50:30","value":{"arguments":[{"arguments":[{"name":"x","nativeSrc":"10519:1:30","nodeType":"YulIdentifier","src":"10519:1:30"},{"kind":"number","nativeSrc":"10522:4:30","nodeType":"YulLiteral","src":"10522:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"10515:3:30","nodeType":"YulIdentifier","src":"10515:3:30"},"nativeSrc":"10515:12:30","nodeType":"YulFunctionCall","src":"10515:12:30"},{"arguments":[{"name":"y","nativeSrc":"10533:1:30","nodeType":"YulIdentifier","src":"10533:1:30"},{"kind":"number","nativeSrc":"10536:4:30","nodeType":"YulLiteral","src":"10536:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"10529:3:30","nodeType":"YulIdentifier","src":"10529:3:30"},"nativeSrc":"10529:12:30","nodeType":"YulFunctionCall","src":"10529:12:30"}],"functionName":{"name":"mul","nativeSrc":"10511:3:30","nodeType":"YulIdentifier","src":"10511:3:30"},"nativeSrc":"10511:31:30","nodeType":"YulFunctionCall","src":"10511:31:30"},"variables":[{"name":"product_raw","nativeSrc":"10496:11:30","nodeType":"YulTypedName","src":"10496:11:30","type":""}]},{"nativeSrc":"10551:33:30","nodeType":"YulAssignment","src":"10551:33:30","value":{"arguments":[{"name":"product_raw","nativeSrc":"10566:11:30","nodeType":"YulIdentifier","src":"10566:11:30"},{"kind":"number","nativeSrc":"10579:4:30","nodeType":"YulLiteral","src":"10579:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"10562:3:30","nodeType":"YulIdentifier","src":"10562:3:30"},"nativeSrc":"10562:22:30","nodeType":"YulFunctionCall","src":"10562:22:30"},"variableNames":[{"name":"product","nativeSrc":"10551:7:30","nodeType":"YulIdentifier","src":"10551:7:30"}]},{"body":{"nativeSrc":"10629:22:30","nodeType":"YulBlock","src":"10629:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"10631:16:30","nodeType":"YulIdentifier","src":"10631:16:30"},"nativeSrc":"10631:18:30","nodeType":"YulFunctionCall","src":"10631:18:30"},"nativeSrc":"10631:18:30","nodeType":"YulExpressionStatement","src":"10631:18:30"}]},"condition":{"arguments":[{"arguments":[{"name":"product","nativeSrc":"10606:7:30","nodeType":"YulIdentifier","src":"10606:7:30"},{"name":"product_raw","nativeSrc":"10615:11:30","nodeType":"YulIdentifier","src":"10615:11:30"}],"functionName":{"name":"eq","nativeSrc":"10603:2:30","nodeType":"YulIdentifier","src":"10603:2:30"},"nativeSrc":"10603:24:30","nodeType":"YulFunctionCall","src":"10603:24:30"}],"functionName":{"name":"iszero","nativeSrc":"10596:6:30","nodeType":"YulIdentifier","src":"10596:6:30"},"nativeSrc":"10596:32:30","nodeType":"YulFunctionCall","src":"10596:32:30"},"nativeSrc":"10593:58:30","nodeType":"YulIf","src":"10593:58:30"}]},"name":"checked_mul_t_uint8","nativeSrc":"10432:225:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"10461:1:30","nodeType":"YulTypedName","src":"10461:1:30","type":""},{"name":"y","nativeSrc":"10464:1:30","nodeType":"YulTypedName","src":"10464:1:30","type":""}],"returnVariables":[{"name":"product","nativeSrc":"10470:7:30","nodeType":"YulTypedName","src":"10470:7:30","type":""}],"src":"10432:225:30"},{"body":{"nativeSrc":"10694:95:30","nodeType":"YulBlock","src":"10694:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"10711:1:30","nodeType":"YulLiteral","src":"10711:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"10718:3:30","nodeType":"YulLiteral","src":"10718:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"10723:10:30","nodeType":"YulLiteral","src":"10723:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"10714:3:30","nodeType":"YulIdentifier","src":"10714:3:30"},"nativeSrc":"10714:20:30","nodeType":"YulFunctionCall","src":"10714:20:30"}],"functionName":{"name":"mstore","nativeSrc":"10704:6:30","nodeType":"YulIdentifier","src":"10704:6:30"},"nativeSrc":"10704:31:30","nodeType":"YulFunctionCall","src":"10704:31:30"},"nativeSrc":"10704:31:30","nodeType":"YulExpressionStatement","src":"10704:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"10751:1:30","nodeType":"YulLiteral","src":"10751:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"10754:4:30","nodeType":"YulLiteral","src":"10754:4:30","type":"","value":"0x12"}],"functionName":{"name":"mstore","nativeSrc":"10744:6:30","nodeType":"YulIdentifier","src":"10744:6:30"},"nativeSrc":"10744:15:30","nodeType":"YulFunctionCall","src":"10744:15:30"},"nativeSrc":"10744:15:30","nodeType":"YulExpressionStatement","src":"10744:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"10775:1:30","nodeType":"YulLiteral","src":"10775:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"10778:4:30","nodeType":"YulLiteral","src":"10778:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"10768:6:30","nodeType":"YulIdentifier","src":"10768:6:30"},"nativeSrc":"10768:15:30","nodeType":"YulFunctionCall","src":"10768:15:30"},"nativeSrc":"10768:15:30","nodeType":"YulExpressionStatement","src":"10768:15:30"}]},"name":"panic_error_0x12","nativeSrc":"10662:127:30","nodeType":"YulFunctionDefinition","src":"10662:127:30"},{"body":{"nativeSrc":"10840:171:30","nodeType":"YulBlock","src":"10840:171:30","statements":[{"body":{"nativeSrc":"10871:111:30","nodeType":"YulBlock","src":"10871:111:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"10892:1:30","nodeType":"YulLiteral","src":"10892:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"10899:3:30","nodeType":"YulLiteral","src":"10899:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"10904:10:30","nodeType":"YulLiteral","src":"10904:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"10895:3:30","nodeType":"YulIdentifier","src":"10895:3:30"},"nativeSrc":"10895:20:30","nodeType":"YulFunctionCall","src":"10895:20:30"}],"functionName":{"name":"mstore","nativeSrc":"10885:6:30","nodeType":"YulIdentifier","src":"10885:6:30"},"nativeSrc":"10885:31:30","nodeType":"YulFunctionCall","src":"10885:31:30"},"nativeSrc":"10885:31:30","nodeType":"YulExpressionStatement","src":"10885:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"10936:1:30","nodeType":"YulLiteral","src":"10936:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"10939:4:30","nodeType":"YulLiteral","src":"10939:4:30","type":"","value":"0x12"}],"functionName":{"name":"mstore","nativeSrc":"10929:6:30","nodeType":"YulIdentifier","src":"10929:6:30"},"nativeSrc":"10929:15:30","nodeType":"YulFunctionCall","src":"10929:15:30"},"nativeSrc":"10929:15:30","nodeType":"YulExpressionStatement","src":"10929:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"10964:1:30","nodeType":"YulLiteral","src":"10964:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"10967:4:30","nodeType":"YulLiteral","src":"10967:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"10957:6:30","nodeType":"YulIdentifier","src":"10957:6:30"},"nativeSrc":"10957:15:30","nodeType":"YulFunctionCall","src":"10957:15:30"},"nativeSrc":"10957:15:30","nodeType":"YulExpressionStatement","src":"10957:15:30"}]},"condition":{"arguments":[{"name":"y","nativeSrc":"10860:1:30","nodeType":"YulIdentifier","src":"10860:1:30"}],"functionName":{"name":"iszero","nativeSrc":"10853:6:30","nodeType":"YulIdentifier","src":"10853:6:30"},"nativeSrc":"10853:9:30","nodeType":"YulFunctionCall","src":"10853:9:30"},"nativeSrc":"10850:132:30","nodeType":"YulIf","src":"10850:132:30"},{"nativeSrc":"10991:14:30","nodeType":"YulAssignment","src":"10991:14:30","value":{"arguments":[{"name":"x","nativeSrc":"11000:1:30","nodeType":"YulIdentifier","src":"11000:1:30"},{"name":"y","nativeSrc":"11003:1:30","nodeType":"YulIdentifier","src":"11003:1:30"}],"functionName":{"name":"div","nativeSrc":"10996:3:30","nodeType":"YulIdentifier","src":"10996:3:30"},"nativeSrc":"10996:9:30","nodeType":"YulFunctionCall","src":"10996:9:30"},"variableNames":[{"name":"r","nativeSrc":"10991:1:30","nodeType":"YulIdentifier","src":"10991:1:30"}]}]},"name":"checked_div_t_uint256","nativeSrc":"10794:217:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"10825:1:30","nodeType":"YulTypedName","src":"10825:1:30","type":""},{"name":"y","nativeSrc":"10828:1:30","nodeType":"YulTypedName","src":"10828:1:30","type":""}],"returnVariables":[{"name":"r","nativeSrc":"10834:1:30","nodeType":"YulTypedName","src":"10834:1:30","type":""}],"src":"10794:217:30"},{"body":{"nativeSrc":"11387:299:30","nodeType":"YulBlock","src":"11387:299:30","statements":[{"nativeSrc":"11397:28:30","nodeType":"YulAssignment","src":"11397:28:30","value":{"arguments":[{"name":"headStart","nativeSrc":"11409:9:30","nodeType":"YulIdentifier","src":"11409:9:30"},{"kind":"number","nativeSrc":"11420:4:30","nodeType":"YulLiteral","src":"11420:4:30","type":"","value":"1344"}],"functionName":{"name":"add","nativeSrc":"11405:3:30","nodeType":"YulIdentifier","src":"11405:3:30"},"nativeSrc":"11405:20:30","nodeType":"YulFunctionCall","src":"11405:20:30"},"variableNames":[{"name":"tail","nativeSrc":"11397:4:30","nodeType":"YulIdentifier","src":"11397:4:30"}]},{"expression":{"arguments":[{"name":"value0","nativeSrc":"11459:6:30","nodeType":"YulIdentifier","src":"11459:6:30"},{"name":"headStart","nativeSrc":"11467:9:30","nodeType":"YulIdentifier","src":"11467:9:30"}],"functionName":{"name":"abi_encode_array_address","nativeSrc":"11434:24:30","nodeType":"YulIdentifier","src":"11434:24:30"},"nativeSrc":"11434:43:30","nodeType":"YulFunctionCall","src":"11434:43:30"},"nativeSrc":"11434:43:30","nodeType":"YulExpressionStatement","src":"11434:43:30"},{"expression":{"arguments":[{"name":"value1","nativeSrc":"11517:6:30","nodeType":"YulIdentifier","src":"11517:6:30"},{"arguments":[{"name":"headStart","nativeSrc":"11529:9:30","nodeType":"YulIdentifier","src":"11529:9:30"},{"kind":"number","nativeSrc":"11540:3:30","nodeType":"YulLiteral","src":"11540:3:30","type":"","value":"352"}],"functionName":{"name":"add","nativeSrc":"11525:3:30","nodeType":"YulIdentifier","src":"11525:3:30"},"nativeSrc":"11525:19:30","nodeType":"YulFunctionCall","src":"11525:19:30"}],"functionName":{"name":"abi_encode_array_array_uint256","nativeSrc":"11486:30:30","nodeType":"YulIdentifier","src":"11486:30:30"},"nativeSrc":"11486:59:30","nodeType":"YulFunctionCall","src":"11486:59:30"},"nativeSrc":"11486:59:30","nodeType":"YulExpressionStatement","src":"11486:59:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"11565:9:30","nodeType":"YulIdentifier","src":"11565:9:30"},{"kind":"number","nativeSrc":"11576:4:30","nodeType":"YulLiteral","src":"11576:4:30","type":"","value":"1152"}],"functionName":{"name":"add","nativeSrc":"11561:3:30","nodeType":"YulIdentifier","src":"11561:3:30"},"nativeSrc":"11561:20:30","nodeType":"YulFunctionCall","src":"11561:20:30"},{"name":"value2","nativeSrc":"11583:6:30","nodeType":"YulIdentifier","src":"11583:6:30"}],"functionName":{"name":"mstore","nativeSrc":"11554:6:30","nodeType":"YulIdentifier","src":"11554:6:30"},"nativeSrc":"11554:36:30","nodeType":"YulFunctionCall","src":"11554:36:30"},"nativeSrc":"11554:36:30","nodeType":"YulExpressionStatement","src":"11554:36:30"},{"expression":{"arguments":[{"name":"value3","nativeSrc":"11651:6:30","nodeType":"YulIdentifier","src":"11651:6:30"},{"arguments":[{"name":"headStart","nativeSrc":"11663:9:30","nodeType":"YulIdentifier","src":"11663:9:30"},{"kind":"number","nativeSrc":"11674:4:30","nodeType":"YulLiteral","src":"11674:4:30","type":"","value":"1184"}],"functionName":{"name":"add","nativeSrc":"11659:3:30","nodeType":"YulIdentifier","src":"11659:3:30"},"nativeSrc":"11659:20:30","nodeType":"YulFunctionCall","src":"11659:20:30"}],"functionName":{"name":"abi_encode_array_address_to_array_address_fromStack","nativeSrc":"11599:51:30","nodeType":"YulIdentifier","src":"11599:51:30"},"nativeSrc":"11599:81:30","nodeType":"YulFunctionCall","src":"11599:81:30"},"nativeSrc":"11599:81:30","nodeType":"YulExpressionStatement","src":"11599:81:30"}]},"name":"abi_encode_tuple_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_array$_t_address_$5_memory_ptr__to_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_array$_t_address_$5_memory_ptr__fromStack_reversed","nativeSrc":"11016:670:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"11332:9:30","nodeType":"YulTypedName","src":"11332:9:30","type":""},{"name":"value3","nativeSrc":"11343:6:30","nodeType":"YulTypedName","src":"11343:6:30","type":""},{"name":"value2","nativeSrc":"11351:6:30","nodeType":"YulTypedName","src":"11351:6:30","type":""},{"name":"value1","nativeSrc":"11359:6:30","nodeType":"YulTypedName","src":"11359:6:30","type":""},{"name":"value0","nativeSrc":"11367:6:30","nodeType":"YulTypedName","src":"11367:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"11378:4:30","nodeType":"YulTypedName","src":"11378:4:30","type":""}],"src":"11016:670:30"},{"body":{"nativeSrc":"12126:415:30","nodeType":"YulBlock","src":"12126:415:30","statements":[{"nativeSrc":"12136:28:30","nodeType":"YulAssignment","src":"12136:28:30","value":{"arguments":[{"name":"headStart","nativeSrc":"12148:9:30","nodeType":"YulIdentifier","src":"12148:9:30"},{"kind":"number","nativeSrc":"12159:4:30","nodeType":"YulLiteral","src":"12159:4:30","type":"","value":"1408"}],"functionName":{"name":"add","nativeSrc":"12144:3:30","nodeType":"YulIdentifier","src":"12144:3:30"},"nativeSrc":"12144:20:30","nodeType":"YulFunctionCall","src":"12144:20:30"},"variableNames":[{"name":"tail","nativeSrc":"12136:4:30","nodeType":"YulIdentifier","src":"12136:4:30"}]},{"expression":{"arguments":[{"name":"value0","nativeSrc":"12198:6:30","nodeType":"YulIdentifier","src":"12198:6:30"},{"name":"headStart","nativeSrc":"12206:9:30","nodeType":"YulIdentifier","src":"12206:9:30"}],"functionName":{"name":"abi_encode_array_address","nativeSrc":"12173:24:30","nodeType":"YulIdentifier","src":"12173:24:30"},"nativeSrc":"12173:43:30","nodeType":"YulFunctionCall","src":"12173:43:30"},"nativeSrc":"12173:43:30","nodeType":"YulExpressionStatement","src":"12173:43:30"},{"expression":{"arguments":[{"name":"value1","nativeSrc":"12256:6:30","nodeType":"YulIdentifier","src":"12256:6:30"},{"arguments":[{"name":"headStart","nativeSrc":"12268:9:30","nodeType":"YulIdentifier","src":"12268:9:30"},{"kind":"number","nativeSrc":"12279:3:30","nodeType":"YulLiteral","src":"12279:3:30","type":"","value":"352"}],"functionName":{"name":"add","nativeSrc":"12264:3:30","nodeType":"YulIdentifier","src":"12264:3:30"},"nativeSrc":"12264:19:30","nodeType":"YulFunctionCall","src":"12264:19:30"}],"functionName":{"name":"abi_encode_array_array_uint256","nativeSrc":"12225:30:30","nodeType":"YulIdentifier","src":"12225:30:30"},"nativeSrc":"12225:59:30","nodeType":"YulFunctionCall","src":"12225:59:30"},"nativeSrc":"12225:59:30","nodeType":"YulExpressionStatement","src":"12225:59:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"12304:9:30","nodeType":"YulIdentifier","src":"12304:9:30"},{"kind":"number","nativeSrc":"12315:4:30","nodeType":"YulLiteral","src":"12315:4:30","type":"","value":"1152"}],"functionName":{"name":"add","nativeSrc":"12300:3:30","nodeType":"YulIdentifier","src":"12300:3:30"},"nativeSrc":"12300:20:30","nodeType":"YulFunctionCall","src":"12300:20:30"},{"name":"value2","nativeSrc":"12322:6:30","nodeType":"YulIdentifier","src":"12322:6:30"}],"functionName":{"name":"mstore","nativeSrc":"12293:6:30","nodeType":"YulIdentifier","src":"12293:6:30"},"nativeSrc":"12293:36:30","nodeType":"YulFunctionCall","src":"12293:36:30"},"nativeSrc":"12293:36:30","nodeType":"YulExpressionStatement","src":"12293:36:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"12349:9:30","nodeType":"YulIdentifier","src":"12349:9:30"},{"kind":"number","nativeSrc":"12360:4:30","nodeType":"YulLiteral","src":"12360:4:30","type":"","value":"1184"}],"functionName":{"name":"add","nativeSrc":"12345:3:30","nodeType":"YulIdentifier","src":"12345:3:30"},"nativeSrc":"12345:20:30","nodeType":"YulFunctionCall","src":"12345:20:30"},{"name":"value3","nativeSrc":"12367:6:30","nodeType":"YulIdentifier","src":"12367:6:30"}],"functionName":{"name":"mstore","nativeSrc":"12338:6:30","nodeType":"YulIdentifier","src":"12338:6:30"},"nativeSrc":"12338:36:30","nodeType":"YulFunctionCall","src":"12338:36:30"},"nativeSrc":"12338:36:30","nodeType":"YulExpressionStatement","src":"12338:36:30"},{"expression":{"arguments":[{"name":"value4","nativeSrc":"12435:6:30","nodeType":"YulIdentifier","src":"12435:6:30"},{"arguments":[{"name":"headStart","nativeSrc":"12447:9:30","nodeType":"YulIdentifier","src":"12447:9:30"},{"kind":"number","nativeSrc":"12458:4:30","nodeType":"YulLiteral","src":"12458:4:30","type":"","value":"1216"}],"functionName":{"name":"add","nativeSrc":"12443:3:30","nodeType":"YulIdentifier","src":"12443:3:30"},"nativeSrc":"12443:20:30","nodeType":"YulFunctionCall","src":"12443:20:30"}],"functionName":{"name":"abi_encode_array_address_to_array_address_fromStack","nativeSrc":"12383:51:30","nodeType":"YulIdentifier","src":"12383:51:30"},"nativeSrc":"12383:81:30","nodeType":"YulFunctionCall","src":"12383:81:30"},"nativeSrc":"12383:81:30","nodeType":"YulExpressionStatement","src":"12383:81:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"12484:9:30","nodeType":"YulIdentifier","src":"12484:9:30"},{"kind":"number","nativeSrc":"12495:4:30","nodeType":"YulLiteral","src":"12495:4:30","type":"","value":"1376"}],"functionName":{"name":"add","nativeSrc":"12480:3:30","nodeType":"YulIdentifier","src":"12480:3:30"},"nativeSrc":"12480:20:30","nodeType":"YulFunctionCall","src":"12480:20:30"},{"arguments":[{"name":"value5","nativeSrc":"12506:6:30","nodeType":"YulIdentifier","src":"12506:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"12522:3:30","nodeType":"YulLiteral","src":"12522:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"12527:1:30","nodeType":"YulLiteral","src":"12527:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"12518:3:30","nodeType":"YulIdentifier","src":"12518:3:30"},"nativeSrc":"12518:11:30","nodeType":"YulFunctionCall","src":"12518:11:30"},{"kind":"number","nativeSrc":"12531:1:30","nodeType":"YulLiteral","src":"12531:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"12514:3:30","nodeType":"YulIdentifier","src":"12514:3:30"},"nativeSrc":"12514:19:30","nodeType":"YulFunctionCall","src":"12514:19:30"}],"functionName":{"name":"and","nativeSrc":"12502:3:30","nodeType":"YulIdentifier","src":"12502:3:30"},"nativeSrc":"12502:32:30","nodeType":"YulFunctionCall","src":"12502:32:30"}],"functionName":{"name":"mstore","nativeSrc":"12473:6:30","nodeType":"YulIdentifier","src":"12473:6:30"},"nativeSrc":"12473:62:30","nodeType":"YulFunctionCall","src":"12473:62:30"},"nativeSrc":"12473:62:30","nodeType":"YulExpressionStatement","src":"12473:62:30"}]},"name":"abi_encode_tuple_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_rational_0_by_1_t_array$_t_address_$5_memory_ptr_t_address__to_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_uint256_t_array$_t_address_$5_memory_ptr_t_address__fromStack_reversed","nativeSrc":"11691:850:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"12055:9:30","nodeType":"YulTypedName","src":"12055:9:30","type":""},{"name":"value5","nativeSrc":"12066:6:30","nodeType":"YulTypedName","src":"12066:6:30","type":""},{"name":"value4","nativeSrc":"12074:6:30","nodeType":"YulTypedName","src":"12074:6:30","type":""},{"name":"value3","nativeSrc":"12082:6:30","nodeType":"YulTypedName","src":"12082:6:30","type":""},{"name":"value2","nativeSrc":"12090:6:30","nodeType":"YulTypedName","src":"12090:6:30","type":""},{"name":"value1","nativeSrc":"12098:6:30","nodeType":"YulTypedName","src":"12098:6:30","type":""},{"name":"value0","nativeSrc":"12106:6:30","nodeType":"YulTypedName","src":"12106:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"12117:4:30","nodeType":"YulTypedName","src":"12117:4:30","type":""}],"src":"11691:850:30"},{"body":{"nativeSrc":"12720:171:30","nodeType":"YulBlock","src":"12720:171:30","statements":[{"expression":{"arguments":[{"name":"headStart","nativeSrc":"12737:9:30","nodeType":"YulIdentifier","src":"12737:9:30"},{"kind":"number","nativeSrc":"12748:2:30","nodeType":"YulLiteral","src":"12748:2:30","type":"","value":"32"}],"functionName":{"name":"mstore","nativeSrc":"12730:6:30","nodeType":"YulIdentifier","src":"12730:6:30"},"nativeSrc":"12730:21:30","nodeType":"YulFunctionCall","src":"12730:21:30"},"nativeSrc":"12730:21:30","nodeType":"YulExpressionStatement","src":"12730:21:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"12771:9:30","nodeType":"YulIdentifier","src":"12771:9:30"},{"kind":"number","nativeSrc":"12782:2:30","nodeType":"YulLiteral","src":"12782:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"12767:3:30","nodeType":"YulIdentifier","src":"12767:3:30"},"nativeSrc":"12767:18:30","nodeType":"YulFunctionCall","src":"12767:18:30"},{"kind":"number","nativeSrc":"12787:2:30","nodeType":"YulLiteral","src":"12787:2:30","type":"","value":"21"}],"functionName":{"name":"mstore","nativeSrc":"12760:6:30","nodeType":"YulIdentifier","src":"12760:6:30"},"nativeSrc":"12760:30:30","nodeType":"YulFunctionCall","src":"12760:30:30"},"nativeSrc":"12760:30:30","nodeType":"YulExpressionStatement","src":"12760:30:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"12810:9:30","nodeType":"YulIdentifier","src":"12810:9:30"},{"kind":"number","nativeSrc":"12821:2:30","nodeType":"YulLiteral","src":"12821:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"12806:3:30","nodeType":"YulIdentifier","src":"12806:3:30"},"nativeSrc":"12806:18:30","nodeType":"YulFunctionCall","src":"12806:18:30"},{"hexValue":"746f416464726573735f6f75744f66426f756e6473","kind":"string","nativeSrc":"12826:23:30","nodeType":"YulLiteral","src":"12826:23:30","type":"","value":"toAddress_outOfBounds"}],"functionName":{"name":"mstore","nativeSrc":"12799:6:30","nodeType":"YulIdentifier","src":"12799:6:30"},"nativeSrc":"12799:51:30","nodeType":"YulFunctionCall","src":"12799:51:30"},"nativeSrc":"12799:51:30","nodeType":"YulExpressionStatement","src":"12799:51:30"},{"nativeSrc":"12859:26:30","nodeType":"YulAssignment","src":"12859:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"12871:9:30","nodeType":"YulIdentifier","src":"12871:9:30"},{"kind":"number","nativeSrc":"12882:2:30","nodeType":"YulLiteral","src":"12882:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"12867:3:30","nodeType":"YulIdentifier","src":"12867:3:30"},"nativeSrc":"12867:18:30","nodeType":"YulFunctionCall","src":"12867:18:30"},"variableNames":[{"name":"tail","nativeSrc":"12859:4:30","nodeType":"YulIdentifier","src":"12859:4:30"}]}]},"name":"abi_encode_tuple_t_stringliteral_9f688071e1df0f70b63e3651005878331be1fe9591d6cfb3187cb52a13439e5d__to_t_string_memory_ptr__fromStack_reversed","nativeSrc":"12546:345:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"12697:9:30","nodeType":"YulTypedName","src":"12697:9:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"12711:4:30","nodeType":"YulTypedName","src":"12711:4:30","type":""}],"src":"12546:345:30"},{"body":{"nativeSrc":"13070:169:30","nodeType":"YulBlock","src":"13070:169:30","statements":[{"expression":{"arguments":[{"name":"headStart","nativeSrc":"13087:9:30","nodeType":"YulIdentifier","src":"13087:9:30"},{"kind":"number","nativeSrc":"13098:2:30","nodeType":"YulLiteral","src":"13098:2:30","type":"","value":"32"}],"functionName":{"name":"mstore","nativeSrc":"13080:6:30","nodeType":"YulIdentifier","src":"13080:6:30"},"nativeSrc":"13080:21:30","nodeType":"YulFunctionCall","src":"13080:21:30"},"nativeSrc":"13080:21:30","nodeType":"YulExpressionStatement","src":"13080:21:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"13121:9:30","nodeType":"YulIdentifier","src":"13121:9:30"},{"kind":"number","nativeSrc":"13132:2:30","nodeType":"YulLiteral","src":"13132:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"13117:3:30","nodeType":"YulIdentifier","src":"13117:3:30"},"nativeSrc":"13117:18:30","nodeType":"YulFunctionCall","src":"13117:18:30"},{"kind":"number","nativeSrc":"13137:2:30","nodeType":"YulLiteral","src":"13137:2:30","type":"","value":"19"}],"functionName":{"name":"mstore","nativeSrc":"13110:6:30","nodeType":"YulIdentifier","src":"13110:6:30"},"nativeSrc":"13110:30:30","nodeType":"YulFunctionCall","src":"13110:30:30"},"nativeSrc":"13110:30:30","nodeType":"YulExpressionStatement","src":"13110:30:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"13160:9:30","nodeType":"YulIdentifier","src":"13160:9:30"},{"kind":"number","nativeSrc":"13171:2:30","nodeType":"YulLiteral","src":"13171:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"13156:3:30","nodeType":"YulIdentifier","src":"13156:3:30"},"nativeSrc":"13156:18:30","nodeType":"YulFunctionCall","src":"13156:18:30"},{"hexValue":"746f55696e74385f6f75744f66426f756e6473","kind":"string","nativeSrc":"13176:21:30","nodeType":"YulLiteral","src":"13176:21:30","type":"","value":"toUint8_outOfBounds"}],"functionName":{"name":"mstore","nativeSrc":"13149:6:30","nodeType":"YulIdentifier","src":"13149:6:30"},"nativeSrc":"13149:49:30","nodeType":"YulFunctionCall","src":"13149:49:30"},"nativeSrc":"13149:49:30","nodeType":"YulExpressionStatement","src":"13149:49:30"},{"nativeSrc":"13207:26:30","nodeType":"YulAssignment","src":"13207:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"13219:9:30","nodeType":"YulIdentifier","src":"13219:9:30"},{"kind":"number","nativeSrc":"13230:2:30","nodeType":"YulLiteral","src":"13230:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"13215:3:30","nodeType":"YulIdentifier","src":"13215:3:30"},"nativeSrc":"13215:18:30","nodeType":"YulFunctionCall","src":"13215:18:30"},"variableNames":[{"name":"tail","nativeSrc":"13207:4:30","nodeType":"YulIdentifier","src":"13207:4:30"}]}]},"name":"abi_encode_tuple_t_stringliteral_ce6d7be00009dd45cc670fb6c2ceee25786f142bcb64e7f1ee73012b26bb6ca1__to_t_string_memory_ptr__fromStack_reversed","nativeSrc":"12896:343:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"13047:9:30","nodeType":"YulTypedName","src":"13047:9:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"13061:4:30","nodeType":"YulTypedName","src":"13061:4:30","type":""}],"src":"12896:343:30"},{"body":{"nativeSrc":"13341:87:30","nodeType":"YulBlock","src":"13341:87:30","statements":[{"nativeSrc":"13351:26:30","nodeType":"YulAssignment","src":"13351:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"13363:9:30","nodeType":"YulIdentifier","src":"13363:9:30"},{"kind":"number","nativeSrc":"13374:2:30","nodeType":"YulLiteral","src":"13374:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"13359:3:30","nodeType":"YulIdentifier","src":"13359:3:30"},"nativeSrc":"13359:18:30","nodeType":"YulFunctionCall","src":"13359:18:30"},"variableNames":[{"name":"tail","nativeSrc":"13351:4:30","nodeType":"YulIdentifier","src":"13351:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"13393:9:30","nodeType":"YulIdentifier","src":"13393:9:30"},{"arguments":[{"name":"value0","nativeSrc":"13408:6:30","nodeType":"YulIdentifier","src":"13408:6:30"},{"kind":"number","nativeSrc":"13416:4:30","nodeType":"YulLiteral","src":"13416:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"13404:3:30","nodeType":"YulIdentifier","src":"13404:3:30"},"nativeSrc":"13404:17:30","nodeType":"YulFunctionCall","src":"13404:17:30"}],"functionName":{"name":"mstore","nativeSrc":"13386:6:30","nodeType":"YulIdentifier","src":"13386:6:30"},"nativeSrc":"13386:36:30","nodeType":"YulFunctionCall","src":"13386:36:30"},"nativeSrc":"13386:36:30","nodeType":"YulExpressionStatement","src":"13386:36:30"}]},"name":"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed","nativeSrc":"13244:184:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"13310:9:30","nodeType":"YulTypedName","src":"13310:9:30","type":""},{"name":"value0","nativeSrc":"13321:6:30","nodeType":"YulTypedName","src":"13321:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"13332:4:30","nodeType":"YulTypedName","src":"13332:4:30","type":""}],"src":"13244:184:30"},{"body":{"nativeSrc":"13479:102:30","nodeType":"YulBlock","src":"13479:102:30","statements":[{"nativeSrc":"13489:38:30","nodeType":"YulAssignment","src":"13489:38:30","value":{"arguments":[{"arguments":[{"name":"x","nativeSrc":"13504:1:30","nodeType":"YulIdentifier","src":"13504:1:30"},{"kind":"number","nativeSrc":"13507:4:30","nodeType":"YulLiteral","src":"13507:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"13500:3:30","nodeType":"YulIdentifier","src":"13500:3:30"},"nativeSrc":"13500:12:30","nodeType":"YulFunctionCall","src":"13500:12:30"},{"arguments":[{"name":"y","nativeSrc":"13518:1:30","nodeType":"YulIdentifier","src":"13518:1:30"},{"kind":"number","nativeSrc":"13521:4:30","nodeType":"YulLiteral","src":"13521:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"13514:3:30","nodeType":"YulIdentifier","src":"13514:3:30"},"nativeSrc":"13514:12:30","nodeType":"YulFunctionCall","src":"13514:12:30"}],"functionName":{"name":"add","nativeSrc":"13496:3:30","nodeType":"YulIdentifier","src":"13496:3:30"},"nativeSrc":"13496:31:30","nodeType":"YulFunctionCall","src":"13496:31:30"},"variableNames":[{"name":"sum","nativeSrc":"13489:3:30","nodeType":"YulIdentifier","src":"13489:3:30"}]},{"body":{"nativeSrc":"13553:22:30","nodeType":"YulBlock","src":"13553:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"13555:16:30","nodeType":"YulIdentifier","src":"13555:16:30"},"nativeSrc":"13555:18:30","nodeType":"YulFunctionCall","src":"13555:18:30"},"nativeSrc":"13555:18:30","nodeType":"YulExpressionStatement","src":"13555:18:30"}]},"condition":{"arguments":[{"name":"sum","nativeSrc":"13542:3:30","nodeType":"YulIdentifier","src":"13542:3:30"},{"kind":"number","nativeSrc":"13547:4:30","nodeType":"YulLiteral","src":"13547:4:30","type":"","value":"0xff"}],"functionName":{"name":"gt","nativeSrc":"13539:2:30","nodeType":"YulIdentifier","src":"13539:2:30"},"nativeSrc":"13539:13:30","nodeType":"YulFunctionCall","src":"13539:13:30"},"nativeSrc":"13536:39:30","nodeType":"YulIf","src":"13536:39:30"}]},"name":"checked_add_t_uint8","nativeSrc":"13433:148:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"13462:1:30","nodeType":"YulTypedName","src":"13462:1:30","type":""},{"name":"y","nativeSrc":"13465:1:30","nodeType":"YulTypedName","src":"13465:1:30","type":""}],"returnVariables":[{"name":"sum","nativeSrc":"13471:3:30","nodeType":"YulTypedName","src":"13471:3:30","type":""}],"src":"13433:148:30"},{"body":{"nativeSrc":"13665:194:30","nodeType":"YulBlock","src":"13665:194:30","statements":[{"body":{"nativeSrc":"13711:16:30","nodeType":"YulBlock","src":"13711:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"13720:1:30","nodeType":"YulLiteral","src":"13720:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"13723:1:30","nodeType":"YulLiteral","src":"13723:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"13713:6:30","nodeType":"YulIdentifier","src":"13713:6:30"},"nativeSrc":"13713:12:30","nodeType":"YulFunctionCall","src":"13713:12:30"},"nativeSrc":"13713:12:30","nodeType":"YulExpressionStatement","src":"13713:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"13686:7:30","nodeType":"YulIdentifier","src":"13686:7:30"},{"name":"headStart","nativeSrc":"13695:9:30","nodeType":"YulIdentifier","src":"13695:9:30"}],"functionName":{"name":"sub","nativeSrc":"13682:3:30","nodeType":"YulIdentifier","src":"13682:3:30"},"nativeSrc":"13682:23:30","nodeType":"YulFunctionCall","src":"13682:23:30"},{"kind":"number","nativeSrc":"13707:2:30","nodeType":"YulLiteral","src":"13707:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"13678:3:30","nodeType":"YulIdentifier","src":"13678:3:30"},"nativeSrc":"13678:32:30","nodeType":"YulFunctionCall","src":"13678:32:30"},"nativeSrc":"13675:52:30","nodeType":"YulIf","src":"13675:52:30"},{"nativeSrc":"13736:29:30","nodeType":"YulVariableDeclaration","src":"13736:29:30","value":{"arguments":[{"name":"headStart","nativeSrc":"13755:9:30","nodeType":"YulIdentifier","src":"13755:9:30"}],"functionName":{"name":"mload","nativeSrc":"13749:5:30","nodeType":"YulIdentifier","src":"13749:5:30"},"nativeSrc":"13749:16:30","nodeType":"YulFunctionCall","src":"13749:16:30"},"variables":[{"name":"value","nativeSrc":"13740:5:30","nodeType":"YulTypedName","src":"13740:5:30","type":""}]},{"body":{"nativeSrc":"13813:16:30","nodeType":"YulBlock","src":"13813:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"13822:1:30","nodeType":"YulLiteral","src":"13822:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"13825:1:30","nodeType":"YulLiteral","src":"13825:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"13815:6:30","nodeType":"YulIdentifier","src":"13815:6:30"},"nativeSrc":"13815:12:30","nodeType":"YulFunctionCall","src":"13815:12:30"},"nativeSrc":"13815:12:30","nodeType":"YulExpressionStatement","src":"13815:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"13787:5:30","nodeType":"YulIdentifier","src":"13787:5:30"},{"arguments":[{"name":"value","nativeSrc":"13798:5:30","nodeType":"YulIdentifier","src":"13798:5:30"},{"kind":"number","nativeSrc":"13805:4:30","nodeType":"YulLiteral","src":"13805:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"13794:3:30","nodeType":"YulIdentifier","src":"13794:3:30"},"nativeSrc":"13794:16:30","nodeType":"YulFunctionCall","src":"13794:16:30"}],"functionName":{"name":"eq","nativeSrc":"13784:2:30","nodeType":"YulIdentifier","src":"13784:2:30"},"nativeSrc":"13784:27:30","nodeType":"YulFunctionCall","src":"13784:27:30"}],"functionName":{"name":"iszero","nativeSrc":"13777:6:30","nodeType":"YulIdentifier","src":"13777:6:30"},"nativeSrc":"13777:35:30","nodeType":"YulFunctionCall","src":"13777:35:30"},"nativeSrc":"13774:55:30","nodeType":"YulIf","src":"13774:55:30"},{"nativeSrc":"13838:15:30","nodeType":"YulAssignment","src":"13838:15:30","value":{"name":"value","nativeSrc":"13848:5:30","nodeType":"YulIdentifier","src":"13848:5:30"},"variableNames":[{"name":"value0","nativeSrc":"13838:6:30","nodeType":"YulIdentifier","src":"13838:6:30"}]}]},"name":"abi_decode_tuple_t_uint8_fromMemory","nativeSrc":"13586:273:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"13631:9:30","nodeType":"YulTypedName","src":"13631:9:30","type":""},{"name":"dataEnd","nativeSrc":"13642:7:30","nodeType":"YulTypedName","src":"13642:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"13654:6:30","nodeType":"YulTypedName","src":"13654:6:30","type":""}],"src":"13586:273:30"},{"body":{"nativeSrc":"13911:104:30","nodeType":"YulBlock","src":"13911:104:30","statements":[{"nativeSrc":"13921:39:30","nodeType":"YulAssignment","src":"13921:39:30","value":{"arguments":[{"arguments":[{"name":"x","nativeSrc":"13937:1:30","nodeType":"YulIdentifier","src":"13937:1:30"},{"kind":"number","nativeSrc":"13940:4:30","nodeType":"YulLiteral","src":"13940:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"13933:3:30","nodeType":"YulIdentifier","src":"13933:3:30"},"nativeSrc":"13933:12:30","nodeType":"YulFunctionCall","src":"13933:12:30"},{"arguments":[{"name":"y","nativeSrc":"13951:1:30","nodeType":"YulIdentifier","src":"13951:1:30"},{"kind":"number","nativeSrc":"13954:4:30","nodeType":"YulLiteral","src":"13954:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"13947:3:30","nodeType":"YulIdentifier","src":"13947:3:30"},"nativeSrc":"13947:12:30","nodeType":"YulFunctionCall","src":"13947:12:30"}],"functionName":{"name":"sub","nativeSrc":"13929:3:30","nodeType":"YulIdentifier","src":"13929:3:30"},"nativeSrc":"13929:31:30","nodeType":"YulFunctionCall","src":"13929:31:30"},"variableNames":[{"name":"diff","nativeSrc":"13921:4:30","nodeType":"YulIdentifier","src":"13921:4:30"}]},{"body":{"nativeSrc":"13987:22:30","nodeType":"YulBlock","src":"13987:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"13989:16:30","nodeType":"YulIdentifier","src":"13989:16:30"},"nativeSrc":"13989:18:30","nodeType":"YulFunctionCall","src":"13989:18:30"},"nativeSrc":"13989:18:30","nodeType":"YulExpressionStatement","src":"13989:18:30"}]},"condition":{"arguments":[{"name":"diff","nativeSrc":"13975:4:30","nodeType":"YulIdentifier","src":"13975:4:30"},{"kind":"number","nativeSrc":"13981:4:30","nodeType":"YulLiteral","src":"13981:4:30","type":"","value":"0xff"}],"functionName":{"name":"gt","nativeSrc":"13972:2:30","nodeType":"YulIdentifier","src":"13972:2:30"},"nativeSrc":"13972:14:30","nodeType":"YulFunctionCall","src":"13972:14:30"},"nativeSrc":"13969:40:30","nodeType":"YulIf","src":"13969:40:30"}]},"name":"checked_sub_t_uint8","nativeSrc":"13864:151:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"13893:1:30","nodeType":"YulTypedName","src":"13893:1:30","type":""},{"name":"y","nativeSrc":"13896:1:30","nodeType":"YulTypedName","src":"13896:1:30","type":""}],"returnVariables":[{"name":"diff","nativeSrc":"13902:4:30","nodeType":"YulTypedName","src":"13902:4:30","type":""}],"src":"13864:151:30"},{"body":{"nativeSrc":"14089:306:30","nodeType":"YulBlock","src":"14089:306:30","statements":[{"nativeSrc":"14099:10:30","nodeType":"YulAssignment","src":"14099:10:30","value":{"kind":"number","nativeSrc":"14108:1:30","nodeType":"YulLiteral","src":"14108:1:30","type":"","value":"1"},"variableNames":[{"name":"power","nativeSrc":"14099:5:30","nodeType":"YulIdentifier","src":"14099:5:30"}]},{"nativeSrc":"14118:13:30","nodeType":"YulAssignment","src":"14118:13:30","value":{"name":"_base","nativeSrc":"14126:5:30","nodeType":"YulIdentifier","src":"14126:5:30"},"variableNames":[{"name":"base","nativeSrc":"14118:4:30","nodeType":"YulIdentifier","src":"14118:4:30"}]},{"body":{"nativeSrc":"14176:213:30","nodeType":"YulBlock","src":"14176:213:30","statements":[{"body":{"nativeSrc":"14218:22:30","nodeType":"YulBlock","src":"14218:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"14220:16:30","nodeType":"YulIdentifier","src":"14220:16:30"},"nativeSrc":"14220:18:30","nodeType":"YulFunctionCall","src":"14220:18:30"},"nativeSrc":"14220:18:30","nodeType":"YulExpressionStatement","src":"14220:18:30"}]},"condition":{"arguments":[{"name":"base","nativeSrc":"14196:4:30","nodeType":"YulIdentifier","src":"14196:4:30"},{"arguments":[{"name":"max","nativeSrc":"14206:3:30","nodeType":"YulIdentifier","src":"14206:3:30"},{"name":"base","nativeSrc":"14211:4:30","nodeType":"YulIdentifier","src":"14211:4:30"}],"functionName":{"name":"div","nativeSrc":"14202:3:30","nodeType":"YulIdentifier","src":"14202:3:30"},"nativeSrc":"14202:14:30","nodeType":"YulFunctionCall","src":"14202:14:30"}],"functionName":{"name":"gt","nativeSrc":"14193:2:30","nodeType":"YulIdentifier","src":"14193:2:30"},"nativeSrc":"14193:24:30","nodeType":"YulFunctionCall","src":"14193:24:30"},"nativeSrc":"14190:50:30","nodeType":"YulIf","src":"14190:50:30"},{"body":{"nativeSrc":"14273:29:30","nodeType":"YulBlock","src":"14273:29:30","statements":[{"nativeSrc":"14275:25:30","nodeType":"YulAssignment","src":"14275:25:30","value":{"arguments":[{"name":"power","nativeSrc":"14288:5:30","nodeType":"YulIdentifier","src":"14288:5:30"},{"name":"base","nativeSrc":"14295:4:30","nodeType":"YulIdentifier","src":"14295:4:30"}],"functionName":{"name":"mul","nativeSrc":"14284:3:30","nodeType":"YulIdentifier","src":"14284:3:30"},"nativeSrc":"14284:16:30","nodeType":"YulFunctionCall","src":"14284:16:30"},"variableNames":[{"name":"power","nativeSrc":"14275:5:30","nodeType":"YulIdentifier","src":"14275:5:30"}]}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"14260:8:30","nodeType":"YulIdentifier","src":"14260:8:30"},{"kind":"number","nativeSrc":"14270:1:30","nodeType":"YulLiteral","src":"14270:1:30","type":"","value":"1"}],"functionName":{"name":"and","nativeSrc":"14256:3:30","nodeType":"YulIdentifier","src":"14256:3:30"},"nativeSrc":"14256:16:30","nodeType":"YulFunctionCall","src":"14256:16:30"},"nativeSrc":"14253:49:30","nodeType":"YulIf","src":"14253:49:30"},{"nativeSrc":"14315:23:30","nodeType":"YulAssignment","src":"14315:23:30","value":{"arguments":[{"name":"base","nativeSrc":"14327:4:30","nodeType":"YulIdentifier","src":"14327:4:30"},{"name":"base","nativeSrc":"14333:4:30","nodeType":"YulIdentifier","src":"14333:4:30"}],"functionName":{"name":"mul","nativeSrc":"14323:3:30","nodeType":"YulIdentifier","src":"14323:3:30"},"nativeSrc":"14323:15:30","nodeType":"YulFunctionCall","src":"14323:15:30"},"variableNames":[{"name":"base","nativeSrc":"14315:4:30","nodeType":"YulIdentifier","src":"14315:4:30"}]},{"nativeSrc":"14351:28:30","nodeType":"YulAssignment","src":"14351:28:30","value":{"arguments":[{"kind":"number","nativeSrc":"14367:1:30","nodeType":"YulLiteral","src":"14367:1:30","type":"","value":"1"},{"name":"exponent","nativeSrc":"14370:8:30","nodeType":"YulIdentifier","src":"14370:8:30"}],"functionName":{"name":"shr","nativeSrc":"14363:3:30","nodeType":"YulIdentifier","src":"14363:3:30"},"nativeSrc":"14363:16:30","nodeType":"YulFunctionCall","src":"14363:16:30"},"variableNames":[{"name":"exponent","nativeSrc":"14351:8:30","nodeType":"YulIdentifier","src":"14351:8:30"}]}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"14151:8:30","nodeType":"YulIdentifier","src":"14151:8:30"},{"kind":"number","nativeSrc":"14161:1:30","nodeType":"YulLiteral","src":"14161:1:30","type":"","value":"1"}],"functionName":{"name":"gt","nativeSrc":"14148:2:30","nodeType":"YulIdentifier","src":"14148:2:30"},"nativeSrc":"14148:15:30","nodeType":"YulFunctionCall","src":"14148:15:30"},"nativeSrc":"14140:249:30","nodeType":"YulForLoop","post":{"nativeSrc":"14164:3:30","nodeType":"YulBlock","src":"14164:3:30","statements":[]},"pre":{"nativeSrc":"14144:3:30","nodeType":"YulBlock","src":"14144:3:30","statements":[]},"src":"14140:249:30"}]},"name":"checked_exp_helper","nativeSrc":"14020:375:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"_base","nativeSrc":"14048:5:30","nodeType":"YulTypedName","src":"14048:5:30","type":""},{"name":"exponent","nativeSrc":"14055:8:30","nodeType":"YulTypedName","src":"14055:8:30","type":""},{"name":"max","nativeSrc":"14065:3:30","nodeType":"YulTypedName","src":"14065:3:30","type":""}],"returnVariables":[{"name":"power","nativeSrc":"14073:5:30","nodeType":"YulTypedName","src":"14073:5:30","type":""},{"name":"base","nativeSrc":"14080:4:30","nodeType":"YulTypedName","src":"14080:4:30","type":""}],"src":"14020:375:30"},{"body":{"nativeSrc":"14459:843:30","nodeType":"YulBlock","src":"14459:843:30","statements":[{"body":{"nativeSrc":"14497:52:30","nodeType":"YulBlock","src":"14497:52:30","statements":[{"nativeSrc":"14511:10:30","nodeType":"YulAssignment","src":"14511:10:30","value":{"kind":"number","nativeSrc":"14520:1:30","nodeType":"YulLiteral","src":"14520:1:30","type":"","value":"1"},"variableNames":[{"name":"power","nativeSrc":"14511:5:30","nodeType":"YulIdentifier","src":"14511:5:30"}]},{"nativeSrc":"14534:5:30","nodeType":"YulLeave","src":"14534:5:30"}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"14479:8:30","nodeType":"YulIdentifier","src":"14479:8:30"}],"functionName":{"name":"iszero","nativeSrc":"14472:6:30","nodeType":"YulIdentifier","src":"14472:6:30"},"nativeSrc":"14472:16:30","nodeType":"YulFunctionCall","src":"14472:16:30"},"nativeSrc":"14469:80:30","nodeType":"YulIf","src":"14469:80:30"},{"body":{"nativeSrc":"14582:52:30","nodeType":"YulBlock","src":"14582:52:30","statements":[{"nativeSrc":"14596:10:30","nodeType":"YulAssignment","src":"14596:10:30","value":{"kind":"number","nativeSrc":"14605:1:30","nodeType":"YulLiteral","src":"14605:1:30","type":"","value":"0"},"variableNames":[{"name":"power","nativeSrc":"14596:5:30","nodeType":"YulIdentifier","src":"14596:5:30"}]},{"nativeSrc":"14619:5:30","nodeType":"YulLeave","src":"14619:5:30"}]},"condition":{"arguments":[{"name":"base","nativeSrc":"14568:4:30","nodeType":"YulIdentifier","src":"14568:4:30"}],"functionName":{"name":"iszero","nativeSrc":"14561:6:30","nodeType":"YulIdentifier","src":"14561:6:30"},"nativeSrc":"14561:12:30","nodeType":"YulFunctionCall","src":"14561:12:30"},"nativeSrc":"14558:76:30","nodeType":"YulIf","src":"14558:76:30"},{"cases":[{"body":{"nativeSrc":"14670:52:30","nodeType":"YulBlock","src":"14670:52:30","statements":[{"nativeSrc":"14684:10:30","nodeType":"YulAssignment","src":"14684:10:30","value":{"kind":"number","nativeSrc":"14693:1:30","nodeType":"YulLiteral","src":"14693:1:30","type":"","value":"1"},"variableNames":[{"name":"power","nativeSrc":"14684:5:30","nodeType":"YulIdentifier","src":"14684:5:30"}]},{"nativeSrc":"14707:5:30","nodeType":"YulLeave","src":"14707:5:30"}]},"nativeSrc":"14663:59:30","nodeType":"YulCase","src":"14663:59:30","value":{"kind":"number","nativeSrc":"14668:1:30","nodeType":"YulLiteral","src":"14668:1:30","type":"","value":"1"}},{"body":{"nativeSrc":"14738:167:30","nodeType":"YulBlock","src":"14738:167:30","statements":[{"body":{"nativeSrc":"14773:22:30","nodeType":"YulBlock","src":"14773:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"14775:16:30","nodeType":"YulIdentifier","src":"14775:16:30"},"nativeSrc":"14775:18:30","nodeType":"YulFunctionCall","src":"14775:18:30"},"nativeSrc":"14775:18:30","nodeType":"YulExpressionStatement","src":"14775:18:30"}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"14758:8:30","nodeType":"YulIdentifier","src":"14758:8:30"},{"kind":"number","nativeSrc":"14768:3:30","nodeType":"YulLiteral","src":"14768:3:30","type":"","value":"255"}],"functionName":{"name":"gt","nativeSrc":"14755:2:30","nodeType":"YulIdentifier","src":"14755:2:30"},"nativeSrc":"14755:17:30","nodeType":"YulFunctionCall","src":"14755:17:30"},"nativeSrc":"14752:43:30","nodeType":"YulIf","src":"14752:43:30"},{"nativeSrc":"14808:25:30","nodeType":"YulAssignment","src":"14808:25:30","value":{"arguments":[{"name":"exponent","nativeSrc":"14821:8:30","nodeType":"YulIdentifier","src":"14821:8:30"},{"kind":"number","nativeSrc":"14831:1:30","nodeType":"YulLiteral","src":"14831:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"14817:3:30","nodeType":"YulIdentifier","src":"14817:3:30"},"nativeSrc":"14817:16:30","nodeType":"YulFunctionCall","src":"14817:16:30"},"variableNames":[{"name":"power","nativeSrc":"14808:5:30","nodeType":"YulIdentifier","src":"14808:5:30"}]},{"nativeSrc":"14846:11:30","nodeType":"YulVariableDeclaration","src":"14846:11:30","value":{"kind":"number","nativeSrc":"14856:1:30","nodeType":"YulLiteral","src":"14856:1:30","type":"","value":"0"},"variables":[{"name":"_1","nativeSrc":"14850:2:30","nodeType":"YulTypedName","src":"14850:2:30","type":""}]},{"nativeSrc":"14870:7:30","nodeType":"YulAssignment","src":"14870:7:30","value":{"kind":"number","nativeSrc":"14876:1:30","nodeType":"YulLiteral","src":"14876:1:30","type":"","value":"0"},"variableNames":[{"name":"_1","nativeSrc":"14870:2:30","nodeType":"YulIdentifier","src":"14870:2:30"}]},{"nativeSrc":"14890:5:30","nodeType":"YulLeave","src":"14890:5:30"}]},"nativeSrc":"14731:174:30","nodeType":"YulCase","src":"14731:174:30","value":{"kind":"number","nativeSrc":"14736:1:30","nodeType":"YulLiteral","src":"14736:1:30","type":"","value":"2"}}],"expression":{"name":"base","nativeSrc":"14650:4:30","nodeType":"YulIdentifier","src":"14650:4:30"},"nativeSrc":"14643:262:30","nodeType":"YulSwitch","src":"14643:262:30"},{"body":{"nativeSrc":"15003:114:30","nodeType":"YulBlock","src":"15003:114:30","statements":[{"nativeSrc":"15017:28:30","nodeType":"YulAssignment","src":"15017:28:30","value":{"arguments":[{"name":"base","nativeSrc":"15030:4:30","nodeType":"YulIdentifier","src":"15030:4:30"},{"name":"exponent","nativeSrc":"15036:8:30","nodeType":"YulIdentifier","src":"15036:8:30"}],"functionName":{"name":"exp","nativeSrc":"15026:3:30","nodeType":"YulIdentifier","src":"15026:3:30"},"nativeSrc":"15026:19:30","nodeType":"YulFunctionCall","src":"15026:19:30"},"variableNames":[{"name":"power","nativeSrc":"15017:5:30","nodeType":"YulIdentifier","src":"15017:5:30"}]},{"nativeSrc":"15058:11:30","nodeType":"YulVariableDeclaration","src":"15058:11:30","value":{"kind":"number","nativeSrc":"15068:1:30","nodeType":"YulLiteral","src":"15068:1:30","type":"","value":"0"},"variables":[{"name":"_2","nativeSrc":"15062:2:30","nodeType":"YulTypedName","src":"15062:2:30","type":""}]},{"nativeSrc":"15082:7:30","nodeType":"YulAssignment","src":"15082:7:30","value":{"kind":"number","nativeSrc":"15088:1:30","nodeType":"YulLiteral","src":"15088:1:30","type":"","value":"0"},"variableNames":[{"name":"_2","nativeSrc":"15082:2:30","nodeType":"YulIdentifier","src":"15082:2:30"}]},{"nativeSrc":"15102:5:30","nodeType":"YulLeave","src":"15102:5:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"base","nativeSrc":"14927:4:30","nodeType":"YulIdentifier","src":"14927:4:30"},{"kind":"number","nativeSrc":"14933:2:30","nodeType":"YulLiteral","src":"14933:2:30","type":"","value":"11"}],"functionName":{"name":"lt","nativeSrc":"14924:2:30","nodeType":"YulIdentifier","src":"14924:2:30"},"nativeSrc":"14924:12:30","nodeType":"YulFunctionCall","src":"14924:12:30"},{"arguments":[{"name":"exponent","nativeSrc":"14941:8:30","nodeType":"YulIdentifier","src":"14941:8:30"},{"kind":"number","nativeSrc":"14951:2:30","nodeType":"YulLiteral","src":"14951:2:30","type":"","value":"78"}],"functionName":{"name":"lt","nativeSrc":"14938:2:30","nodeType":"YulIdentifier","src":"14938:2:30"},"nativeSrc":"14938:16:30","nodeType":"YulFunctionCall","src":"14938:16:30"}],"functionName":{"name":"and","nativeSrc":"14920:3:30","nodeType":"YulIdentifier","src":"14920:3:30"},"nativeSrc":"14920:35:30","nodeType":"YulFunctionCall","src":"14920:35:30"},{"arguments":[{"arguments":[{"name":"base","nativeSrc":"14964:4:30","nodeType":"YulIdentifier","src":"14964:4:30"},{"kind":"number","nativeSrc":"14970:3:30","nodeType":"YulLiteral","src":"14970:3:30","type":"","value":"307"}],"functionName":{"name":"lt","nativeSrc":"14961:2:30","nodeType":"YulIdentifier","src":"14961:2:30"},"nativeSrc":"14961:13:30","nodeType":"YulFunctionCall","src":"14961:13:30"},{"arguments":[{"name":"exponent","nativeSrc":"14979:8:30","nodeType":"YulIdentifier","src":"14979:8:30"},{"kind":"number","nativeSrc":"14989:2:30","nodeType":"YulLiteral","src":"14989:2:30","type":"","value":"32"}],"functionName":{"name":"lt","nativeSrc":"14976:2:30","nodeType":"YulIdentifier","src":"14976:2:30"},"nativeSrc":"14976:16:30","nodeType":"YulFunctionCall","src":"14976:16:30"}],"functionName":{"name":"and","nativeSrc":"14957:3:30","nodeType":"YulIdentifier","src":"14957:3:30"},"nativeSrc":"14957:36:30","nodeType":"YulFunctionCall","src":"14957:36:30"}],"functionName":{"name":"or","nativeSrc":"14917:2:30","nodeType":"YulIdentifier","src":"14917:2:30"},"nativeSrc":"14917:77:30","nodeType":"YulFunctionCall","src":"14917:77:30"},"nativeSrc":"14914:203:30","nodeType":"YulIf","src":"14914:203:30"},{"nativeSrc":"15126:65:30","nodeType":"YulVariableDeclaration","src":"15126:65:30","value":{"arguments":[{"name":"base","nativeSrc":"15168:4:30","nodeType":"YulIdentifier","src":"15168:4:30"},{"name":"exponent","nativeSrc":"15174:8:30","nodeType":"YulIdentifier","src":"15174:8:30"},{"arguments":[{"kind":"number","nativeSrc":"15188:1:30","nodeType":"YulLiteral","src":"15188:1:30","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"15184:3:30","nodeType":"YulIdentifier","src":"15184:3:30"},"nativeSrc":"15184:6:30","nodeType":"YulFunctionCall","src":"15184:6:30"}],"functionName":{"name":"checked_exp_helper","nativeSrc":"15149:18:30","nodeType":"YulIdentifier","src":"15149:18:30"},"nativeSrc":"15149:42:30","nodeType":"YulFunctionCall","src":"15149:42:30"},"variables":[{"name":"power_1","nativeSrc":"15130:7:30","nodeType":"YulTypedName","src":"15130:7:30","type":""},{"name":"base_1","nativeSrc":"15139:6:30","nodeType":"YulTypedName","src":"15139:6:30","type":""}]},{"body":{"nativeSrc":"15236:22:30","nodeType":"YulBlock","src":"15236:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"15238:16:30","nodeType":"YulIdentifier","src":"15238:16:30"},"nativeSrc":"15238:18:30","nodeType":"YulFunctionCall","src":"15238:18:30"},"nativeSrc":"15238:18:30","nodeType":"YulExpressionStatement","src":"15238:18:30"}]},"condition":{"arguments":[{"name":"power_1","nativeSrc":"15206:7:30","nodeType":"YulIdentifier","src":"15206:7:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"15223:1:30","nodeType":"YulLiteral","src":"15223:1:30","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"15219:3:30","nodeType":"YulIdentifier","src":"15219:3:30"},"nativeSrc":"15219:6:30","nodeType":"YulFunctionCall","src":"15219:6:30"},{"name":"base_1","nativeSrc":"15227:6:30","nodeType":"YulIdentifier","src":"15227:6:30"}],"functionName":{"name":"div","nativeSrc":"15215:3:30","nodeType":"YulIdentifier","src":"15215:3:30"},"nativeSrc":"15215:19:30","nodeType":"YulFunctionCall","src":"15215:19:30"}],"functionName":{"name":"gt","nativeSrc":"15203:2:30","nodeType":"YulIdentifier","src":"15203:2:30"},"nativeSrc":"15203:32:30","nodeType":"YulFunctionCall","src":"15203:32:30"},"nativeSrc":"15200:58:30","nodeType":"YulIf","src":"15200:58:30"},{"nativeSrc":"15267:29:30","nodeType":"YulAssignment","src":"15267:29:30","value":{"arguments":[{"name":"power_1","nativeSrc":"15280:7:30","nodeType":"YulIdentifier","src":"15280:7:30"},{"name":"base_1","nativeSrc":"15289:6:30","nodeType":"YulIdentifier","src":"15289:6:30"}],"functionName":{"name":"mul","nativeSrc":"15276:3:30","nodeType":"YulIdentifier","src":"15276:3:30"},"nativeSrc":"15276:20:30","nodeType":"YulFunctionCall","src":"15276:20:30"},"variableNames":[{"name":"power","nativeSrc":"15267:5:30","nodeType":"YulIdentifier","src":"15267:5:30"}]}]},"name":"checked_exp_unsigned","nativeSrc":"14400:902:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"base","nativeSrc":"14430:4:30","nodeType":"YulTypedName","src":"14430:4:30","type":""},{"name":"exponent","nativeSrc":"14436:8:30","nodeType":"YulTypedName","src":"14436:8:30","type":""}],"returnVariables":[{"name":"power","nativeSrc":"14449:5:30","nodeType":"YulTypedName","src":"14449:5:30","type":""}],"src":"14400:902:30"},{"body":{"nativeSrc":"15375:72:30","nodeType":"YulBlock","src":"15375:72:30","statements":[{"nativeSrc":"15385:56:30","nodeType":"YulAssignment","src":"15385:56:30","value":{"arguments":[{"name":"base","nativeSrc":"15415:4:30","nodeType":"YulIdentifier","src":"15415:4:30"},{"arguments":[{"name":"exponent","nativeSrc":"15425:8:30","nodeType":"YulIdentifier","src":"15425:8:30"},{"kind":"number","nativeSrc":"15435:4:30","nodeType":"YulLiteral","src":"15435:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"15421:3:30","nodeType":"YulIdentifier","src":"15421:3:30"},"nativeSrc":"15421:19:30","nodeType":"YulFunctionCall","src":"15421:19:30"}],"functionName":{"name":"checked_exp_unsigned","nativeSrc":"15394:20:30","nodeType":"YulIdentifier","src":"15394:20:30"},"nativeSrc":"15394:47:30","nodeType":"YulFunctionCall","src":"15394:47:30"},"variableNames":[{"name":"power","nativeSrc":"15385:5:30","nodeType":"YulIdentifier","src":"15385:5:30"}]}]},"name":"checked_exp_t_uint256_t_uint8","nativeSrc":"15307:140:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"base","nativeSrc":"15346:4:30","nodeType":"YulTypedName","src":"15346:4:30","type":""},{"name":"exponent","nativeSrc":"15352:8:30","nodeType":"YulTypedName","src":"15352:8:30","type":""}],"returnVariables":[{"name":"power","nativeSrc":"15365:5:30","nodeType":"YulTypedName","src":"15365:5:30","type":""}],"src":"15307:140:30"}]},"contents":"{\n    { }\n    function abi_decode_struct_SwapConfig_calldata(offset, end) -> value\n    {\n        if slt(sub(end, offset), 96) { revert(0, 0) }\n        value := offset\n    }\n    function validator_revert_address(value)\n    {\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptrt_addresst_addresst_uint256t_uint256(headStart, dataEnd) -> value0, value1, value2, value3, value4\n    {\n        if slt(sub(dataEnd, headStart), 160) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        value0 := abi_decode_struct_SwapConfig_calldata(add(headStart, offset), dataEnd)\n        let value := calldataload(add(headStart, 32))\n        validator_revert_address(value)\n        value1 := value\n        let value_1 := calldataload(add(headStart, 64))\n        validator_revert_address(value_1)\n        value2 := value_1\n        let value_2 := 0\n        value_2 := calldataload(add(headStart, 96))\n        value3 := value_2\n        let value_3 := 0\n        value_3 := calldataload(add(headStart, 128))\n        value4 := value_3\n    }\n    function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_library_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptr(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        value0 := abi_decode_struct_SwapConfig_calldata(add(headStart, offset), dataEnd)\n    }\n    function panic_error_0x21()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x21)\n        revert(0, 0x24)\n    }\n    function abi_decode_tuple_t_enum$_SwapProtocol_$6595(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := calldataload(headStart)\n        if iszero(lt(value, 3)) { revert(0, 0) }\n        value0 := value\n    }\n    function access_calldata_tail_t_bytes_calldata_ptr(base_ref, ptr_to_tail) -> addr, length\n    {\n        let rel_offset_of_tail := calldataload(ptr_to_tail)\n        if iszero(slt(rel_offset_of_tail, add(sub(calldatasize(), base_ref), not(30)))) { revert(0, 0) }\n        let addr_1 := add(base_ref, rel_offset_of_tail)\n        length := calldataload(addr_1)\n        if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n        addr := add(addr_1, 0x20)\n        if sgt(addr, sub(calldatasize(), length)) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_struct$_UniswapCustomParams_$6609_memory_ptr(headStart, dataEnd) -> value0\n    {\n        let _1 := slt(sub(dataEnd, headStart), 64)\n        if _1 { revert(0, 0) }\n        _1 := 0\n        let memPtr := mload(64)\n        let newFreePtr := add(memPtr, 64)\n        if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr))\n        {\n            mstore(_1, shl(224, 0x4e487b71))\n            mstore(4, 0x41)\n            revert(_1, 0x24)\n        }\n        mstore(64, newFreePtr)\n        let value := calldataload(headStart)\n        if iszero(eq(value, and(value, 0xffffff))) { revert(_1, _1) }\n        mstore(memPtr, value)\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        mstore(add(memPtr, 32), value_1)\n        value0 := memPtr\n    }\n    function abi_encode_address(value, pos)\n    {\n        mstore(pos, and(value, sub(shl(160, 1), 1)))\n    }\n    function abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 32), value1)\n    }\n    function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := mload(headStart)\n        if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n        value0 := value\n    }\n    function abi_encode_struct_ExactOutputSingleParams(value, pos)\n    {\n        mstore(pos, and(mload(value), sub(shl(160, 1), 1)))\n        mstore(add(pos, 0x20), and(mload(add(value, 0x20)), sub(shl(160, 1), 1)))\n        mstore(add(pos, 0x40), and(mload(add(value, 0x40)), 0xffffff))\n        let memberValue0 := mload(add(value, 0x60))\n        abi_encode_address(memberValue0, add(pos, 0x60))\n        mstore(add(pos, 0x80), mload(add(value, 0x80)))\n        mstore(add(pos, 0xa0), mload(add(value, 0xa0)))\n        mstore(add(pos, 0xc0), mload(add(value, 0xc0)))\n        let memberValue0_1 := mload(add(value, 0xe0))\n        abi_encode_address(memberValue0_1, add(pos, 0xe0))\n    }\n    function abi_encode_tuple_t_struct$_ExactOutputSingleParams_$5489_memory_ptr__to_t_struct$_ExactOutputSingleParams_$5489_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 256)\n        abi_encode_struct_ExactOutputSingleParams(value0, headStart)\n    }\n    function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := mload(headStart)\n    }\n    function abi_encode_tuple_t_address_t_rational_0_by_1__to_t_address_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 32), value1)\n    }\n    function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, value0)\n        mstore(add(headStart, 32), value1)\n    }\n    function panic_error_0x11()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x11)\n        revert(0, 0x24)\n    }\n    function checked_sub_t_uint256(x, y) -> diff\n    {\n        diff := sub(x, y)\n        if gt(diff, x) { panic_error_0x11() }\n    }\n    function checked_add_t_uint256(x, y) -> sum\n    {\n        sum := add(x, y)\n        if gt(x, sum) { panic_error_0x11() }\n    }\n    function increment_t_uint256(value) -> ret\n    {\n        if eq(value, not(0)) { panic_error_0x11() }\n        ret := add(value, 1)\n    }\n    function abi_encode_tuple_t_struct$_ExactInputSingleParams_$5443_memory_ptr__to_t_struct$_ExactInputSingleParams_$5443_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 256)\n        abi_encode_struct_ExactOutputSingleParams(value0, headStart)\n    }\n    function abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n    }\n    function abi_encode_array_address(value, pos)\n    {\n        pos := pos\n        let srcPtr := value\n        let i := 0\n        for { } lt(i, 0x0b) { i := add(i, 1) }\n        {\n            mstore(pos, and(mload(srcPtr), sub(shl(160, 1), 1)))\n            pos := add(pos, 0x20)\n            srcPtr := add(srcPtr, 0x20)\n        }\n    }\n    function abi_encode_array_array_uint256(value, pos)\n    {\n        pos := pos\n        let srcPtr := value\n        let i := 0\n        for { } lt(i, 0x05) { i := add(i, 1) }\n        {\n            let _1 := mload(srcPtr)\n            let updatedPos := 0\n            let pos_1 := pos\n            pos_1 := pos\n            let srcPtr_1 := _1\n            let i_1 := updatedPos\n            for { } lt(i_1, 0x05) { i_1 := add(i_1, 1) }\n            {\n                mstore(pos_1, mload(srcPtr_1))\n                pos_1 := add(pos_1, 0x20)\n                srcPtr_1 := add(srcPtr_1, 0x20)\n            }\n            updatedPos := add(pos, 0xa0)\n            pos := updatedPos\n            srcPtr := add(srcPtr, 0x20)\n        }\n    }\n    function abi_encode_array_address_to_array_address_fromStack(value, pos)\n    {\n        pos := pos\n        let srcPtr := value\n        let i := 0\n        for { } lt(i, 0x05) { i := add(i, 1) }\n        {\n            mstore(pos, and(mload(srcPtr), sub(shl(160, 1), 1)))\n            pos := add(pos, 0x20)\n            srcPtr := add(srcPtr, 0x20)\n        }\n    }\n    function abi_encode_tuple_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_uint256_t_array$_t_address_$5_memory_ptr_t_address__to_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_uint256_t_array$_t_address_$5_memory_ptr_t_address__fromStack_reversed(headStart, value5, value4, value3, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 1408)\n        abi_encode_array_address(value0, headStart)\n        abi_encode_array_array_uint256(value1, add(headStart, 352))\n        mstore(add(headStart, 1152), value2)\n        mstore(add(headStart, 1184), value3)\n        abi_encode_array_address_to_array_address_fromStack(value4, add(headStart, 1216))\n        mstore(add(headStart, 1376), and(value5, sub(shl(160, 1), 1)))\n    }\n    function checked_mul_t_uint256(x, y) -> product\n    {\n        product := mul(x, y)\n        if iszero(or(iszero(x), eq(y, div(product, x)))) { panic_error_0x11() }\n    }\n    function panic_error_0x32()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x32)\n        revert(0, 0x24)\n    }\n    function abi_encode_tuple_t_struct$_CurveRoute_$5567_memory_ptr__to_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 1312)\n        let _1 := mload(value0)\n        let pos := headStart\n        pos := headStart\n        let srcPtr := _1\n        let i := 0\n        for { } lt(i, 0x0b) { i := add(i, 1) }\n        {\n            mstore(pos, and(mload(srcPtr), sub(shl(160, 1), 1)))\n            pos := add(pos, 0x20)\n            srcPtr := add(srcPtr, 0x20)\n        }\n        let memberValue0 := mload(add(value0, 0x20))\n        abi_encode_array_array_uint256(memberValue0, add(headStart, 0x0160))\n        let memberValue0_1 := mload(add(value0, 0x40))\n        abi_encode_array_address_to_array_address_fromStack(memberValue0_1, add(headStart, 0x0480))\n    }\n    function checked_mul_t_uint8(x, y) -> product\n    {\n        let product_raw := mul(and(x, 0xff), and(y, 0xff))\n        product := and(product_raw, 0xff)\n        if iszero(eq(product, product_raw)) { panic_error_0x11() }\n    }\n    function panic_error_0x12()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x12)\n        revert(0, 0x24)\n    }\n    function checked_div_t_uint256(x, y) -> r\n    {\n        if iszero(y)\n        {\n            mstore(0, shl(224, 0x4e487b71))\n            mstore(4, 0x12)\n            revert(0, 0x24)\n        }\n        r := div(x, y)\n    }\n    function abi_encode_tuple_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_array$_t_address_$5_memory_ptr__to_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_array$_t_address_$5_memory_ptr__fromStack_reversed(headStart, value3, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 1344)\n        abi_encode_array_address(value0, headStart)\n        abi_encode_array_array_uint256(value1, add(headStart, 352))\n        mstore(add(headStart, 1152), value2)\n        abi_encode_array_address_to_array_address_fromStack(value3, add(headStart, 1184))\n    }\n    function abi_encode_tuple_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_rational_0_by_1_t_array$_t_address_$5_memory_ptr_t_address__to_t_array$_t_address_$11_memory_ptr_t_array$_t_array$_t_uint256_$5_memory_ptr_$5_memory_ptr_t_uint256_t_uint256_t_array$_t_address_$5_memory_ptr_t_address__fromStack_reversed(headStart, value5, value4, value3, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 1408)\n        abi_encode_array_address(value0, headStart)\n        abi_encode_array_array_uint256(value1, add(headStart, 352))\n        mstore(add(headStart, 1152), value2)\n        mstore(add(headStart, 1184), value3)\n        abi_encode_array_address_to_array_address_fromStack(value4, add(headStart, 1216))\n        mstore(add(headStart, 1376), and(value5, sub(shl(160, 1), 1)))\n    }\n    function abi_encode_tuple_t_stringliteral_9f688071e1df0f70b63e3651005878331be1fe9591d6cfb3187cb52a13439e5d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 21)\n        mstore(add(headStart, 64), \"toAddress_outOfBounds\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_stringliteral_ce6d7be00009dd45cc670fb6c2ceee25786f142bcb64e7f1ee73012b26bb6ca1__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 19)\n        mstore(add(headStart, 64), \"toUint8_outOfBounds\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xff))\n    }\n    function checked_add_t_uint8(x, y) -> sum\n    {\n        sum := add(and(x, 0xff), and(y, 0xff))\n        if gt(sum, 0xff) { panic_error_0x11() }\n    }\n    function abi_decode_tuple_t_uint8_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := mload(headStart)\n        if iszero(eq(value, and(value, 0xff))) { revert(0, 0) }\n        value0 := value\n    }\n    function checked_sub_t_uint8(x, y) -> diff\n    {\n        diff := sub(and(x, 0xff), and(y, 0xff))\n        if gt(diff, 0xff) { panic_error_0x11() }\n    }\n    function checked_exp_helper(_base, exponent, max) -> power, base\n    {\n        power := 1\n        base := _base\n        for { } gt(exponent, 1) { }\n        {\n            if gt(base, div(max, base)) { panic_error_0x11() }\n            if and(exponent, 1) { power := mul(power, base) }\n            base := mul(base, base)\n            exponent := shr(1, exponent)\n        }\n    }\n    function checked_exp_unsigned(base, exponent) -> power\n    {\n        if iszero(exponent)\n        {\n            power := 1\n            leave\n        }\n        if iszero(base)\n        {\n            power := 0\n            leave\n        }\n        switch base\n        case 1 {\n            power := 1\n            leave\n        }\n        case 2 {\n            if gt(exponent, 255) { panic_error_0x11() }\n            power := shl(exponent, 1)\n            let _1 := 0\n            _1 := 0\n            leave\n        }\n        if or(and(lt(base, 11), lt(exponent, 78)), and(lt(base, 307), lt(exponent, 32)))\n        {\n            power := exp(base, exponent)\n            let _2 := 0\n            _2 := 0\n            leave\n        }\n        let power_1, base_1 := checked_exp_helper(base, exponent, not(0))\n        if gt(power_1, div(not(0), base_1)) { panic_error_0x11() }\n        power := mul(power_1, base_1)\n    }\n    function checked_exp_t_uint256_t_uint8(base, exponent) -> power\n    {\n        power := checked_exp_unsigned(base, and(exponent, 0xff))\n    }\n}","id":30,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"730000000000000000000000000000000000000000301460806040526004361061004b5760003560e01c8063581e517d146100505780637756691514610082578063b2fca32c146100a2575b600080fd5b81801561005c57600080fd5b5061007061006b3660046116d1565b6100b7565b60405190815260200160405180910390f35b81801561008e57600080fd5b5061007061009d3660046116d1565b610131565b6100b56100b0366004611745565b610197565b005b600060016100c86020880188611798565b60028111156100d9576100d9611782565b036100f2576100eb86868686866102e1565b9050610128565b60026101016020880188611798565b600281111561011257610112611782565b03610124576100eb868686868661052a565b5060005b95945050505050565b600060016101426020880188611798565b600281111561015357610153611782565b03610165576100eb86868686866106ee565b60026101746020880188611798565b600281111561018557610185611782565b03610124576100eb868686868661093e565b80602001356000036101bc57604051633b3a5b4760e21b815260040160405180910390fd5b60016101cb6020830183611798565b60028111156101dc576101dc611782565b036102565760006101f060408301836117b9565b8101906101fd9190611807565b60208101519091506001600160a01b031661022b5760405163e35d3f9360e01b815260040160405180910390fd5b805162ffffff166000036102525760405163c087296d60e01b815260040160405180910390fd5b5050565b60026102656020830183611798565b600281111561027657610276611782565b036102c8576102c561028b60408301836117b9565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610b2e92505050565b50565b6040516301fc71f560e21b815260040160405180910390fd5b6000806102f160408801886117b9565b8101906102fe9190611807565b90506000610313858960200135898988610d77565b602083015160405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291925088169063095ea7b3906044016020604051808303816000875af115801561036b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038f9190611883565b506000604051806101000160405280896001600160a01b03168152602001886001600160a01b03168152602001846000015162ffffff168152602001306001600160a01b0316815260200142815260200187815260200183815260200160006001600160a01b03168152509050600083602001516001600160a01b031663db3e2198836040518263ffffffff1660e01b815260040161042e919061191a565b6020604051808303816000875af115801561044d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104719190611929565b602085015160405163095ea7b360e01b81526001600160a01b039182166004820152600060248201529192508a169063095ea7b3906044016020604051808303816000875af11580156104c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ec9190611883565b508281111561051d57604051634641f9e160e01b815260048101829052602481018490526044015b60405180910390fd5b9998505050505050505050565b6000808061057c61053e60408a018a6117b9565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508b92508a9150610ddb9050565b915091506000610593868a602001358a8a89610d77565b60405163095ea7b360e01b81526001600160a01b038581166004830152602482018390529192509089169063095ea7b3906044016020604051808303816000875af11580156105e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060a9190611883565b506000805b871580159061061e5750600281105b1561066c5760008061063187878c610f27565b9150915061063f8a83611038565b610649908b611958565b9950610655818561196b565b9350505080806106649061197e565b91505061060f565b5060405163095ea7b360e01b81526001600160a01b038581166004830152600060248301528a169063095ea7b3906044016020604051808303816000875af11580156106bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e09190611883565b509998505050505050505050565b6000806106fe60408801886117b9565b81019061070b9190611807565b9050600061072085896020013589898861104d565b602083015160405163095ea7b360e01b81526001600160a01b0391821660048201526024810188905291925088169063095ea7b3906044016020604051808303816000875af1158015610777573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079b9190611883565b506000604051806101000160405280896001600160a01b03168152602001886001600160a01b03168152602001846000015162ffffff168152602001306001600160a01b0316815260200142815260200187815260200183815260200160006001600160a01b03168152509050600083602001516001600160a01b031663414bf389836040518263ffffffff1660e01b815260040161083a919061191a565b6020604051808303816000875af1158015610859573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087d9190611929565b6020850151604051636eb1769f60e11b81523060048201526001600160a01b0391821660248201529192508a169063dd62ed3e90604401602060405180830381865afa1580156108d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f59190611929565b1561091357604051630511d53d60e41b815260040160405180910390fd5b8281101561051d57604051634209aa3160e11b81526004810182905260248101849052604401610514565b6000808061095261053e60408a018a6117b9565b915091506000610969868a602001358a8a8961104d565b60405163095ea7b360e01b81526001600160a01b038581166004830152602482018990529192509089169063095ea7b3906044016020604051808303816000875af11580156109bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e09190611883565b5081516020830151604080850151905163c872a3c560e01b81526001600160a01b0387169363c872a3c593610a2293919290918c918891903090600401611a3c565b6020604051808303816000875af1158015610a41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a659190611929565b604051636eb1769f60e11b81523060048201526001600160a01b0385811660248301529195509089169063dd62ed3e90604401602060405180830381865afa158015610ab5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad99190611929565b15610af757604051630511d53d60e41b815260040160405180910390fd5b80841015610b2257604051634209aa3160e11b81526004810185905260248101829052604401610514565b50505095945050505050565b6000610b3a8282611081565b90506001600160a01b038116610b635760405163e368363760e01b815260040160405180910390fd5b6000610b7a610b7360148361196b565b84906110e6565b90508060ff16600003610ba0576040516301ec987f60e31b815260040160405180910390fd5b60006001610baf60148361196b565b610bb9919061196b565b905060005b8260ff16811015610d4f57600080610bd68785611142565b9150915060005b8260ff16811015610c80578151600090610bf8836002611a92565b600b8110610c0857610c08611aa9565b60200201516001600160a01b03161480610c5857508151600090610c2d836002611a92565b610c3890600161196b565b600b8110610c4857610c48611aa9565b60200201516001600160a01b0316145b15610c785781604051635875b11160e01b81526004016105149190611abf565b600101610bdd565b508051600090610c91846002611b24565b60ff16600b8110610ca457610ca4611aa9565b60200201516001600160a01b031603610cd25780604051635875b11160e01b81526004016105149190611abf565b60058260ff1614158015610d1057508051600090610cef84611441565b600b8110610cff57610cff611aa9565b60200201516001600160a01b031614155b15610d305780604051635875b11160e01b81526004016105149190611abf565b610d3982611462565b610d43908561196b565b93505050600101610bbe565b5080845114610d715760405163251f56a160e21b815260040160405180910390fd5b50505050565b6000610d82846114c0565b610dc7610d9787670de0b6b3a764000061196b565b670de0b6b3a7640000610dc086670de0b6b3a7640000610db68a6114c0565b610dc0908e611a92565b919061153a565b610dd19190611b56565b9695505050505050565b6000610de5611608565b610df0856000611081565b91506000610e09610e0260148361196b565b87906110e6565b905060006001610e1a60148361196b565b610e24919061196b565b905060005b8260ff16811015610ef2576000610e4089846110e6565b90506001600160a01b038816610e61610e5a60018661196b565b8b90611081565b6001600160a01b0316148015610eb857506001600160a01b038716610ead610e8d60ff84166014611a92565b610e98906002611a92565b610ea360018761196b565b610e5a919061196b565b6001600160a01b0316145b15610ed457610ec78984611142565b9550610f1f945050505050565b610edd81611462565b610ee7908461196b565b925050600101610e29565b50604051638c9aec7b60e01b81526001600160a01b03808816600483015286166024820152604401610514565b935093915050565b81516020830151604080850151905163c07b535360e01b815260009384936001600160a01b0389169363c07b535393610f669392918991600401611b78565b602060405180830381865afa158015610f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa79190611929565b84516020860151604080880151905163c872a3c560e01b81529394506001600160a01b0389169363c872a3c593610feb939092909187916000913090600401611a3c565b6020604051808303816000875af115801561100a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102e9190611929565b9150935093915050565b60008282188284100282185b90505b92915050565b6000611058836114c0565b610dc761106d87670de0b6b3a7640000611958565b84611077886114c0565b610dc0908b611a92565b600061108e82601461196b565b835110156110d65760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610514565b500160200151600160601b900490565b60006110f382600161196b565b835110156111395760405162461bcd60e51b8152602060048201526013602482015272746f55696e74385f6f75744f66426f756e647360681b6044820152606401610514565b50016001015190565b600061114c611608565b61115684846110e6565b915060058260ff16111561118257604051635b030b5960e11b815260ff83166004820152602401610514565b60005b61118e83611441565b8110156111ed576111bf6111a3601483611a92565b6111ae60018761196b565b6111b8919061196b565b8690611081565b825182600b81106111d2576111d2611aa9565b6001600160a01b039092166020929092020152600101611185565b5060146111f983611441565b6112039190611a92565b61120e90600161196b565b611218908461196b565b925060005b8260ff168110156113bc57611252611236600183611a92565b611241906005611a92565b61124b908661196b565b86906110e6565b60ff168260200151826005811061126b5761126b611aa9565b60200201515261129f61127f600183611a92565b61128a906005611a92565b611294908661196b565b61124b90600161196b565b60ff16826020015182600581106112b8576112b8611aa9565b6020020151600160200201526112f26112d2600183611a92565b6112dd906005611a92565b6112e7908661196b565b61124b90600261196b565b60ff168260200151826005811061130b5761130b611aa9565b602002015160400152611342611322600183611a92565b61132d906005611a92565b611337908661196b565b61124b90600361196b565b60ff168260200151826005811061135b5761135b611aa9565b602002015160600152611392611372600183611a92565b61137d906005611a92565b611387908661196b565b61124b90600461196b565b60ff16826020015182600581106113ab576113ab611aa9565b60200201516080015260010161121d565b506113cb600160ff8416611a92565b6113d6906005611a92565b6113e0908461196b565b925060005b8260ff16811015611439576114086113fe601483611a92565b6111b8908661196b565b8260400151826005811061141e5761141e611aa9565b6001600160a01b0390921660209290920201526001016113e5565b509250929050565b600061144e826002611b24565b611459906001611baa565b60ff1692915050565b6000611472601460ff8416611a92565b600161147f846005611b24565b60ff1661148c9190611a92565b601461149785611441565b6114a19190611a92565b6114ac90600161196b565b6114b6919061196b565b611047919061196b565b6000816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611500573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115249190611bc3565b61152f906012611be6565b61104790600a611cde565b60008383028160001985870982811083820303915050806000036115715783828161156757611567611b40565b04925050506115ef565b8084116115885761158860038515026011186115f6565b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150505b9392505050565b634e487b71600052806020526024601cfd5b604051806060016040528061161b61163a565b8152602001611628611659565b8152602001611635611686565b905290565b604051806101600160405280600b906020820280368337509192915050565b6040518060a001604052806005905b611670611686565b8152602001906001900390816116685790505090565b6040518060a001604052806005906020820280368337509192915050565b6000606082840312156116b657600080fd5b50919050565b6001600160a01b03811681146102c557600080fd5b600080600080600060a086880312156116e957600080fd5b853567ffffffffffffffff81111561170057600080fd5b61170c888289016116a4565b955050602086013561171d816116bc565b9350604086013561172d816116bc565b94979396509394606081013594506080013592915050565b60006020828403121561175757600080fd5b813567ffffffffffffffff81111561176e57600080fd5b61177a848285016116a4565b949350505050565b634e487b7160e01b600052602160045260246000fd5b6000602082840312156117aa57600080fd5b8135600381106115ef57600080fd5b6000808335601e198436030181126117d057600080fd5b83018035915067ffffffffffffffff8211156117eb57600080fd5b60200191503681900382131561180057600080fd5b9250929050565b6000604082840312801561181a57600080fd5b600090506040516040810181811067ffffffffffffffff8211171561184d57634e487b7160e01b83526041600452602483fd5b604052833562ffffff81168114611862578283fd5b815260208401359150611874826116bc565b60208101919091529392505050565b60006020828403121561189557600080fd5b815180151581146115ef57600080fd5b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015191821690840152506080810151608083015260a081015160a083015260c081015160c083015260e081015161191560e08401826001600160a01b03169052565b505050565b610100810161104782846118a5565b60006020828403121561193b57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561104757611047611942565b8082018082111561104757611047611942565b60006001820161199057611990611942565b5060010190565b8060005b600b811015610d715781516001600160a01b031684526020938401939091019060010161199b565b8060005b6005811015610d71578151600085815b60058110156119f65783518252602093840193909101906001016119d7565b50505060a0949094019350602091909101906001016119c7565b8060005b6005811015610d715781516001600160a01b0316845260209384019390910190600101611a14565b6105808101611a4b8289611997565b611a596101608301886119c3565b85610480830152846104a0830152611a756104c0830185611a10565b6001600160a01b0392909216610560919091015295945050505050565b808202811582820484141761104757611047611942565b634e487b7160e01b600052603260045260246000fd5b81516105208201908260005b600b811015611af35782516001600160a01b0316825260209283019290910190600101611acb565b5050506020830151611b096101608401826119c3565b506040830151611b1d610480840182611a10565b5092915050565b60ff8181168382160290811690818114611b1d57611b1d611942565b634e487b7160e01b600052601260045260246000fd5b600082611b7357634e487b7160e01b600052601260045260246000fd5b500490565b6105408101611b878287611997565b611b956101608301866119c3565b836104808301526101286104a0830184611a10565b60ff818116838216019081111561104757611047611942565b600060208284031215611bd557600080fd5b815160ff811681146115ef57600080fd5b60ff828116828216039081111561104757611047611942565b6001815b6001841115610f1f57808504811115611c1e57611c1e611942565b6001841615611c2c57908102905b60019390931c928002611c03565b600082611c4957506001611047565b81611c5657506000611047565b8160018114611c6c5760028114611c7657611c92565b6001915050611047565b60ff841115611c8757611c87611942565b50506001821b611047565b5060208310610133831016604e8410600b8410161715611cb5575081810a611047565b611cc26000198484611bff565b8060001904821115611cd657611cd6611942565b029392505050565b600061104460ff841683611c3a56fea26469706673582212203cfd9958529acddcddb32bf0ee9e785109530e511517b02fe9fc4d32a63c652164736f6c634300081c0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x581E517D EQ PUSH2 0x50 JUMPI DUP1 PUSH4 0x77566915 EQ PUSH2 0x82 JUMPI DUP1 PUSH4 0xB2FCA32C EQ PUSH2 0xA2 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP1 ISZERO PUSH2 0x5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x70 PUSH2 0x6B CALLDATASIZE PUSH1 0x4 PUSH2 0x16D1 JUMP JUMPDEST PUSH2 0xB7 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP2 DUP1 ISZERO PUSH2 0x8E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x70 PUSH2 0x9D CALLDATASIZE PUSH1 0x4 PUSH2 0x16D1 JUMP JUMPDEST PUSH2 0x131 JUMP JUMPDEST PUSH2 0xB5 PUSH2 0xB0 CALLDATASIZE PUSH1 0x4 PUSH2 0x1745 JUMP JUMPDEST PUSH2 0x197 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH2 0xC8 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0xD9 JUMPI PUSH2 0xD9 PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0xF2 JUMPI PUSH2 0xEB DUP7 DUP7 DUP7 DUP7 DUP7 PUSH2 0x2E1 JUMP JUMPDEST SWAP1 POP PUSH2 0x128 JUMP JUMPDEST PUSH1 0x2 PUSH2 0x101 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x112 JUMPI PUSH2 0x112 PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0x124 JUMPI PUSH2 0xEB DUP7 DUP7 DUP7 DUP7 DUP7 PUSH2 0x52A JUMP JUMPDEST POP PUSH1 0x0 JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH2 0x142 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x153 JUMPI PUSH2 0x153 PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0x165 JUMPI PUSH2 0xEB DUP7 DUP7 DUP7 DUP7 DUP7 PUSH2 0x6EE JUMP JUMPDEST PUSH1 0x2 PUSH2 0x174 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x185 JUMPI PUSH2 0x185 PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0x124 JUMPI PUSH2 0xEB DUP7 DUP7 DUP7 DUP7 DUP7 PUSH2 0x93E JUMP JUMPDEST DUP1 PUSH1 0x20 ADD CALLDATALOAD PUSH1 0x0 SUB PUSH2 0x1BC JUMPI PUSH1 0x40 MLOAD PUSH4 0x3B3A5B47 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH2 0x1CB PUSH1 0x20 DUP4 ADD DUP4 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1DC JUMPI PUSH2 0x1DC PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0x256 JUMPI PUSH1 0x0 PUSH2 0x1F0 PUSH1 0x40 DUP4 ADD DUP4 PUSH2 0x17B9 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x1FD SWAP2 SWAP1 PUSH2 0x1807 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD MLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x22B JUMPI PUSH1 0x40 MLOAD PUSH4 0xE35D3F93 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 MLOAD PUSH3 0xFFFFFF AND PUSH1 0x0 SUB PUSH2 0x252 JUMPI PUSH1 0x40 MLOAD PUSH4 0xC087296D PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 PUSH2 0x265 PUSH1 0x20 DUP4 ADD DUP4 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x276 JUMPI PUSH2 0x276 PUSH2 0x1782 JUMP JUMPDEST SUB PUSH2 0x2C8 JUMPI PUSH2 0x2C5 PUSH2 0x28B PUSH1 0x40 DUP4 ADD DUP4 PUSH2 0x17B9 JUMP JUMPDEST DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP PUSH2 0xB2E SWAP3 POP POP POP JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x1FC71F5 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x2F1 PUSH1 0x40 DUP9 ADD DUP9 PUSH2 0x17B9 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x2FE SWAP2 SWAP1 PUSH2 0x1807 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x313 DUP6 DUP10 PUSH1 0x20 ADD CALLDATALOAD DUP10 DUP10 DUP9 PUSH2 0xD77 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x0 NOT PUSH1 0x24 DUP3 ADD MSTORE SWAP2 SWAP3 POP DUP9 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x36B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x38F SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH2 0x100 ADD PUSH1 0x40 MSTORE DUP1 DUP10 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP9 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 PUSH1 0x0 ADD MLOAD PUSH3 0xFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD ADDRESS PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD TIMESTAMP DUP2 MSTORE PUSH1 0x20 ADD DUP8 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE POP SWAP1 POP PUSH1 0x0 DUP4 PUSH1 0x20 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xDB3E2198 DUP4 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x42E SWAP2 SWAP1 PUSH2 0x191A JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x44D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x471 SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x0 PUSH1 0x24 DUP3 ADD MSTORE SWAP2 SWAP3 POP DUP11 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x4C8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4EC SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP DUP3 DUP2 GT ISZERO PUSH2 0x51D JUMPI PUSH1 0x40 MLOAD PUSH4 0x4641F9E1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x44 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 PUSH2 0x57C PUSH2 0x53E PUSH1 0x40 DUP11 ADD DUP11 PUSH2 0x17B9 JUMP JUMPDEST DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP DUP12 SWAP3 POP DUP11 SWAP2 POP PUSH2 0xDDB SWAP1 POP JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH1 0x0 PUSH2 0x593 DUP7 DUP11 PUSH1 0x20 ADD CALLDATALOAD DUP11 DUP11 DUP10 PUSH2 0xD77 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD DUP4 SWAP1 MSTORE SWAP2 SWAP3 POP SWAP1 DUP10 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x5E6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x60A SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP PUSH1 0x0 DUP1 JUMPDEST DUP8 ISZERO DUP1 ISZERO SWAP1 PUSH2 0x61E JUMPI POP PUSH1 0x2 DUP2 LT JUMPDEST ISZERO PUSH2 0x66C JUMPI PUSH1 0x0 DUP1 PUSH2 0x631 DUP8 DUP8 DUP13 PUSH2 0xF27 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x63F DUP11 DUP4 PUSH2 0x1038 JUMP JUMPDEST PUSH2 0x649 SWAP1 DUP12 PUSH2 0x1958 JUMP JUMPDEST SWAP10 POP PUSH2 0x655 DUP2 DUP6 PUSH2 0x196B JUMP JUMPDEST SWAP4 POP POP POP DUP1 DUP1 PUSH2 0x664 SWAP1 PUSH2 0x197E JUMP JUMPDEST SWAP2 POP POP PUSH2 0x60F JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x0 PUSH1 0x24 DUP4 ADD MSTORE DUP11 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x6BC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x6E0 SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x6FE PUSH1 0x40 DUP9 ADD DUP9 PUSH2 0x17B9 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x70B SWAP2 SWAP1 PUSH2 0x1807 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x720 DUP6 DUP10 PUSH1 0x20 ADD CALLDATALOAD DUP10 DUP10 DUP9 PUSH2 0x104D JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP9 SWAP1 MSTORE SWAP2 SWAP3 POP DUP9 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x777 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x79B SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH2 0x100 ADD PUSH1 0x40 MSTORE DUP1 DUP10 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP9 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 PUSH1 0x0 ADD MLOAD PUSH3 0xFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD ADDRESS PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD TIMESTAMP DUP2 MSTORE PUSH1 0x20 ADD DUP8 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE POP SWAP1 POP PUSH1 0x0 DUP4 PUSH1 0x20 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x414BF389 DUP4 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x83A SWAP2 SWAP1 PUSH2 0x191A JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x859 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x87D SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x6EB1769F PUSH1 0xE1 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x24 DUP3 ADD MSTORE SWAP2 SWAP3 POP DUP11 AND SWAP1 PUSH4 0xDD62ED3E SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8D1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x8F5 SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST ISZERO PUSH2 0x913 JUMPI PUSH1 0x40 MLOAD PUSH4 0x511D53D PUSH1 0xE4 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x51D JUMPI PUSH1 0x40 MLOAD PUSH4 0x4209AA31 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x44 ADD PUSH2 0x514 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 PUSH2 0x952 PUSH2 0x53E PUSH1 0x40 DUP11 ADD DUP11 PUSH2 0x17B9 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH1 0x0 PUSH2 0x969 DUP7 DUP11 PUSH1 0x20 ADD CALLDATALOAD DUP11 DUP11 DUP10 PUSH2 0x104D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD DUP10 SWAP1 MSTORE SWAP2 SWAP3 POP SWAP1 DUP10 AND SWAP1 PUSH4 0x95EA7B3 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x9BC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x9E0 SWAP2 SWAP1 PUSH2 0x1883 JUMP JUMPDEST POP DUP2 MLOAD PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x40 DUP1 DUP6 ADD MLOAD SWAP1 MLOAD PUSH4 0xC872A3C5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND SWAP4 PUSH4 0xC872A3C5 SWAP4 PUSH2 0xA22 SWAP4 SWAP2 SWAP3 SWAP1 SWAP2 DUP13 SWAP2 DUP9 SWAP2 SWAP1 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x1A3C JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0xA41 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA65 SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x6EB1769F PUSH1 0xE1 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE SWAP2 SWAP6 POP SWAP1 DUP10 AND SWAP1 PUSH4 0xDD62ED3E SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAB5 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xAD9 SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST ISZERO PUSH2 0xAF7 JUMPI PUSH1 0x40 MLOAD PUSH4 0x511D53D PUSH1 0xE4 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 DUP5 LT ISZERO PUSH2 0xB22 JUMPI PUSH1 0x40 MLOAD PUSH4 0x4209AA31 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x44 ADD PUSH2 0x514 JUMP JUMPDEST POP POP POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB3A DUP3 DUP3 PUSH2 0x1081 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xB63 JUMPI PUSH1 0x40 MLOAD PUSH4 0xE3683637 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xB7A PUSH2 0xB73 PUSH1 0x14 DUP4 PUSH2 0x196B JUMP JUMPDEST DUP5 SWAP1 PUSH2 0x10E6 JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0xFF AND PUSH1 0x0 SUB PUSH2 0xBA0 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1EC987F PUSH1 0xE3 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH2 0xBAF PUSH1 0x14 DUP4 PUSH2 0x196B JUMP JUMPDEST PUSH2 0xBB9 SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST SWAP1 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0xD4F JUMPI PUSH1 0x0 DUP1 PUSH2 0xBD6 DUP8 DUP6 PUSH2 0x1142 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0xC80 JUMPI DUP2 MLOAD PUSH1 0x0 SWAP1 PUSH2 0xBF8 DUP4 PUSH1 0x2 PUSH2 0x1A92 JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0xC08 JUMPI PUSH2 0xC08 PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0xC58 JUMPI POP DUP2 MLOAD PUSH1 0x0 SWAP1 PUSH2 0xC2D DUP4 PUSH1 0x2 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0xC38 SWAP1 PUSH1 0x1 PUSH2 0x196B JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0xC48 JUMPI PUSH2 0xC48 PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST ISZERO PUSH2 0xC78 JUMPI DUP2 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x514 SWAP2 SWAP1 PUSH2 0x1ABF JUMP JUMPDEST PUSH1 0x1 ADD PUSH2 0xBDD JUMP JUMPDEST POP DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0xC91 DUP5 PUSH1 0x2 PUSH2 0x1B24 JUMP JUMPDEST PUSH1 0xFF AND PUSH1 0xB DUP2 LT PUSH2 0xCA4 JUMPI PUSH2 0xCA4 PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0xCD2 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x514 SWAP2 SWAP1 PUSH2 0x1ABF JUMP JUMPDEST PUSH1 0x5 DUP3 PUSH1 0xFF AND EQ ISZERO DUP1 ISZERO PUSH2 0xD10 JUMPI POP DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0xCEF DUP5 PUSH2 0x1441 JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0xCFF JUMPI PUSH2 0xCFF PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO JUMPDEST ISZERO PUSH2 0xD30 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x514 SWAP2 SWAP1 PUSH2 0x1ABF JUMP JUMPDEST PUSH2 0xD39 DUP3 PUSH2 0x1462 JUMP JUMPDEST PUSH2 0xD43 SWAP1 DUP6 PUSH2 0x196B JUMP JUMPDEST SWAP4 POP POP POP PUSH1 0x1 ADD PUSH2 0xBBE JUMP JUMPDEST POP DUP1 DUP5 MLOAD EQ PUSH2 0xD71 JUMPI PUSH1 0x40 MLOAD PUSH4 0x251F56A1 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xD82 DUP5 PUSH2 0x14C0 JUMP JUMPDEST PUSH2 0xDC7 PUSH2 0xD97 DUP8 PUSH8 0xDE0B6B3A7640000 PUSH2 0x196B JUMP JUMPDEST PUSH8 0xDE0B6B3A7640000 PUSH2 0xDC0 DUP7 PUSH8 0xDE0B6B3A7640000 PUSH2 0xDB6 DUP11 PUSH2 0x14C0 JUMP JUMPDEST PUSH2 0xDC0 SWAP1 DUP15 PUSH2 0x1A92 JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0x153A JUMP JUMPDEST PUSH2 0xDD1 SWAP2 SWAP1 PUSH2 0x1B56 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xDE5 PUSH2 0x1608 JUMP JUMPDEST PUSH2 0xDF0 DUP6 PUSH1 0x0 PUSH2 0x1081 JUMP JUMPDEST SWAP2 POP PUSH1 0x0 PUSH2 0xE09 PUSH2 0xE02 PUSH1 0x14 DUP4 PUSH2 0x196B JUMP JUMPDEST DUP8 SWAP1 PUSH2 0x10E6 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x1 PUSH2 0xE1A PUSH1 0x14 DUP4 PUSH2 0x196B JUMP JUMPDEST PUSH2 0xE24 SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST SWAP1 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0xEF2 JUMPI PUSH1 0x0 PUSH2 0xE40 DUP10 DUP5 PUSH2 0x10E6 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND PUSH2 0xE61 PUSH2 0xE5A PUSH1 0x1 DUP7 PUSH2 0x196B JUMP JUMPDEST DUP12 SWAP1 PUSH2 0x1081 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 ISZERO PUSH2 0xEB8 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND PUSH2 0xEAD PUSH2 0xE8D PUSH1 0xFF DUP5 AND PUSH1 0x14 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0xE98 SWAP1 PUSH1 0x2 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0xEA3 PUSH1 0x1 DUP8 PUSH2 0x196B JUMP JUMPDEST PUSH2 0xE5A SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST ISZERO PUSH2 0xED4 JUMPI PUSH2 0xEC7 DUP10 DUP5 PUSH2 0x1142 JUMP JUMPDEST SWAP6 POP PUSH2 0xF1F SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH2 0xEDD DUP2 PUSH2 0x1462 JUMP JUMPDEST PUSH2 0xEE7 SWAP1 DUP5 PUSH2 0x196B JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 ADD PUSH2 0xE29 JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH4 0x8C9AEC7B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP9 AND PUSH1 0x4 DUP4 ADD MSTORE DUP7 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x514 JUMP JUMPDEST SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST DUP2 MLOAD PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x40 DUP1 DUP6 ADD MLOAD SWAP1 MLOAD PUSH4 0xC07B5353 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x0 SWAP4 DUP5 SWAP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND SWAP4 PUSH4 0xC07B5353 SWAP4 PUSH2 0xF66 SWAP4 SWAP3 SWAP2 DUP10 SWAP2 PUSH1 0x4 ADD PUSH2 0x1B78 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xF83 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xFA7 SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST DUP5 MLOAD PUSH1 0x20 DUP7 ADD MLOAD PUSH1 0x40 DUP1 DUP9 ADD MLOAD SWAP1 MLOAD PUSH4 0xC872A3C5 PUSH1 0xE0 SHL DUP2 MSTORE SWAP4 SWAP5 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND SWAP4 PUSH4 0xC872A3C5 SWAP4 PUSH2 0xFEB SWAP4 SWAP1 SWAP3 SWAP1 SWAP2 DUP8 SWAP2 PUSH1 0x0 SWAP2 ADDRESS SWAP1 PUSH1 0x4 ADD PUSH2 0x1A3C JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x100A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x102E SWAP2 SWAP1 PUSH2 0x1929 JUMP JUMPDEST SWAP2 POP SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 XOR DUP3 DUP5 LT MUL DUP3 XOR JUMPDEST SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1058 DUP4 PUSH2 0x14C0 JUMP JUMPDEST PUSH2 0xDC7 PUSH2 0x106D DUP8 PUSH8 0xDE0B6B3A7640000 PUSH2 0x1958 JUMP JUMPDEST DUP5 PUSH2 0x1077 DUP9 PUSH2 0x14C0 JUMP JUMPDEST PUSH2 0xDC0 SWAP1 DUP12 PUSH2 0x1A92 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x108E DUP3 PUSH1 0x14 PUSH2 0x196B JUMP JUMPDEST DUP4 MLOAD LT ISZERO PUSH2 0x10D6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x746F416464726573735F6F75744F66426F756E6473 PUSH1 0x58 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x514 JUMP JUMPDEST POP ADD PUSH1 0x20 ADD MLOAD PUSH1 0x1 PUSH1 0x60 SHL SWAP1 DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x10F3 DUP3 PUSH1 0x1 PUSH2 0x196B JUMP JUMPDEST DUP4 MLOAD LT ISZERO PUSH2 0x1139 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x746F55696E74385F6F75744F66426F756E6473 PUSH1 0x68 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x514 JUMP JUMPDEST POP ADD PUSH1 0x1 ADD MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x114C PUSH2 0x1608 JUMP JUMPDEST PUSH2 0x1156 DUP5 DUP5 PUSH2 0x10E6 JUMP JUMPDEST SWAP2 POP PUSH1 0x5 DUP3 PUSH1 0xFF AND GT ISZERO PUSH2 0x1182 JUMPI PUSH1 0x40 MLOAD PUSH4 0x5B030B59 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0xFF DUP4 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x514 JUMP JUMPDEST PUSH1 0x0 JUMPDEST PUSH2 0x118E DUP4 PUSH2 0x1441 JUMP JUMPDEST DUP2 LT ISZERO PUSH2 0x11ED JUMPI PUSH2 0x11BF PUSH2 0x11A3 PUSH1 0x14 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x11AE PUSH1 0x1 DUP8 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x11B8 SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST DUP7 SWAP1 PUSH2 0x1081 JUMP JUMPDEST DUP3 MLOAD DUP3 PUSH1 0xB DUP2 LT PUSH2 0x11D2 JUMPI PUSH2 0x11D2 PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 SWAP1 SWAP3 MUL ADD MSTORE PUSH1 0x1 ADD PUSH2 0x1185 JUMP JUMPDEST POP PUSH1 0x14 PUSH2 0x11F9 DUP4 PUSH2 0x1441 JUMP JUMPDEST PUSH2 0x1203 SWAP2 SWAP1 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x120E SWAP1 PUSH1 0x1 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x1218 SWAP1 DUP5 PUSH2 0x196B JUMP JUMPDEST SWAP3 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x13BC JUMPI PUSH2 0x1252 PUSH2 0x1236 PUSH1 0x1 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x1241 SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x124B SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST DUP7 SWAP1 PUSH2 0x10E6 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x126B JUMPI PUSH2 0x126B PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD MSTORE PUSH2 0x129F PUSH2 0x127F PUSH1 0x1 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x128A SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x1294 SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x124B SWAP1 PUSH1 0x1 PUSH2 0x196B JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x12B8 JUMPI PUSH2 0x12B8 PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x20 MUL ADD MSTORE PUSH2 0x12F2 PUSH2 0x12D2 PUSH1 0x1 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x12DD SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x12E7 SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x124B SWAP1 PUSH1 0x2 PUSH2 0x196B JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x130B JUMPI PUSH2 0x130B PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x40 ADD MSTORE PUSH2 0x1342 PUSH2 0x1322 PUSH1 0x1 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x132D SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x1337 SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x124B SWAP1 PUSH1 0x3 PUSH2 0x196B JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x135B JUMPI PUSH2 0x135B PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x60 ADD MSTORE PUSH2 0x1392 PUSH2 0x1372 PUSH1 0x1 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x137D SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x1387 SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x124B SWAP1 PUSH1 0x4 PUSH2 0x196B JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x13AB JUMPI PUSH2 0x13AB PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x80 ADD MSTORE PUSH1 0x1 ADD PUSH2 0x121D JUMP JUMPDEST POP PUSH2 0x13CB PUSH1 0x1 PUSH1 0xFF DUP5 AND PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x13D6 SWAP1 PUSH1 0x5 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x13E0 SWAP1 DUP5 PUSH2 0x196B JUMP JUMPDEST SWAP3 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x1439 JUMPI PUSH2 0x1408 PUSH2 0x13FE PUSH1 0x14 DUP4 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x11B8 SWAP1 DUP7 PUSH2 0x196B JUMP JUMPDEST DUP3 PUSH1 0x40 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x141E JUMPI PUSH2 0x141E PUSH2 0x1AA9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 SWAP1 SWAP3 MUL ADD MSTORE PUSH1 0x1 ADD PUSH2 0x13E5 JUMP JUMPDEST POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x144E DUP3 PUSH1 0x2 PUSH2 0x1B24 JUMP JUMPDEST PUSH2 0x1459 SWAP1 PUSH1 0x1 PUSH2 0x1BAA JUMP JUMPDEST PUSH1 0xFF AND SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1472 PUSH1 0x14 PUSH1 0xFF DUP5 AND PUSH2 0x1A92 JUMP JUMPDEST PUSH1 0x1 PUSH2 0x147F DUP5 PUSH1 0x5 PUSH2 0x1B24 JUMP JUMPDEST PUSH1 0xFF AND PUSH2 0x148C SWAP2 SWAP1 PUSH2 0x1A92 JUMP JUMPDEST PUSH1 0x14 PUSH2 0x1497 DUP6 PUSH2 0x1441 JUMP JUMPDEST PUSH2 0x14A1 SWAP2 SWAP1 PUSH2 0x1A92 JUMP JUMPDEST PUSH2 0x14AC SWAP1 PUSH1 0x1 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x14B6 SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST PUSH2 0x1047 SWAP2 SWAP1 PUSH2 0x196B JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x313CE567 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1500 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1524 SWAP2 SWAP1 PUSH2 0x1BC3 JUMP JUMPDEST PUSH2 0x152F SWAP1 PUSH1 0x12 PUSH2 0x1BE6 JUMP JUMPDEST PUSH2 0x1047 SWAP1 PUSH1 0xA PUSH2 0x1CDE JUMP JUMPDEST PUSH1 0x0 DUP4 DUP4 MUL DUP2 PUSH1 0x0 NOT DUP6 DUP8 MULMOD DUP3 DUP2 LT DUP4 DUP3 SUB SUB SWAP2 POP POP DUP1 PUSH1 0x0 SUB PUSH2 0x1571 JUMPI DUP4 DUP3 DUP2 PUSH2 0x1567 JUMPI PUSH2 0x1567 PUSH2 0x1B40 JUMP JUMPDEST DIV SWAP3 POP POP POP PUSH2 0x15EF JUMP JUMPDEST DUP1 DUP5 GT PUSH2 0x1588 JUMPI PUSH2 0x1588 PUSH1 0x3 DUP6 ISZERO MUL PUSH1 0x11 XOR PUSH2 0x15F6 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP7 DUP9 MULMOD PUSH1 0x0 DUP7 DUP2 SUB DUP8 AND SWAP7 DUP8 SWAP1 DIV SWAP7 PUSH1 0x2 PUSH1 0x3 DUP10 MUL DUP2 XOR DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL SWAP1 SWAP2 SUB MUL SWAP2 DUP2 SWAP1 SUB DUP2 SWAP1 DIV PUSH1 0x1 ADD DUP7 DUP5 GT SWAP1 SWAP6 SUB SWAP5 SWAP1 SWAP5 MUL SWAP2 SWAP1 SWAP5 SUB SWAP3 SWAP1 SWAP3 DIV SWAP2 SWAP1 SWAP2 OR SWAP2 SWAP1 SWAP2 MUL SWAP2 POP POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0x0 MSTORE DUP1 PUSH1 0x20 MSTORE PUSH1 0x24 PUSH1 0x1C REVERT JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x161B PUSH2 0x163A JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1628 PUSH2 0x1659 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1635 PUSH2 0x1686 JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH2 0x160 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB SWAP1 PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP SWAP2 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 SWAP1 JUMPDEST PUSH2 0x1670 PUSH2 0x1686 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x1668 JUMPI SWAP1 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 SWAP1 PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP SWAP2 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x16B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x2C5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x16E9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1700 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x170C DUP9 DUP3 DUP10 ADD PUSH2 0x16A4 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 DUP7 ADD CALLDATALOAD PUSH2 0x171D DUP2 PUSH2 0x16BC JUMP JUMPDEST SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD PUSH2 0x172D DUP2 PUSH2 0x16BC JUMP JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP SWAP4 SWAP5 PUSH1 0x60 DUP2 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 ADD CALLDATALOAD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1757 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x176E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x177A DUP5 DUP3 DUP6 ADD PUSH2 0x16A4 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x17AA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH2 0x15EF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 CALLDATALOAD PUSH1 0x1E NOT DUP5 CALLDATASIZE SUB ADD DUP2 SLT PUSH2 0x17D0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 ADD DUP1 CALLDATALOAD SWAP2 POP PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x17EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 ADD SWAP2 POP CALLDATASIZE DUP2 SWAP1 SUB DUP3 SGT ISZERO PUSH2 0x1800 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT DUP1 ISZERO PUSH2 0x181A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SWAP1 POP PUSH1 0x40 MLOAD PUSH1 0x40 DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x184D JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 DUP4 REVERT JUMPDEST PUSH1 0x40 MSTORE DUP4 CALLDATALOAD PUSH3 0xFFFFFF DUP2 AND DUP2 EQ PUSH2 0x1862 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 MSTORE PUSH1 0x20 DUP5 ADD CALLDATALOAD SWAP2 POP PUSH2 0x1874 DUP3 PUSH2 0x16BC JUMP JUMPDEST PUSH1 0x20 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1895 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x15EF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP4 MSTORE PUSH1 0x20 DUP1 DUP4 ADD MLOAD DUP3 AND SWAP1 DUP5 ADD MSTORE PUSH1 0x40 DUP1 DUP4 ADD MLOAD PUSH3 0xFFFFFF AND SWAP1 DUP5 ADD MSTORE PUSH1 0x60 DUP1 DUP4 ADD MLOAD SWAP2 DUP3 AND SWAP1 DUP5 ADD MSTORE POP PUSH1 0x80 DUP2 ADD MLOAD PUSH1 0x80 DUP4 ADD MSTORE PUSH1 0xA0 DUP2 ADD MLOAD PUSH1 0xA0 DUP4 ADD MSTORE PUSH1 0xC0 DUP2 ADD MLOAD PUSH1 0xC0 DUP4 ADD MSTORE PUSH1 0xE0 DUP2 ADD MLOAD PUSH2 0x1915 PUSH1 0xE0 DUP5 ADD DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 MSTORE JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0x100 DUP2 ADD PUSH2 0x1047 DUP3 DUP5 PUSH2 0x18A5 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x193B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP2 DUP2 SUB DUP2 DUP2 GT ISZERO PUSH2 0x1047 JUMPI PUSH2 0x1047 PUSH2 0x1942 JUMP JUMPDEST DUP1 DUP3 ADD DUP1 DUP3 GT ISZERO PUSH2 0x1047 JUMPI PUSH2 0x1047 PUSH2 0x1942 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP3 ADD PUSH2 0x1990 JUMPI PUSH2 0x1990 PUSH2 0x1942 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST PUSH1 0xB DUP2 LT ISZERO PUSH2 0xD71 JUMPI DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x199B JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xD71 JUMPI DUP2 MLOAD PUSH1 0x0 DUP6 DUP2 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x19F6 JUMPI DUP4 MLOAD DUP3 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x19D7 JUMP JUMPDEST POP POP POP PUSH1 0xA0 SWAP5 SWAP1 SWAP5 ADD SWAP4 POP PUSH1 0x20 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x19C7 JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xD71 JUMPI DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1A14 JUMP JUMPDEST PUSH2 0x580 DUP2 ADD PUSH2 0x1A4B DUP3 DUP10 PUSH2 0x1997 JUMP JUMPDEST PUSH2 0x1A59 PUSH2 0x160 DUP4 ADD DUP9 PUSH2 0x19C3 JUMP JUMPDEST DUP6 PUSH2 0x480 DUP4 ADD MSTORE DUP5 PUSH2 0x4A0 DUP4 ADD MSTORE PUSH2 0x1A75 PUSH2 0x4C0 DUP4 ADD DUP6 PUSH2 0x1A10 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND PUSH2 0x560 SWAP2 SWAP1 SWAP2 ADD MSTORE SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x1047 JUMPI PUSH2 0x1047 PUSH2 0x1942 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x520 DUP3 ADD SWAP1 DUP3 PUSH1 0x0 JUMPDEST PUSH1 0xB DUP2 LT ISZERO PUSH2 0x1AF3 JUMPI DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 MSTORE PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1ACB JUMP JUMPDEST POP POP POP PUSH1 0x20 DUP4 ADD MLOAD PUSH2 0x1B09 PUSH2 0x160 DUP5 ADD DUP3 PUSH2 0x19C3 JUMP JUMPDEST POP PUSH1 0x40 DUP4 ADD MLOAD PUSH2 0x1B1D PUSH2 0x480 DUP5 ADD DUP3 PUSH2 0x1A10 JUMP JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0xFF DUP2 DUP2 AND DUP4 DUP3 AND MUL SWAP1 DUP2 AND SWAP1 DUP2 DUP2 EQ PUSH2 0x1B1D JUMPI PUSH2 0x1B1D PUSH2 0x1942 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x1B73 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH2 0x540 DUP2 ADD PUSH2 0x1B87 DUP3 DUP8 PUSH2 0x1997 JUMP JUMPDEST PUSH2 0x1B95 PUSH2 0x160 DUP4 ADD DUP7 PUSH2 0x19C3 JUMP JUMPDEST DUP4 PUSH2 0x480 DUP4 ADD MSTORE PUSH2 0x128 PUSH2 0x4A0 DUP4 ADD DUP5 PUSH2 0x1A10 JUMP JUMPDEST PUSH1 0xFF DUP2 DUP2 AND DUP4 DUP3 AND ADD SWAP1 DUP2 GT ISZERO PUSH2 0x1047 JUMPI PUSH2 0x1047 PUSH2 0x1942 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1BD5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x15EF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0xFF DUP3 DUP2 AND DUP3 DUP3 AND SUB SWAP1 DUP2 GT ISZERO PUSH2 0x1047 JUMPI PUSH2 0x1047 PUSH2 0x1942 JUMP JUMPDEST PUSH1 0x1 DUP2 JUMPDEST PUSH1 0x1 DUP5 GT ISZERO PUSH2 0xF1F JUMPI DUP1 DUP6 DIV DUP2 GT ISZERO PUSH2 0x1C1E JUMPI PUSH2 0x1C1E PUSH2 0x1942 JUMP JUMPDEST PUSH1 0x1 DUP5 AND ISZERO PUSH2 0x1C2C JUMPI SWAP1 DUP2 MUL SWAP1 JUMPDEST PUSH1 0x1 SWAP4 SWAP1 SWAP4 SHR SWAP3 DUP1 MUL PUSH2 0x1C03 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x1C49 JUMPI POP PUSH1 0x1 PUSH2 0x1047 JUMP JUMPDEST DUP2 PUSH2 0x1C56 JUMPI POP PUSH1 0x0 PUSH2 0x1047 JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH2 0x1C6C JUMPI PUSH1 0x2 DUP2 EQ PUSH2 0x1C76 JUMPI PUSH2 0x1C92 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH2 0x1047 JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH2 0x1C87 JUMPI PUSH2 0x1C87 PUSH2 0x1942 JUMP JUMPDEST POP POP PUSH1 0x1 DUP3 SHL PUSH2 0x1047 JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH2 0x1CB5 JUMPI POP DUP2 DUP2 EXP PUSH2 0x1047 JUMP JUMPDEST PUSH2 0x1CC2 PUSH1 0x0 NOT DUP5 DUP5 PUSH2 0x1BFF JUMP JUMPDEST DUP1 PUSH1 0x0 NOT DIV DUP3 GT ISZERO PUSH2 0x1CD6 JUMPI PUSH2 0x1CD6 PUSH2 0x1942 JUMP JUMPDEST MUL SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1044 PUSH1 0xFF DUP5 AND DUP4 PUSH2 0x1C3A JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 EXTCODECOPY REVERT SWAP10 PC MSTORE SWAP11 0xCD 0xDC 0xDD 0xB3 0x2B CREATE 0xEE SWAP15 PUSH25 0x5109530E511517B02FE9FC4D32A63C652164736F6C63430008 SHR STOP CALLER ","sourceMap":"522:9839:22:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4594:474;;;;;;;;;;-1:-1:-1;4594:474:22;;;;;:::i;:::-;;:::i;:::-;;;1352:25:30;;;1340:2;1325:18;4594:474:22;;;;;;;3071:471;;;;;;;;;;-1:-1:-1;3071:471:22;;;;;:::i;:::-;;:::i;1371:593::-;;;;;;:::i;:::-;;:::i;:::-;;4594:474;4755:7;4797:20;4774:19;;;;:10;:19;:::i;:::-;:43;;;;;;;;:::i;:::-;;4770:280;;4834:65;4854:10;4866:7;4875:8;4885:6;4893:5;4834:19;:65::i;:::-;4827:72;;;;4770:280;4939:24;4916:19;;;;:10;:19;:::i;:::-;:47;;;;;;;;:::i;:::-;;4912:138;;4980:63;4998:10;5010:7;5019:8;5029:6;5037:5;4980:17;:63::i;4912:138::-;-1:-1:-1;5062:1:22;4594:474;;;;;;;;:::o;3071:471::-;3231:7;3273:20;3250:19;;;;:10;:19;:::i;:::-;:43;;;;;;;;:::i;:::-;;3246:278;;3310:64;3329:10;3341:7;3350:8;3360:6;3368:5;3310:18;:64::i;3246:278::-;3414:24;3391:19;;;;:10;:19;:::i;:::-;:47;;;;;;;;:::i;:::-;;3387:137;;3455:62;3472:10;3484:7;3493:8;3503:6;3511:5;3455:16;:62::i;1371:593::-;1445:10;:22;;;1471:1;1445:27;1441:65;;1481:25;;-1:-1:-1;;;1481:25:22;;;;;;;;;;;1441:65;1539:20;1516:19;;;;:10;:19;:::i;:::-;:43;;;;;;;;:::i;:::-;;1512:447;;1569:29;1612:23;;;;:10;:23;:::i;:::-;1601:58;;;;;;;:::i;:::-;1679:9;;;;1569:90;;-1:-1:-1;;;;;;1671:32:22;1667:72;;1712:27;;-1:-1:-1;;;1712:27:22;;;;;;;;;;;1667:72;1751:10;;:15;;:10;:15;1747:56;;1775:28;;-1:-1:-1;;;1775:28:22;;;;;;;;;;;1747:56;1561:249;1371:593;:::o;1512:447::-;1843:24;1820:19;;;;:10;:19;:::i;:::-;:47;;;;;;;;:::i;:::-;;1816:143;;1877:45;1898:23;;;;:10;:23;:::i;:::-;1877:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1877:20:22;;-1:-1:-1;;;1877:45:22:i;:::-;1371:593;:::o;1816:143::-;1942:17;;-1:-1:-1;;;1942:17:22;;;;;;;;;;;6847:1160;7016:7;;7074:23;;;;:10;:23;:::i;:::-;7063:58;;;;;;;:::i;:::-;7031:90;;7128:19;7150:72;7165:6;7173:10;:22;;;7197:7;7206:8;7216:5;7150:14;:72::i;:::-;7269:9;;;;7229:70;;-1:-1:-1;;;7229:70:22;;-1:-1:-1;;;;;3819:32:30;;;7229:70:22;;;3801:51:30;-1:-1:-1;;3868:18:30;;;3861:34;7128:94:22;;-1:-1:-1;7229:31:22;;;;;3774:18:30;;7229:70:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7305:49;7357:380;;;;;;;;7410:7;-1:-1:-1;;;;;7357:380:22;;;;;7435:8;-1:-1:-1;;;;;7357:380:22;;;;;7456:2;:10;;;7357:380;;;;;;7493:4;-1:-1:-1;;;;;7357:380:22;;;;;7516:15;7357:380;;;;7550:6;7357:380;;;;7581:11;7357:380;;;;7619:1;-1:-1:-1;;;;;7357:380:22;;;;7305:432;;7743:20;7766:2;:9;;;-1:-1:-1;;;;;7766:27:22;;7794:6;7766:35;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7848:9;;;;7808:54;;-1:-1:-1;;;7808:54:22;;-1:-1:-1;;;;;3819:32:30;;;7808:54:22;;;3801:51:30;7860:1:22;3868:18:30;;;3861:34;7743:58:22;;-1:-1:-1;7808:31:22;;;;;3774:18:30;;7808:54:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7907:11;7892:12;:26;7888:89;;;7927:50;;-1:-1:-1;;;7927:50:22;;;;;5820:25:30;;;5861:18;;;5854:34;;;5793:18;;7927:50:22;;;;;;;;7888:89;7990:12;6847:1160;-1:-1:-1;;;;;;;;;6847:1160:22:o;9384:975::-;9551:7;;;9627:89;9656:23;;;;:10;:23;:::i;:::-;9627:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9687:7:22;;-1:-1:-1;9702:8:22;;-1:-1:-1;9627:21:22;;-1:-1:-1;9627:89:22:i;:::-;9566:150;;;;9722:19;9744:72;9759:6;9767:10;:22;;;9791:7;9800:8;9810:5;9744:14;:72::i;:::-;9822:61;;-1:-1:-1;;;9822:61:22;;-1:-1:-1;;;;;3819:32:30;;;9822:61:22;;;3801:51:30;3868:18;;;3861:34;;;9722:94:22;;-1:-1:-1;9822:31:22;;;;;;3774:18:30;;9822:61:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9889:24;10037:9;10032:237;10048:11;;;;;:31;;;733:1;10063;:16;10048:31;10032:237;;;10095:16;10113:22;10139:37;10154:6;10162:5;10169:6;10139:14;:37::i;:::-;10094:82;;;;10194:26;10203:6;10211:8;10194;:26::i;:::-;10184:36;;;;:::i;:::-;;-1:-1:-1;10228:34:22;10248:14;10228:34;;:::i;:::-;;;10086:183;;10081:3;;;;;:::i;:::-;;;;10032:237;;;-1:-1:-1;10274:51:22;;-1:-1:-1;;;10274:51:22;;-1:-1:-1;;;;;3819:32:30;;;10274:51:22;;;3801::30;10323:1:22;3868:18:30;;;3861:34;10274:31:22;;;;;3774:18:30;;10274:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;10338:16:22;9384:975;-1:-1:-1;;;;;;;;;9384:975:22:o;5647:1196::-;5815:7;;5873:23;;;;:10;:23;:::i;:::-;5862:58;;;;;;;:::i;:::-;5830:90;;5926:20;5949:72;5964:6;5972:10;:22;;;5996:7;6005:8;6015:5;5949:14;:72::i;:::-;6068:9;;;;6028:59;;-1:-1:-1;;;6028:59:22;;-1:-1:-1;;;;;3819:32:30;;;6028:59:22;;;3801:51:30;3868:18;;;3861:34;;;5926:95:22;;-1:-1:-1;6028:31:22;;;;;3774:18:30;;6028:59:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6093:48;6144:380;;;;;;;;6196:7;-1:-1:-1;;;;;6144:380:22;;;;;6221:8;-1:-1:-1;;;;;6144:380:22;;;;;6242:2;:10;;;6144:380;;;;;;6279:4;-1:-1:-1;;;;;6144:380:22;;;;;6302:15;6144:380;;;;6335:6;6144:380;;;;6367:12;6144:380;;;;6406:1;-1:-1:-1;;;;;6144:380:22;;;;6093:431;;6531:16;6550:2;:9;;;-1:-1:-1;;;;;6550:26:22;;6577:6;6550:34;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6651:9;;;;6594:68;;-1:-1:-1;;;6594:68:22;;6636:4;6594:68;;;6906:51:30;-1:-1:-1;;;;;6993:32:30;;;6973:18;;;6966:60;6531:53:22;;-1:-1:-1;6594:33:22;;;;;6879:18:30;;6594:68:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:73;6590:115;;6676:29;;-1:-1:-1;;;6676:29:22;;;;;;;;;;;6590:115;6746:12;6735:8;:23;6731:86;;;6767:50;;-1:-1:-1;;;6767:50:22;;;;;5820:25:30;;;5861:18;;;5854:34;;;5793:18;;6767:50:22;5646:248:30;8011:874:22;8177:16;;;8262:89;8291:23;;;;:10;:23;:::i;8262:89::-;8201:150;;;;8357:20;8380:72;8395:6;8403:10;:22;;;8427:7;8436:8;8446:5;8380:14;:72::i;:::-;8459:56;;-1:-1:-1;;;8459:56:22;;-1:-1:-1;;;;;3819:32:30;;;8459:56:22;;;3801:51:30;3868:18;;;3861:34;;;8357:95:22;;-1:-1:-1;8459:31:22;;;;;;3774:18:30;;8459:56:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;8548:11:22;;8561:16;;;;8601:11;;;;;8532:96;;-1:-1:-1;;;8532:96:22;;-1:-1:-1;;;;;8532:15:22;;;;;:96;;8548:11;;8561:16;;8579:6;;8587:12;;8601:11;8622:4;;8532:96;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8639:65;;-1:-1:-1;;;8639:65:22;;8681:4;8639:65;;;6906:51:30;-1:-1:-1;;;;;6993:32:30;;;6973:18;;;6966:60;8521:107:22;;-1:-1:-1;8639:33:22;;;;;;6879:18:30;;8639:65:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:70;8635:112;;8718:29;;-1:-1:-1;;;8718:29:22;;;;;;;;;;;8635:112;8788:12;8777:8;:23;8773:86;;;8809:50;;-1:-1:-1;;;8809:50:22;;;;;5820:25:30;;;5861:18;;;5854:34;;;5793:18;;8809:50:22;5646:248:30;8773:86:22;8865:15;;;8011:874;;;;;;;:::o;1751:929:20:-;1815:19;1850:36;:11;1815:19;1850:21;:36::i;:::-;1815:72;-1:-1:-1;;;;;;1897:29:20;;1893:65;;1935:23;;-1:-1:-1;;;1935:23:20;;;;;;;;;;;1893:65;1964:13;1980:36;1116:28;932:2;1964:13;1116:28;:::i;:::-;1980:11;;:19;:36::i;:::-;1964:52;;2026:7;:12;;2037:1;2026:12;2022:42;;2047:17;;-1:-1:-1;;;2047:17:20;;;;;;;;;;;2022:42;2070:14;977:1;1116:28;932:2;2070:14;1116:28;:::i;:::-;1195;;;;:::i;:::-;2070:35;;2116:9;2111:503;2131:7;2127:11;;:1;:11;2111:503;;;2154:12;2168:23;2195:30;2205:11;2218:6;2195:9;:30::i;:::-;2153:72;;;;2238:9;2233:156;2253:6;2249:10;;:1;:10;2233:156;;;2280:11;;2310:1;;2292:5;:1;2296;2292:5;:::i;:::-;2280:18;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2280:32:20;;:72;;;-1:-1:-1;2316:11:20;;2350:1;;2328:5;:1;2332;2328:5;:::i;:::-;:9;;2336:1;2328:9;:::i;:::-;2316:22;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2316:36:20;;2280:72;2276:104;;;2374:5;2361:19;;-1:-1:-1;;;2361:19:20;;;;;;;;:::i;2276:104::-;2261:3;;2233:156;;;-1:-1:-1;2400:11:20;;2435:1;;2412:10;:6;2421:1;2412:10;:::i;:::-;2400:23;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2400:37:20;;2396:69;;2459:5;2446:19;;-1:-1:-1;;;2446:19:20;;;;;;;;:::i;2396:69::-;1020:1;2477:6;:19;;;;:67;;;;-1:-1:-1;2500:11:20;;2542:1;;2512:17;2522:6;2512:9;:17::i;:::-;2500:30;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2500:44:20;;;2477:67;2473:99;;;2566:5;2553:19;;-1:-1:-1;;;2553:19:20;;;;;;;;:::i;2473:99::-;2590:17;2600:6;2590:9;:17::i;:::-;2580:27;;;;:::i;:::-;;-1:-1:-1;;;2140:3:20;;2111:503;;;;2645:6;2623:11;:18;:28;2619:56;;2660:15;;-1:-1:-1;;;2660:15:20;;;;;;;;;;;2619:56;1809:871;;;1751:929;:::o;5351:292:22:-;5509:7;5617:21;5630:7;5617:12;:21::i;:::-;5531:83;5591:17;5597:11;605:4;5591:17;:::i;:::-;605:4;5531:52;5572:5;605:4;5541:22;5554:8;5541:12;:22::i;:::-;5532:31;;:6;:31;:::i;:::-;5531:40;:52;:40;:52::i;:83::-;:107;;;;:::i;:::-;5524:114;5351:292;-1:-1:-1;;;;;;5351:292:22:o;4113:779:20:-;4232:19;4253:23;;:::i;:::-;4306:36;:11;1067:1;4306:21;:36::i;:::-;4284:59;-1:-1:-1;4349:13:20;4365:36;1116:28;932:2;4349:13;1116:28;:::i;:::-;4365:11;;:19;:36::i;:::-;4349:52;-1:-1:-1;4407:14:20;977:1;1116:28;932:2;4407:14;1116:28;:::i;:::-;1195;;;;:::i;:::-;4407:35;;4453:9;4448:395;4468:7;4464:11;;:1;:11;4448:395;;;4490:12;4505:27;:11;4525:6;4505:19;:27::i;:::-;4490:42;-1:-1:-1;;;;;;4553:53:20;;:42;4575:19;977:1;4575:6;:19;:::i;:::-;4553:11;;:21;:42::i;:::-;-1:-1:-1;;;;;4553:53:20;;:147;;;;-1:-1:-1;;;;;;4618:82:20;;:70;4662:21;;;;932:2;4662:21;:::i;:::-;:25;;4686:1;4662:25;:::i;:::-;4640:19;977:1;4640:6;:19;:::i;:::-;:47;;;;:::i;4618:70::-;-1:-1:-1;;;;;4618:82:20;;4553:147;4540:262;;;4731:30;4741:11;4754:6;4731:9;:30::i;:::-;4719:42;-1:-1:-1;4771:22:20;;-1:-1:-1;;;;;4771:22:20;4540:262;4819:17;4829:6;4819:9;:17::i;:::-;4809:27;;;;:::i;:::-;;-1:-1:-1;;4477:3:20;;4448:395;;;-1:-1:-1;4855:32:20;;-1:-1:-1;;;4855:32:20;;-1:-1:-1;;;;;6924:32:30;;;4855::20;;;6906:51:30;6993:32;;6973:18;;;6966:60;6879:18;;4855:32:20;6732:300:30;4113:779:20;;;;;;;:::o;8889:491:22:-;9100:11;;9113:16;;;;9139:11;;;;;9086:65;;-1:-1:-1;;;9086:65:22;;9021:16;;;;-1:-1:-1;;;;;9086:13:22;;;;;:65;;9100:11;9113:16;9131:6;;9086:65;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9191:11;;9210:16;;;;9337:11;;;;;9168:207;;-1:-1:-1;;;9168:207:22;;9069:82;;-1:-1:-1;;;;;;9168:15:22;;;;;:207;;9191:11;;9210:16;;9069:82;;9191:11;;9364:4;;9168:207;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9157:218;;8889:491;;;;;;:::o;3371:111:16:-;3429:7;3066:5;;;3463;;;3065:36;3060:42;;3455:20;3448:27;;3371:111;;;;;:::o;5072:275:22:-;5230:7;5320:22;5333:8;5320:12;:22::i;:::-;5252:65;5292:17;5298:11;605:4;5292:17;:::i;:::-;5311:5;5262:21;5275:7;5262:12;:21::i;:::-;5253:30;;:6;:30;:::i;12267:354:29:-;12346:7;12390:11;:6;12399:2;12390:11;:::i;:::-;12373:6;:13;:28;;12365:62;;;;-1:-1:-1;;;12365:62:29;;12748:2:30;12365:62:29;;;12730:21:30;12787:2;12767:18;;;12760:30;-1:-1:-1;;;12806:18:30;;;12799:51;12867:18;;12365:62:29;12546:345:30;12365:62:29;-1:-1:-1;12515:30:29;12531:4;12515:30;12509:37;-1:-1:-1;;;12505:71:29;;;12267:354::o;12627:302::-;12704:5;12746:10;:6;12755:1;12746:10;:::i;:::-;12729:6;:13;:27;;12721:60;;;;-1:-1:-1;;;12721:60:29;;13098:2:30;12721:60:29;;;13080:21:30;13137:2;13117:18;;;13110:30;-1:-1:-1;;;13156:18:30;;;13149:49;13215:18;;12721:60:29;12896:343:30;12721:60:29;-1:-1:-1;12857:29:29;12873:3;12857:29;12851:36;;12627:302::o;2684:1065:20:-;2780:12;2794:23;;:::i;:::-;2834:27;:11;2854:6;2834:19;:27::i;:::-;2825:36;;1020:1;2871:6;:18;;;2867:51;;;2898:20;;-1:-1:-1;;;2898:20:20;;13416:4:30;13404:17;;2898:20:20;;;13386:36:30;13359:18;;2898:20:20;13244:184:30;2867:51:20;2929:9;2924:137;2944:17;2954:6;2944:9;:17::i;:::-;2940:1;:21;2924:137;;;2993:61;3037:16;932:2;3037:1;:16;:::i;:::-;3015:19;977:1;3015:6;:19;:::i;:::-;:38;;;;:::i;:::-;2993:11;;:21;:61::i;:::-;2976:11;;2988:1;2976:14;;;;;;;:::i;:::-;-1:-1:-1;;;;;2976:78:20;;;:14;;;;;;:78;2963:3;;2924:137;;;;932:2;3089:17;3099:6;3089:9;:17::i;:::-;:32;;;;:::i;:::-;3076:45;;977:1;3076:45;:::i;:::-;3066:55;;;;:::i;:::-;;;3132:9;3127:461;3147:6;3143:10;;:1;:10;3127:461;;;3193:48;3222:14;977:1;3222;:14;:::i;:::-;:18;;3239:1;3222:18;:::i;:::-;3213:27;;:6;:27;:::i;:::-;3193:11;;:19;:48::i;:::-;3168:73;;:5;:16;;;3185:1;3168:19;;;;;;;:::i;:::-;;;;;:73;3274:52;3303:14;977:1;3303;:14;:::i;:::-;:18;;3320:1;3303:18;:::i;:::-;3294:27;;:6;:27;:::i;:::-;:31;;3324:1;3294:31;:::i;3274:52::-;3249:77;;:5;:16;;;3266:1;3249:19;;;;;;;:::i;:::-;;;;;3269:1;3249:22;;;:77;3359:52;3388:14;977:1;3388;:14;:::i;:::-;:18;;3405:1;3388:18;:::i;:::-;3379:27;;:6;:27;:::i;:::-;:31;;3409:1;3379:31;:::i;3359:52::-;3334:77;;:5;:16;;;3351:1;3334:19;;;;;;;:::i;:::-;;;;;:22;;:77;3444:52;3473:14;977:1;3473;:14;:::i;:::-;:18;;3490:1;3473:18;:::i;:::-;3464:27;;:6;:27;:::i;:::-;:31;;3494:1;3464:31;:::i;3444:52::-;3419:77;;:5;:16;;;3436:1;3419:19;;;;;;;:::i;:::-;;;;;:22;;:77;3529:52;3558:14;977:1;3558;:14;:::i;:::-;:18;;3575:1;3558:18;:::i;:::-;3549:27;;:6;:27;:::i;:::-;:31;;3579:1;3549:31;:::i;3529:52::-;3504:77;;:5;:16;;;3521:1;3504:19;;;;;;;:::i;:::-;;;;;:22;;:77;3155:3;;3127:461;;;-1:-1:-1;3603:19:20;977:1;3603:19;;;;:::i;:::-;:23;;3625:1;3603:23;:::i;:::-;3593:33;;;;:::i;:::-;;;3637:9;3632:113;3652:6;3648:10;;:1;:10;3632:113;;;3690:48;3721:16;932:2;3721:1;:16;:::i;:::-;3712:25;;:6;:25;:::i;3690:48::-;3673:5;:11;;;3685:1;3673:14;;;;;;;:::i;:::-;-1:-1:-1;;;;;3673:65:20;;;:14;;;;;;:65;3660:3;;3632:113;;;;2684:1065;;;;;:::o;4011:98::-;4066:7;4089:10;:6;4098:1;4089:10;:::i;:::-;:14;;4102:1;4089:14;:::i;:::-;4081:23;;;4011:98;-1:-1:-1;;4011:98:20:o;3753:254::-;3809:7;3971:21;932:2;3971:21;;;;:::i;:::-;977:1;3923:10;:6;3932:1;3923:10;:::i;:::-;:23;;;;;;:::i;:::-;932:2;3866:17;3876:6;3866:9;:17::i;:::-;:38;;;;:::i;:::-;3837:67;;977:1;3837:67;:::i;:::-;:110;;;;:::i;:::-;:156;;;;:::i;1968:134:22:-;2028:7;2078:5;-1:-1:-1;;;;;2063:30:22;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2058:37;;:2;:37;:::i;:::-;2051:45;;:2;:45;:::i;4996:4226:16:-;5078:14;5449:5;;;5078:14;-1:-1:-1;;5453:1:16;5449;5621:20;5694:5;5690:2;5687:13;5679:5;5675:2;5671:14;5667:34;5658:43;;;5796:5;5805:1;5796:10;5792:368;;6134:11;6126:5;:19;;;;;:::i;:::-;;6119:26;;;;;;5792:368;6285:5;6270:11;:20;6266:143;;6310:84;3066:5;6330:16;;3065:36;940:4:13;3060:42:16;6310:11;:84::i;:::-;6664:17;6799:11;6796:1;6793;6786:25;7199:12;7229:15;;;7214:31;;7348:22;;;;;8094:1;8075;:15;;8074:21;;8327;;;8323:25;;8312:36;8397:21;;;8393:25;;8382:36;8469:21;;;8465:25;;8454:36;8540:21;;;8536:25;;8525:36;8613:21;;;8609:25;;8598:36;8687:21;;;8683:25;;;8672:36;7597:12;;;;7593:23;;;7618:1;7589:31;6913:20;;;6902:32;;;7709:12;;;;6960:21;;;;7446:16;;;;7700:21;;;;9163:15;;;;;-1:-1:-1;;4996:4226:16;;;;;;:::o;1776:194:13:-;1881:10;1875:4;1868:24;1918:4;1912;1905:18;1949:4;1943;1936:18;-1:-1:-1;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:158:30:-;77:5;122:2;113:6;108:3;104:16;100:25;97:45;;;138:1;135;128:12;97:45;-1:-1:-1;160:6:30;14:158;-1:-1:-1;14:158:30:o;177:131::-;-1:-1:-1;;;;;252:31:30;;242:42;;232:70;;298:1;295;288:12;313:880;438:6;446;454;462;470;523:3;511:9;502:7;498:23;494:33;491:53;;;540:1;537;530:12;491:53;580:9;567:23;613:18;605:6;602:30;599:50;;;645:1;642;635:12;599:50;668:70;730:7;721:6;710:9;706:22;668:70;:::i;:::-;658:80;;;788:2;777:9;773:18;760:32;801:31;826:5;801:31;:::i;:::-;851:5;-1:-1:-1;908:2:30;893:18;;880:32;921:33;880:32;921:33;:::i;:::-;313:880;;;;-1:-1:-1;973:7:30;;1053:2;1038:18;;1025:32;;-1:-1:-1;1156:3:30;1141:19;1128:33;;313:880;-1:-1:-1;;313:880:30:o;1388:362::-;1477:6;1530:2;1518:9;1509:7;1505:23;1501:32;1498:52;;;1546:1;1543;1536:12;1498:52;1586:9;1573:23;1619:18;1611:6;1608:30;1605:50;;;1651:1;1648;1641:12;1605:50;1674:70;1736:7;1727:6;1716:9;1712:22;1674:70;:::i;:::-;1664:80;1388:362;-1:-1:-1;;;;1388:362:30:o;1755:127::-;1816:10;1811:3;1807:20;1804:1;1797:31;1847:4;1844:1;1837:15;1871:4;1868:1;1861:15;1887:273;1963:6;2016:2;2004:9;1995:7;1991:23;1987:32;1984:52;;;2032:1;2029;2022:12;1984:52;2071:9;2058:23;2110:1;2103:5;2100:12;2090:40;;2126:1;2123;2116:12;2165:521;2242:4;2248:6;2308:11;2295:25;2402:2;2398:7;2387:8;2371:14;2367:29;2363:43;2343:18;2339:68;2329:96;;2421:1;2418;2411:12;2329:96;2448:33;;2500:20;;;-1:-1:-1;2543:18:30;2532:30;;2529:50;;;2575:1;2572;2565:12;2529:50;2608:4;2596:17;;-1:-1:-1;2639:14:30;2635:27;;;2625:38;;2622:58;;;2676:1;2673;2666:12;2622:58;2165:521;;;;;:::o;2691:822::-;2787:6;2847:2;2835:9;2826:7;2822:23;2818:32;2862:2;2859:22;;;2877:1;2874;2867:12;2859:22;2896:1;2890:7;;2926:2;2920:9;2968:2;2960:6;2956:15;3037:6;3025:10;3022:22;3001:18;2989:10;2986:34;2983:62;2980:187;;;-1:-1:-1;;;3068:32:30;;3123:4;3120:1;3113:15;3152:4;3075:2;3141:16;2980:187;3183:2;3176:22;3220:23;;3283:8;3272:20;;3262:31;;3252:61;;3308:2;3304;3297:14;3252:61;3322:21;;3395:2;3380:18;;3367:32;;-1:-1:-1;3408:33:30;3367:32;3408:33;:::i;:::-;3469:2;3457:15;;3450:32;;;;3461:6;2691:822;-1:-1:-1;;;2691:822:30:o;3906:277::-;3973:6;4026:2;4014:9;4005:7;4001:23;3997:32;3994:52;;;4042:1;4039;4032:12;3994:52;4074:9;4068:16;4127:5;4120:13;4113:21;4106:5;4103:32;4093:60;;4149:1;4146;4139:12;4188:677;4281:12;;-1:-1:-1;;;;;4277:38:30;;;4265:51;;4369:4;4358:16;;;4352:23;4348:49;;4332:14;;;4325:73;4451:4;4440:16;;;4434:23;4459:8;4430:38;4414:14;;;4407:62;4515:4;4504:16;;;4498:23;3584:31;;;4563:14;;;3572:44;4530:48;4627:4;4620:5;4616:16;4610:23;4603:4;4598:3;4594:14;4587:47;4683:4;4676:5;4672:16;4666:23;4659:4;4654:3;4650:14;4643:47;4739:4;4732:5;4728:16;4722:23;4715:4;4710:3;4706:14;4699:47;4794:4;4787:5;4783:16;4777:23;4809:50;4853:4;4848:3;4844:14;4828;-1:-1:-1;;;;;3584:31:30;3572:44;;3518:104;4809:50;;4188:677;;:::o;4870:295::-;5086:3;5071:19;;5099:60;5075:9;5141:6;5099:60;:::i;5170:184::-;5240:6;5293:2;5281:9;5272:7;5268:23;5264:32;5261:52;;;5309:1;5306;5299:12;5261:52;-1:-1:-1;5332:16:30;;5170:184;-1:-1:-1;5170:184:30:o;5899:127::-;5960:10;5955:3;5951:20;5948:1;5941:31;5991:4;5988:1;5981:15;6015:4;6012:1;6005:15;6031:128;6098:9;;;6119:11;;;6116:37;;;6133:18;;:::i;6164:125::-;6229:9;;;6250:10;;;6247:36;;;6263:18;;:::i;6294:135::-;6333:3;6354:17;;;6351:43;;6374:18;;:::i;:::-;-1:-1:-1;6421:1:30;6410:13;;6294:135::o;7037:329::-;7130:5;7153:1;7163:197;7177:4;7174:1;7171:11;7163:197;;;7240:13;;-1:-1:-1;;;;;7236:39:30;7224:52;;7305:4;7296:14;;;;7333:17;;;;7272:1;7190:9;7163:197;;7371:716;7470:5;7493:1;7503:578;7517:4;7514:1;7511:11;7503:578;;;7574:13;;7618:1;7645:3;7618:1;7751:209;7767:4;7762:3;7759:13;7751:209;;;7840:15;;7826:30;;7893:4;7927:19;;;;7882:16;;;;7791:1;7782:11;7751:209;;;-1:-1:-1;;;7996:4:30;7987:14;;;;;-1:-1:-1;8066:4:30;8054:17;;;;;7537:1;7530:9;7503:578;;8092:356;8212:5;8235:1;8245:197;8259:4;8256:1;8253:11;8245:197;;;8322:13;;-1:-1:-1;;;;;8318:39:30;8306:52;;8387:4;8378:14;;;;8415:17;;;;8354:1;8272:9;8245:197;;8453:842;8913:4;8898:20;;8927:43;8902:9;8952:6;8927:43;:::i;:::-;8979:59;9033:3;9022:9;9018:19;9010:6;8979:59;:::i;:::-;9076:6;9069:4;9058:9;9054:20;9047:36;9121:6;9114:4;9103:9;9099:20;9092:36;9137:81;9212:4;9201:9;9197:20;9189:6;9137:81;:::i;:::-;-1:-1:-1;;;;;9256:32:30;;;;9249:4;9234:20;;;;9227:62;8453:842;;-1:-1:-1;;;;;8453:842:30:o;9300:168::-;9373:9;;;9404;;9421:15;;;9415:22;;9401:37;9391:71;;9442:18;;:::i;9473:127::-;9534:10;9529:3;9525:20;9522:1;9515:31;9565:4;9562:1;9555:15;9589:4;9586:1;9579:15;9605:822;9819:13;;9795:4;9780:20;;;9784:9;9753:4;9939:197;9953:4;9950:1;9947:11;9939:197;;;10016:13;;-1:-1:-1;;;;;10012:39:30;10000:52;;10081:4;10109:17;;;;10072:14;;;;10048:1;9966:9;9939:197;;;9943:3;;;10183:4;10175:6;10171:17;10165:24;10198:68;10258:6;10247:9;10243:22;10229:12;10198:68;:::i;:::-;;10315:4;10307:6;10303:17;10297:24;10330:91;10413:6;10402:9;10398:22;10382:14;10330:91;:::i;:::-;;9605:822;;;;:::o;10432:225::-;10536:4;10515:12;;;10529;;;10511:31;10562:22;;;;10603:24;;;10593:58;;10631:18;;:::i;10662:127::-;10723:10;10718:3;10714:20;10711:1;10704:31;10754:4;10751:1;10744:15;10778:4;10775:1;10768:15;10794:217;10834:1;10860;10850:132;;10904:10;10899:3;10895:20;10892:1;10885:31;10939:4;10936:1;10929:15;10967:4;10964:1;10957:15;10850:132;-1:-1:-1;10996:9:30;;10794:217::o;11016:670::-;11420:4;11405:20;;11434:43;11409:9;11459:6;11434:43;:::i;:::-;11486:59;11540:3;11529:9;11525:19;11517:6;11486:59;:::i;:::-;11583:6;11576:4;11565:9;11561:20;11554:36;11599:81;11674:4;11663:9;11659:20;11651:6;11599:81;:::i;13433:148::-;13521:4;13500:12;;;13514;;;13496:31;;13539:13;;13536:39;;;13555:18;;:::i;13586:273::-;13654:6;13707:2;13695:9;13686:7;13682:23;13678:32;13675:52;;;13723:1;13720;13713:12;13675:52;13755:9;13749:16;13805:4;13798:5;13794:16;13787:5;13784:27;13774:55;;13825:1;13822;13815:12;13864:151;13954:4;13947:12;;;13933;;;13929:31;;13972:14;;13969:40;;;13989:18;;:::i;14020:375::-;14108:1;14126:5;14140:249;14161:1;14151:8;14148:15;14140:249;;;14211:4;14206:3;14202:14;14196:4;14193:24;14190:50;;;14220:18;;:::i;:::-;14270:1;14260:8;14256:16;14253:49;;;14284:16;;;;14253:49;14367:1;14363:16;;;;;14323:15;;14140:249;;14400:902;14449:5;14479:8;14469:80;;-1:-1:-1;14520:1:30;14534:5;;14469:80;14568:4;14558:76;;-1:-1:-1;14605:1:30;14619:5;;14558:76;14650:4;14668:1;14663:59;;;;14736:1;14731:174;;;;14643:262;;14663:59;14693:1;14684:10;;14707:5;;;14731:174;14768:3;14758:8;14755:17;14752:43;;;14775:18;;:::i;:::-;-1:-1:-1;;14831:1:30;14817:16;;14890:5;;14643:262;;14989:2;14979:8;14976:16;14970:3;14964:4;14961:13;14957:36;14951:2;14941:8;14938:16;14933:2;14927:4;14924:12;14920:35;14917:77;14914:203;;;-1:-1:-1;15026:19:30;;;15102:5;;14914:203;15149:42;-1:-1:-1;;15174:8:30;15168:4;15149:42;:::i;:::-;15227:6;15223:1;15219:6;15215:19;15206:7;15203:32;15200:58;;;15238:18;;:::i;:::-;15276:20;;14400:902;-1:-1:-1;;;14400:902:30:o;15307:140::-;15365:5;15394:47;15435:4;15425:8;15421:19;15415:4;15394:47;:::i"},"methodIdentifiers":{"exactInput(SwapLibrary.SwapConfig,address,address,uint256,uint256)":"77566915","exactOutput(SwapLibrary.SwapConfig,address,address,uint256,uint256)":"581e517d","validate(SwapLibrary.SwapConfig)":"b2fca32c"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"AllowanceShouldGoBackToZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AtLeastOneRoute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CurveRouterCantBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidProtocol\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[11]\",\"name\":\"route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"swapParams\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"address[5]\",\"name\":\"pools\",\"type\":\"address[5]\"}],\"internalType\":\"struct CurveRoutes.CurveRoute\",\"name\":\"route\",\"type\":\"tuple\"}],\"name\":\"InvalidRoute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MaxSlippageCannotBeZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"}],\"name\":\"ReceivedLessThanAcceptable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"}],\"name\":\"RouteNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"spent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"}],\"name\":\"SpentMoreThanAcceptable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"nSwaps\",\"type\":\"uint8\"}],\"name\":\"TooManySwaps\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UniswapFeeTierCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UniswapRouterCannotBeZero\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enum SwapLibrary.SwapProtocol\",\"name\":\"protocol\",\"type\":\"SwapLibrary.SwapProtocol\"},{\"internalType\":\"uint256\",\"name\":\"maxSlippage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"customParams\",\"type\":\"bytes\"}],\"internalType\":\"struct SwapLibrary.SwapConfig\",\"name\":\"swapConfig\",\"type\":\"tuple\"}],\"name\":\"validate\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Ensuro\",\"custom:security-contact\":\"security@ensuro.co\",\"kind\":\"dev\",\"methods\":{\"exactInput(SwapLibrary.SwapConfig,address,address,uint256,uint256)\":{\"details\":\"Executes a swap of `amount` from the input token (`tokenIn`) to the output token (`tokenOut`),\",\"params\":{\"amount\":\"The exact amount of input token to be swapped.\",\"price\":\"Approximate amount of units of tokenIn required to acquire a unit of tokenOut.              It will be validated against the swap rate considering the maxSlippage.\",\"swapConfig\":\"Swap configuration including the swap protocol to use.\",\"tokenIn\":\"The address of the token to be swapped.\",\"tokenOut\":\"The address of the token to be received as a result of the swap.\"},\"returns\":{\"_0\":\"That exact `amount` went out and an tokenOut amount equal to amount/price +- slippage% came in.\"}},\"exactOutput(SwapLibrary.SwapConfig,address,address,uint256,uint256)\":{\"details\":\"Executes a swap, where the desired output amount of `tokenOut` is specified,\",\"params\":{\"amount\":\"The desired amount of output tokens (`tokenOut`) to be obtained from the swap.\",\"price\":\"Approximate amount of units of tokenIn required to acquire a unit of tokenOut.              It will be validated against the swap rate considering the maxSlippage.\",\"swapConfig\":\"Swap configuration including the protocol to use for the swap.\",\"tokenIn\":\"The address of the token to be used as input for the swap.\",\"tokenOut\":\"The address of the token to be received as a result of the swap.\"},\"returns\":{\"_0\":\"The actual amount of input tokens (`tokenIn`) spent to obtain the desired output amount (`amount`)   should be within the expected slippage range.\"}}},\"title\":\"Swap Library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"exactInput(SwapLibrary.SwapConfig,address,address,uint256,uint256)\":{\"notice\":\"Should have at least `amount` of tokenIn in the contract to execute the transaction. Requirements: - tokenIn and tokenOut decimals <= 18 - SwapConfig must be valid and should be validated using the `validate()` method.\"},\"exactOutput(SwapLibrary.SwapConfig,address,address,uint256,uint256)\":{\"notice\":\"Should have sufficient `tokenIn` to fulfill the desired output amount. Requirements: - tokenIn and tokenOut decimals <= 18 - SwapConfig must be valid and should be validated using the `validate()` method.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/SwapLibrary.sol\":\"SwapLibrary\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa00be322d7db5786750ce0ac7e2f5b633ac30a5ed5fa1ced1e74acfc19acecea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c84e822f87cbdc4082533b626667b6928715bb2b1e8e7eb96954cebb9e38c8d\",\"dweb:/ipfs/QmZmy9dgxLTerBAQDuuHqbL6EpgRxddqgv5KmwpXYVbKz1\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol\":{\"keccak256\":\"0x9bfaf1feb32814623e627ab70f2409760b15d95f1f9b058e2b3399a8bb732975\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8a2c3e55965b61bcd91993d8e1d5d34b8b8a63e0fdfce87a85f6af92526fd53\",\"dweb:/ipfs/QmQj2CSCSwqDSU4KMNWxGsN2336Cy64WgpV1X1EHXNZWxM\"]},\"contracts/CurveRoutes.sol\":{\"keccak256\":\"0x631af8ec291043d7eef34b97a427a4f53eb46d852088f6620c46a36a7e851963\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://fbaf0f64980572d977b87b83e8bfc9c79fd1d2dc49a21e77e2a11fb8dec2413a\",\"dweb:/ipfs/QmYTpv2BroRz8PpWXYRp5KaaCXRy3tkZ95DeXybP4j3ti4\"]},\"contracts/SwapLibrary.sol\":{\"keccak256\":\"0x3b1db1690ce8fa74972e4b4a57de41f4a880c8566b279316113d7398ea711812\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://2746b500f5916604c16589fdbabf94b4d97689dcb96095376ed4956f9de663a6\",\"dweb:/ipfs/QmepecwnwauXsLuQmmoFNbH5XbZYEHH4bjnshQRRUeyH4r\"]},\"contracts/dependencies/ICurveRouter.sol\":{\"keccak256\":\"0xf8c39f61b7459cfe6ba74d88fee74efd6d3d05d5cd64dc9eb6d08fbe0361affd\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://55f11ef7e1cc66fa2c6c2aec436ccf00a835acf4281bff4ee9b4d2cb8980c92f\",\"dweb:/ipfs/QmPfvjcbLbHwoFRFGkM5zvM25vrEvZxjwbxSUL5jm5n3pZ\"]},\"solidity-bytes-utils/contracts/BytesLib.sol\":{\"keccak256\":\"0xf75784dfc94ea43668eb195d5690a1dde1b6eda62017e73a3899721583821d29\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://ca16cef8b94f3ac75d376489a668618f6c4595a906b939d674a883f4bf426014\",\"dweb:/ipfs/QmceGU7qhyFLSejaj6i4dEtMzXDCSF3aYDtW1UeKjXQaRn\"]}},\"version\":1}"}},"contracts/dependencies/ICurveRouter.sol":{"ICurveRouter":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"address[11]","name":"route","type":"address[11]"},{"indexed":false,"internalType":"uint256[5][5]","name":"swap_params","type":"uint256[5][5]"},{"indexed":false,"internalType":"address[5]","name":"pools","type":"address[5]"},{"indexed":false,"internalType":"uint256","name":"in_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"out_amount","type":"uint256"}],"name":"Exchange","type":"event"},{"inputs":[{"internalType":"address[11]","name":"_route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"_swap_params","type":"uint256[5][5]"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_expected","type":"uint256"}],"name":"exchange","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[11]","name":"_route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"_swap_params","type":"uint256[5][5]"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_expected","type":"uint256"},{"internalType":"address[5]","name":"_pools","type":"address[5]"}],"name":"exchange","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[11]","name":"_route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"_swap_params","type":"uint256[5][5]"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_expected","type":"uint256"},{"internalType":"address[5]","name":"_pools","type":"address[5]"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"exchange","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[11]","name":"_route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"_swap_params","type":"uint256[5][5]"},{"internalType":"uint256","name":"_out_amount","type":"uint256"},{"internalType":"address[5]","name":"_pools","type":"address[5]"},{"internalType":"address[5]","name":"_base_pools","type":"address[5]"},{"internalType":"address[5]","name":"_base_tokens","type":"address[5]"},{"internalType":"address[5]","name":"_second_base_pools","type":"address[5]"},{"internalType":"address[5]","name":"_second_base_tokens","type":"address[5]"}],"name":"get_dx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[11]","name":"_route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"_swap_params","type":"uint256[5][5]"},{"internalType":"uint256","name":"_out_amount","type":"uint256"},{"internalType":"address[5]","name":"_pools","type":"address[5]"},{"internalType":"address[5]","name":"_base_pools","type":"address[5]"}],"name":"get_dx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[11]","name":"_route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"_swap_params","type":"uint256[5][5]"},{"internalType":"uint256","name":"_out_amount","type":"uint256"},{"internalType":"address[5]","name":"_pools","type":"address[5]"},{"internalType":"address[5]","name":"_base_pools","type":"address[5]"},{"internalType":"address[5]","name":"_base_tokens","type":"address[5]"}],"name":"get_dx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[11]","name":"_route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"_swap_params","type":"uint256[5][5]"},{"internalType":"uint256","name":"_out_amount","type":"uint256"},{"internalType":"address[5]","name":"_pools","type":"address[5]"}],"name":"get_dx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[11]","name":"_route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"_swap_params","type":"uint256[5][5]"},{"internalType":"uint256","name":"_out_amount","type":"uint256"},{"internalType":"address[5]","name":"_pools","type":"address[5]"},{"internalType":"address[5]","name":"_base_pools","type":"address[5]"},{"internalType":"address[5]","name":"_base_tokens","type":"address[5]"},{"internalType":"address[5]","name":"_second_base_pools","type":"address[5]"}],"name":"get_dx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[11]","name":"_route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"_swap_params","type":"uint256[5][5]"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address[5]","name":"_pools","type":"address[5]"}],"name":"get_dy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[11]","name":"_route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"_swap_params","type":"uint256[5][5]"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"get_dy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"exchange(address[11],uint256[5][5],uint256,uint256)":"371dc447","exchange(address[11],uint256[5][5],uint256,uint256,address[5])":"5c9c18e2","exchange(address[11],uint256[5][5],uint256,uint256,address[5],address)":"c872a3c5","get_dx(address[11],uint256[5][5],uint256,address[5])":"c07b5353","get_dx(address[11],uint256[5][5],uint256,address[5],address[5])":"81fc0ca5","get_dx(address[11],uint256[5][5],uint256,address[5],address[5],address[5])":"90e7e205","get_dx(address[11],uint256[5][5],uint256,address[5],address[5],address[5],address[5])":"d10eb385","get_dx(address[11],uint256[5][5],uint256,address[5],address[5],address[5],address[5],address[5])":"6d654ccd","get_dy(address[11],uint256[5][5],uint256)":"81889a2c","get_dy(address[11],uint256[5][5],uint256,address[5])":"637653cb"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address[11]\",\"name\":\"route\",\"type\":\"address[11]\"},{\"indexed\":false,\"internalType\":\"uint256[5][5]\",\"name\":\"swap_params\",\"type\":\"uint256[5][5]\"},{\"indexed\":false,\"internalType\":\"address[5]\",\"name\":\"pools\",\"type\":\"address[5]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"in_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"out_amount\",\"type\":\"uint256\"}],\"name\":\"Exchange\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address[11]\",\"name\":\"_route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"_swap_params\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_expected\",\"type\":\"uint256\"}],\"name\":\"exchange\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[11]\",\"name\":\"_route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"_swap_params\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_expected\",\"type\":\"uint256\"},{\"internalType\":\"address[5]\",\"name\":\"_pools\",\"type\":\"address[5]\"}],\"name\":\"exchange\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[11]\",\"name\":\"_route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"_swap_params\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_expected\",\"type\":\"uint256\"},{\"internalType\":\"address[5]\",\"name\":\"_pools\",\"type\":\"address[5]\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"exchange\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[11]\",\"name\":\"_route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"_swap_params\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"uint256\",\"name\":\"_out_amount\",\"type\":\"uint256\"},{\"internalType\":\"address[5]\",\"name\":\"_pools\",\"type\":\"address[5]\"},{\"internalType\":\"address[5]\",\"name\":\"_base_pools\",\"type\":\"address[5]\"},{\"internalType\":\"address[5]\",\"name\":\"_base_tokens\",\"type\":\"address[5]\"},{\"internalType\":\"address[5]\",\"name\":\"_second_base_pools\",\"type\":\"address[5]\"},{\"internalType\":\"address[5]\",\"name\":\"_second_base_tokens\",\"type\":\"address[5]\"}],\"name\":\"get_dx\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[11]\",\"name\":\"_route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"_swap_params\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"uint256\",\"name\":\"_out_amount\",\"type\":\"uint256\"},{\"internalType\":\"address[5]\",\"name\":\"_pools\",\"type\":\"address[5]\"},{\"internalType\":\"address[5]\",\"name\":\"_base_pools\",\"type\":\"address[5]\"}],\"name\":\"get_dx\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[11]\",\"name\":\"_route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"_swap_params\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"uint256\",\"name\":\"_out_amount\",\"type\":\"uint256\"},{\"internalType\":\"address[5]\",\"name\":\"_pools\",\"type\":\"address[5]\"},{\"internalType\":\"address[5]\",\"name\":\"_base_pools\",\"type\":\"address[5]\"},{\"internalType\":\"address[5]\",\"name\":\"_base_tokens\",\"type\":\"address[5]\"}],\"name\":\"get_dx\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[11]\",\"name\":\"_route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"_swap_params\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"uint256\",\"name\":\"_out_amount\",\"type\":\"uint256\"},{\"internalType\":\"address[5]\",\"name\":\"_pools\",\"type\":\"address[5]\"}],\"name\":\"get_dx\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[11]\",\"name\":\"_route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"_swap_params\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"uint256\",\"name\":\"_out_amount\",\"type\":\"uint256\"},{\"internalType\":\"address[5]\",\"name\":\"_pools\",\"type\":\"address[5]\"},{\"internalType\":\"address[5]\",\"name\":\"_base_pools\",\"type\":\"address[5]\"},{\"internalType\":\"address[5]\",\"name\":\"_base_tokens\",\"type\":\"address[5]\"},{\"internalType\":\"address[5]\",\"name\":\"_second_base_pools\",\"type\":\"address[5]\"}],\"name\":\"get_dx\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[11]\",\"name\":\"_route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"_swap_params\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address[5]\",\"name\":\"_pools\",\"type\":\"address[5]\"}],\"name\":\"get_dy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[11]\",\"name\":\"_route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"_swap_params\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"get_dy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/dependencies/ICurveRouter.sol\":\"ICurveRouter\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/dependencies/ICurveRouter.sol\":{\"keccak256\":\"0xf8c39f61b7459cfe6ba74d88fee74efd6d3d05d5cd64dc9eb6d08fbe0361affd\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://55f11ef7e1cc66fa2c6c2aec436ccf00a835acf4281bff4ee9b4d2cb8980c92f\",\"dweb:/ipfs/QmPfvjcbLbHwoFRFGkM5zvM25vrEvZxjwbxSUL5jm5n3pZ\"]}},\"version\":1}"}},"contracts/interfaces/ISwapRouterErrors.sol":{"ISwapRouterErrors":{"abi":[{"inputs":[],"name":"AmountCannotBeZero","type":"error"},{"inputs":[],"name":"DeadlineInThePast","type":"error"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountInMaximum","type":"uint256"}],"name":"InputAmountExceedsSlippage","type":"error"},{"inputs":[],"name":"NotImplemented","type":"error"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"}],"name":"OutputAmountLessThanSlippage","type":"error"},{"inputs":[],"name":"RecipientCannotBeZero","type":"error"},{"inputs":[],"name":"TokenCannotBeZero","type":"error"},{"inputs":[{"components":[{"internalType":"bytes","name":"path","type":"bytes"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"}],"internalType":"struct ISwapRouter.ExactInputParams","name":"params","type":"tuple"}],"name":"exactInput","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct ISwapRouter.ExactInputSingleParams","name":"params","type":"tuple"}],"name":"exactInputSingle","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes","name":"path","type":"bytes"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMaximum","type":"uint256"}],"internalType":"struct ISwapRouter.ExactOutputParams","name":"params","type":"tuple"}],"name":"exactOutput","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMaximum","type":"uint256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct ISwapRouter.ExactOutputSingleParams","name":"params","type":"tuple"}],"name":"exactOutputSingle","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"exactInput((bytes,address,uint256,uint256,uint256))":"c04b8d59","exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))":"414bf389","exactOutput((bytes,address,uint256,uint256,uint256))":"f28c0498","exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))":"db3e2198","uniswapV3SwapCallback(int256,int256,bytes)":"fa461e33"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"AmountCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineInThePast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"}],\"name\":\"InputAmountExceedsSlippage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotImplemented\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"}],\"name\":\"OutputAmountLessThanSlippage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RecipientCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenCannotBeZero\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"}],\"internalType\":\"struct ISwapRouter.ExactInputParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct ISwapRouter.ExactInputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"}],\"internalType\":\"struct ISwapRouter.ExactOutputParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactOutput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct ISwapRouter.ExactOutputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactOutputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"exactInput((bytes,address,uint256,uint256,uint256))\":{\"params\":{\"params\":\"The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata\"},\"returns\":{\"amountOut\":\"The amount of the received token\"}},\"exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"params\":{\"params\":\"The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata\"},\"returns\":{\"amountOut\":\"The amount of the received token\"}},\"exactOutput((bytes,address,uint256,uint256,uint256))\":{\"params\":{\"params\":\"The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata\"},\"returns\":{\"amountIn\":\"The amount of the input token\"}},\"exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"params\":{\"params\":\"The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata\"},\"returns\":{\"amountIn\":\"The amount of the input token\"}},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"details\":\"In the implementation you must pay the pool tokens owed for the swap. The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\",\"params\":{\"amount0Delta\":\"The amount of token0 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token0 to the pool.\",\"amount1Delta\":\"The amount of token1 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token1 to the pool.\",\"data\":\"Any data passed through by the caller via the IUniswapV3PoolActions#swap call\"}}},\"title\":\"ISwapRouterErrors\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"exactInput((bytes,address,uint256,uint256,uint256))\":{\"notice\":\"Swaps `amountIn` of one token for as much as possible of another along the specified path\"},\"exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"notice\":\"Swaps `amountIn` of one token for as much as possible of another token\"},\"exactOutput((bytes,address,uint256,uint256,uint256))\":{\"notice\":\"Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)\"},\"exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"notice\":\"Swaps as little as possible of one token for `amountOut` of another token\"},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"notice\":\"Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/ISwapRouterErrors.sol\":\"ISwapRouterErrors\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol\":{\"keccak256\":\"0x9bfaf1feb32814623e627ab70f2409760b15d95f1f9b058e2b3399a8bb732975\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8a2c3e55965b61bcd91993d8e1d5d34b8b8a63e0fdfce87a85f6af92526fd53\",\"dweb:/ipfs/QmQj2CSCSwqDSU4KMNWxGsN2336Cy64WgpV1X1EHXNZWxM\"]},\"contracts/interfaces/ISwapRouterErrors.sol\":{\"keccak256\":\"0x896abfd41692c6fdce8bff95510374807df8661c25650bf5974abaa2f89f91f4\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1c221f36a8aad0c42df332f1984c2f5c1f251daf33858ff42b0d9aaa6b6eab3c\",\"dweb:/ipfs/Qmf8d7HwMfqqPxChyxn3X6ZikBmuxW8fGBCaADw5yKSzCL\"]}},\"version\":1}"}},"contracts/mocks/CurveRoutesTesterMock.sol":{"CurveRoutesTesterMock":{"abi":[{"inputs":[],"name":"AtLeastOneRoute","type":"error"},{"inputs":[],"name":"CurveRouterCantBeZero","type":"error"},{"inputs":[],"name":"InvalidLength","type":"error"},{"inputs":[{"components":[{"internalType":"address[11]","name":"route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"swapParams","type":"uint256[5][5]"},{"internalType":"address[5]","name":"pools","type":"address[5]"}],"internalType":"struct CurveRoutes.CurveRoute","name":"route","type":"tuple"}],"name":"InvalidRoute","type":"error"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"RouteNotFound","type":"error"},{"inputs":[{"internalType":"uint8","name":"nSwaps","type":"uint8"}],"name":"TooManySwaps","type":"error"},{"inputs":[{"internalType":"bytes","name":"curveRoutes","type":"bytes"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"findRoute","outputs":[{"internalType":"contract ICurveRouter","name":"router","type":"address"},{"components":[{"internalType":"address[11]","name":"route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"swapParams","type":"uint256[5][5]"},{"internalType":"address[5]","name":"pools","type":"address[5]"}],"internalType":"struct CurveRoutes.CurveRoute","name":"route","type":"tuple"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes","name":"curveRoutes","type":"bytes"},{"internalType":"uint256","name":"offset","type":"uint256"}],"name":"readRoute","outputs":[{"internalType":"uint8","name":"nSwaps","type":"uint8"},{"components":[{"internalType":"address[11]","name":"route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"swapParams","type":"uint256[5][5]"},{"internalType":"address[5]","name":"pools","type":"address[5]"}],"internalType":"struct CurveRoutes.CurveRoute","name":"route","type":"tuple"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint8","name":"nSwaps","type":"uint8"}],"name":"routeSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes","name":"curveRoutes","type":"bytes"}],"name":"validate","outputs":[],"stateMutability":"pure","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080604052348015600f57600080fd5b50610d418061001f6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80634eb9425914610051578063588f4ff41461007b5780637ea71c9b1461009c578063c16e50ef146100bd575b600080fd5b61006461005f366004610a5e565b6100d2565b604051610072929190610b88565b60405180910390f35b61008e610089366004610bad565b6100f4565b604051610072929190610bf2565b6100af6100aa366004610c0a565b610113565b604051908152602001610072565b6100d06100cb366004610c2d565b610124565b005b60006100dc610901565b6100e7858585610130565b915091505b935093915050565b60006100fe610901565b6101088484610279565b915091509250929050565b600061011e82610578565b92915050565b61012d816105d6565b50565b600061013a610901565b61014585600061081f565b9150600061015e610157601483610c80565b8790610884565b90506000600161016f601483610c80565b6101799190610c80565b905060005b8260ff168110156102475760006101958984610884565b90506001600160a01b0388166101b66101af600186610c80565b8b9061081f565b6001600160a01b031614801561020d57506001600160a01b0387166102026101e260ff84166014610c93565b6101ed906002610c93565b6101f8600187610c80565b6101af9190610c80565b6001600160a01b0316145b156102295761021c8984610279565b95506100ec945050505050565b61023281610578565b61023c9084610c80565b92505060010161017e565b50604051638c9aec7b60e01b81526001600160a01b038088166004830152861660248201526044015b60405180910390fd5b6000610283610901565b61028d8484610884565b915060058260ff1611156102b957604051635b030b5960e11b815260ff83166004820152602401610270565b60005b6102c5836108e0565b811015610324576102f66102da601483610c93565b6102e5600187610c80565b6102ef9190610c80565b869061081f565b825182600b811061030957610309610caa565b6001600160a01b0390921660209290920201526001016102bc565b506014610330836108e0565b61033a9190610c93565b610345906001610c80565b61034f9084610c80565b925060005b8260ff168110156104f35761038961036d600183610c93565b610378906005610c93565b6103829086610c80565b8690610884565b60ff16826020015182600581106103a2576103a2610caa565b6020020151526103d66103b6600183610c93565b6103c1906005610c93565b6103cb9086610c80565b610382906001610c80565b60ff16826020015182600581106103ef576103ef610caa565b602002015160016020020152610429610409600183610c93565b610414906005610c93565b61041e9086610c80565b610382906002610c80565b60ff168260200151826005811061044257610442610caa565b602002015160400152610479610459600183610c93565b610464906005610c93565b61046e9086610c80565b610382906003610c80565b60ff168260200151826005811061049257610492610caa565b6020020151606001526104c96104a9600183610c93565b6104b4906005610c93565b6104be9086610c80565b610382906004610c80565b60ff16826020015182600581106104e2576104e2610caa565b602002015160800152600101610354565b50610502600160ff8416610c93565b61050d906005610c93565b6105179084610c80565b925060005b8260ff168110156105705761053f610535601483610c93565b6102ef9086610c80565b8260400151826005811061055557610555610caa565b6001600160a01b03909216602092909202015260010161051c565b509250929050565b6000610588601460ff8416610c93565b6001610595846005610cc0565b60ff166105a29190610c93565b60146105ad856108e0565b6105b79190610c93565b6105c2906001610c80565b6105cc9190610c80565b61011e9190610c80565b60006105e2828261081f565b90506001600160a01b03811661060b5760405163e368363760e01b815260040160405180910390fd5b600061062261061b601483610c80565b8490610884565b90508060ff16600003610648576040516301ec987f60e31b815260040160405180910390fd5b60006001610657601483610c80565b6106619190610c80565b905060005b8260ff168110156107f75760008061067e8785610279565b9150915060005b8260ff168110156107285781516000906106a0836002610c93565b600b81106106b0576106b0610caa565b60200201516001600160a01b03161480610700575081516000906106d5836002610c93565b6106e0906001610c80565b600b81106106f0576106f0610caa565b60200201516001600160a01b0316145b156107205781604051635875b11160e01b81526004016102709190610ce3565b600101610685565b508051600090610739846002610cc0565b60ff16600b811061074c5761074c610caa565b60200201516001600160a01b03160361077a5780604051635875b11160e01b81526004016102709190610ce3565b60058260ff16141580156107b857508051600090610797846108e0565b600b81106107a7576107a7610caa565b60200201516001600160a01b031614155b156107d85780604051635875b11160e01b81526004016102709190610ce3565b6107e182610578565b6107eb9085610c80565b93505050600101610666565b50808451146108195760405163251f56a160e21b815260040160405180910390fd5b50505050565b600061082c826014610c80565b835110156108745760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610270565b500160200151600160601b900490565b6000610891826001610c80565b835110156108d75760405162461bcd60e51b8152602060048201526013602482015272746f55696e74385f6f75744f66426f756e647360681b6044820152606401610270565b50016001015190565b60006108ed826002610cc0565b6108f8906001610cf2565b60ff1692915050565b6040518060600160405280610914610933565b8152602001610921610952565b815260200161092e61097f565b905290565b604051806101600160405280600b906020820280368337509192915050565b6040518060a001604052806005905b61096961097f565b8152602001906001900390816109615790505090565b6040518060a001604052806005906020820280368337509192915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126109c457600080fd5b813567ffffffffffffffff8111156109de576109de61099d565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610a0d57610a0d61099d565b604052818152838201602001851015610a2557600080fd5b816020850160208301376000918101602001919091529392505050565b80356001600160a01b0381168114610a5957600080fd5b919050565b600080600060608486031215610a7357600080fd5b833567ffffffffffffffff811115610a8a57600080fd5b610a96868287016109b3565b935050610aa560208501610a42565b9150610ab360408501610a42565b90509250925092565b8060005b60058110156108195781516001600160a01b0316845260209384019390910190600101610ac0565b80518260005b600b811015610b165782516001600160a01b0316825260209283019290910190600101610aee565b5050506020810151610160830160005b6005811015610b6d5782518260005b6005811015610b54578251825260209283019290910190600101610b35565b5050506020929092019160a09190910190600101610b26565b5050506040810151610b83610480840182610abc565b505050565b6001600160a01b03831681526105408101610ba66020830184610ae8565b9392505050565b60008060408385031215610bc057600080fd5b823567ffffffffffffffff811115610bd757600080fd5b610be3858286016109b3565b95602094909401359450505050565b60ff831681526105408101610ba66020830184610ae8565b600060208284031215610c1c57600080fd5b813560ff81168114610ba657600080fd5b600060208284031215610c3f57600080fd5b813567ffffffffffffffff811115610c5657600080fd5b610c62848285016109b3565b949350505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561011e5761011e610c6a565b808202811582820484141761011e5761011e610c6a565b634e487b7160e01b600052603260045260246000fd5b60ff8181168382160290811690818114610cdc57610cdc610c6a565b5092915050565b610520810161011e8284610ae8565b60ff818116838216019081111561011e5761011e610c6a56fea2646970667358221220d62f8bf2bcce43bcb2176e07c55607d36d88267e8817c483fcb2c4fddc7fcefc64736f6c634300081c0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD41 DUP1 PUSH2 0x1F 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 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x4EB94259 EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x588F4FF4 EQ PUSH2 0x7B JUMPI DUP1 PUSH4 0x7EA71C9B EQ PUSH2 0x9C JUMPI DUP1 PUSH4 0xC16E50EF EQ PUSH2 0xBD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x64 PUSH2 0x5F CALLDATASIZE PUSH1 0x4 PUSH2 0xA5E JUMP JUMPDEST PUSH2 0xD2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x72 SWAP3 SWAP2 SWAP1 PUSH2 0xB88 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8E PUSH2 0x89 CALLDATASIZE PUSH1 0x4 PUSH2 0xBAD JUMP JUMPDEST PUSH2 0xF4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x72 SWAP3 SWAP2 SWAP1 PUSH2 0xBF2 JUMP JUMPDEST PUSH2 0xAF PUSH2 0xAA CALLDATASIZE PUSH1 0x4 PUSH2 0xC0A JUMP JUMPDEST PUSH2 0x113 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x72 JUMP JUMPDEST PUSH2 0xD0 PUSH2 0xCB CALLDATASIZE PUSH1 0x4 PUSH2 0xC2D JUMP JUMPDEST PUSH2 0x124 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0xDC PUSH2 0x901 JUMP JUMPDEST PUSH2 0xE7 DUP6 DUP6 DUP6 PUSH2 0x130 JUMP JUMPDEST SWAP2 POP SWAP2 POP JUMPDEST SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xFE PUSH2 0x901 JUMP JUMPDEST PUSH2 0x108 DUP5 DUP5 PUSH2 0x279 JUMP JUMPDEST SWAP2 POP SWAP2 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x11E DUP3 PUSH2 0x578 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x12D DUP2 PUSH2 0x5D6 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x13A PUSH2 0x901 JUMP JUMPDEST PUSH2 0x145 DUP6 PUSH1 0x0 PUSH2 0x81F JUMP JUMPDEST SWAP2 POP PUSH1 0x0 PUSH2 0x15E PUSH2 0x157 PUSH1 0x14 DUP4 PUSH2 0xC80 JUMP JUMPDEST DUP8 SWAP1 PUSH2 0x884 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x1 PUSH2 0x16F PUSH1 0x14 DUP4 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x179 SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x247 JUMPI PUSH1 0x0 PUSH2 0x195 DUP10 DUP5 PUSH2 0x884 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND PUSH2 0x1B6 PUSH2 0x1AF PUSH1 0x1 DUP7 PUSH2 0xC80 JUMP JUMPDEST DUP12 SWAP1 PUSH2 0x81F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 ISZERO PUSH2 0x20D JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND PUSH2 0x202 PUSH2 0x1E2 PUSH1 0xFF DUP5 AND PUSH1 0x14 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x1ED SWAP1 PUSH1 0x2 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x1F8 PUSH1 0x1 DUP8 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x1AF SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST ISZERO PUSH2 0x229 JUMPI PUSH2 0x21C DUP10 DUP5 PUSH2 0x279 JUMP JUMPDEST SWAP6 POP PUSH2 0xEC SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH2 0x232 DUP2 PUSH2 0x578 JUMP JUMPDEST PUSH2 0x23C SWAP1 DUP5 PUSH2 0xC80 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 ADD PUSH2 0x17E JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH4 0x8C9AEC7B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP9 AND PUSH1 0x4 DUP4 ADD MSTORE DUP7 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x283 PUSH2 0x901 JUMP JUMPDEST PUSH2 0x28D DUP5 DUP5 PUSH2 0x884 JUMP JUMPDEST SWAP2 POP PUSH1 0x5 DUP3 PUSH1 0xFF AND GT ISZERO PUSH2 0x2B9 JUMPI PUSH1 0x40 MLOAD PUSH4 0x5B030B59 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0xFF DUP4 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x270 JUMP JUMPDEST PUSH1 0x0 JUMPDEST PUSH2 0x2C5 DUP4 PUSH2 0x8E0 JUMP JUMPDEST DUP2 LT ISZERO PUSH2 0x324 JUMPI PUSH2 0x2F6 PUSH2 0x2DA PUSH1 0x14 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x2E5 PUSH1 0x1 DUP8 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x2EF SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST DUP7 SWAP1 PUSH2 0x81F JUMP JUMPDEST DUP3 MLOAD DUP3 PUSH1 0xB DUP2 LT PUSH2 0x309 JUMPI PUSH2 0x309 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 SWAP1 SWAP3 MUL ADD MSTORE PUSH1 0x1 ADD PUSH2 0x2BC JUMP JUMPDEST POP PUSH1 0x14 PUSH2 0x330 DUP4 PUSH2 0x8E0 JUMP JUMPDEST PUSH2 0x33A SWAP2 SWAP1 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x345 SWAP1 PUSH1 0x1 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x34F SWAP1 DUP5 PUSH2 0xC80 JUMP JUMPDEST SWAP3 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x4F3 JUMPI PUSH2 0x389 PUSH2 0x36D PUSH1 0x1 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x378 SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x382 SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST DUP7 SWAP1 PUSH2 0x884 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x3A2 JUMPI PUSH2 0x3A2 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD MSTORE PUSH2 0x3D6 PUSH2 0x3B6 PUSH1 0x1 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x3C1 SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x3CB SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x382 SWAP1 PUSH1 0x1 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x3EF JUMPI PUSH2 0x3EF PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x20 MUL ADD MSTORE PUSH2 0x429 PUSH2 0x409 PUSH1 0x1 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x414 SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x41E SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x382 SWAP1 PUSH1 0x2 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x442 JUMPI PUSH2 0x442 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x40 ADD MSTORE PUSH2 0x479 PUSH2 0x459 PUSH1 0x1 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x464 SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x46E SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x382 SWAP1 PUSH1 0x3 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x492 JUMPI PUSH2 0x492 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x60 ADD MSTORE PUSH2 0x4C9 PUSH2 0x4A9 PUSH1 0x1 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x4B4 SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x4BE SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x382 SWAP1 PUSH1 0x4 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x4E2 JUMPI PUSH2 0x4E2 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x80 ADD MSTORE PUSH1 0x1 ADD PUSH2 0x354 JUMP JUMPDEST POP PUSH2 0x502 PUSH1 0x1 PUSH1 0xFF DUP5 AND PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x50D SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x517 SWAP1 DUP5 PUSH2 0xC80 JUMP JUMPDEST SWAP3 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x570 JUMPI PUSH2 0x53F PUSH2 0x535 PUSH1 0x14 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x2EF SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST DUP3 PUSH1 0x40 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x555 JUMPI PUSH2 0x555 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 SWAP1 SWAP3 MUL ADD MSTORE PUSH1 0x1 ADD PUSH2 0x51C JUMP JUMPDEST POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x588 PUSH1 0x14 PUSH1 0xFF DUP5 AND PUSH2 0xC93 JUMP JUMPDEST PUSH1 0x1 PUSH2 0x595 DUP5 PUSH1 0x5 PUSH2 0xCC0 JUMP JUMPDEST PUSH1 0xFF AND PUSH2 0x5A2 SWAP2 SWAP1 PUSH2 0xC93 JUMP JUMPDEST PUSH1 0x14 PUSH2 0x5AD DUP6 PUSH2 0x8E0 JUMP JUMPDEST PUSH2 0x5B7 SWAP2 SWAP1 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x5C2 SWAP1 PUSH1 0x1 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x5CC SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x11E SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5E2 DUP3 DUP3 PUSH2 0x81F JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x60B JUMPI PUSH1 0x40 MLOAD PUSH4 0xE3683637 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x622 PUSH2 0x61B PUSH1 0x14 DUP4 PUSH2 0xC80 JUMP JUMPDEST DUP5 SWAP1 PUSH2 0x884 JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0xFF AND PUSH1 0x0 SUB PUSH2 0x648 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1EC987F PUSH1 0xE3 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH2 0x657 PUSH1 0x14 DUP4 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x661 SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x7F7 JUMPI PUSH1 0x0 DUP1 PUSH2 0x67E DUP8 DUP6 PUSH2 0x279 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x728 JUMPI DUP2 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x6A0 DUP4 PUSH1 0x2 PUSH2 0xC93 JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0x6B0 JUMPI PUSH2 0x6B0 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x700 JUMPI POP DUP2 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x6D5 DUP4 PUSH1 0x2 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x6E0 SWAP1 PUSH1 0x1 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0x6F0 JUMPI PUSH2 0x6F0 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST ISZERO PUSH2 0x720 JUMPI DUP2 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x270 SWAP2 SWAP1 PUSH2 0xCE3 JUMP JUMPDEST PUSH1 0x1 ADD PUSH2 0x685 JUMP JUMPDEST POP DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x739 DUP5 PUSH1 0x2 PUSH2 0xCC0 JUMP JUMPDEST PUSH1 0xFF AND PUSH1 0xB DUP2 LT PUSH2 0x74C JUMPI PUSH2 0x74C PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x77A JUMPI DUP1 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x270 SWAP2 SWAP1 PUSH2 0xCE3 JUMP JUMPDEST PUSH1 0x5 DUP3 PUSH1 0xFF AND EQ ISZERO DUP1 ISZERO PUSH2 0x7B8 JUMPI POP DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x797 DUP5 PUSH2 0x8E0 JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0x7A7 JUMPI PUSH2 0x7A7 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO JUMPDEST ISZERO PUSH2 0x7D8 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x270 SWAP2 SWAP1 PUSH2 0xCE3 JUMP JUMPDEST PUSH2 0x7E1 DUP3 PUSH2 0x578 JUMP JUMPDEST PUSH2 0x7EB SWAP1 DUP6 PUSH2 0xC80 JUMP JUMPDEST SWAP4 POP POP POP PUSH1 0x1 ADD PUSH2 0x666 JUMP JUMPDEST POP DUP1 DUP5 MLOAD EQ PUSH2 0x819 JUMPI PUSH1 0x40 MLOAD PUSH4 0x251F56A1 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x82C DUP3 PUSH1 0x14 PUSH2 0xC80 JUMP JUMPDEST DUP4 MLOAD LT ISZERO PUSH2 0x874 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x746F416464726573735F6F75744F66426F756E6473 PUSH1 0x58 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x270 JUMP JUMPDEST POP ADD PUSH1 0x20 ADD MLOAD PUSH1 0x1 PUSH1 0x60 SHL SWAP1 DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x891 DUP3 PUSH1 0x1 PUSH2 0xC80 JUMP JUMPDEST DUP4 MLOAD LT ISZERO PUSH2 0x8D7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x746F55696E74385F6F75744F66426F756E6473 PUSH1 0x68 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x270 JUMP JUMPDEST POP ADD PUSH1 0x1 ADD MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8ED DUP3 PUSH1 0x2 PUSH2 0xCC0 JUMP JUMPDEST PUSH2 0x8F8 SWAP1 PUSH1 0x1 PUSH2 0xCF2 JUMP JUMPDEST PUSH1 0xFF AND SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x914 PUSH2 0x933 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x921 PUSH2 0x952 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x92E PUSH2 0x97F JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH2 0x160 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB SWAP1 PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP SWAP2 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 SWAP1 JUMPDEST PUSH2 0x969 PUSH2 0x97F JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x961 JUMPI SWAP1 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 SWAP1 PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP SWAP2 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x9C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x9DE JUMPI PUSH2 0x9DE PUSH2 0x99D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0xA0D JUMPI PUSH2 0xA0D PUSH2 0x99D JUMP JUMPDEST PUSH1 0x40 MSTORE DUP2 DUP2 MSTORE DUP4 DUP3 ADD PUSH1 0x20 ADD DUP6 LT ISZERO PUSH2 0xA25 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP6 ADD PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 SWAP2 DUP2 ADD PUSH1 0x20 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xA59 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xA73 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xA8A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA96 DUP7 DUP3 DUP8 ADD PUSH2 0x9B3 JUMP JUMPDEST SWAP4 POP POP PUSH2 0xAA5 PUSH1 0x20 DUP6 ADD PUSH2 0xA42 JUMP JUMPDEST SWAP2 POP PUSH2 0xAB3 PUSH1 0x40 DUP6 ADD PUSH2 0xA42 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x819 JUMPI DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0xAC0 JUMP JUMPDEST DUP1 MLOAD DUP3 PUSH1 0x0 JUMPDEST PUSH1 0xB DUP2 LT ISZERO PUSH2 0xB16 JUMPI DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 MSTORE PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0xAEE JUMP JUMPDEST POP POP POP PUSH1 0x20 DUP2 ADD MLOAD PUSH2 0x160 DUP4 ADD PUSH1 0x0 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xB6D JUMPI DUP3 MLOAD DUP3 PUSH1 0x0 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xB54 JUMPI DUP3 MLOAD DUP3 MSTORE PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0xB35 JUMP JUMPDEST POP POP POP PUSH1 0x20 SWAP3 SWAP1 SWAP3 ADD SWAP2 PUSH1 0xA0 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0xB26 JUMP JUMPDEST POP POP POP PUSH1 0x40 DUP2 ADD MLOAD PUSH2 0xB83 PUSH2 0x480 DUP5 ADD DUP3 PUSH2 0xABC JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND DUP2 MSTORE PUSH2 0x540 DUP2 ADD PUSH2 0xBA6 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xAE8 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xBC0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xBD7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xBE3 DUP6 DUP3 DUP7 ADD PUSH2 0x9B3 JUMP JUMPDEST SWAP6 PUSH1 0x20 SWAP5 SWAP1 SWAP5 ADD CALLDATALOAD SWAP5 POP POP POP POP JUMP JUMPDEST PUSH1 0xFF DUP4 AND DUP2 MSTORE PUSH2 0x540 DUP2 ADD PUSH2 0xBA6 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xAE8 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC1C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0xBA6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC3F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xC56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC62 DUP5 DUP3 DUP6 ADD PUSH2 0x9B3 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP1 DUP3 ADD DUP1 DUP3 GT ISZERO PUSH2 0x11E JUMPI PUSH2 0x11E PUSH2 0xC6A JUMP JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x11E JUMPI PUSH2 0x11E PUSH2 0xC6A JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0xFF DUP2 DUP2 AND DUP4 DUP3 AND MUL SWAP1 DUP2 AND SWAP1 DUP2 DUP2 EQ PUSH2 0xCDC JUMPI PUSH2 0xCDC PUSH2 0xC6A JUMP JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x520 DUP2 ADD PUSH2 0x11E DUP3 DUP5 PUSH2 0xAE8 JUMP JUMPDEST PUSH1 0xFF DUP2 DUP2 AND DUP4 DUP3 AND ADD SWAP1 DUP2 GT ISZERO PUSH2 0x11E JUMPI PUSH2 0x11E PUSH2 0xC6A JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD6 0x2F DUP12 CALLCODE 0xBC 0xCE NUMBER 0xBC 0xB2 OR PUSH15 0x7C55607D36D88267E8817C483FCB2 0xC4 REVERT 0xDC PUSH32 0xCEFC64736F6C634300081C003300000000000000000000000000000000000000 ","sourceMap":"178:718:25:-:0;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@_routeLen_6006":{"entryPoint":2272,"id":6006,"parameterSlots":1,"returnSlots":1},"@findRoute_6108":{"entryPoint":304,"id":6108,"parameterSlots":3,"returnSlots":2},"@findRoute_7749":{"entryPoint":210,"id":7749,"parameterSlots":3,"returnSlots":2},"@readRoute_5963":{"entryPoint":633,"id":5963,"parameterSlots":2,"returnSlots":2},"@readRoute_7713":{"entryPoint":244,"id":7713,"parameterSlots":2,"returnSlots":2},"@routeSize_5991":{"entryPoint":1400,"id":5991,"parameterSlots":1,"returnSlots":1},"@routeSize_7726":{"entryPoint":275,"id":7726,"parameterSlots":1,"returnSlots":1},"@toAddress_8431":{"entryPoint":2079,"id":8431,"parameterSlots":2,"returnSlots":1},"@toUint8_8457":{"entryPoint":2180,"id":8457,"parameterSlots":2,"returnSlots":1},"@validate_5747":{"entryPoint":1494,"id":5747,"parameterSlots":1,"returnSlots":0},"@validate_7694":{"entryPoint":292,"id":7694,"parameterSlots":1,"returnSlots":0},"abi_decode_address":{"entryPoint":2626,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_bytes":{"entryPoint":2483,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_bytes_memory_ptr":{"entryPoint":3117,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_bytes_memory_ptrt_addresst_address":{"entryPoint":2654,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_bytes_memory_ptrt_uint256":{"entryPoint":2989,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_uint8":{"entryPoint":3082,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_array_address":{"entryPoint":2748,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_struct_CurveRoute":{"entryPoint":2792,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_contract$_ICurveRouter_$7646_t_struct$_CurveRoute_$5567_memory_ptr__to_t_address_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed":{"entryPoint":2952,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_stringliteral_9f688071e1df0f70b63e3651005878331be1fe9591d6cfb3187cb52a13439e5d__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_ce6d7be00009dd45cc670fb6c2ceee25786f142bcb64e7f1ee73012b26bb6ca1__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_struct$_CurveRoute_$5567_memory_ptr__to_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed":{"entryPoint":3299,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint8_t_struct$_CurveRoute_$5567_memory_ptr__to_t_uint8_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed":{"entryPoint":3058,"id":null,"parameterSlots":3,"returnSlots":1},"checked_add_t_uint256":{"entryPoint":3200,"id":null,"parameterSlots":2,"returnSlots":1},"checked_add_t_uint8":{"entryPoint":3314,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_t_uint256":{"entryPoint":3219,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_t_uint8":{"entryPoint":3264,"id":null,"parameterSlots":2,"returnSlots":1},"panic_error_0x11":{"entryPoint":3178,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x32":{"entryPoint":3242,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x41":{"entryPoint":2461,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nativeSrc":"0:7376:30","nodeType":"YulBlock","src":"0:7376:30","statements":[{"nativeSrc":"6:3:30","nodeType":"YulBlock","src":"6:3:30","statements":[]},{"body":{"nativeSrc":"46:95:30","nodeType":"YulBlock","src":"46:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"63:1:30","nodeType":"YulLiteral","src":"63:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"70:3:30","nodeType":"YulLiteral","src":"70:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"75:10:30","nodeType":"YulLiteral","src":"75:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"66:3:30","nodeType":"YulIdentifier","src":"66:3:30"},"nativeSrc":"66:20:30","nodeType":"YulFunctionCall","src":"66:20:30"}],"functionName":{"name":"mstore","nativeSrc":"56:6:30","nodeType":"YulIdentifier","src":"56:6:30"},"nativeSrc":"56:31:30","nodeType":"YulFunctionCall","src":"56:31:30"},"nativeSrc":"56:31:30","nodeType":"YulExpressionStatement","src":"56:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"103:1:30","nodeType":"YulLiteral","src":"103:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"106:4:30","nodeType":"YulLiteral","src":"106:4:30","type":"","value":"0x41"}],"functionName":{"name":"mstore","nativeSrc":"96:6:30","nodeType":"YulIdentifier","src":"96:6:30"},"nativeSrc":"96:15:30","nodeType":"YulFunctionCall","src":"96:15:30"},"nativeSrc":"96:15:30","nodeType":"YulExpressionStatement","src":"96:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"127:1:30","nodeType":"YulLiteral","src":"127:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"130:4:30","nodeType":"YulLiteral","src":"130:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"120:6:30","nodeType":"YulIdentifier","src":"120:6:30"},"nativeSrc":"120:15:30","nodeType":"YulFunctionCall","src":"120:15:30"},"nativeSrc":"120:15:30","nodeType":"YulExpressionStatement","src":"120:15:30"}]},"name":"panic_error_0x41","nativeSrc":"14:127:30","nodeType":"YulFunctionDefinition","src":"14:127:30"},{"body":{"nativeSrc":"198:673:30","nodeType":"YulBlock","src":"198:673:30","statements":[{"body":{"nativeSrc":"247:16:30","nodeType":"YulBlock","src":"247:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"256:1:30","nodeType":"YulLiteral","src":"256:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"259:1:30","nodeType":"YulLiteral","src":"259:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"249:6:30","nodeType":"YulIdentifier","src":"249:6:30"},"nativeSrc":"249:12:30","nodeType":"YulFunctionCall","src":"249:12:30"},"nativeSrc":"249:12:30","nodeType":"YulExpressionStatement","src":"249:12:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nativeSrc":"226:6:30","nodeType":"YulIdentifier","src":"226:6:30"},{"kind":"number","nativeSrc":"234:4:30","nodeType":"YulLiteral","src":"234:4:30","type":"","value":"0x1f"}],"functionName":{"name":"add","nativeSrc":"222:3:30","nodeType":"YulIdentifier","src":"222:3:30"},"nativeSrc":"222:17:30","nodeType":"YulFunctionCall","src":"222:17:30"},{"name":"end","nativeSrc":"241:3:30","nodeType":"YulIdentifier","src":"241:3:30"}],"functionName":{"name":"slt","nativeSrc":"218:3:30","nodeType":"YulIdentifier","src":"218:3:30"},"nativeSrc":"218:27:30","nodeType":"YulFunctionCall","src":"218:27:30"}],"functionName":{"name":"iszero","nativeSrc":"211:6:30","nodeType":"YulIdentifier","src":"211:6:30"},"nativeSrc":"211:35:30","nodeType":"YulFunctionCall","src":"211:35:30"},"nativeSrc":"208:55:30","nodeType":"YulIf","src":"208:55:30"},{"nativeSrc":"272:34:30","nodeType":"YulVariableDeclaration","src":"272:34:30","value":{"arguments":[{"name":"offset","nativeSrc":"299:6:30","nodeType":"YulIdentifier","src":"299:6:30"}],"functionName":{"name":"calldataload","nativeSrc":"286:12:30","nodeType":"YulIdentifier","src":"286:12:30"},"nativeSrc":"286:20:30","nodeType":"YulFunctionCall","src":"286:20:30"},"variables":[{"name":"length","nativeSrc":"276:6:30","nodeType":"YulTypedName","src":"276:6:30","type":""}]},{"body":{"nativeSrc":"349:22:30","nodeType":"YulBlock","src":"349:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nativeSrc":"351:16:30","nodeType":"YulIdentifier","src":"351:16:30"},"nativeSrc":"351:18:30","nodeType":"YulFunctionCall","src":"351:18:30"},"nativeSrc":"351:18:30","nodeType":"YulExpressionStatement","src":"351:18:30"}]},"condition":{"arguments":[{"name":"length","nativeSrc":"321:6:30","nodeType":"YulIdentifier","src":"321:6:30"},{"kind":"number","nativeSrc":"329:18:30","nodeType":"YulLiteral","src":"329:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"318:2:30","nodeType":"YulIdentifier","src":"318:2:30"},"nativeSrc":"318:30:30","nodeType":"YulFunctionCall","src":"318:30:30"},"nativeSrc":"315:56:30","nodeType":"YulIf","src":"315:56:30"},{"nativeSrc":"380:23:30","nodeType":"YulVariableDeclaration","src":"380:23:30","value":{"arguments":[{"kind":"number","nativeSrc":"400:2:30","nodeType":"YulLiteral","src":"400:2:30","type":"","value":"64"}],"functionName":{"name":"mload","nativeSrc":"394:5:30","nodeType":"YulIdentifier","src":"394:5:30"},"nativeSrc":"394:9:30","nodeType":"YulFunctionCall","src":"394:9:30"},"variables":[{"name":"memPtr","nativeSrc":"384:6:30","nodeType":"YulTypedName","src":"384:6:30","type":""}]},{"nativeSrc":"412:85:30","nodeType":"YulVariableDeclaration","src":"412:85:30","value":{"arguments":[{"name":"memPtr","nativeSrc":"434:6:30","nodeType":"YulIdentifier","src":"434:6:30"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"length","nativeSrc":"458:6:30","nodeType":"YulIdentifier","src":"458:6:30"},{"kind":"number","nativeSrc":"466:4:30","nodeType":"YulLiteral","src":"466:4:30","type":"","value":"0x1f"}],"functionName":{"name":"add","nativeSrc":"454:3:30","nodeType":"YulIdentifier","src":"454:3:30"},"nativeSrc":"454:17:30","nodeType":"YulFunctionCall","src":"454:17:30"},{"arguments":[{"kind":"number","nativeSrc":"477:2:30","nodeType":"YulLiteral","src":"477:2:30","type":"","value":"31"}],"functionName":{"name":"not","nativeSrc":"473:3:30","nodeType":"YulIdentifier","src":"473:3:30"},"nativeSrc":"473:7:30","nodeType":"YulFunctionCall","src":"473:7:30"}],"functionName":{"name":"and","nativeSrc":"450:3:30","nodeType":"YulIdentifier","src":"450:3:30"},"nativeSrc":"450:31:30","nodeType":"YulFunctionCall","src":"450:31:30"},{"kind":"number","nativeSrc":"483:2:30","nodeType":"YulLiteral","src":"483:2:30","type":"","value":"63"}],"functionName":{"name":"add","nativeSrc":"446:3:30","nodeType":"YulIdentifier","src":"446:3:30"},"nativeSrc":"446:40:30","nodeType":"YulFunctionCall","src":"446:40:30"},{"arguments":[{"kind":"number","nativeSrc":"492:2:30","nodeType":"YulLiteral","src":"492:2:30","type":"","value":"31"}],"functionName":{"name":"not","nativeSrc":"488:3:30","nodeType":"YulIdentifier","src":"488:3:30"},"nativeSrc":"488:7:30","nodeType":"YulFunctionCall","src":"488:7:30"}],"functionName":{"name":"and","nativeSrc":"442:3:30","nodeType":"YulIdentifier","src":"442:3:30"},"nativeSrc":"442:54:30","nodeType":"YulFunctionCall","src":"442:54:30"}],"functionName":{"name":"add","nativeSrc":"430:3:30","nodeType":"YulIdentifier","src":"430:3:30"},"nativeSrc":"430:67:30","nodeType":"YulFunctionCall","src":"430:67:30"},"variables":[{"name":"newFreePtr","nativeSrc":"416:10:30","nodeType":"YulTypedName","src":"416:10:30","type":""}]},{"body":{"nativeSrc":"572:22:30","nodeType":"YulBlock","src":"572:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nativeSrc":"574:16:30","nodeType":"YulIdentifier","src":"574:16:30"},"nativeSrc":"574:18:30","nodeType":"YulFunctionCall","src":"574:18:30"},"nativeSrc":"574:18:30","nodeType":"YulExpressionStatement","src":"574:18:30"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nativeSrc":"515:10:30","nodeType":"YulIdentifier","src":"515:10:30"},{"kind":"number","nativeSrc":"527:18:30","nodeType":"YulLiteral","src":"527:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"512:2:30","nodeType":"YulIdentifier","src":"512:2:30"},"nativeSrc":"512:34:30","nodeType":"YulFunctionCall","src":"512:34:30"},{"arguments":[{"name":"newFreePtr","nativeSrc":"551:10:30","nodeType":"YulIdentifier","src":"551:10:30"},{"name":"memPtr","nativeSrc":"563:6:30","nodeType":"YulIdentifier","src":"563:6:30"}],"functionName":{"name":"lt","nativeSrc":"548:2:30","nodeType":"YulIdentifier","src":"548:2:30"},"nativeSrc":"548:22:30","nodeType":"YulFunctionCall","src":"548:22:30"}],"functionName":{"name":"or","nativeSrc":"509:2:30","nodeType":"YulIdentifier","src":"509:2:30"},"nativeSrc":"509:62:30","nodeType":"YulFunctionCall","src":"509:62:30"},"nativeSrc":"506:88:30","nodeType":"YulIf","src":"506:88:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"610:2:30","nodeType":"YulLiteral","src":"610:2:30","type":"","value":"64"},{"name":"newFreePtr","nativeSrc":"614:10:30","nodeType":"YulIdentifier","src":"614:10:30"}],"functionName":{"name":"mstore","nativeSrc":"603:6:30","nodeType":"YulIdentifier","src":"603:6:30"},"nativeSrc":"603:22:30","nodeType":"YulFunctionCall","src":"603:22:30"},"nativeSrc":"603:22:30","nodeType":"YulExpressionStatement","src":"603:22:30"},{"expression":{"arguments":[{"name":"memPtr","nativeSrc":"641:6:30","nodeType":"YulIdentifier","src":"641:6:30"},{"name":"length","nativeSrc":"649:6:30","nodeType":"YulIdentifier","src":"649:6:30"}],"functionName":{"name":"mstore","nativeSrc":"634:6:30","nodeType":"YulIdentifier","src":"634:6:30"},"nativeSrc":"634:22:30","nodeType":"YulFunctionCall","src":"634:22:30"},"nativeSrc":"634:22:30","nodeType":"YulExpressionStatement","src":"634:22:30"},{"body":{"nativeSrc":"708:16:30","nodeType":"YulBlock","src":"708:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"717:1:30","nodeType":"YulLiteral","src":"717:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"720:1:30","nodeType":"YulLiteral","src":"720:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"710:6:30","nodeType":"YulIdentifier","src":"710:6:30"},"nativeSrc":"710:12:30","nodeType":"YulFunctionCall","src":"710:12:30"},"nativeSrc":"710:12:30","nodeType":"YulExpressionStatement","src":"710:12:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nativeSrc":"679:6:30","nodeType":"YulIdentifier","src":"679:6:30"},{"name":"length","nativeSrc":"687:6:30","nodeType":"YulIdentifier","src":"687:6:30"}],"functionName":{"name":"add","nativeSrc":"675:3:30","nodeType":"YulIdentifier","src":"675:3:30"},"nativeSrc":"675:19:30","nodeType":"YulFunctionCall","src":"675:19:30"},{"kind":"number","nativeSrc":"696:4:30","nodeType":"YulLiteral","src":"696:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"671:3:30","nodeType":"YulIdentifier","src":"671:3:30"},"nativeSrc":"671:30:30","nodeType":"YulFunctionCall","src":"671:30:30"},{"name":"end","nativeSrc":"703:3:30","nodeType":"YulIdentifier","src":"703:3:30"}],"functionName":{"name":"gt","nativeSrc":"668:2:30","nodeType":"YulIdentifier","src":"668:2:30"},"nativeSrc":"668:39:30","nodeType":"YulFunctionCall","src":"668:39:30"},"nativeSrc":"665:59:30","nodeType":"YulIf","src":"665:59:30"},{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nativeSrc":"750:6:30","nodeType":"YulIdentifier","src":"750:6:30"},{"kind":"number","nativeSrc":"758:4:30","nodeType":"YulLiteral","src":"758:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"746:3:30","nodeType":"YulIdentifier","src":"746:3:30"},"nativeSrc":"746:17:30","nodeType":"YulFunctionCall","src":"746:17:30"},{"arguments":[{"name":"offset","nativeSrc":"769:6:30","nodeType":"YulIdentifier","src":"769:6:30"},{"kind":"number","nativeSrc":"777:4:30","nodeType":"YulLiteral","src":"777:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"765:3:30","nodeType":"YulIdentifier","src":"765:3:30"},"nativeSrc":"765:17:30","nodeType":"YulFunctionCall","src":"765:17:30"},{"name":"length","nativeSrc":"784:6:30","nodeType":"YulIdentifier","src":"784:6:30"}],"functionName":{"name":"calldatacopy","nativeSrc":"733:12:30","nodeType":"YulIdentifier","src":"733:12:30"},"nativeSrc":"733:58:30","nodeType":"YulFunctionCall","src":"733:58:30"},"nativeSrc":"733:58:30","nodeType":"YulExpressionStatement","src":"733:58:30"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"memPtr","nativeSrc":"815:6:30","nodeType":"YulIdentifier","src":"815:6:30"},{"name":"length","nativeSrc":"823:6:30","nodeType":"YulIdentifier","src":"823:6:30"}],"functionName":{"name":"add","nativeSrc":"811:3:30","nodeType":"YulIdentifier","src":"811:3:30"},"nativeSrc":"811:19:30","nodeType":"YulFunctionCall","src":"811:19:30"},{"kind":"number","nativeSrc":"832:4:30","nodeType":"YulLiteral","src":"832:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"807:3:30","nodeType":"YulIdentifier","src":"807:3:30"},"nativeSrc":"807:30:30","nodeType":"YulFunctionCall","src":"807:30:30"},{"kind":"number","nativeSrc":"839:1:30","nodeType":"YulLiteral","src":"839:1:30","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"800:6:30","nodeType":"YulIdentifier","src":"800:6:30"},"nativeSrc":"800:41:30","nodeType":"YulFunctionCall","src":"800:41:30"},"nativeSrc":"800:41:30","nodeType":"YulExpressionStatement","src":"800:41:30"},{"nativeSrc":"850:15:30","nodeType":"YulAssignment","src":"850:15:30","value":{"name":"memPtr","nativeSrc":"859:6:30","nodeType":"YulIdentifier","src":"859:6:30"},"variableNames":[{"name":"array","nativeSrc":"850:5:30","nodeType":"YulIdentifier","src":"850:5:30"}]}]},"name":"abi_decode_bytes","nativeSrc":"146:725:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"172:6:30","nodeType":"YulTypedName","src":"172:6:30","type":""},{"name":"end","nativeSrc":"180:3:30","nodeType":"YulTypedName","src":"180:3:30","type":""}],"returnVariables":[{"name":"array","nativeSrc":"188:5:30","nodeType":"YulTypedName","src":"188:5:30","type":""}],"src":"146:725:30"},{"body":{"nativeSrc":"925:124:30","nodeType":"YulBlock","src":"925:124:30","statements":[{"nativeSrc":"935:29:30","nodeType":"YulAssignment","src":"935:29:30","value":{"arguments":[{"name":"offset","nativeSrc":"957:6:30","nodeType":"YulIdentifier","src":"957:6:30"}],"functionName":{"name":"calldataload","nativeSrc":"944:12:30","nodeType":"YulIdentifier","src":"944:12:30"},"nativeSrc":"944:20:30","nodeType":"YulFunctionCall","src":"944:20:30"},"variableNames":[{"name":"value","nativeSrc":"935:5:30","nodeType":"YulIdentifier","src":"935:5:30"}]},{"body":{"nativeSrc":"1027:16:30","nodeType":"YulBlock","src":"1027:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1036:1:30","nodeType":"YulLiteral","src":"1036:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1039:1:30","nodeType":"YulLiteral","src":"1039:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1029:6:30","nodeType":"YulIdentifier","src":"1029:6:30"},"nativeSrc":"1029:12:30","nodeType":"YulFunctionCall","src":"1029:12:30"},"nativeSrc":"1029:12:30","nodeType":"YulExpressionStatement","src":"1029:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"986:5:30","nodeType":"YulIdentifier","src":"986:5:30"},{"arguments":[{"name":"value","nativeSrc":"997:5:30","nodeType":"YulIdentifier","src":"997:5:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"1012:3:30","nodeType":"YulLiteral","src":"1012:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"1017:1:30","nodeType":"YulLiteral","src":"1017:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"1008:3:30","nodeType":"YulIdentifier","src":"1008:3:30"},"nativeSrc":"1008:11:30","nodeType":"YulFunctionCall","src":"1008:11:30"},{"kind":"number","nativeSrc":"1021:1:30","nodeType":"YulLiteral","src":"1021:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"1004:3:30","nodeType":"YulIdentifier","src":"1004:3:30"},"nativeSrc":"1004:19:30","nodeType":"YulFunctionCall","src":"1004:19:30"}],"functionName":{"name":"and","nativeSrc":"993:3:30","nodeType":"YulIdentifier","src":"993:3:30"},"nativeSrc":"993:31:30","nodeType":"YulFunctionCall","src":"993:31:30"}],"functionName":{"name":"eq","nativeSrc":"983:2:30","nodeType":"YulIdentifier","src":"983:2:30"},"nativeSrc":"983:42:30","nodeType":"YulFunctionCall","src":"983:42:30"}],"functionName":{"name":"iszero","nativeSrc":"976:6:30","nodeType":"YulIdentifier","src":"976:6:30"},"nativeSrc":"976:50:30","nodeType":"YulFunctionCall","src":"976:50:30"},"nativeSrc":"973:70:30","nodeType":"YulIf","src":"973:70:30"}]},"name":"abi_decode_address","nativeSrc":"876:173:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"904:6:30","nodeType":"YulTypedName","src":"904:6:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"915:5:30","nodeType":"YulTypedName","src":"915:5:30","type":""}],"src":"876:173:30"},{"body":{"nativeSrc":"1167:355:30","nodeType":"YulBlock","src":"1167:355:30","statements":[{"body":{"nativeSrc":"1213:16:30","nodeType":"YulBlock","src":"1213:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1222:1:30","nodeType":"YulLiteral","src":"1222:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1225:1:30","nodeType":"YulLiteral","src":"1225:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1215:6:30","nodeType":"YulIdentifier","src":"1215:6:30"},"nativeSrc":"1215:12:30","nodeType":"YulFunctionCall","src":"1215:12:30"},"nativeSrc":"1215:12:30","nodeType":"YulExpressionStatement","src":"1215:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"1188:7:30","nodeType":"YulIdentifier","src":"1188:7:30"},{"name":"headStart","nativeSrc":"1197:9:30","nodeType":"YulIdentifier","src":"1197:9:30"}],"functionName":{"name":"sub","nativeSrc":"1184:3:30","nodeType":"YulIdentifier","src":"1184:3:30"},"nativeSrc":"1184:23:30","nodeType":"YulFunctionCall","src":"1184:23:30"},{"kind":"number","nativeSrc":"1209:2:30","nodeType":"YulLiteral","src":"1209:2:30","type":"","value":"96"}],"functionName":{"name":"slt","nativeSrc":"1180:3:30","nodeType":"YulIdentifier","src":"1180:3:30"},"nativeSrc":"1180:32:30","nodeType":"YulFunctionCall","src":"1180:32:30"},"nativeSrc":"1177:52:30","nodeType":"YulIf","src":"1177:52:30"},{"nativeSrc":"1238:37:30","nodeType":"YulVariableDeclaration","src":"1238:37:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1265:9:30","nodeType":"YulIdentifier","src":"1265:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"1252:12:30","nodeType":"YulIdentifier","src":"1252:12:30"},"nativeSrc":"1252:23:30","nodeType":"YulFunctionCall","src":"1252:23:30"},"variables":[{"name":"offset","nativeSrc":"1242:6:30","nodeType":"YulTypedName","src":"1242:6:30","type":""}]},{"body":{"nativeSrc":"1318:16:30","nodeType":"YulBlock","src":"1318:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1327:1:30","nodeType":"YulLiteral","src":"1327:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1330:1:30","nodeType":"YulLiteral","src":"1330:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1320:6:30","nodeType":"YulIdentifier","src":"1320:6:30"},"nativeSrc":"1320:12:30","nodeType":"YulFunctionCall","src":"1320:12:30"},"nativeSrc":"1320:12:30","nodeType":"YulExpressionStatement","src":"1320:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"1290:6:30","nodeType":"YulIdentifier","src":"1290:6:30"},{"kind":"number","nativeSrc":"1298:18:30","nodeType":"YulLiteral","src":"1298:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"1287:2:30","nodeType":"YulIdentifier","src":"1287:2:30"},"nativeSrc":"1287:30:30","nodeType":"YulFunctionCall","src":"1287:30:30"},"nativeSrc":"1284:50:30","nodeType":"YulIf","src":"1284:50:30"},{"nativeSrc":"1343:59:30","nodeType":"YulAssignment","src":"1343:59:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1374:9:30","nodeType":"YulIdentifier","src":"1374:9:30"},{"name":"offset","nativeSrc":"1385:6:30","nodeType":"YulIdentifier","src":"1385:6:30"}],"functionName":{"name":"add","nativeSrc":"1370:3:30","nodeType":"YulIdentifier","src":"1370:3:30"},"nativeSrc":"1370:22:30","nodeType":"YulFunctionCall","src":"1370:22:30"},{"name":"dataEnd","nativeSrc":"1394:7:30","nodeType":"YulIdentifier","src":"1394:7:30"}],"functionName":{"name":"abi_decode_bytes","nativeSrc":"1353:16:30","nodeType":"YulIdentifier","src":"1353:16:30"},"nativeSrc":"1353:49:30","nodeType":"YulFunctionCall","src":"1353:49:30"},"variableNames":[{"name":"value0","nativeSrc":"1343:6:30","nodeType":"YulIdentifier","src":"1343:6:30"}]},{"nativeSrc":"1411:48:30","nodeType":"YulAssignment","src":"1411:48:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1444:9:30","nodeType":"YulIdentifier","src":"1444:9:30"},{"kind":"number","nativeSrc":"1455:2:30","nodeType":"YulLiteral","src":"1455:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"1440:3:30","nodeType":"YulIdentifier","src":"1440:3:30"},"nativeSrc":"1440:18:30","nodeType":"YulFunctionCall","src":"1440:18:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"1421:18:30","nodeType":"YulIdentifier","src":"1421:18:30"},"nativeSrc":"1421:38:30","nodeType":"YulFunctionCall","src":"1421:38:30"},"variableNames":[{"name":"value1","nativeSrc":"1411:6:30","nodeType":"YulIdentifier","src":"1411:6:30"}]},{"nativeSrc":"1468:48:30","nodeType":"YulAssignment","src":"1468:48:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1501:9:30","nodeType":"YulIdentifier","src":"1501:9:30"},{"kind":"number","nativeSrc":"1512:2:30","nodeType":"YulLiteral","src":"1512:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"1497:3:30","nodeType":"YulIdentifier","src":"1497:3:30"},"nativeSrc":"1497:18:30","nodeType":"YulFunctionCall","src":"1497:18:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"1478:18:30","nodeType":"YulIdentifier","src":"1478:18:30"},"nativeSrc":"1478:38:30","nodeType":"YulFunctionCall","src":"1478:38:30"},"variableNames":[{"name":"value2","nativeSrc":"1468:6:30","nodeType":"YulIdentifier","src":"1468:6:30"}]}]},"name":"abi_decode_tuple_t_bytes_memory_ptrt_addresst_address","nativeSrc":"1054:468:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1117:9:30","nodeType":"YulTypedName","src":"1117:9:30","type":""},{"name":"dataEnd","nativeSrc":"1128:7:30","nodeType":"YulTypedName","src":"1128:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"1140:6:30","nodeType":"YulTypedName","src":"1140:6:30","type":""},{"name":"value1","nativeSrc":"1148:6:30","nodeType":"YulTypedName","src":"1148:6:30","type":""},{"name":"value2","nativeSrc":"1156:6:30","nodeType":"YulTypedName","src":"1156:6:30","type":""}],"src":"1054:468:30"},{"body":{"nativeSrc":"1577:279:30","nodeType":"YulBlock","src":"1577:279:30","statements":[{"nativeSrc":"1587:10:30","nodeType":"YulAssignment","src":"1587:10:30","value":{"name":"pos","nativeSrc":"1594:3:30","nodeType":"YulIdentifier","src":"1594:3:30"},"variableNames":[{"name":"pos","nativeSrc":"1587:3:30","nodeType":"YulIdentifier","src":"1587:3:30"}]},{"nativeSrc":"1606:19:30","nodeType":"YulVariableDeclaration","src":"1606:19:30","value":{"name":"value","nativeSrc":"1620:5:30","nodeType":"YulIdentifier","src":"1620:5:30"},"variables":[{"name":"srcPtr","nativeSrc":"1610:6:30","nodeType":"YulTypedName","src":"1610:6:30","type":""}]},{"nativeSrc":"1634:10:30","nodeType":"YulVariableDeclaration","src":"1634:10:30","value":{"kind":"number","nativeSrc":"1643:1:30","nodeType":"YulLiteral","src":"1643:1:30","type":"","value":"0"},"variables":[{"name":"i","nativeSrc":"1638:1:30","nodeType":"YulTypedName","src":"1638:1:30","type":""}]},{"body":{"nativeSrc":"1700:150:30","nodeType":"YulBlock","src":"1700:150:30","statements":[{"expression":{"arguments":[{"name":"pos","nativeSrc":"1721:3:30","nodeType":"YulIdentifier","src":"1721:3:30"},{"arguments":[{"arguments":[{"name":"srcPtr","nativeSrc":"1736:6:30","nodeType":"YulIdentifier","src":"1736:6:30"}],"functionName":{"name":"mload","nativeSrc":"1730:5:30","nodeType":"YulIdentifier","src":"1730:5:30"},"nativeSrc":"1730:13:30","nodeType":"YulFunctionCall","src":"1730:13:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"1753:3:30","nodeType":"YulLiteral","src":"1753:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"1758:1:30","nodeType":"YulLiteral","src":"1758:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"1749:3:30","nodeType":"YulIdentifier","src":"1749:3:30"},"nativeSrc":"1749:11:30","nodeType":"YulFunctionCall","src":"1749:11:30"},{"kind":"number","nativeSrc":"1762:1:30","nodeType":"YulLiteral","src":"1762:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"1745:3:30","nodeType":"YulIdentifier","src":"1745:3:30"},"nativeSrc":"1745:19:30","nodeType":"YulFunctionCall","src":"1745:19:30"}],"functionName":{"name":"and","nativeSrc":"1726:3:30","nodeType":"YulIdentifier","src":"1726:3:30"},"nativeSrc":"1726:39:30","nodeType":"YulFunctionCall","src":"1726:39:30"}],"functionName":{"name":"mstore","nativeSrc":"1714:6:30","nodeType":"YulIdentifier","src":"1714:6:30"},"nativeSrc":"1714:52:30","nodeType":"YulFunctionCall","src":"1714:52:30"},"nativeSrc":"1714:52:30","nodeType":"YulExpressionStatement","src":"1714:52:30"},{"nativeSrc":"1779:21:30","nodeType":"YulAssignment","src":"1779:21:30","value":{"arguments":[{"name":"pos","nativeSrc":"1790:3:30","nodeType":"YulIdentifier","src":"1790:3:30"},{"kind":"number","nativeSrc":"1795:4:30","nodeType":"YulLiteral","src":"1795:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1786:3:30","nodeType":"YulIdentifier","src":"1786:3:30"},"nativeSrc":"1786:14:30","nodeType":"YulFunctionCall","src":"1786:14:30"},"variableNames":[{"name":"pos","nativeSrc":"1779:3:30","nodeType":"YulIdentifier","src":"1779:3:30"}]},{"nativeSrc":"1813:27:30","nodeType":"YulAssignment","src":"1813:27:30","value":{"arguments":[{"name":"srcPtr","nativeSrc":"1827:6:30","nodeType":"YulIdentifier","src":"1827:6:30"},{"kind":"number","nativeSrc":"1835:4:30","nodeType":"YulLiteral","src":"1835:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1823:3:30","nodeType":"YulIdentifier","src":"1823:3:30"},"nativeSrc":"1823:17:30","nodeType":"YulFunctionCall","src":"1823:17:30"},"variableNames":[{"name":"srcPtr","nativeSrc":"1813:6:30","nodeType":"YulIdentifier","src":"1813:6:30"}]}]},"condition":{"arguments":[{"name":"i","nativeSrc":"1664:1:30","nodeType":"YulIdentifier","src":"1664:1:30"},{"kind":"number","nativeSrc":"1667:4:30","nodeType":"YulLiteral","src":"1667:4:30","type":"","value":"0x05"}],"functionName":{"name":"lt","nativeSrc":"1661:2:30","nodeType":"YulIdentifier","src":"1661:2:30"},"nativeSrc":"1661:11:30","nodeType":"YulFunctionCall","src":"1661:11:30"},"nativeSrc":"1653:197:30","nodeType":"YulForLoop","post":{"nativeSrc":"1673:18:30","nodeType":"YulBlock","src":"1673:18:30","statements":[{"nativeSrc":"1675:14:30","nodeType":"YulAssignment","src":"1675:14:30","value":{"arguments":[{"name":"i","nativeSrc":"1684:1:30","nodeType":"YulIdentifier","src":"1684:1:30"},{"kind":"number","nativeSrc":"1687:1:30","nodeType":"YulLiteral","src":"1687:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"1680:3:30","nodeType":"YulIdentifier","src":"1680:3:30"},"nativeSrc":"1680:9:30","nodeType":"YulFunctionCall","src":"1680:9:30"},"variableNames":[{"name":"i","nativeSrc":"1675:1:30","nodeType":"YulIdentifier","src":"1675:1:30"}]}]},"pre":{"nativeSrc":"1657:3:30","nodeType":"YulBlock","src":"1657:3:30","statements":[]},"src":"1653:197:30"}]},"name":"abi_encode_array_address","nativeSrc":"1527:329:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nativeSrc":"1561:5:30","nodeType":"YulTypedName","src":"1561:5:30","type":""},{"name":"pos","nativeSrc":"1568:3:30","nodeType":"YulTypedName","src":"1568:3:30","type":""}],"src":"1527:329:30"},{"body":{"nativeSrc":"1915:1161:30","nodeType":"YulBlock","src":"1915:1161:30","statements":[{"nativeSrc":"1925:22:30","nodeType":"YulVariableDeclaration","src":"1925:22:30","value":{"arguments":[{"name":"value","nativeSrc":"1941:5:30","nodeType":"YulIdentifier","src":"1941:5:30"}],"functionName":{"name":"mload","nativeSrc":"1935:5:30","nodeType":"YulIdentifier","src":"1935:5:30"},"nativeSrc":"1935:12:30","nodeType":"YulFunctionCall","src":"1935:12:30"},"variables":[{"name":"_1","nativeSrc":"1929:2:30","nodeType":"YulTypedName","src":"1929:2:30","type":""}]},{"nativeSrc":"1956:16:30","nodeType":"YulVariableDeclaration","src":"1956:16:30","value":{"name":"pos","nativeSrc":"1969:3:30","nodeType":"YulIdentifier","src":"1969:3:30"},"variables":[{"name":"pos_1","nativeSrc":"1960:5:30","nodeType":"YulTypedName","src":"1960:5:30","type":""}]},{"nativeSrc":"1981:12:30","nodeType":"YulAssignment","src":"1981:12:30","value":{"name":"pos","nativeSrc":"1990:3:30","nodeType":"YulIdentifier","src":"1990:3:30"},"variableNames":[{"name":"pos_1","nativeSrc":"1981:5:30","nodeType":"YulIdentifier","src":"1981:5:30"}]},{"nativeSrc":"2002:16:30","nodeType":"YulVariableDeclaration","src":"2002:16:30","value":{"name":"_1","nativeSrc":"2016:2:30","nodeType":"YulIdentifier","src":"2016:2:30"},"variables":[{"name":"srcPtr","nativeSrc":"2006:6:30","nodeType":"YulTypedName","src":"2006:6:30","type":""}]},{"nativeSrc":"2027:10:30","nodeType":"YulVariableDeclaration","src":"2027:10:30","value":{"kind":"number","nativeSrc":"2036:1:30","nodeType":"YulLiteral","src":"2036:1:30","type":"","value":"0"},"variables":[{"name":"i","nativeSrc":"2031:1:30","nodeType":"YulTypedName","src":"2031:1:30","type":""}]},{"body":{"nativeSrc":"2093:156:30","nodeType":"YulBlock","src":"2093:156:30","statements":[{"expression":{"arguments":[{"name":"pos_1","nativeSrc":"2114:5:30","nodeType":"YulIdentifier","src":"2114:5:30"},{"arguments":[{"arguments":[{"name":"srcPtr","nativeSrc":"2131:6:30","nodeType":"YulIdentifier","src":"2131:6:30"}],"functionName":{"name":"mload","nativeSrc":"2125:5:30","nodeType":"YulIdentifier","src":"2125:5:30"},"nativeSrc":"2125:13:30","nodeType":"YulFunctionCall","src":"2125:13:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"2148:3:30","nodeType":"YulLiteral","src":"2148:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"2153:1:30","nodeType":"YulLiteral","src":"2153:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"2144:3:30","nodeType":"YulIdentifier","src":"2144:3:30"},"nativeSrc":"2144:11:30","nodeType":"YulFunctionCall","src":"2144:11:30"},{"kind":"number","nativeSrc":"2157:1:30","nodeType":"YulLiteral","src":"2157:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"2140:3:30","nodeType":"YulIdentifier","src":"2140:3:30"},"nativeSrc":"2140:19:30","nodeType":"YulFunctionCall","src":"2140:19:30"}],"functionName":{"name":"and","nativeSrc":"2121:3:30","nodeType":"YulIdentifier","src":"2121:3:30"},"nativeSrc":"2121:39:30","nodeType":"YulFunctionCall","src":"2121:39:30"}],"functionName":{"name":"mstore","nativeSrc":"2107:6:30","nodeType":"YulIdentifier","src":"2107:6:30"},"nativeSrc":"2107:54:30","nodeType":"YulFunctionCall","src":"2107:54:30"},"nativeSrc":"2107:54:30","nodeType":"YulExpressionStatement","src":"2107:54:30"},{"nativeSrc":"2174:25:30","nodeType":"YulAssignment","src":"2174:25:30","value":{"arguments":[{"name":"pos_1","nativeSrc":"2187:5:30","nodeType":"YulIdentifier","src":"2187:5:30"},{"kind":"number","nativeSrc":"2194:4:30","nodeType":"YulLiteral","src":"2194:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2183:3:30","nodeType":"YulIdentifier","src":"2183:3:30"},"nativeSrc":"2183:16:30","nodeType":"YulFunctionCall","src":"2183:16:30"},"variableNames":[{"name":"pos_1","nativeSrc":"2174:5:30","nodeType":"YulIdentifier","src":"2174:5:30"}]},{"nativeSrc":"2212:27:30","nodeType":"YulAssignment","src":"2212:27:30","value":{"arguments":[{"name":"srcPtr","nativeSrc":"2226:6:30","nodeType":"YulIdentifier","src":"2226:6:30"},{"kind":"number","nativeSrc":"2234:4:30","nodeType":"YulLiteral","src":"2234:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2222:3:30","nodeType":"YulIdentifier","src":"2222:3:30"},"nativeSrc":"2222:17:30","nodeType":"YulFunctionCall","src":"2222:17:30"},"variableNames":[{"name":"srcPtr","nativeSrc":"2212:6:30","nodeType":"YulIdentifier","src":"2212:6:30"}]}]},"condition":{"arguments":[{"name":"i","nativeSrc":"2057:1:30","nodeType":"YulIdentifier","src":"2057:1:30"},{"kind":"number","nativeSrc":"2060:4:30","nodeType":"YulLiteral","src":"2060:4:30","type":"","value":"0x0b"}],"functionName":{"name":"lt","nativeSrc":"2054:2:30","nodeType":"YulIdentifier","src":"2054:2:30"},"nativeSrc":"2054:11:30","nodeType":"YulFunctionCall","src":"2054:11:30"},"nativeSrc":"2046:203:30","nodeType":"YulForLoop","post":{"nativeSrc":"2066:18:30","nodeType":"YulBlock","src":"2066:18:30","statements":[{"nativeSrc":"2068:14:30","nodeType":"YulAssignment","src":"2068:14:30","value":{"arguments":[{"name":"i","nativeSrc":"2077:1:30","nodeType":"YulIdentifier","src":"2077:1:30"},{"kind":"number","nativeSrc":"2080:1:30","nodeType":"YulLiteral","src":"2080:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"2073:3:30","nodeType":"YulIdentifier","src":"2073:3:30"},"nativeSrc":"2073:9:30","nodeType":"YulFunctionCall","src":"2073:9:30"},"variableNames":[{"name":"i","nativeSrc":"2068:1:30","nodeType":"YulIdentifier","src":"2068:1:30"}]}]},"pre":{"nativeSrc":"2050:3:30","nodeType":"YulBlock","src":"2050:3:30","statements":[]},"src":"2046:203:30"},{"nativeSrc":"2258:43:30","nodeType":"YulVariableDeclaration","src":"2258:43:30","value":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"2288:5:30","nodeType":"YulIdentifier","src":"2288:5:30"},{"kind":"number","nativeSrc":"2295:4:30","nodeType":"YulLiteral","src":"2295:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2284:3:30","nodeType":"YulIdentifier","src":"2284:3:30"},"nativeSrc":"2284:16:30","nodeType":"YulFunctionCall","src":"2284:16:30"}],"functionName":{"name":"mload","nativeSrc":"2278:5:30","nodeType":"YulIdentifier","src":"2278:5:30"},"nativeSrc":"2278:23:30","nodeType":"YulFunctionCall","src":"2278:23:30"},"variables":[{"name":"memberValue0","nativeSrc":"2262:12:30","nodeType":"YulTypedName","src":"2262:12:30","type":""}]},{"nativeSrc":"2310:29:30","nodeType":"YulVariableDeclaration","src":"2310:29:30","value":{"arguments":[{"name":"pos","nativeSrc":"2327:3:30","nodeType":"YulIdentifier","src":"2327:3:30"},{"kind":"number","nativeSrc":"2332:6:30","nodeType":"YulLiteral","src":"2332:6:30","type":"","value":"0x0160"}],"functionName":{"name":"add","nativeSrc":"2323:3:30","nodeType":"YulIdentifier","src":"2323:3:30"},"nativeSrc":"2323:16:30","nodeType":"YulFunctionCall","src":"2323:16:30"},"variables":[{"name":"pos_2","nativeSrc":"2314:5:30","nodeType":"YulTypedName","src":"2314:5:30","type":""}]},{"nativeSrc":"2348:14:30","nodeType":"YulAssignment","src":"2348:14:30","value":{"name":"pos_2","nativeSrc":"2357:5:30","nodeType":"YulIdentifier","src":"2357:5:30"},"variableNames":[{"name":"pos_2","nativeSrc":"2348:5:30","nodeType":"YulIdentifier","src":"2348:5:30"}]},{"nativeSrc":"2371:28:30","nodeType":"YulVariableDeclaration","src":"2371:28:30","value":{"name":"memberValue0","nativeSrc":"2387:12:30","nodeType":"YulIdentifier","src":"2387:12:30"},"variables":[{"name":"srcPtr_1","nativeSrc":"2375:8:30","nodeType":"YulTypedName","src":"2375:8:30","type":""}]},{"nativeSrc":"2408:12:30","nodeType":"YulVariableDeclaration","src":"2408:12:30","value":{"kind":"number","nativeSrc":"2419:1:30","nodeType":"YulLiteral","src":"2419:1:30","type":"","value":"0"},"variables":[{"name":"i_1","nativeSrc":"2412:3:30","nodeType":"YulTypedName","src":"2412:3:30","type":""}]},{"body":{"nativeSrc":"2482:467:30","nodeType":"YulBlock","src":"2482:467:30","statements":[{"nativeSrc":"2496:25:30","nodeType":"YulVariableDeclaration","src":"2496:25:30","value":{"arguments":[{"name":"srcPtr_1","nativeSrc":"2512:8:30","nodeType":"YulIdentifier","src":"2512:8:30"}],"functionName":{"name":"mload","nativeSrc":"2506:5:30","nodeType":"YulIdentifier","src":"2506:5:30"},"nativeSrc":"2506:15:30","nodeType":"YulFunctionCall","src":"2506:15:30"},"variables":[{"name":"_2","nativeSrc":"2500:2:30","nodeType":"YulTypedName","src":"2500:2:30","type":""}]},{"nativeSrc":"2534:18:30","nodeType":"YulVariableDeclaration","src":"2534:18:30","value":{"name":"pos_2","nativeSrc":"2547:5:30","nodeType":"YulIdentifier","src":"2547:5:30"},"variables":[{"name":"pos_3","nativeSrc":"2538:5:30","nodeType":"YulTypedName","src":"2538:5:30","type":""}]},{"nativeSrc":"2565:14:30","nodeType":"YulAssignment","src":"2565:14:30","value":{"name":"pos_2","nativeSrc":"2574:5:30","nodeType":"YulIdentifier","src":"2574:5:30"},"variableNames":[{"name":"pos_3","nativeSrc":"2565:5:30","nodeType":"YulIdentifier","src":"2565:5:30"}]},{"nativeSrc":"2592:18:30","nodeType":"YulVariableDeclaration","src":"2592:18:30","value":{"name":"_2","nativeSrc":"2608:2:30","nodeType":"YulIdentifier","src":"2608:2:30"},"variables":[{"name":"srcPtr_2","nativeSrc":"2596:8:30","nodeType":"YulTypedName","src":"2596:8:30","type":""}]},{"nativeSrc":"2623:12:30","nodeType":"YulVariableDeclaration","src":"2623:12:30","value":{"kind":"number","nativeSrc":"2634:1:30","nodeType":"YulLiteral","src":"2634:1:30","type":"","value":"0"},"variables":[{"name":"i_2","nativeSrc":"2627:3:30","nodeType":"YulTypedName","src":"2627:3:30","type":""}]},{"body":{"nativeSrc":"2705:152:30","nodeType":"YulBlock","src":"2705:152:30","statements":[{"expression":{"arguments":[{"name":"pos_3","nativeSrc":"2730:5:30","nodeType":"YulIdentifier","src":"2730:5:30"},{"arguments":[{"name":"srcPtr_2","nativeSrc":"2743:8:30","nodeType":"YulIdentifier","src":"2743:8:30"}],"functionName":{"name":"mload","nativeSrc":"2737:5:30","nodeType":"YulIdentifier","src":"2737:5:30"},"nativeSrc":"2737:15:30","nodeType":"YulFunctionCall","src":"2737:15:30"}],"functionName":{"name":"mstore","nativeSrc":"2723:6:30","nodeType":"YulIdentifier","src":"2723:6:30"},"nativeSrc":"2723:30:30","nodeType":"YulFunctionCall","src":"2723:30:30"},"nativeSrc":"2723:30:30","nodeType":"YulExpressionStatement","src":"2723:30:30"},{"nativeSrc":"2770:25:30","nodeType":"YulAssignment","src":"2770:25:30","value":{"arguments":[{"name":"pos_3","nativeSrc":"2783:5:30","nodeType":"YulIdentifier","src":"2783:5:30"},{"kind":"number","nativeSrc":"2790:4:30","nodeType":"YulLiteral","src":"2790:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2779:3:30","nodeType":"YulIdentifier","src":"2779:3:30"},"nativeSrc":"2779:16:30","nodeType":"YulFunctionCall","src":"2779:16:30"},"variableNames":[{"name":"pos_3","nativeSrc":"2770:5:30","nodeType":"YulIdentifier","src":"2770:5:30"}]},{"nativeSrc":"2812:31:30","nodeType":"YulAssignment","src":"2812:31:30","value":{"arguments":[{"name":"srcPtr_2","nativeSrc":"2828:8:30","nodeType":"YulIdentifier","src":"2828:8:30"},{"kind":"number","nativeSrc":"2838:4:30","nodeType":"YulLiteral","src":"2838:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2824:3:30","nodeType":"YulIdentifier","src":"2824:3:30"},"nativeSrc":"2824:19:30","nodeType":"YulFunctionCall","src":"2824:19:30"},"variableNames":[{"name":"srcPtr_2","nativeSrc":"2812:8:30","nodeType":"YulIdentifier","src":"2812:8:30"}]}]},"condition":{"arguments":[{"name":"i_2","nativeSrc":"2659:3:30","nodeType":"YulIdentifier","src":"2659:3:30"},{"kind":"number","nativeSrc":"2664:4:30","nodeType":"YulLiteral","src":"2664:4:30","type":"","value":"0x05"}],"functionName":{"name":"lt","nativeSrc":"2656:2:30","nodeType":"YulIdentifier","src":"2656:2:30"},"nativeSrc":"2656:13:30","nodeType":"YulFunctionCall","src":"2656:13:30"},"nativeSrc":"2648:209:30","nodeType":"YulForLoop","post":{"nativeSrc":"2670:22:30","nodeType":"YulBlock","src":"2670:22:30","statements":[{"nativeSrc":"2672:18:30","nodeType":"YulAssignment","src":"2672:18:30","value":{"arguments":[{"name":"i_2","nativeSrc":"2683:3:30","nodeType":"YulIdentifier","src":"2683:3:30"},{"kind":"number","nativeSrc":"2688:1:30","nodeType":"YulLiteral","src":"2688:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"2679:3:30","nodeType":"YulIdentifier","src":"2679:3:30"},"nativeSrc":"2679:11:30","nodeType":"YulFunctionCall","src":"2679:11:30"},"variableNames":[{"name":"i_2","nativeSrc":"2672:3:30","nodeType":"YulIdentifier","src":"2672:3:30"}]}]},"pre":{"nativeSrc":"2652:3:30","nodeType":"YulBlock","src":"2652:3:30","statements":[]},"src":"2648:209:30"},{"nativeSrc":"2870:25:30","nodeType":"YulAssignment","src":"2870:25:30","value":{"arguments":[{"name":"pos_2","nativeSrc":"2883:5:30","nodeType":"YulIdentifier","src":"2883:5:30"},{"kind":"number","nativeSrc":"2890:4:30","nodeType":"YulLiteral","src":"2890:4:30","type":"","value":"0xa0"}],"functionName":{"name":"add","nativeSrc":"2879:3:30","nodeType":"YulIdentifier","src":"2879:3:30"},"nativeSrc":"2879:16:30","nodeType":"YulFunctionCall","src":"2879:16:30"},"variableNames":[{"name":"pos_2","nativeSrc":"2870:5:30","nodeType":"YulIdentifier","src":"2870:5:30"}]},{"nativeSrc":"2908:31:30","nodeType":"YulAssignment","src":"2908:31:30","value":{"arguments":[{"name":"srcPtr_1","nativeSrc":"2924:8:30","nodeType":"YulIdentifier","src":"2924:8:30"},{"kind":"number","nativeSrc":"2934:4:30","nodeType":"YulLiteral","src":"2934:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2920:3:30","nodeType":"YulIdentifier","src":"2920:3:30"},"nativeSrc":"2920:19:30","nodeType":"YulFunctionCall","src":"2920:19:30"},"variableNames":[{"name":"srcPtr_1","nativeSrc":"2908:8:30","nodeType":"YulIdentifier","src":"2908:8:30"}]}]},"condition":{"arguments":[{"name":"i_1","nativeSrc":"2440:3:30","nodeType":"YulIdentifier","src":"2440:3:30"},{"kind":"number","nativeSrc":"2445:4:30","nodeType":"YulLiteral","src":"2445:4:30","type":"","value":"0x05"}],"functionName":{"name":"lt","nativeSrc":"2437:2:30","nodeType":"YulIdentifier","src":"2437:2:30"},"nativeSrc":"2437:13:30","nodeType":"YulFunctionCall","src":"2437:13:30"},"nativeSrc":"2429:520:30","nodeType":"YulForLoop","post":{"nativeSrc":"2451:22:30","nodeType":"YulBlock","src":"2451:22:30","statements":[{"nativeSrc":"2453:18:30","nodeType":"YulAssignment","src":"2453:18:30","value":{"arguments":[{"name":"i_1","nativeSrc":"2464:3:30","nodeType":"YulIdentifier","src":"2464:3:30"},{"kind":"number","nativeSrc":"2469:1:30","nodeType":"YulLiteral","src":"2469:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"2460:3:30","nodeType":"YulIdentifier","src":"2460:3:30"},"nativeSrc":"2460:11:30","nodeType":"YulFunctionCall","src":"2460:11:30"},"variableNames":[{"name":"i_1","nativeSrc":"2453:3:30","nodeType":"YulIdentifier","src":"2453:3:30"}]}]},"pre":{"nativeSrc":"2433:3:30","nodeType":"YulBlock","src":"2433:3:30","statements":[]},"src":"2429:520:30"},{"nativeSrc":"2958:45:30","nodeType":"YulVariableDeclaration","src":"2958:45:30","value":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"2990:5:30","nodeType":"YulIdentifier","src":"2990:5:30"},{"kind":"number","nativeSrc":"2997:4:30","nodeType":"YulLiteral","src":"2997:4:30","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"2986:3:30","nodeType":"YulIdentifier","src":"2986:3:30"},"nativeSrc":"2986:16:30","nodeType":"YulFunctionCall","src":"2986:16:30"}],"functionName":{"name":"mload","nativeSrc":"2980:5:30","nodeType":"YulIdentifier","src":"2980:5:30"},"nativeSrc":"2980:23:30","nodeType":"YulFunctionCall","src":"2980:23:30"},"variables":[{"name":"memberValue0_1","nativeSrc":"2962:14:30","nodeType":"YulTypedName","src":"2962:14:30","type":""}]},{"expression":{"arguments":[{"name":"memberValue0_1","nativeSrc":"3037:14:30","nodeType":"YulIdentifier","src":"3037:14:30"},{"arguments":[{"name":"pos","nativeSrc":"3057:3:30","nodeType":"YulIdentifier","src":"3057:3:30"},{"kind":"number","nativeSrc":"3062:6:30","nodeType":"YulLiteral","src":"3062:6:30","type":"","value":"0x0480"}],"functionName":{"name":"add","nativeSrc":"3053:3:30","nodeType":"YulIdentifier","src":"3053:3:30"},"nativeSrc":"3053:16:30","nodeType":"YulFunctionCall","src":"3053:16:30"}],"functionName":{"name":"abi_encode_array_address","nativeSrc":"3012:24:30","nodeType":"YulIdentifier","src":"3012:24:30"},"nativeSrc":"3012:58:30","nodeType":"YulFunctionCall","src":"3012:58:30"},"nativeSrc":"3012:58:30","nodeType":"YulExpressionStatement","src":"3012:58:30"}]},"name":"abi_encode_struct_CurveRoute","nativeSrc":"1861:1215:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nativeSrc":"1899:5:30","nodeType":"YulTypedName","src":"1899:5:30","type":""},{"name":"pos","nativeSrc":"1906:3:30","nodeType":"YulTypedName","src":"1906:3:30","type":""}],"src":"1861:1215:30"},{"body":{"nativeSrc":"3287:169:30","nodeType":"YulBlock","src":"3287:169:30","statements":[{"nativeSrc":"3297:28:30","nodeType":"YulAssignment","src":"3297:28:30","value":{"arguments":[{"name":"headStart","nativeSrc":"3309:9:30","nodeType":"YulIdentifier","src":"3309:9:30"},{"kind":"number","nativeSrc":"3320:4:30","nodeType":"YulLiteral","src":"3320:4:30","type":"","value":"1344"}],"functionName":{"name":"add","nativeSrc":"3305:3:30","nodeType":"YulIdentifier","src":"3305:3:30"},"nativeSrc":"3305:20:30","nodeType":"YulFunctionCall","src":"3305:20:30"},"variableNames":[{"name":"tail","nativeSrc":"3297:4:30","nodeType":"YulIdentifier","src":"3297:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"3341:9:30","nodeType":"YulIdentifier","src":"3341:9:30"},{"arguments":[{"name":"value0","nativeSrc":"3356:6:30","nodeType":"YulIdentifier","src":"3356:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3372:3:30","nodeType":"YulLiteral","src":"3372:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"3377:1:30","nodeType":"YulLiteral","src":"3377:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"3368:3:30","nodeType":"YulIdentifier","src":"3368:3:30"},"nativeSrc":"3368:11:30","nodeType":"YulFunctionCall","src":"3368:11:30"},{"kind":"number","nativeSrc":"3381:1:30","nodeType":"YulLiteral","src":"3381:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"3364:3:30","nodeType":"YulIdentifier","src":"3364:3:30"},"nativeSrc":"3364:19:30","nodeType":"YulFunctionCall","src":"3364:19:30"}],"functionName":{"name":"and","nativeSrc":"3352:3:30","nodeType":"YulIdentifier","src":"3352:3:30"},"nativeSrc":"3352:32:30","nodeType":"YulFunctionCall","src":"3352:32:30"}],"functionName":{"name":"mstore","nativeSrc":"3334:6:30","nodeType":"YulIdentifier","src":"3334:6:30"},"nativeSrc":"3334:51:30","nodeType":"YulFunctionCall","src":"3334:51:30"},"nativeSrc":"3334:51:30","nodeType":"YulExpressionStatement","src":"3334:51:30"},{"expression":{"arguments":[{"name":"value1","nativeSrc":"3423:6:30","nodeType":"YulIdentifier","src":"3423:6:30"},{"arguments":[{"name":"headStart","nativeSrc":"3435:9:30","nodeType":"YulIdentifier","src":"3435:9:30"},{"kind":"number","nativeSrc":"3446:2:30","nodeType":"YulLiteral","src":"3446:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3431:3:30","nodeType":"YulIdentifier","src":"3431:3:30"},"nativeSrc":"3431:18:30","nodeType":"YulFunctionCall","src":"3431:18:30"}],"functionName":{"name":"abi_encode_struct_CurveRoute","nativeSrc":"3394:28:30","nodeType":"YulIdentifier","src":"3394:28:30"},"nativeSrc":"3394:56:30","nodeType":"YulFunctionCall","src":"3394:56:30"},"nativeSrc":"3394:56:30","nodeType":"YulExpressionStatement","src":"3394:56:30"}]},"name":"abi_encode_tuple_t_contract$_ICurveRouter_$7646_t_struct$_CurveRoute_$5567_memory_ptr__to_t_address_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed","nativeSrc":"3081:375:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"3248:9:30","nodeType":"YulTypedName","src":"3248:9:30","type":""},{"name":"value1","nativeSrc":"3259:6:30","nodeType":"YulTypedName","src":"3259:6:30","type":""},{"name":"value0","nativeSrc":"3267:6:30","nodeType":"YulTypedName","src":"3267:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"3278:4:30","nodeType":"YulTypedName","src":"3278:4:30","type":""}],"src":"3081:375:30"},{"body":{"nativeSrc":"3557:292:30","nodeType":"YulBlock","src":"3557:292:30","statements":[{"body":{"nativeSrc":"3603:16:30","nodeType":"YulBlock","src":"3603:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3612:1:30","nodeType":"YulLiteral","src":"3612:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3615:1:30","nodeType":"YulLiteral","src":"3615:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"3605:6:30","nodeType":"YulIdentifier","src":"3605:6:30"},"nativeSrc":"3605:12:30","nodeType":"YulFunctionCall","src":"3605:12:30"},"nativeSrc":"3605:12:30","nodeType":"YulExpressionStatement","src":"3605:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"3578:7:30","nodeType":"YulIdentifier","src":"3578:7:30"},{"name":"headStart","nativeSrc":"3587:9:30","nodeType":"YulIdentifier","src":"3587:9:30"}],"functionName":{"name":"sub","nativeSrc":"3574:3:30","nodeType":"YulIdentifier","src":"3574:3:30"},"nativeSrc":"3574:23:30","nodeType":"YulFunctionCall","src":"3574:23:30"},{"kind":"number","nativeSrc":"3599:2:30","nodeType":"YulLiteral","src":"3599:2:30","type":"","value":"64"}],"functionName":{"name":"slt","nativeSrc":"3570:3:30","nodeType":"YulIdentifier","src":"3570:3:30"},"nativeSrc":"3570:32:30","nodeType":"YulFunctionCall","src":"3570:32:30"},"nativeSrc":"3567:52:30","nodeType":"YulIf","src":"3567:52:30"},{"nativeSrc":"3628:37:30","nodeType":"YulVariableDeclaration","src":"3628:37:30","value":{"arguments":[{"name":"headStart","nativeSrc":"3655:9:30","nodeType":"YulIdentifier","src":"3655:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"3642:12:30","nodeType":"YulIdentifier","src":"3642:12:30"},"nativeSrc":"3642:23:30","nodeType":"YulFunctionCall","src":"3642:23:30"},"variables":[{"name":"offset","nativeSrc":"3632:6:30","nodeType":"YulTypedName","src":"3632:6:30","type":""}]},{"body":{"nativeSrc":"3708:16:30","nodeType":"YulBlock","src":"3708:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3717:1:30","nodeType":"YulLiteral","src":"3717:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3720:1:30","nodeType":"YulLiteral","src":"3720:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"3710:6:30","nodeType":"YulIdentifier","src":"3710:6:30"},"nativeSrc":"3710:12:30","nodeType":"YulFunctionCall","src":"3710:12:30"},"nativeSrc":"3710:12:30","nodeType":"YulExpressionStatement","src":"3710:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"3680:6:30","nodeType":"YulIdentifier","src":"3680:6:30"},{"kind":"number","nativeSrc":"3688:18:30","nodeType":"YulLiteral","src":"3688:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"3677:2:30","nodeType":"YulIdentifier","src":"3677:2:30"},"nativeSrc":"3677:30:30","nodeType":"YulFunctionCall","src":"3677:30:30"},"nativeSrc":"3674:50:30","nodeType":"YulIf","src":"3674:50:30"},{"nativeSrc":"3733:59:30","nodeType":"YulAssignment","src":"3733:59:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"3764:9:30","nodeType":"YulIdentifier","src":"3764:9:30"},{"name":"offset","nativeSrc":"3775:6:30","nodeType":"YulIdentifier","src":"3775:6:30"}],"functionName":{"name":"add","nativeSrc":"3760:3:30","nodeType":"YulIdentifier","src":"3760:3:30"},"nativeSrc":"3760:22:30","nodeType":"YulFunctionCall","src":"3760:22:30"},{"name":"dataEnd","nativeSrc":"3784:7:30","nodeType":"YulIdentifier","src":"3784:7:30"}],"functionName":{"name":"abi_decode_bytes","nativeSrc":"3743:16:30","nodeType":"YulIdentifier","src":"3743:16:30"},"nativeSrc":"3743:49:30","nodeType":"YulFunctionCall","src":"3743:49:30"},"variableNames":[{"name":"value0","nativeSrc":"3733:6:30","nodeType":"YulIdentifier","src":"3733:6:30"}]},{"nativeSrc":"3801:42:30","nodeType":"YulAssignment","src":"3801:42:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"3828:9:30","nodeType":"YulIdentifier","src":"3828:9:30"},{"kind":"number","nativeSrc":"3839:2:30","nodeType":"YulLiteral","src":"3839:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3824:3:30","nodeType":"YulIdentifier","src":"3824:3:30"},"nativeSrc":"3824:18:30","nodeType":"YulFunctionCall","src":"3824:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"3811:12:30","nodeType":"YulIdentifier","src":"3811:12:30"},"nativeSrc":"3811:32:30","nodeType":"YulFunctionCall","src":"3811:32:30"},"variableNames":[{"name":"value1","nativeSrc":"3801:6:30","nodeType":"YulIdentifier","src":"3801:6:30"}]}]},"name":"abi_decode_tuple_t_bytes_memory_ptrt_uint256","nativeSrc":"3461:388:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"3515:9:30","nodeType":"YulTypedName","src":"3515:9:30","type":""},{"name":"dataEnd","nativeSrc":"3526:7:30","nodeType":"YulTypedName","src":"3526:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"3538:6:30","nodeType":"YulTypedName","src":"3538:6:30","type":""},{"name":"value1","nativeSrc":"3546:6:30","nodeType":"YulTypedName","src":"3546:6:30","type":""}],"src":"3461:388:30"},{"body":{"nativeSrc":"4035:154:30","nodeType":"YulBlock","src":"4035:154:30","statements":[{"nativeSrc":"4045:28:30","nodeType":"YulAssignment","src":"4045:28:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4057:9:30","nodeType":"YulIdentifier","src":"4057:9:30"},{"kind":"number","nativeSrc":"4068:4:30","nodeType":"YulLiteral","src":"4068:4:30","type":"","value":"1344"}],"functionName":{"name":"add","nativeSrc":"4053:3:30","nodeType":"YulIdentifier","src":"4053:3:30"},"nativeSrc":"4053:20:30","nodeType":"YulFunctionCall","src":"4053:20:30"},"variableNames":[{"name":"tail","nativeSrc":"4045:4:30","nodeType":"YulIdentifier","src":"4045:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"4089:9:30","nodeType":"YulIdentifier","src":"4089:9:30"},{"arguments":[{"name":"value0","nativeSrc":"4104:6:30","nodeType":"YulIdentifier","src":"4104:6:30"},{"kind":"number","nativeSrc":"4112:4:30","nodeType":"YulLiteral","src":"4112:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"4100:3:30","nodeType":"YulIdentifier","src":"4100:3:30"},"nativeSrc":"4100:17:30","nodeType":"YulFunctionCall","src":"4100:17:30"}],"functionName":{"name":"mstore","nativeSrc":"4082:6:30","nodeType":"YulIdentifier","src":"4082:6:30"},"nativeSrc":"4082:36:30","nodeType":"YulFunctionCall","src":"4082:36:30"},"nativeSrc":"4082:36:30","nodeType":"YulExpressionStatement","src":"4082:36:30"},{"expression":{"arguments":[{"name":"value1","nativeSrc":"4156:6:30","nodeType":"YulIdentifier","src":"4156:6:30"},{"arguments":[{"name":"headStart","nativeSrc":"4168:9:30","nodeType":"YulIdentifier","src":"4168:9:30"},{"kind":"number","nativeSrc":"4179:2:30","nodeType":"YulLiteral","src":"4179:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"4164:3:30","nodeType":"YulIdentifier","src":"4164:3:30"},"nativeSrc":"4164:18:30","nodeType":"YulFunctionCall","src":"4164:18:30"}],"functionName":{"name":"abi_encode_struct_CurveRoute","nativeSrc":"4127:28:30","nodeType":"YulIdentifier","src":"4127:28:30"},"nativeSrc":"4127:56:30","nodeType":"YulFunctionCall","src":"4127:56:30"},"nativeSrc":"4127:56:30","nodeType":"YulExpressionStatement","src":"4127:56:30"}]},"name":"abi_encode_tuple_t_uint8_t_struct$_CurveRoute_$5567_memory_ptr__to_t_uint8_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed","nativeSrc":"3854:335:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"3996:9:30","nodeType":"YulTypedName","src":"3996:9:30","type":""},{"name":"value1","nativeSrc":"4007:6:30","nodeType":"YulTypedName","src":"4007:6:30","type":""},{"name":"value0","nativeSrc":"4015:6:30","nodeType":"YulTypedName","src":"4015:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"4026:4:30","nodeType":"YulTypedName","src":"4026:4:30","type":""}],"src":"3854:335:30"},{"body":{"nativeSrc":"4262:201:30","nodeType":"YulBlock","src":"4262:201:30","statements":[{"body":{"nativeSrc":"4308:16:30","nodeType":"YulBlock","src":"4308:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4317:1:30","nodeType":"YulLiteral","src":"4317:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4320:1:30","nodeType":"YulLiteral","src":"4320:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4310:6:30","nodeType":"YulIdentifier","src":"4310:6:30"},"nativeSrc":"4310:12:30","nodeType":"YulFunctionCall","src":"4310:12:30"},"nativeSrc":"4310:12:30","nodeType":"YulExpressionStatement","src":"4310:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"4283:7:30","nodeType":"YulIdentifier","src":"4283:7:30"},{"name":"headStart","nativeSrc":"4292:9:30","nodeType":"YulIdentifier","src":"4292:9:30"}],"functionName":{"name":"sub","nativeSrc":"4279:3:30","nodeType":"YulIdentifier","src":"4279:3:30"},"nativeSrc":"4279:23:30","nodeType":"YulFunctionCall","src":"4279:23:30"},{"kind":"number","nativeSrc":"4304:2:30","nodeType":"YulLiteral","src":"4304:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"4275:3:30","nodeType":"YulIdentifier","src":"4275:3:30"},"nativeSrc":"4275:32:30","nodeType":"YulFunctionCall","src":"4275:32:30"},"nativeSrc":"4272:52:30","nodeType":"YulIf","src":"4272:52:30"},{"nativeSrc":"4333:36:30","nodeType":"YulVariableDeclaration","src":"4333:36:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4359:9:30","nodeType":"YulIdentifier","src":"4359:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"4346:12:30","nodeType":"YulIdentifier","src":"4346:12:30"},"nativeSrc":"4346:23:30","nodeType":"YulFunctionCall","src":"4346:23:30"},"variables":[{"name":"value","nativeSrc":"4337:5:30","nodeType":"YulTypedName","src":"4337:5:30","type":""}]},{"body":{"nativeSrc":"4417:16:30","nodeType":"YulBlock","src":"4417:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4426:1:30","nodeType":"YulLiteral","src":"4426:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4429:1:30","nodeType":"YulLiteral","src":"4429:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4419:6:30","nodeType":"YulIdentifier","src":"4419:6:30"},"nativeSrc":"4419:12:30","nodeType":"YulFunctionCall","src":"4419:12:30"},"nativeSrc":"4419:12:30","nodeType":"YulExpressionStatement","src":"4419:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"4391:5:30","nodeType":"YulIdentifier","src":"4391:5:30"},{"arguments":[{"name":"value","nativeSrc":"4402:5:30","nodeType":"YulIdentifier","src":"4402:5:30"},{"kind":"number","nativeSrc":"4409:4:30","nodeType":"YulLiteral","src":"4409:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"4398:3:30","nodeType":"YulIdentifier","src":"4398:3:30"},"nativeSrc":"4398:16:30","nodeType":"YulFunctionCall","src":"4398:16:30"}],"functionName":{"name":"eq","nativeSrc":"4388:2:30","nodeType":"YulIdentifier","src":"4388:2:30"},"nativeSrc":"4388:27:30","nodeType":"YulFunctionCall","src":"4388:27:30"}],"functionName":{"name":"iszero","nativeSrc":"4381:6:30","nodeType":"YulIdentifier","src":"4381:6:30"},"nativeSrc":"4381:35:30","nodeType":"YulFunctionCall","src":"4381:35:30"},"nativeSrc":"4378:55:30","nodeType":"YulIf","src":"4378:55:30"},{"nativeSrc":"4442:15:30","nodeType":"YulAssignment","src":"4442:15:30","value":{"name":"value","nativeSrc":"4452:5:30","nodeType":"YulIdentifier","src":"4452:5:30"},"variableNames":[{"name":"value0","nativeSrc":"4442:6:30","nodeType":"YulIdentifier","src":"4442:6:30"}]}]},"name":"abi_decode_tuple_t_uint8","nativeSrc":"4194:269:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"4228:9:30","nodeType":"YulTypedName","src":"4228:9:30","type":""},{"name":"dataEnd","nativeSrc":"4239:7:30","nodeType":"YulTypedName","src":"4239:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"4251:6:30","nodeType":"YulTypedName","src":"4251:6:30","type":""}],"src":"4194:269:30"},{"body":{"nativeSrc":"4569:76:30","nodeType":"YulBlock","src":"4569:76:30","statements":[{"nativeSrc":"4579:26:30","nodeType":"YulAssignment","src":"4579:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4591:9:30","nodeType":"YulIdentifier","src":"4591:9:30"},{"kind":"number","nativeSrc":"4602:2:30","nodeType":"YulLiteral","src":"4602:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"4587:3:30","nodeType":"YulIdentifier","src":"4587:3:30"},"nativeSrc":"4587:18:30","nodeType":"YulFunctionCall","src":"4587:18:30"},"variableNames":[{"name":"tail","nativeSrc":"4579:4:30","nodeType":"YulIdentifier","src":"4579:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"4621:9:30","nodeType":"YulIdentifier","src":"4621:9:30"},{"name":"value0","nativeSrc":"4632:6:30","nodeType":"YulIdentifier","src":"4632:6:30"}],"functionName":{"name":"mstore","nativeSrc":"4614:6:30","nodeType":"YulIdentifier","src":"4614:6:30"},"nativeSrc":"4614:25:30","nodeType":"YulFunctionCall","src":"4614:25:30"},"nativeSrc":"4614:25:30","nodeType":"YulExpressionStatement","src":"4614:25:30"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nativeSrc":"4468:177:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"4538:9:30","nodeType":"YulTypedName","src":"4538:9:30","type":""},{"name":"value0","nativeSrc":"4549:6:30","nodeType":"YulTypedName","src":"4549:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"4560:4:30","nodeType":"YulTypedName","src":"4560:4:30","type":""}],"src":"4468:177:30"},{"body":{"nativeSrc":"4729:241:30","nodeType":"YulBlock","src":"4729:241:30","statements":[{"body":{"nativeSrc":"4775:16:30","nodeType":"YulBlock","src":"4775:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4784:1:30","nodeType":"YulLiteral","src":"4784:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4787:1:30","nodeType":"YulLiteral","src":"4787:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4777:6:30","nodeType":"YulIdentifier","src":"4777:6:30"},"nativeSrc":"4777:12:30","nodeType":"YulFunctionCall","src":"4777:12:30"},"nativeSrc":"4777:12:30","nodeType":"YulExpressionStatement","src":"4777:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"4750:7:30","nodeType":"YulIdentifier","src":"4750:7:30"},{"name":"headStart","nativeSrc":"4759:9:30","nodeType":"YulIdentifier","src":"4759:9:30"}],"functionName":{"name":"sub","nativeSrc":"4746:3:30","nodeType":"YulIdentifier","src":"4746:3:30"},"nativeSrc":"4746:23:30","nodeType":"YulFunctionCall","src":"4746:23:30"},{"kind":"number","nativeSrc":"4771:2:30","nodeType":"YulLiteral","src":"4771:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"4742:3:30","nodeType":"YulIdentifier","src":"4742:3:30"},"nativeSrc":"4742:32:30","nodeType":"YulFunctionCall","src":"4742:32:30"},"nativeSrc":"4739:52:30","nodeType":"YulIf","src":"4739:52:30"},{"nativeSrc":"4800:37:30","nodeType":"YulVariableDeclaration","src":"4800:37:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4827:9:30","nodeType":"YulIdentifier","src":"4827:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"4814:12:30","nodeType":"YulIdentifier","src":"4814:12:30"},"nativeSrc":"4814:23:30","nodeType":"YulFunctionCall","src":"4814:23:30"},"variables":[{"name":"offset","nativeSrc":"4804:6:30","nodeType":"YulTypedName","src":"4804:6:30","type":""}]},{"body":{"nativeSrc":"4880:16:30","nodeType":"YulBlock","src":"4880:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4889:1:30","nodeType":"YulLiteral","src":"4889:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4892:1:30","nodeType":"YulLiteral","src":"4892:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4882:6:30","nodeType":"YulIdentifier","src":"4882:6:30"},"nativeSrc":"4882:12:30","nodeType":"YulFunctionCall","src":"4882:12:30"},"nativeSrc":"4882:12:30","nodeType":"YulExpressionStatement","src":"4882:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"4852:6:30","nodeType":"YulIdentifier","src":"4852:6:30"},{"kind":"number","nativeSrc":"4860:18:30","nodeType":"YulLiteral","src":"4860:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"4849:2:30","nodeType":"YulIdentifier","src":"4849:2:30"},"nativeSrc":"4849:30:30","nodeType":"YulFunctionCall","src":"4849:30:30"},"nativeSrc":"4846:50:30","nodeType":"YulIf","src":"4846:50:30"},{"nativeSrc":"4905:59:30","nodeType":"YulAssignment","src":"4905:59:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4936:9:30","nodeType":"YulIdentifier","src":"4936:9:30"},{"name":"offset","nativeSrc":"4947:6:30","nodeType":"YulIdentifier","src":"4947:6:30"}],"functionName":{"name":"add","nativeSrc":"4932:3:30","nodeType":"YulIdentifier","src":"4932:3:30"},"nativeSrc":"4932:22:30","nodeType":"YulFunctionCall","src":"4932:22:30"},{"name":"dataEnd","nativeSrc":"4956:7:30","nodeType":"YulIdentifier","src":"4956:7:30"}],"functionName":{"name":"abi_decode_bytes","nativeSrc":"4915:16:30","nodeType":"YulIdentifier","src":"4915:16:30"},"nativeSrc":"4915:49:30","nodeType":"YulFunctionCall","src":"4915:49:30"},"variableNames":[{"name":"value0","nativeSrc":"4905:6:30","nodeType":"YulIdentifier","src":"4905:6:30"}]}]},"name":"abi_decode_tuple_t_bytes_memory_ptr","nativeSrc":"4650:320:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"4695:9:30","nodeType":"YulTypedName","src":"4695:9:30","type":""},{"name":"dataEnd","nativeSrc":"4706:7:30","nodeType":"YulTypedName","src":"4706:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"4718:6:30","nodeType":"YulTypedName","src":"4718:6:30","type":""}],"src":"4650:320:30"},{"body":{"nativeSrc":"5007:95:30","nodeType":"YulBlock","src":"5007:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"5024:1:30","nodeType":"YulLiteral","src":"5024:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"5031:3:30","nodeType":"YulLiteral","src":"5031:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"5036:10:30","nodeType":"YulLiteral","src":"5036:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"5027:3:30","nodeType":"YulIdentifier","src":"5027:3:30"},"nativeSrc":"5027:20:30","nodeType":"YulFunctionCall","src":"5027:20:30"}],"functionName":{"name":"mstore","nativeSrc":"5017:6:30","nodeType":"YulIdentifier","src":"5017:6:30"},"nativeSrc":"5017:31:30","nodeType":"YulFunctionCall","src":"5017:31:30"},"nativeSrc":"5017:31:30","nodeType":"YulExpressionStatement","src":"5017:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"5064:1:30","nodeType":"YulLiteral","src":"5064:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"5067:4:30","nodeType":"YulLiteral","src":"5067:4:30","type":"","value":"0x11"}],"functionName":{"name":"mstore","nativeSrc":"5057:6:30","nodeType":"YulIdentifier","src":"5057:6:30"},"nativeSrc":"5057:15:30","nodeType":"YulFunctionCall","src":"5057:15:30"},"nativeSrc":"5057:15:30","nodeType":"YulExpressionStatement","src":"5057:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"5088:1:30","nodeType":"YulLiteral","src":"5088:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"5091:4:30","nodeType":"YulLiteral","src":"5091:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"5081:6:30","nodeType":"YulIdentifier","src":"5081:6:30"},"nativeSrc":"5081:15:30","nodeType":"YulFunctionCall","src":"5081:15:30"},"nativeSrc":"5081:15:30","nodeType":"YulExpressionStatement","src":"5081:15:30"}]},"name":"panic_error_0x11","nativeSrc":"4975:127:30","nodeType":"YulFunctionDefinition","src":"4975:127:30"},{"body":{"nativeSrc":"5155:77:30","nodeType":"YulBlock","src":"5155:77:30","statements":[{"nativeSrc":"5165:16:30","nodeType":"YulAssignment","src":"5165:16:30","value":{"arguments":[{"name":"x","nativeSrc":"5176:1:30","nodeType":"YulIdentifier","src":"5176:1:30"},{"name":"y","nativeSrc":"5179:1:30","nodeType":"YulIdentifier","src":"5179:1:30"}],"functionName":{"name":"add","nativeSrc":"5172:3:30","nodeType":"YulIdentifier","src":"5172:3:30"},"nativeSrc":"5172:9:30","nodeType":"YulFunctionCall","src":"5172:9:30"},"variableNames":[{"name":"sum","nativeSrc":"5165:3:30","nodeType":"YulIdentifier","src":"5165:3:30"}]},{"body":{"nativeSrc":"5204:22:30","nodeType":"YulBlock","src":"5204:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"5206:16:30","nodeType":"YulIdentifier","src":"5206:16:30"},"nativeSrc":"5206:18:30","nodeType":"YulFunctionCall","src":"5206:18:30"},"nativeSrc":"5206:18:30","nodeType":"YulExpressionStatement","src":"5206:18:30"}]},"condition":{"arguments":[{"name":"x","nativeSrc":"5196:1:30","nodeType":"YulIdentifier","src":"5196:1:30"},{"name":"sum","nativeSrc":"5199:3:30","nodeType":"YulIdentifier","src":"5199:3:30"}],"functionName":{"name":"gt","nativeSrc":"5193:2:30","nodeType":"YulIdentifier","src":"5193:2:30"},"nativeSrc":"5193:10:30","nodeType":"YulFunctionCall","src":"5193:10:30"},"nativeSrc":"5190:36:30","nodeType":"YulIf","src":"5190:36:30"}]},"name":"checked_add_t_uint256","nativeSrc":"5107:125:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"5138:1:30","nodeType":"YulTypedName","src":"5138:1:30","type":""},{"name":"y","nativeSrc":"5141:1:30","nodeType":"YulTypedName","src":"5141:1:30","type":""}],"returnVariables":[{"name":"sum","nativeSrc":"5147:3:30","nodeType":"YulTypedName","src":"5147:3:30","type":""}],"src":"5107:125:30"},{"body":{"nativeSrc":"5289:116:30","nodeType":"YulBlock","src":"5289:116:30","statements":[{"nativeSrc":"5299:20:30","nodeType":"YulAssignment","src":"5299:20:30","value":{"arguments":[{"name":"x","nativeSrc":"5314:1:30","nodeType":"YulIdentifier","src":"5314:1:30"},{"name":"y","nativeSrc":"5317:1:30","nodeType":"YulIdentifier","src":"5317:1:30"}],"functionName":{"name":"mul","nativeSrc":"5310:3:30","nodeType":"YulIdentifier","src":"5310:3:30"},"nativeSrc":"5310:9:30","nodeType":"YulFunctionCall","src":"5310:9:30"},"variableNames":[{"name":"product","nativeSrc":"5299:7:30","nodeType":"YulIdentifier","src":"5299:7:30"}]},{"body":{"nativeSrc":"5377:22:30","nodeType":"YulBlock","src":"5377:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"5379:16:30","nodeType":"YulIdentifier","src":"5379:16:30"},"nativeSrc":"5379:18:30","nodeType":"YulFunctionCall","src":"5379:18:30"},"nativeSrc":"5379:18:30","nodeType":"YulExpressionStatement","src":"5379:18:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"x","nativeSrc":"5348:1:30","nodeType":"YulIdentifier","src":"5348:1:30"}],"functionName":{"name":"iszero","nativeSrc":"5341:6:30","nodeType":"YulIdentifier","src":"5341:6:30"},"nativeSrc":"5341:9:30","nodeType":"YulFunctionCall","src":"5341:9:30"},{"arguments":[{"name":"y","nativeSrc":"5355:1:30","nodeType":"YulIdentifier","src":"5355:1:30"},{"arguments":[{"name":"product","nativeSrc":"5362:7:30","nodeType":"YulIdentifier","src":"5362:7:30"},{"name":"x","nativeSrc":"5371:1:30","nodeType":"YulIdentifier","src":"5371:1:30"}],"functionName":{"name":"div","nativeSrc":"5358:3:30","nodeType":"YulIdentifier","src":"5358:3:30"},"nativeSrc":"5358:15:30","nodeType":"YulFunctionCall","src":"5358:15:30"}],"functionName":{"name":"eq","nativeSrc":"5352:2:30","nodeType":"YulIdentifier","src":"5352:2:30"},"nativeSrc":"5352:22:30","nodeType":"YulFunctionCall","src":"5352:22:30"}],"functionName":{"name":"or","nativeSrc":"5338:2:30","nodeType":"YulIdentifier","src":"5338:2:30"},"nativeSrc":"5338:37:30","nodeType":"YulFunctionCall","src":"5338:37:30"}],"functionName":{"name":"iszero","nativeSrc":"5331:6:30","nodeType":"YulIdentifier","src":"5331:6:30"},"nativeSrc":"5331:45:30","nodeType":"YulFunctionCall","src":"5331:45:30"},"nativeSrc":"5328:71:30","nodeType":"YulIf","src":"5328:71:30"}]},"name":"checked_mul_t_uint256","nativeSrc":"5237:168:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"5268:1:30","nodeType":"YulTypedName","src":"5268:1:30","type":""},{"name":"y","nativeSrc":"5271:1:30","nodeType":"YulTypedName","src":"5271:1:30","type":""}],"returnVariables":[{"name":"product","nativeSrc":"5277:7:30","nodeType":"YulTypedName","src":"5277:7:30","type":""}],"src":"5237:168:30"},{"body":{"nativeSrc":"5539:171:30","nodeType":"YulBlock","src":"5539:171:30","statements":[{"nativeSrc":"5549:26:30","nodeType":"YulAssignment","src":"5549:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5561:9:30","nodeType":"YulIdentifier","src":"5561:9:30"},{"kind":"number","nativeSrc":"5572:2:30","nodeType":"YulLiteral","src":"5572:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"5557:3:30","nodeType":"YulIdentifier","src":"5557:3:30"},"nativeSrc":"5557:18:30","nodeType":"YulFunctionCall","src":"5557:18:30"},"variableNames":[{"name":"tail","nativeSrc":"5549:4:30","nodeType":"YulIdentifier","src":"5549:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"5591:9:30","nodeType":"YulIdentifier","src":"5591:9:30"},{"arguments":[{"name":"value0","nativeSrc":"5606:6:30","nodeType":"YulIdentifier","src":"5606:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"5622:3:30","nodeType":"YulLiteral","src":"5622:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"5627:1:30","nodeType":"YulLiteral","src":"5627:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"5618:3:30","nodeType":"YulIdentifier","src":"5618:3:30"},"nativeSrc":"5618:11:30","nodeType":"YulFunctionCall","src":"5618:11:30"},{"kind":"number","nativeSrc":"5631:1:30","nodeType":"YulLiteral","src":"5631:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"5614:3:30","nodeType":"YulIdentifier","src":"5614:3:30"},"nativeSrc":"5614:19:30","nodeType":"YulFunctionCall","src":"5614:19:30"}],"functionName":{"name":"and","nativeSrc":"5602:3:30","nodeType":"YulIdentifier","src":"5602:3:30"},"nativeSrc":"5602:32:30","nodeType":"YulFunctionCall","src":"5602:32:30"}],"functionName":{"name":"mstore","nativeSrc":"5584:6:30","nodeType":"YulIdentifier","src":"5584:6:30"},"nativeSrc":"5584:51:30","nodeType":"YulFunctionCall","src":"5584:51:30"},"nativeSrc":"5584:51:30","nodeType":"YulExpressionStatement","src":"5584:51:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"5655:9:30","nodeType":"YulIdentifier","src":"5655:9:30"},{"kind":"number","nativeSrc":"5666:2:30","nodeType":"YulLiteral","src":"5666:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"5651:3:30","nodeType":"YulIdentifier","src":"5651:3:30"},"nativeSrc":"5651:18:30","nodeType":"YulFunctionCall","src":"5651:18:30"},{"arguments":[{"name":"value1","nativeSrc":"5675:6:30","nodeType":"YulIdentifier","src":"5675:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"5691:3:30","nodeType":"YulLiteral","src":"5691:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"5696:1:30","nodeType":"YulLiteral","src":"5696:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"5687:3:30","nodeType":"YulIdentifier","src":"5687:3:30"},"nativeSrc":"5687:11:30","nodeType":"YulFunctionCall","src":"5687:11:30"},{"kind":"number","nativeSrc":"5700:1:30","nodeType":"YulLiteral","src":"5700:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"5683:3:30","nodeType":"YulIdentifier","src":"5683:3:30"},"nativeSrc":"5683:19:30","nodeType":"YulFunctionCall","src":"5683:19:30"}],"functionName":{"name":"and","nativeSrc":"5671:3:30","nodeType":"YulIdentifier","src":"5671:3:30"},"nativeSrc":"5671:32:30","nodeType":"YulFunctionCall","src":"5671:32:30"}],"functionName":{"name":"mstore","nativeSrc":"5644:6:30","nodeType":"YulIdentifier","src":"5644:6:30"},"nativeSrc":"5644:60:30","nodeType":"YulFunctionCall","src":"5644:60:30"},"nativeSrc":"5644:60:30","nodeType":"YulExpressionStatement","src":"5644:60:30"}]},"name":"abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed","nativeSrc":"5410:300:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5500:9:30","nodeType":"YulTypedName","src":"5500:9:30","type":""},{"name":"value1","nativeSrc":"5511:6:30","nodeType":"YulTypedName","src":"5511:6:30","type":""},{"name":"value0","nativeSrc":"5519:6:30","nodeType":"YulTypedName","src":"5519:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"5530:4:30","nodeType":"YulTypedName","src":"5530:4:30","type":""}],"src":"5410:300:30"},{"body":{"nativeSrc":"5812:87:30","nodeType":"YulBlock","src":"5812:87:30","statements":[{"nativeSrc":"5822:26:30","nodeType":"YulAssignment","src":"5822:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5834:9:30","nodeType":"YulIdentifier","src":"5834:9:30"},{"kind":"number","nativeSrc":"5845:2:30","nodeType":"YulLiteral","src":"5845:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"5830:3:30","nodeType":"YulIdentifier","src":"5830:3:30"},"nativeSrc":"5830:18:30","nodeType":"YulFunctionCall","src":"5830:18:30"},"variableNames":[{"name":"tail","nativeSrc":"5822:4:30","nodeType":"YulIdentifier","src":"5822:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"5864:9:30","nodeType":"YulIdentifier","src":"5864:9:30"},{"arguments":[{"name":"value0","nativeSrc":"5879:6:30","nodeType":"YulIdentifier","src":"5879:6:30"},{"kind":"number","nativeSrc":"5887:4:30","nodeType":"YulLiteral","src":"5887:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"5875:3:30","nodeType":"YulIdentifier","src":"5875:3:30"},"nativeSrc":"5875:17:30","nodeType":"YulFunctionCall","src":"5875:17:30"}],"functionName":{"name":"mstore","nativeSrc":"5857:6:30","nodeType":"YulIdentifier","src":"5857:6:30"},"nativeSrc":"5857:36:30","nodeType":"YulFunctionCall","src":"5857:36:30"},"nativeSrc":"5857:36:30","nodeType":"YulExpressionStatement","src":"5857:36:30"}]},"name":"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed","nativeSrc":"5715:184:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5781:9:30","nodeType":"YulTypedName","src":"5781:9:30","type":""},{"name":"value0","nativeSrc":"5792:6:30","nodeType":"YulTypedName","src":"5792:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"5803:4:30","nodeType":"YulTypedName","src":"5803:4:30","type":""}],"src":"5715:184:30"},{"body":{"nativeSrc":"5936:95:30","nodeType":"YulBlock","src":"5936:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"5953:1:30","nodeType":"YulLiteral","src":"5953:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"5960:3:30","nodeType":"YulLiteral","src":"5960:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"5965:10:30","nodeType":"YulLiteral","src":"5965:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"5956:3:30","nodeType":"YulIdentifier","src":"5956:3:30"},"nativeSrc":"5956:20:30","nodeType":"YulFunctionCall","src":"5956:20:30"}],"functionName":{"name":"mstore","nativeSrc":"5946:6:30","nodeType":"YulIdentifier","src":"5946:6:30"},"nativeSrc":"5946:31:30","nodeType":"YulFunctionCall","src":"5946:31:30"},"nativeSrc":"5946:31:30","nodeType":"YulExpressionStatement","src":"5946:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"5993:1:30","nodeType":"YulLiteral","src":"5993:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"5996:4:30","nodeType":"YulLiteral","src":"5996:4:30","type":"","value":"0x32"}],"functionName":{"name":"mstore","nativeSrc":"5986:6:30","nodeType":"YulIdentifier","src":"5986:6:30"},"nativeSrc":"5986:15:30","nodeType":"YulFunctionCall","src":"5986:15:30"},"nativeSrc":"5986:15:30","nodeType":"YulExpressionStatement","src":"5986:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"6017:1:30","nodeType":"YulLiteral","src":"6017:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"6020:4:30","nodeType":"YulLiteral","src":"6020:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"6010:6:30","nodeType":"YulIdentifier","src":"6010:6:30"},"nativeSrc":"6010:15:30","nodeType":"YulFunctionCall","src":"6010:15:30"},"nativeSrc":"6010:15:30","nodeType":"YulExpressionStatement","src":"6010:15:30"}]},"name":"panic_error_0x32","nativeSrc":"5904:127:30","nodeType":"YulFunctionDefinition","src":"5904:127:30"},{"body":{"nativeSrc":"6086:175:30","nodeType":"YulBlock","src":"6086:175:30","statements":[{"nativeSrc":"6096:50:30","nodeType":"YulVariableDeclaration","src":"6096:50:30","value":{"arguments":[{"arguments":[{"name":"x","nativeSrc":"6123:1:30","nodeType":"YulIdentifier","src":"6123:1:30"},{"kind":"number","nativeSrc":"6126:4:30","nodeType":"YulLiteral","src":"6126:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"6119:3:30","nodeType":"YulIdentifier","src":"6119:3:30"},"nativeSrc":"6119:12:30","nodeType":"YulFunctionCall","src":"6119:12:30"},{"arguments":[{"name":"y","nativeSrc":"6137:1:30","nodeType":"YulIdentifier","src":"6137:1:30"},{"kind":"number","nativeSrc":"6140:4:30","nodeType":"YulLiteral","src":"6140:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"6133:3:30","nodeType":"YulIdentifier","src":"6133:3:30"},"nativeSrc":"6133:12:30","nodeType":"YulFunctionCall","src":"6133:12:30"}],"functionName":{"name":"mul","nativeSrc":"6115:3:30","nodeType":"YulIdentifier","src":"6115:3:30"},"nativeSrc":"6115:31:30","nodeType":"YulFunctionCall","src":"6115:31:30"},"variables":[{"name":"product_raw","nativeSrc":"6100:11:30","nodeType":"YulTypedName","src":"6100:11:30","type":""}]},{"nativeSrc":"6155:33:30","nodeType":"YulAssignment","src":"6155:33:30","value":{"arguments":[{"name":"product_raw","nativeSrc":"6170:11:30","nodeType":"YulIdentifier","src":"6170:11:30"},{"kind":"number","nativeSrc":"6183:4:30","nodeType":"YulLiteral","src":"6183:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"6166:3:30","nodeType":"YulIdentifier","src":"6166:3:30"},"nativeSrc":"6166:22:30","nodeType":"YulFunctionCall","src":"6166:22:30"},"variableNames":[{"name":"product","nativeSrc":"6155:7:30","nodeType":"YulIdentifier","src":"6155:7:30"}]},{"body":{"nativeSrc":"6233:22:30","nodeType":"YulBlock","src":"6233:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"6235:16:30","nodeType":"YulIdentifier","src":"6235:16:30"},"nativeSrc":"6235:18:30","nodeType":"YulFunctionCall","src":"6235:18:30"},"nativeSrc":"6235:18:30","nodeType":"YulExpressionStatement","src":"6235:18:30"}]},"condition":{"arguments":[{"arguments":[{"name":"product","nativeSrc":"6210:7:30","nodeType":"YulIdentifier","src":"6210:7:30"},{"name":"product_raw","nativeSrc":"6219:11:30","nodeType":"YulIdentifier","src":"6219:11:30"}],"functionName":{"name":"eq","nativeSrc":"6207:2:30","nodeType":"YulIdentifier","src":"6207:2:30"},"nativeSrc":"6207:24:30","nodeType":"YulFunctionCall","src":"6207:24:30"}],"functionName":{"name":"iszero","nativeSrc":"6200:6:30","nodeType":"YulIdentifier","src":"6200:6:30"},"nativeSrc":"6200:32:30","nodeType":"YulFunctionCall","src":"6200:32:30"},"nativeSrc":"6197:58:30","nodeType":"YulIf","src":"6197:58:30"}]},"name":"checked_mul_t_uint8","nativeSrc":"6036:225:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"6065:1:30","nodeType":"YulTypedName","src":"6065:1:30","type":""},{"name":"y","nativeSrc":"6068:1:30","nodeType":"YulTypedName","src":"6068:1:30","type":""}],"returnVariables":[{"name":"product","nativeSrc":"6074:7:30","nodeType":"YulTypedName","src":"6074:7:30","type":""}],"src":"6036:225:30"},{"body":{"nativeSrc":"6423:100:30","nodeType":"YulBlock","src":"6423:100:30","statements":[{"nativeSrc":"6433:28:30","nodeType":"YulAssignment","src":"6433:28:30","value":{"arguments":[{"name":"headStart","nativeSrc":"6445:9:30","nodeType":"YulIdentifier","src":"6445:9:30"},{"kind":"number","nativeSrc":"6456:4:30","nodeType":"YulLiteral","src":"6456:4:30","type":"","value":"1312"}],"functionName":{"name":"add","nativeSrc":"6441:3:30","nodeType":"YulIdentifier","src":"6441:3:30"},"nativeSrc":"6441:20:30","nodeType":"YulFunctionCall","src":"6441:20:30"},"variableNames":[{"name":"tail","nativeSrc":"6433:4:30","nodeType":"YulIdentifier","src":"6433:4:30"}]},{"expression":{"arguments":[{"name":"value0","nativeSrc":"6499:6:30","nodeType":"YulIdentifier","src":"6499:6:30"},{"name":"headStart","nativeSrc":"6507:9:30","nodeType":"YulIdentifier","src":"6507:9:30"}],"functionName":{"name":"abi_encode_struct_CurveRoute","nativeSrc":"6470:28:30","nodeType":"YulIdentifier","src":"6470:28:30"},"nativeSrc":"6470:47:30","nodeType":"YulFunctionCall","src":"6470:47:30"},"nativeSrc":"6470:47:30","nodeType":"YulExpressionStatement","src":"6470:47:30"}]},"name":"abi_encode_tuple_t_struct$_CurveRoute_$5567_memory_ptr__to_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed","nativeSrc":"6266:257:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"6392:9:30","nodeType":"YulTypedName","src":"6392:9:30","type":""},{"name":"value0","nativeSrc":"6403:6:30","nodeType":"YulTypedName","src":"6403:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"6414:4:30","nodeType":"YulTypedName","src":"6414:4:30","type":""}],"src":"6266:257:30"},{"body":{"nativeSrc":"6702:171:30","nodeType":"YulBlock","src":"6702:171:30","statements":[{"expression":{"arguments":[{"name":"headStart","nativeSrc":"6719:9:30","nodeType":"YulIdentifier","src":"6719:9:30"},{"kind":"number","nativeSrc":"6730:2:30","nodeType":"YulLiteral","src":"6730:2:30","type":"","value":"32"}],"functionName":{"name":"mstore","nativeSrc":"6712:6:30","nodeType":"YulIdentifier","src":"6712:6:30"},"nativeSrc":"6712:21:30","nodeType":"YulFunctionCall","src":"6712:21:30"},"nativeSrc":"6712:21:30","nodeType":"YulExpressionStatement","src":"6712:21:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"6753:9:30","nodeType":"YulIdentifier","src":"6753:9:30"},{"kind":"number","nativeSrc":"6764:2:30","nodeType":"YulLiteral","src":"6764:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"6749:3:30","nodeType":"YulIdentifier","src":"6749:3:30"},"nativeSrc":"6749:18:30","nodeType":"YulFunctionCall","src":"6749:18:30"},{"kind":"number","nativeSrc":"6769:2:30","nodeType":"YulLiteral","src":"6769:2:30","type":"","value":"21"}],"functionName":{"name":"mstore","nativeSrc":"6742:6:30","nodeType":"YulIdentifier","src":"6742:6:30"},"nativeSrc":"6742:30:30","nodeType":"YulFunctionCall","src":"6742:30:30"},"nativeSrc":"6742:30:30","nodeType":"YulExpressionStatement","src":"6742:30:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"6792:9:30","nodeType":"YulIdentifier","src":"6792:9:30"},{"kind":"number","nativeSrc":"6803:2:30","nodeType":"YulLiteral","src":"6803:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"6788:3:30","nodeType":"YulIdentifier","src":"6788:3:30"},"nativeSrc":"6788:18:30","nodeType":"YulFunctionCall","src":"6788:18:30"},{"hexValue":"746f416464726573735f6f75744f66426f756e6473","kind":"string","nativeSrc":"6808:23:30","nodeType":"YulLiteral","src":"6808:23:30","type":"","value":"toAddress_outOfBounds"}],"functionName":{"name":"mstore","nativeSrc":"6781:6:30","nodeType":"YulIdentifier","src":"6781:6:30"},"nativeSrc":"6781:51:30","nodeType":"YulFunctionCall","src":"6781:51:30"},"nativeSrc":"6781:51:30","nodeType":"YulExpressionStatement","src":"6781:51:30"},{"nativeSrc":"6841:26:30","nodeType":"YulAssignment","src":"6841:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"6853:9:30","nodeType":"YulIdentifier","src":"6853:9:30"},{"kind":"number","nativeSrc":"6864:2:30","nodeType":"YulLiteral","src":"6864:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"6849:3:30","nodeType":"YulIdentifier","src":"6849:3:30"},"nativeSrc":"6849:18:30","nodeType":"YulFunctionCall","src":"6849:18:30"},"variableNames":[{"name":"tail","nativeSrc":"6841:4:30","nodeType":"YulIdentifier","src":"6841:4:30"}]}]},"name":"abi_encode_tuple_t_stringliteral_9f688071e1df0f70b63e3651005878331be1fe9591d6cfb3187cb52a13439e5d__to_t_string_memory_ptr__fromStack_reversed","nativeSrc":"6528:345:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"6679:9:30","nodeType":"YulTypedName","src":"6679:9:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"6693:4:30","nodeType":"YulTypedName","src":"6693:4:30","type":""}],"src":"6528:345:30"},{"body":{"nativeSrc":"7052:169:30","nodeType":"YulBlock","src":"7052:169:30","statements":[{"expression":{"arguments":[{"name":"headStart","nativeSrc":"7069:9:30","nodeType":"YulIdentifier","src":"7069:9:30"},{"kind":"number","nativeSrc":"7080:2:30","nodeType":"YulLiteral","src":"7080:2:30","type":"","value":"32"}],"functionName":{"name":"mstore","nativeSrc":"7062:6:30","nodeType":"YulIdentifier","src":"7062:6:30"},"nativeSrc":"7062:21:30","nodeType":"YulFunctionCall","src":"7062:21:30"},"nativeSrc":"7062:21:30","nodeType":"YulExpressionStatement","src":"7062:21:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"7103:9:30","nodeType":"YulIdentifier","src":"7103:9:30"},{"kind":"number","nativeSrc":"7114:2:30","nodeType":"YulLiteral","src":"7114:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"7099:3:30","nodeType":"YulIdentifier","src":"7099:3:30"},"nativeSrc":"7099:18:30","nodeType":"YulFunctionCall","src":"7099:18:30"},{"kind":"number","nativeSrc":"7119:2:30","nodeType":"YulLiteral","src":"7119:2:30","type":"","value":"19"}],"functionName":{"name":"mstore","nativeSrc":"7092:6:30","nodeType":"YulIdentifier","src":"7092:6:30"},"nativeSrc":"7092:30:30","nodeType":"YulFunctionCall","src":"7092:30:30"},"nativeSrc":"7092:30:30","nodeType":"YulExpressionStatement","src":"7092:30:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"7142:9:30","nodeType":"YulIdentifier","src":"7142:9:30"},{"kind":"number","nativeSrc":"7153:2:30","nodeType":"YulLiteral","src":"7153:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"7138:3:30","nodeType":"YulIdentifier","src":"7138:3:30"},"nativeSrc":"7138:18:30","nodeType":"YulFunctionCall","src":"7138:18:30"},{"hexValue":"746f55696e74385f6f75744f66426f756e6473","kind":"string","nativeSrc":"7158:21:30","nodeType":"YulLiteral","src":"7158:21:30","type":"","value":"toUint8_outOfBounds"}],"functionName":{"name":"mstore","nativeSrc":"7131:6:30","nodeType":"YulIdentifier","src":"7131:6:30"},"nativeSrc":"7131:49:30","nodeType":"YulFunctionCall","src":"7131:49:30"},"nativeSrc":"7131:49:30","nodeType":"YulExpressionStatement","src":"7131:49:30"},{"nativeSrc":"7189:26:30","nodeType":"YulAssignment","src":"7189:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"7201:9:30","nodeType":"YulIdentifier","src":"7201:9:30"},{"kind":"number","nativeSrc":"7212:2:30","nodeType":"YulLiteral","src":"7212:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"7197:3:30","nodeType":"YulIdentifier","src":"7197:3:30"},"nativeSrc":"7197:18:30","nodeType":"YulFunctionCall","src":"7197:18:30"},"variableNames":[{"name":"tail","nativeSrc":"7189:4:30","nodeType":"YulIdentifier","src":"7189:4:30"}]}]},"name":"abi_encode_tuple_t_stringliteral_ce6d7be00009dd45cc670fb6c2ceee25786f142bcb64e7f1ee73012b26bb6ca1__to_t_string_memory_ptr__fromStack_reversed","nativeSrc":"6878:343:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"7029:9:30","nodeType":"YulTypedName","src":"7029:9:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"7043:4:30","nodeType":"YulTypedName","src":"7043:4:30","type":""}],"src":"6878:343:30"},{"body":{"nativeSrc":"7272:102:30","nodeType":"YulBlock","src":"7272:102:30","statements":[{"nativeSrc":"7282:38:30","nodeType":"YulAssignment","src":"7282:38:30","value":{"arguments":[{"arguments":[{"name":"x","nativeSrc":"7297:1:30","nodeType":"YulIdentifier","src":"7297:1:30"},{"kind":"number","nativeSrc":"7300:4:30","nodeType":"YulLiteral","src":"7300:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"7293:3:30","nodeType":"YulIdentifier","src":"7293:3:30"},"nativeSrc":"7293:12:30","nodeType":"YulFunctionCall","src":"7293:12:30"},{"arguments":[{"name":"y","nativeSrc":"7311:1:30","nodeType":"YulIdentifier","src":"7311:1:30"},{"kind":"number","nativeSrc":"7314:4:30","nodeType":"YulLiteral","src":"7314:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"7307:3:30","nodeType":"YulIdentifier","src":"7307:3:30"},"nativeSrc":"7307:12:30","nodeType":"YulFunctionCall","src":"7307:12:30"}],"functionName":{"name":"add","nativeSrc":"7289:3:30","nodeType":"YulIdentifier","src":"7289:3:30"},"nativeSrc":"7289:31:30","nodeType":"YulFunctionCall","src":"7289:31:30"},"variableNames":[{"name":"sum","nativeSrc":"7282:3:30","nodeType":"YulIdentifier","src":"7282:3:30"}]},{"body":{"nativeSrc":"7346:22:30","nodeType":"YulBlock","src":"7346:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"7348:16:30","nodeType":"YulIdentifier","src":"7348:16:30"},"nativeSrc":"7348:18:30","nodeType":"YulFunctionCall","src":"7348:18:30"},"nativeSrc":"7348:18:30","nodeType":"YulExpressionStatement","src":"7348:18:30"}]},"condition":{"arguments":[{"name":"sum","nativeSrc":"7335:3:30","nodeType":"YulIdentifier","src":"7335:3:30"},{"kind":"number","nativeSrc":"7340:4:30","nodeType":"YulLiteral","src":"7340:4:30","type":"","value":"0xff"}],"functionName":{"name":"gt","nativeSrc":"7332:2:30","nodeType":"YulIdentifier","src":"7332:2:30"},"nativeSrc":"7332:13:30","nodeType":"YulFunctionCall","src":"7332:13:30"},"nativeSrc":"7329:39:30","nodeType":"YulIf","src":"7329:39:30"}]},"name":"checked_add_t_uint8","nativeSrc":"7226:148:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"7255:1:30","nodeType":"YulTypedName","src":"7255:1:30","type":""},{"name":"y","nativeSrc":"7258:1:30","nodeType":"YulTypedName","src":"7258:1:30","type":""}],"returnVariables":[{"name":"sum","nativeSrc":"7264:3:30","nodeType":"YulTypedName","src":"7264:3:30","type":""}],"src":"7226:148:30"}]},"contents":"{\n    { }\n    function panic_error_0x41()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function abi_decode_bytes(offset, end) -> array\n    {\n        if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n        let length := calldataload(offset)\n        if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n        let memPtr := mload(64)\n        let newFreePtr := add(memPtr, and(add(and(add(length, 0x1f), not(31)), 63), not(31)))\n        if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n        mstore(64, newFreePtr)\n        mstore(memPtr, length)\n        if gt(add(add(offset, length), 0x20), end) { revert(0, 0) }\n        calldatacopy(add(memPtr, 0x20), add(offset, 0x20), length)\n        mstore(add(add(memPtr, length), 0x20), 0)\n        array := memPtr\n    }\n    function abi_decode_address(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_bytes_memory_ptrt_addresst_address(headStart, dataEnd) -> value0, value1, value2\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        value0 := abi_decode_bytes(add(headStart, offset), dataEnd)\n        value1 := abi_decode_address(add(headStart, 32))\n        value2 := abi_decode_address(add(headStart, 64))\n    }\n    function abi_encode_array_address(value, pos)\n    {\n        pos := pos\n        let srcPtr := value\n        let i := 0\n        for { } lt(i, 0x05) { i := add(i, 1) }\n        {\n            mstore(pos, and(mload(srcPtr), sub(shl(160, 1), 1)))\n            pos := add(pos, 0x20)\n            srcPtr := add(srcPtr, 0x20)\n        }\n    }\n    function abi_encode_struct_CurveRoute(value, pos)\n    {\n        let _1 := mload(value)\n        let pos_1 := pos\n        pos_1 := pos\n        let srcPtr := _1\n        let i := 0\n        for { } lt(i, 0x0b) { i := add(i, 1) }\n        {\n            mstore(pos_1, and(mload(srcPtr), sub(shl(160, 1), 1)))\n            pos_1 := add(pos_1, 0x20)\n            srcPtr := add(srcPtr, 0x20)\n        }\n        let memberValue0 := mload(add(value, 0x20))\n        let pos_2 := add(pos, 0x0160)\n        pos_2 := pos_2\n        let srcPtr_1 := memberValue0\n        let i_1 := 0\n        for { } lt(i_1, 0x05) { i_1 := add(i_1, 1) }\n        {\n            let _2 := mload(srcPtr_1)\n            let pos_3 := pos_2\n            pos_3 := pos_2\n            let srcPtr_2 := _2\n            let i_2 := 0\n            for { } lt(i_2, 0x05) { i_2 := add(i_2, 1) }\n            {\n                mstore(pos_3, mload(srcPtr_2))\n                pos_3 := add(pos_3, 0x20)\n                srcPtr_2 := add(srcPtr_2, 0x20)\n            }\n            pos_2 := add(pos_2, 0xa0)\n            srcPtr_1 := add(srcPtr_1, 0x20)\n        }\n        let memberValue0_1 := mload(add(value, 0x40))\n        abi_encode_array_address(memberValue0_1, add(pos, 0x0480))\n    }\n    function abi_encode_tuple_t_contract$_ICurveRouter_$7646_t_struct$_CurveRoute_$5567_memory_ptr__to_t_address_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 1344)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n        abi_encode_struct_CurveRoute(value1, add(headStart, 32))\n    }\n    function abi_decode_tuple_t_bytes_memory_ptrt_uint256(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        value0 := abi_decode_bytes(add(headStart, offset), dataEnd)\n        value1 := calldataload(add(headStart, 32))\n    }\n    function abi_encode_tuple_t_uint8_t_struct$_CurveRoute_$5567_memory_ptr__to_t_uint8_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 1344)\n        mstore(headStart, and(value0, 0xff))\n        abi_encode_struct_CurveRoute(value1, add(headStart, 32))\n    }\n    function abi_decode_tuple_t_uint8(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := calldataload(headStart)\n        if iszero(eq(value, and(value, 0xff))) { revert(0, 0) }\n        value0 := value\n    }\n    function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function abi_decode_tuple_t_bytes_memory_ptr(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        value0 := abi_decode_bytes(add(headStart, offset), dataEnd)\n    }\n    function panic_error_0x11()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x11)\n        revert(0, 0x24)\n    }\n    function checked_add_t_uint256(x, y) -> sum\n    {\n        sum := add(x, y)\n        if gt(x, sum) { panic_error_0x11() }\n    }\n    function checked_mul_t_uint256(x, y) -> product\n    {\n        product := mul(x, y)\n        if iszero(or(iszero(x), eq(y, div(product, x)))) { panic_error_0x11() }\n    }\n    function abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n    }\n    function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xff))\n    }\n    function panic_error_0x32()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x32)\n        revert(0, 0x24)\n    }\n    function checked_mul_t_uint8(x, y) -> product\n    {\n        let product_raw := mul(and(x, 0xff), and(y, 0xff))\n        product := and(product_raw, 0xff)\n        if iszero(eq(product, product_raw)) { panic_error_0x11() }\n    }\n    function abi_encode_tuple_t_struct$_CurveRoute_$5567_memory_ptr__to_t_struct$_CurveRoute_$5567_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 1312)\n        abi_encode_struct_CurveRoute(value0, headStart)\n    }\n    function abi_encode_tuple_t_stringliteral_9f688071e1df0f70b63e3651005878331be1fe9591d6cfb3187cb52a13439e5d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 21)\n        mstore(add(headStart, 64), \"toAddress_outOfBounds\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_stringliteral_ce6d7be00009dd45cc670fb6c2ceee25786f142bcb64e7f1ee73012b26bb6ca1__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 19)\n        mstore(add(headStart, 64), \"toUint8_outOfBounds\")\n        tail := add(headStart, 96)\n    }\n    function checked_add_t_uint8(x, y) -> sum\n    {\n        sum := add(and(x, 0xff), and(y, 0xff))\n        if gt(sum, 0xff) { panic_error_0x11() }\n    }\n}","id":30,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b506004361061004c5760003560e01c80634eb9425914610051578063588f4ff41461007b5780637ea71c9b1461009c578063c16e50ef146100bd575b600080fd5b61006461005f366004610a5e565b6100d2565b604051610072929190610b88565b60405180910390f35b61008e610089366004610bad565b6100f4565b604051610072929190610bf2565b6100af6100aa366004610c0a565b610113565b604051908152602001610072565b6100d06100cb366004610c2d565b610124565b005b60006100dc610901565b6100e7858585610130565b915091505b935093915050565b60006100fe610901565b6101088484610279565b915091509250929050565b600061011e82610578565b92915050565b61012d816105d6565b50565b600061013a610901565b61014585600061081f565b9150600061015e610157601483610c80565b8790610884565b90506000600161016f601483610c80565b6101799190610c80565b905060005b8260ff168110156102475760006101958984610884565b90506001600160a01b0388166101b66101af600186610c80565b8b9061081f565b6001600160a01b031614801561020d57506001600160a01b0387166102026101e260ff84166014610c93565b6101ed906002610c93565b6101f8600187610c80565b6101af9190610c80565b6001600160a01b0316145b156102295761021c8984610279565b95506100ec945050505050565b61023281610578565b61023c9084610c80565b92505060010161017e565b50604051638c9aec7b60e01b81526001600160a01b038088166004830152861660248201526044015b60405180910390fd5b6000610283610901565b61028d8484610884565b915060058260ff1611156102b957604051635b030b5960e11b815260ff83166004820152602401610270565b60005b6102c5836108e0565b811015610324576102f66102da601483610c93565b6102e5600187610c80565b6102ef9190610c80565b869061081f565b825182600b811061030957610309610caa565b6001600160a01b0390921660209290920201526001016102bc565b506014610330836108e0565b61033a9190610c93565b610345906001610c80565b61034f9084610c80565b925060005b8260ff168110156104f35761038961036d600183610c93565b610378906005610c93565b6103829086610c80565b8690610884565b60ff16826020015182600581106103a2576103a2610caa565b6020020151526103d66103b6600183610c93565b6103c1906005610c93565b6103cb9086610c80565b610382906001610c80565b60ff16826020015182600581106103ef576103ef610caa565b602002015160016020020152610429610409600183610c93565b610414906005610c93565b61041e9086610c80565b610382906002610c80565b60ff168260200151826005811061044257610442610caa565b602002015160400152610479610459600183610c93565b610464906005610c93565b61046e9086610c80565b610382906003610c80565b60ff168260200151826005811061049257610492610caa565b6020020151606001526104c96104a9600183610c93565b6104b4906005610c93565b6104be9086610c80565b610382906004610c80565b60ff16826020015182600581106104e2576104e2610caa565b602002015160800152600101610354565b50610502600160ff8416610c93565b61050d906005610c93565b6105179084610c80565b925060005b8260ff168110156105705761053f610535601483610c93565b6102ef9086610c80565b8260400151826005811061055557610555610caa565b6001600160a01b03909216602092909202015260010161051c565b509250929050565b6000610588601460ff8416610c93565b6001610595846005610cc0565b60ff166105a29190610c93565b60146105ad856108e0565b6105b79190610c93565b6105c2906001610c80565b6105cc9190610c80565b61011e9190610c80565b60006105e2828261081f565b90506001600160a01b03811661060b5760405163e368363760e01b815260040160405180910390fd5b600061062261061b601483610c80565b8490610884565b90508060ff16600003610648576040516301ec987f60e31b815260040160405180910390fd5b60006001610657601483610c80565b6106619190610c80565b905060005b8260ff168110156107f75760008061067e8785610279565b9150915060005b8260ff168110156107285781516000906106a0836002610c93565b600b81106106b0576106b0610caa565b60200201516001600160a01b03161480610700575081516000906106d5836002610c93565b6106e0906001610c80565b600b81106106f0576106f0610caa565b60200201516001600160a01b0316145b156107205781604051635875b11160e01b81526004016102709190610ce3565b600101610685565b508051600090610739846002610cc0565b60ff16600b811061074c5761074c610caa565b60200201516001600160a01b03160361077a5780604051635875b11160e01b81526004016102709190610ce3565b60058260ff16141580156107b857508051600090610797846108e0565b600b81106107a7576107a7610caa565b60200201516001600160a01b031614155b156107d85780604051635875b11160e01b81526004016102709190610ce3565b6107e182610578565b6107eb9085610c80565b93505050600101610666565b50808451146108195760405163251f56a160e21b815260040160405180910390fd5b50505050565b600061082c826014610c80565b835110156108745760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610270565b500160200151600160601b900490565b6000610891826001610c80565b835110156108d75760405162461bcd60e51b8152602060048201526013602482015272746f55696e74385f6f75744f66426f756e647360681b6044820152606401610270565b50016001015190565b60006108ed826002610cc0565b6108f8906001610cf2565b60ff1692915050565b6040518060600160405280610914610933565b8152602001610921610952565b815260200161092e61097f565b905290565b604051806101600160405280600b906020820280368337509192915050565b6040518060a001604052806005905b61096961097f565b8152602001906001900390816109615790505090565b6040518060a001604052806005906020820280368337509192915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126109c457600080fd5b813567ffffffffffffffff8111156109de576109de61099d565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610a0d57610a0d61099d565b604052818152838201602001851015610a2557600080fd5b816020850160208301376000918101602001919091529392505050565b80356001600160a01b0381168114610a5957600080fd5b919050565b600080600060608486031215610a7357600080fd5b833567ffffffffffffffff811115610a8a57600080fd5b610a96868287016109b3565b935050610aa560208501610a42565b9150610ab360408501610a42565b90509250925092565b8060005b60058110156108195781516001600160a01b0316845260209384019390910190600101610ac0565b80518260005b600b811015610b165782516001600160a01b0316825260209283019290910190600101610aee565b5050506020810151610160830160005b6005811015610b6d5782518260005b6005811015610b54578251825260209283019290910190600101610b35565b5050506020929092019160a09190910190600101610b26565b5050506040810151610b83610480840182610abc565b505050565b6001600160a01b03831681526105408101610ba66020830184610ae8565b9392505050565b60008060408385031215610bc057600080fd5b823567ffffffffffffffff811115610bd757600080fd5b610be3858286016109b3565b95602094909401359450505050565b60ff831681526105408101610ba66020830184610ae8565b600060208284031215610c1c57600080fd5b813560ff81168114610ba657600080fd5b600060208284031215610c3f57600080fd5b813567ffffffffffffffff811115610c5657600080fd5b610c62848285016109b3565b949350505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561011e5761011e610c6a565b808202811582820484141761011e5761011e610c6a565b634e487b7160e01b600052603260045260246000fd5b60ff8181168382160290811690818114610cdc57610cdc610c6a565b5092915050565b610520810161011e8284610ae8565b60ff818116838216019081111561011e5761011e610c6a56fea2646970667358221220d62f8bf2bcce43bcb2176e07c55607d36d88267e8817c483fcb2c4fddc7fcefc64736f6c634300081c0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x4EB94259 EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x588F4FF4 EQ PUSH2 0x7B JUMPI DUP1 PUSH4 0x7EA71C9B EQ PUSH2 0x9C JUMPI DUP1 PUSH4 0xC16E50EF EQ PUSH2 0xBD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x64 PUSH2 0x5F CALLDATASIZE PUSH1 0x4 PUSH2 0xA5E JUMP JUMPDEST PUSH2 0xD2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x72 SWAP3 SWAP2 SWAP1 PUSH2 0xB88 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8E PUSH2 0x89 CALLDATASIZE PUSH1 0x4 PUSH2 0xBAD JUMP JUMPDEST PUSH2 0xF4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x72 SWAP3 SWAP2 SWAP1 PUSH2 0xBF2 JUMP JUMPDEST PUSH2 0xAF PUSH2 0xAA CALLDATASIZE PUSH1 0x4 PUSH2 0xC0A JUMP JUMPDEST PUSH2 0x113 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x72 JUMP JUMPDEST PUSH2 0xD0 PUSH2 0xCB CALLDATASIZE PUSH1 0x4 PUSH2 0xC2D JUMP JUMPDEST PUSH2 0x124 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0xDC PUSH2 0x901 JUMP JUMPDEST PUSH2 0xE7 DUP6 DUP6 DUP6 PUSH2 0x130 JUMP JUMPDEST SWAP2 POP SWAP2 POP JUMPDEST SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xFE PUSH2 0x901 JUMP JUMPDEST PUSH2 0x108 DUP5 DUP5 PUSH2 0x279 JUMP JUMPDEST SWAP2 POP SWAP2 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x11E DUP3 PUSH2 0x578 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x12D DUP2 PUSH2 0x5D6 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x13A PUSH2 0x901 JUMP JUMPDEST PUSH2 0x145 DUP6 PUSH1 0x0 PUSH2 0x81F JUMP JUMPDEST SWAP2 POP PUSH1 0x0 PUSH2 0x15E PUSH2 0x157 PUSH1 0x14 DUP4 PUSH2 0xC80 JUMP JUMPDEST DUP8 SWAP1 PUSH2 0x884 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x1 PUSH2 0x16F PUSH1 0x14 DUP4 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x179 SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x247 JUMPI PUSH1 0x0 PUSH2 0x195 DUP10 DUP5 PUSH2 0x884 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND PUSH2 0x1B6 PUSH2 0x1AF PUSH1 0x1 DUP7 PUSH2 0xC80 JUMP JUMPDEST DUP12 SWAP1 PUSH2 0x81F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 ISZERO PUSH2 0x20D JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND PUSH2 0x202 PUSH2 0x1E2 PUSH1 0xFF DUP5 AND PUSH1 0x14 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x1ED SWAP1 PUSH1 0x2 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x1F8 PUSH1 0x1 DUP8 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x1AF SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST ISZERO PUSH2 0x229 JUMPI PUSH2 0x21C DUP10 DUP5 PUSH2 0x279 JUMP JUMPDEST SWAP6 POP PUSH2 0xEC SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH2 0x232 DUP2 PUSH2 0x578 JUMP JUMPDEST PUSH2 0x23C SWAP1 DUP5 PUSH2 0xC80 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 ADD PUSH2 0x17E JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH4 0x8C9AEC7B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP9 AND PUSH1 0x4 DUP4 ADD MSTORE DUP7 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x283 PUSH2 0x901 JUMP JUMPDEST PUSH2 0x28D DUP5 DUP5 PUSH2 0x884 JUMP JUMPDEST SWAP2 POP PUSH1 0x5 DUP3 PUSH1 0xFF AND GT ISZERO PUSH2 0x2B9 JUMPI PUSH1 0x40 MLOAD PUSH4 0x5B030B59 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0xFF DUP4 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x270 JUMP JUMPDEST PUSH1 0x0 JUMPDEST PUSH2 0x2C5 DUP4 PUSH2 0x8E0 JUMP JUMPDEST DUP2 LT ISZERO PUSH2 0x324 JUMPI PUSH2 0x2F6 PUSH2 0x2DA PUSH1 0x14 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x2E5 PUSH1 0x1 DUP8 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x2EF SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST DUP7 SWAP1 PUSH2 0x81F JUMP JUMPDEST DUP3 MLOAD DUP3 PUSH1 0xB DUP2 LT PUSH2 0x309 JUMPI PUSH2 0x309 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 SWAP1 SWAP3 MUL ADD MSTORE PUSH1 0x1 ADD PUSH2 0x2BC JUMP JUMPDEST POP PUSH1 0x14 PUSH2 0x330 DUP4 PUSH2 0x8E0 JUMP JUMPDEST PUSH2 0x33A SWAP2 SWAP1 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x345 SWAP1 PUSH1 0x1 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x34F SWAP1 DUP5 PUSH2 0xC80 JUMP JUMPDEST SWAP3 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x4F3 JUMPI PUSH2 0x389 PUSH2 0x36D PUSH1 0x1 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x378 SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x382 SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST DUP7 SWAP1 PUSH2 0x884 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x3A2 JUMPI PUSH2 0x3A2 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD MSTORE PUSH2 0x3D6 PUSH2 0x3B6 PUSH1 0x1 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x3C1 SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x3CB SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x382 SWAP1 PUSH1 0x1 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x3EF JUMPI PUSH2 0x3EF PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x20 MUL ADD MSTORE PUSH2 0x429 PUSH2 0x409 PUSH1 0x1 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x414 SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x41E SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x382 SWAP1 PUSH1 0x2 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x442 JUMPI PUSH2 0x442 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x40 ADD MSTORE PUSH2 0x479 PUSH2 0x459 PUSH1 0x1 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x464 SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x46E SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x382 SWAP1 PUSH1 0x3 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x492 JUMPI PUSH2 0x492 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x60 ADD MSTORE PUSH2 0x4C9 PUSH2 0x4A9 PUSH1 0x1 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x4B4 SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x4BE SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x382 SWAP1 PUSH1 0x4 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0xFF AND DUP3 PUSH1 0x20 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x4E2 JUMPI PUSH2 0x4E2 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x80 ADD MSTORE PUSH1 0x1 ADD PUSH2 0x354 JUMP JUMPDEST POP PUSH2 0x502 PUSH1 0x1 PUSH1 0xFF DUP5 AND PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x50D SWAP1 PUSH1 0x5 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x517 SWAP1 DUP5 PUSH2 0xC80 JUMP JUMPDEST SWAP3 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x570 JUMPI PUSH2 0x53F PUSH2 0x535 PUSH1 0x14 DUP4 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x2EF SWAP1 DUP7 PUSH2 0xC80 JUMP JUMPDEST DUP3 PUSH1 0x40 ADD MLOAD DUP3 PUSH1 0x5 DUP2 LT PUSH2 0x555 JUMPI PUSH2 0x555 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 SWAP1 SWAP3 MUL ADD MSTORE PUSH1 0x1 ADD PUSH2 0x51C JUMP JUMPDEST POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x588 PUSH1 0x14 PUSH1 0xFF DUP5 AND PUSH2 0xC93 JUMP JUMPDEST PUSH1 0x1 PUSH2 0x595 DUP5 PUSH1 0x5 PUSH2 0xCC0 JUMP JUMPDEST PUSH1 0xFF AND PUSH2 0x5A2 SWAP2 SWAP1 PUSH2 0xC93 JUMP JUMPDEST PUSH1 0x14 PUSH2 0x5AD DUP6 PUSH2 0x8E0 JUMP JUMPDEST PUSH2 0x5B7 SWAP2 SWAP1 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x5C2 SWAP1 PUSH1 0x1 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x5CC SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x11E SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5E2 DUP3 DUP3 PUSH2 0x81F JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x60B JUMPI PUSH1 0x40 MLOAD PUSH4 0xE3683637 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x622 PUSH2 0x61B PUSH1 0x14 DUP4 PUSH2 0xC80 JUMP JUMPDEST DUP5 SWAP1 PUSH2 0x884 JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0xFF AND PUSH1 0x0 SUB PUSH2 0x648 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1EC987F PUSH1 0xE3 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH2 0x657 PUSH1 0x14 DUP4 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0x661 SWAP2 SWAP1 PUSH2 0xC80 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x7F7 JUMPI PUSH1 0x0 DUP1 PUSH2 0x67E DUP8 DUP6 PUSH2 0x279 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH1 0x0 JUMPDEST DUP3 PUSH1 0xFF AND DUP2 LT ISZERO PUSH2 0x728 JUMPI DUP2 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x6A0 DUP4 PUSH1 0x2 PUSH2 0xC93 JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0x6B0 JUMPI PUSH2 0x6B0 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x700 JUMPI POP DUP2 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x6D5 DUP4 PUSH1 0x2 PUSH2 0xC93 JUMP JUMPDEST PUSH2 0x6E0 SWAP1 PUSH1 0x1 PUSH2 0xC80 JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0x6F0 JUMPI PUSH2 0x6F0 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST ISZERO PUSH2 0x720 JUMPI DUP2 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x270 SWAP2 SWAP1 PUSH2 0xCE3 JUMP JUMPDEST PUSH1 0x1 ADD PUSH2 0x685 JUMP JUMPDEST POP DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x739 DUP5 PUSH1 0x2 PUSH2 0xCC0 JUMP JUMPDEST PUSH1 0xFF AND PUSH1 0xB DUP2 LT PUSH2 0x74C JUMPI PUSH2 0x74C PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x77A JUMPI DUP1 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x270 SWAP2 SWAP1 PUSH2 0xCE3 JUMP JUMPDEST PUSH1 0x5 DUP3 PUSH1 0xFF AND EQ ISZERO DUP1 ISZERO PUSH2 0x7B8 JUMPI POP DUP1 MLOAD PUSH1 0x0 SWAP1 PUSH2 0x797 DUP5 PUSH2 0x8E0 JUMP JUMPDEST PUSH1 0xB DUP2 LT PUSH2 0x7A7 JUMPI PUSH2 0x7A7 PUSH2 0xCAA JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO JUMPDEST ISZERO PUSH2 0x7D8 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH4 0x5875B111 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x270 SWAP2 SWAP1 PUSH2 0xCE3 JUMP JUMPDEST PUSH2 0x7E1 DUP3 PUSH2 0x578 JUMP JUMPDEST PUSH2 0x7EB SWAP1 DUP6 PUSH2 0xC80 JUMP JUMPDEST SWAP4 POP POP POP PUSH1 0x1 ADD PUSH2 0x666 JUMP JUMPDEST POP DUP1 DUP5 MLOAD EQ PUSH2 0x819 JUMPI PUSH1 0x40 MLOAD PUSH4 0x251F56A1 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x82C DUP3 PUSH1 0x14 PUSH2 0xC80 JUMP JUMPDEST DUP4 MLOAD LT ISZERO PUSH2 0x874 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x746F416464726573735F6F75744F66426F756E6473 PUSH1 0x58 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x270 JUMP JUMPDEST POP ADD PUSH1 0x20 ADD MLOAD PUSH1 0x1 PUSH1 0x60 SHL SWAP1 DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x891 DUP3 PUSH1 0x1 PUSH2 0xC80 JUMP JUMPDEST DUP4 MLOAD LT ISZERO PUSH2 0x8D7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x746F55696E74385F6F75744F66426F756E6473 PUSH1 0x68 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x270 JUMP JUMPDEST POP ADD PUSH1 0x1 ADD MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8ED DUP3 PUSH1 0x2 PUSH2 0xCC0 JUMP JUMPDEST PUSH2 0x8F8 SWAP1 PUSH1 0x1 PUSH2 0xCF2 JUMP JUMPDEST PUSH1 0xFF AND SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x914 PUSH2 0x933 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x921 PUSH2 0x952 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x92E PUSH2 0x97F JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH2 0x160 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB SWAP1 PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP SWAP2 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 SWAP1 JUMPDEST PUSH2 0x969 PUSH2 0x97F JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x961 JUMPI SWAP1 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 SWAP1 PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP SWAP2 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x9C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x9DE JUMPI PUSH2 0x9DE PUSH2 0x99D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0xA0D JUMPI PUSH2 0xA0D PUSH2 0x99D JUMP JUMPDEST PUSH1 0x40 MSTORE DUP2 DUP2 MSTORE DUP4 DUP3 ADD PUSH1 0x20 ADD DUP6 LT ISZERO PUSH2 0xA25 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP6 ADD PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 SWAP2 DUP2 ADD PUSH1 0x20 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xA59 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xA73 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xA8A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA96 DUP7 DUP3 DUP8 ADD PUSH2 0x9B3 JUMP JUMPDEST SWAP4 POP POP PUSH2 0xAA5 PUSH1 0x20 DUP6 ADD PUSH2 0xA42 JUMP JUMPDEST SWAP2 POP PUSH2 0xAB3 PUSH1 0x40 DUP6 ADD PUSH2 0xA42 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x819 JUMPI DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0xAC0 JUMP JUMPDEST DUP1 MLOAD DUP3 PUSH1 0x0 JUMPDEST PUSH1 0xB DUP2 LT ISZERO PUSH2 0xB16 JUMPI DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 MSTORE PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0xAEE JUMP JUMPDEST POP POP POP PUSH1 0x20 DUP2 ADD MLOAD PUSH2 0x160 DUP4 ADD PUSH1 0x0 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xB6D JUMPI DUP3 MLOAD DUP3 PUSH1 0x0 JUMPDEST PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xB54 JUMPI DUP3 MLOAD DUP3 MSTORE PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0xB35 JUMP JUMPDEST POP POP POP PUSH1 0x20 SWAP3 SWAP1 SWAP3 ADD SWAP2 PUSH1 0xA0 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0xB26 JUMP JUMPDEST POP POP POP PUSH1 0x40 DUP2 ADD MLOAD PUSH2 0xB83 PUSH2 0x480 DUP5 ADD DUP3 PUSH2 0xABC JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND DUP2 MSTORE PUSH2 0x540 DUP2 ADD PUSH2 0xBA6 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xAE8 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xBC0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xBD7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xBE3 DUP6 DUP3 DUP7 ADD PUSH2 0x9B3 JUMP JUMPDEST SWAP6 PUSH1 0x20 SWAP5 SWAP1 SWAP5 ADD CALLDATALOAD SWAP5 POP POP POP POP JUMP JUMPDEST PUSH1 0xFF DUP4 AND DUP2 MSTORE PUSH2 0x540 DUP2 ADD PUSH2 0xBA6 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xAE8 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC1C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0xBA6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC3F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xC56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC62 DUP5 DUP3 DUP6 ADD PUSH2 0x9B3 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP1 DUP3 ADD DUP1 DUP3 GT ISZERO PUSH2 0x11E JUMPI PUSH2 0x11E PUSH2 0xC6A JUMP JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x11E JUMPI PUSH2 0x11E PUSH2 0xC6A JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0xFF DUP2 DUP2 AND DUP4 DUP3 AND MUL SWAP1 DUP2 AND SWAP1 DUP2 DUP2 EQ PUSH2 0xCDC JUMPI PUSH2 0xCDC PUSH2 0xC6A JUMP JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x520 DUP2 ADD PUSH2 0x11E DUP3 DUP5 PUSH2 0xAE8 JUMP JUMPDEST PUSH1 0xFF DUP2 DUP2 AND DUP4 DUP3 AND ADD SWAP1 DUP2 GT ISZERO PUSH2 0x11E JUMPI PUSH2 0x11E PUSH2 0xC6A JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD6 0x2F DUP12 CALLCODE 0xBC 0xCE NUMBER 0xBC 0xB2 OR PUSH15 0x7C55607D36D88267E8817C483FCB2 0xC4 REVERT 0xDC PUSH32 0xCEFC64736F6C634300081C003300000000000000000000000000000000000000 ","sourceMap":"178:718:25:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;646:248;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;319:207;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;530:112::-;;;;;;:::i;:::-;;:::i;:::-;;;4614:25:30;;;4602:2;4587:18;530:112:25;4468:177:30;213:102:25;;;;;;:::i;:::-;;:::i;:::-;;646:248;765:19;786:35;;:::i;:::-;836:53;858:11;871:7;880:8;836:21;:53::i;:::-;829:60;;;;646:248;;;;;;;:::o;319:207::-;415:12;429:35;;:::i;:::-;479:42;501:11;514:6;479:21;:42::i;:::-;472:49;;;;319:207;;;;;:::o;530:112::-;586:7;608:29;630:6;608:21;:29::i;:::-;601:36;530:112;-1:-1:-1;;530:112:25:o;213:102::-;277:33;298:11;277:20;:33::i;:::-;213:102;:::o;4113:779:20:-;4232:19;4253:23;;:::i;:::-;4306:36;:11;1067:1;4306:21;:36::i;:::-;4284:59;-1:-1:-1;4349:13:20;4365:36;1116:28;932:2;4349:13;1116:28;:::i;:::-;4365:11;;:19;:36::i;:::-;4349:52;-1:-1:-1;4407:14:20;977:1;1116:28;932:2;4407:14;1116:28;:::i;:::-;1195;;;;:::i;:::-;4407:35;;4453:9;4448:395;4468:7;4464:11;;:1;:11;4448:395;;;4490:12;4505:27;:11;4525:6;4505:19;:27::i;:::-;4490:42;-1:-1:-1;;;;;;4553:53:20;;:42;4575:19;977:1;4575:6;:19;:::i;:::-;4553:11;;:21;:42::i;:::-;-1:-1:-1;;;;;4553:53:20;;:147;;;;-1:-1:-1;;;;;;4618:82:20;;:70;4662:21;;;;932:2;4662:21;:::i;:::-;:25;;4686:1;4662:25;:::i;:::-;4640:19;977:1;4640:6;:19;:::i;:::-;:47;;;;:::i;4618:70::-;-1:-1:-1;;;;;4618:82:20;;4553:147;4540:262;;;4731:30;4741:11;4754:6;4731:9;:30::i;:::-;4719:42;-1:-1:-1;4771:22:20;;-1:-1:-1;;;;;4771:22:20;4540:262;4819:17;4829:6;4819:9;:17::i;:::-;4809:27;;;;:::i;:::-;;-1:-1:-1;;4477:3:20;;4448:395;;;-1:-1:-1;4855:32:20;;-1:-1:-1;;;4855:32:20;;-1:-1:-1;;;;;5602:32:30;;;4855::20;;;5584:51:30;5671:32;;5651:18;;;5644:60;5557:18;;4855:32:20;;;;;;;;2684:1065;2780:12;2794:23;;:::i;:::-;2834:27;:11;2854:6;2834:19;:27::i;:::-;2825:36;;1020:1;2871:6;:18;;;2867:51;;;2898:20;;-1:-1:-1;;;2898:20:20;;5887:4:30;5875:17;;2898:20:20;;;5857:36:30;5830:18;;2898:20:20;5715:184:30;2867:51:20;2929:9;2924:137;2944:17;2954:6;2944:9;:17::i;:::-;2940:1;:21;2924:137;;;2993:61;3037:16;932:2;3037:1;:16;:::i;:::-;3015:19;977:1;3015:6;:19;:::i;:::-;:38;;;;:::i;:::-;2993:11;;:21;:61::i;:::-;2976:11;;2988:1;2976:14;;;;;;;:::i;:::-;-1:-1:-1;;;;;2976:78:20;;;:14;;;;;;:78;2963:3;;2924:137;;;;932:2;3089:17;3099:6;3089:9;:17::i;:::-;:32;;;;:::i;:::-;3076:45;;977:1;3076:45;:::i;:::-;3066:55;;;;:::i;:::-;;;3132:9;3127:461;3147:6;3143:10;;:1;:10;3127:461;;;3193:48;3222:14;977:1;3222;:14;:::i;:::-;:18;;3239:1;3222:18;:::i;:::-;3213:27;;:6;:27;:::i;:::-;3193:11;;:19;:48::i;:::-;3168:73;;:5;:16;;;3185:1;3168:19;;;;;;;:::i;:::-;;;;;:73;3274:52;3303:14;977:1;3303;:14;:::i;:::-;:18;;3320:1;3303:18;:::i;:::-;3294:27;;:6;:27;:::i;:::-;:31;;3324:1;3294:31;:::i;3274:52::-;3249:77;;:5;:16;;;3266:1;3249:19;;;;;;;:::i;:::-;;;;;3269:1;3249:22;;;:77;3359:52;3388:14;977:1;3388;:14;:::i;:::-;:18;;3405:1;3388:18;:::i;:::-;3379:27;;:6;:27;:::i;:::-;:31;;3409:1;3379:31;:::i;3359:52::-;3334:77;;:5;:16;;;3351:1;3334:19;;;;;;;:::i;:::-;;;;;:22;;:77;3444:52;3473:14;977:1;3473;:14;:::i;:::-;:18;;3490:1;3473:18;:::i;:::-;3464:27;;:6;:27;:::i;:::-;:31;;3494:1;3464:31;:::i;3444:52::-;3419:77;;:5;:16;;;3436:1;3419:19;;;;;;;:::i;:::-;;;;;:22;;:77;3529:52;3558:14;977:1;3558;:14;:::i;:::-;:18;;3575:1;3558:18;:::i;:::-;3549:27;;:6;:27;:::i;:::-;:31;;3579:1;3549:31;:::i;3529:52::-;3504:77;;:5;:16;;;3521:1;3504:19;;;;;;;:::i;:::-;;;;;:22;;:77;3155:3;;3127:461;;;-1:-1:-1;3603:19:20;977:1;3603:19;;;;:::i;:::-;:23;;3625:1;3603:23;:::i;:::-;3593:33;;;;:::i;:::-;;;3637:9;3632:113;3652:6;3648:10;;:1;:10;3632:113;;;3690:48;3721:16;932:2;3721:1;:16;:::i;:::-;3712:25;;:6;:25;:::i;3690:48::-;3673:5;:11;;;3685:1;3673:14;;;;;;;:::i;:::-;-1:-1:-1;;;;;3673:65:20;;;:14;;;;;;:65;3660:3;;3632:113;;;;2684:1065;;;;;:::o;3753:254::-;3809:7;3971:21;932:2;3971:21;;;;:::i;:::-;977:1;3923:10;:6;3932:1;3923:10;:::i;:::-;:23;;;;;;:::i;:::-;932:2;3866:17;3876:6;3866:9;:17::i;:::-;:38;;;;:::i;:::-;3837:67;;977:1;3837:67;:::i;:::-;:110;;;;:::i;:::-;:156;;;;:::i;1751:929::-;1815:19;1850:36;:11;1815:19;1850:21;:36::i;:::-;1815:72;-1:-1:-1;;;;;;1897:29:20;;1893:65;;1935:23;;-1:-1:-1;;;1935:23:20;;;;;;;;;;;1893:65;1964:13;1980:36;1116:28;932:2;1964:13;1116:28;:::i;:::-;1980:11;;:19;:36::i;:::-;1964:52;;2026:7;:12;;2037:1;2026:12;2022:42;;2047:17;;-1:-1:-1;;;2047:17:20;;;;;;;;;;;2022:42;2070:14;977:1;1116:28;932:2;2070:14;1116:28;:::i;:::-;1195;;;;:::i;:::-;2070:35;;2116:9;2111:503;2131:7;2127:11;;:1;:11;2111:503;;;2154:12;2168:23;2195:30;2205:11;2218:6;2195:9;:30::i;:::-;2153:72;;;;2238:9;2233:156;2253:6;2249:10;;:1;:10;2233:156;;;2280:11;;2310:1;;2292:5;:1;2296;2292:5;:::i;:::-;2280:18;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2280:32:20;;:72;;;-1:-1:-1;2316:11:20;;2350:1;;2328:5;:1;2332;2328:5;:::i;:::-;:9;;2336:1;2328:9;:::i;:::-;2316:22;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2316:36:20;;2280:72;2276:104;;;2374:5;2361:19;;-1:-1:-1;;;2361:19:20;;;;;;;;:::i;2276:104::-;2261:3;;2233:156;;;-1:-1:-1;2400:11:20;;2435:1;;2412:10;:6;2421:1;2412:10;:::i;:::-;2400:23;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2400:37:20;;2396:69;;2459:5;2446:19;;-1:-1:-1;;;2446:19:20;;;;;;;;:::i;2396:69::-;1020:1;2477:6;:19;;;;:67;;;;-1:-1:-1;2500:11:20;;2542:1;;2512:17;2522:6;2512:9;:17::i;:::-;2500:30;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2500:44:20;;;2477:67;2473:99;;;2566:5;2553:19;;-1:-1:-1;;;2553:19:20;;;;;;;;:::i;2473:99::-;2590:17;2600:6;2590:9;:17::i;:::-;2580:27;;;;:::i;:::-;;-1:-1:-1;;;2140:3:20;;2111:503;;;;2645:6;2623:11;:18;:28;2619:56;;2660:15;;-1:-1:-1;;;2660:15:20;;;;;;;;;;;2619:56;1809:871;;;1751:929;:::o;12267:354:29:-;12346:7;12390:11;:6;12399:2;12390:11;:::i;:::-;12373:6;:13;:28;;12365:62;;;;-1:-1:-1;;;12365:62:29;;6730:2:30;12365:62:29;;;6712:21:30;6769:2;6749:18;;;6742:30;-1:-1:-1;;;6788:18:30;;;6781:51;6849:18;;12365:62:29;6528:345:30;12365:62:29;-1:-1:-1;12515:30:29;12531:4;12515:30;12509:37;-1:-1:-1;;;12505:71:29;;;12267:354::o;12627:302::-;12704:5;12746:10;:6;12755:1;12746:10;:::i;:::-;12729:6;:13;:27;;12721:60;;;;-1:-1:-1;;;12721:60:29;;7080:2:30;12721:60:29;;;7062:21:30;7119:2;7099:18;;;7092:30;-1:-1:-1;;;7138:18:30;;;7131:49;7197:18;;12721:60:29;6878:343:30;12721:60:29;-1:-1:-1;12857:29:29;12873:3;12857:29;12851:36;;12627:302::o;4011:98:20:-;4066:7;4089:10;:6;4098:1;4089:10;:::i;:::-;:14;;4102:1;4089:14;:::i;:::-;4081:23;;;4011:98;-1:-1:-1;;4011:98:20:o;-1:-1:-1:-;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:127:30:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:725;188:5;241:3;234:4;226:6;222:17;218:27;208:55;;259:1;256;249:12;208:55;299:6;286:20;329:18;321:6;318:30;315:56;;;351:18;;:::i;:::-;400:2;394:9;492:2;454:17;;-1:-1:-1;;450:31:30;;;483:2;446:40;442:54;430:67;;527:18;512:34;;548:22;;;509:62;506:88;;;574:18;;:::i;:::-;610:2;603:22;634;;;675:19;;;696:4;671:30;668:39;-1:-1:-1;665:59:30;;;720:1;717;710:12;665:59;784:6;777:4;769:6;765:17;758:4;750:6;746:17;733:58;839:1;811:19;;;832:4;807:30;800:41;;;;815:6;146:725;-1:-1:-1;;;146:725:30:o;876:173::-;944:20;;-1:-1:-1;;;;;993:31:30;;983:42;;973:70;;1039:1;1036;1029:12;973:70;876:173;;;:::o;1054:468::-;1140:6;1148;1156;1209:2;1197:9;1188:7;1184:23;1180:32;1177:52;;;1225:1;1222;1215:12;1177:52;1265:9;1252:23;1298:18;1290:6;1287:30;1284:50;;;1330:1;1327;1320:12;1284:50;1353:49;1394:7;1385:6;1374:9;1370:22;1353:49;:::i;:::-;1343:59;;;1421:38;1455:2;1444:9;1440:18;1421:38;:::i;:::-;1411:48;;1478:38;1512:2;1501:9;1497:18;1478:38;:::i;:::-;1468:48;;1054:468;;;;;:::o;1527:329::-;1620:5;1643:1;1653:197;1667:4;1664:1;1661:11;1653:197;;;1730:13;;-1:-1:-1;;;;;1726:39:30;1714:52;;1795:4;1786:14;;;;1823:17;;;;1762:1;1680:9;1653:197;;1861:1215;1935:12;;1969:3;2036:1;2046:203;2060:4;2057:1;2054:11;2046:203;;;2125:13;;-1:-1:-1;;;;;2121:39:30;2107:54;;2194:4;2222:17;;;;2183:16;;;;2157:1;2073:9;2046:203;;;2050:3;;;2295:4;2288:5;2284:16;2278:23;2332:6;2327:3;2323:16;2419:1;2429:520;2445:4;2440:3;2437:13;2429:520;;;2506:15;;2547:5;2634:1;2648:209;2664:4;2659:3;2656:13;2648:209;;;2737:15;;2723:30;;2790:4;2824:19;;;;2779:16;;;;2688:1;2679:11;2648:209;;;-1:-1:-1;;;2934:4:30;2920:19;;;;;2890:4;2879:16;;;;;2469:1;2460:11;2429:520;;;2433:3;;;2997:4;2990:5;2986:16;2980:23;3012:58;3062:6;3057:3;3053:16;3037:14;3012:58;:::i;:::-;;1861:1215;;:::o;3081:375::-;-1:-1:-1;;;;;3352:32:30;;3334:51;;3320:4;3305:20;;3394:56;3446:2;3431:18;;3423:6;3394:56;:::i;:::-;3081:375;;;;;:::o;3461:388::-;3538:6;3546;3599:2;3587:9;3578:7;3574:23;3570:32;3567:52;;;3615:1;3612;3605:12;3567:52;3655:9;3642:23;3688:18;3680:6;3677:30;3674:50;;;3720:1;3717;3710:12;3674:50;3743:49;3784:7;3775:6;3764:9;3760:22;3743:49;:::i;:::-;3733:59;3839:2;3824:18;;;;3811:32;;-1:-1:-1;;;;3461:388:30:o;3854:335::-;4112:4;4100:17;;4082:36;;4068:4;4053:20;;4127:56;4179:2;4164:18;;4156:6;4127:56;:::i;4194:269::-;4251:6;4304:2;4292:9;4283:7;4279:23;4275:32;4272:52;;;4320:1;4317;4310:12;4272:52;4359:9;4346:23;4409:4;4402:5;4398:16;4391:5;4388:27;4378:55;;4429:1;4426;4419:12;4650:320;4718:6;4771:2;4759:9;4750:7;4746:23;4742:32;4739:52;;;4787:1;4784;4777:12;4739:52;4827:9;4814:23;4860:18;4852:6;4849:30;4846:50;;;4892:1;4889;4882:12;4846:50;4915:49;4956:7;4947:6;4936:9;4932:22;4915:49;:::i;:::-;4905:59;4650:320;-1:-1:-1;;;;4650:320:30:o;4975:127::-;5036:10;5031:3;5027:20;5024:1;5017:31;5067:4;5064:1;5057:15;5091:4;5088:1;5081:15;5107:125;5172:9;;;5193:10;;;5190:36;;;5206:18;;:::i;5237:168::-;5310:9;;;5341;;5358:15;;;5352:22;;5338:37;5328:71;;5379:18;;:::i;5904:127::-;5965:10;5960:3;5956:20;5953:1;5946:31;5996:4;5993:1;5986:15;6020:4;6017:1;6010:15;6036:225;6140:4;6119:12;;;6133;;;6115:31;6166:22;;;;6207:24;;;6197:58;;6235:18;;:::i;:::-;6197:58;6036:225;;;;:::o;6266:257::-;6456:4;6441:20;;6470:47;6445:9;6499:6;6470:47;:::i;7226:148::-;7314:4;7293:12;;;7307;;;7289:31;;7332:13;;7329:39;;;7348:18;;:::i"},"methodIdentifiers":{"findRoute(bytes,address,address)":"4eb94259","readRoute(bytes,uint256)":"588f4ff4","routeSize(uint8)":"7ea71c9b","validate(bytes)":"c16e50ef"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"AtLeastOneRoute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CurveRouterCantBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLength\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[11]\",\"name\":\"route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"swapParams\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"address[5]\",\"name\":\"pools\",\"type\":\"address[5]\"}],\"internalType\":\"struct CurveRoutes.CurveRoute\",\"name\":\"route\",\"type\":\"tuple\"}],\"name\":\"InvalidRoute\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"}],\"name\":\"RouteNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"nSwaps\",\"type\":\"uint8\"}],\"name\":\"TooManySwaps\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"curveRoutes\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"}],\"name\":\"findRoute\",\"outputs\":[{\"internalType\":\"contract ICurveRouter\",\"name\":\"router\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address[11]\",\"name\":\"route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"swapParams\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"address[5]\",\"name\":\"pools\",\"type\":\"address[5]\"}],\"internalType\":\"struct CurveRoutes.CurveRoute\",\"name\":\"route\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"curveRoutes\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"}],\"name\":\"readRoute\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"nSwaps\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"address[11]\",\"name\":\"route\",\"type\":\"address[11]\"},{\"internalType\":\"uint256[5][5]\",\"name\":\"swapParams\",\"type\":\"uint256[5][5]\"},{\"internalType\":\"address[5]\",\"name\":\"pools\",\"type\":\"address[5]\"}],\"internalType\":\"struct CurveRoutes.CurveRoute\",\"name\":\"route\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"nSwaps\",\"type\":\"uint8\"}],\"name\":\"routeSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"curveRoutes\",\"type\":\"bytes\"}],\"name\":\"validate\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/mocks/CurveRoutesTesterMock.sol\":\"CurveRoutesTesterMock\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/CurveRoutes.sol\":{\"keccak256\":\"0x631af8ec291043d7eef34b97a427a4f53eb46d852088f6620c46a36a7e851963\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://fbaf0f64980572d977b87b83e8bfc9c79fd1d2dc49a21e77e2a11fb8dec2413a\",\"dweb:/ipfs/QmYTpv2BroRz8PpWXYRp5KaaCXRy3tkZ95DeXybP4j3ti4\"]},\"contracts/dependencies/ICurveRouter.sol\":{\"keccak256\":\"0xf8c39f61b7459cfe6ba74d88fee74efd6d3d05d5cd64dc9eb6d08fbe0361affd\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://55f11ef7e1cc66fa2c6c2aec436ccf00a835acf4281bff4ee9b4d2cb8980c92f\",\"dweb:/ipfs/QmPfvjcbLbHwoFRFGkM5zvM25vrEvZxjwbxSUL5jm5n3pZ\"]},\"contracts/mocks/CurveRoutesTesterMock.sol\":{\"keccak256\":\"0x2efee6336536c54c1007c2a318abee9eeec4dab0c32fcfaca2be3575727551af\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1cc32ea6a67ccc17b5d099ef628eaf19b4939e52498f48a7b3fc7c9989a0d7d2\",\"dweb:/ipfs/Qmb33BQx3bJXfbEDQxczfEQktBghgyyqCF6ERrb79rkcV8\"]},\"solidity-bytes-utils/contracts/BytesLib.sol\":{\"keccak256\":\"0xf75784dfc94ea43668eb195d5690a1dde1b6eda62017e73a3899721583821d29\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://ca16cef8b94f3ac75d376489a668618f6c4595a906b939d674a883f4bf426014\",\"dweb:/ipfs/QmceGU7qhyFLSejaj6i4dEtMzXDCSF3aYDtW1UeKjXQaRn\"]}},\"version\":1}"}},"contracts/mocks/SwapRouterMock.sol":{"SwapRouterMock":{"abi":[{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AdminCannotBeZero","type":"error"},{"inputs":[],"name":"AmountCannotBeZero","type":"error"},{"inputs":[],"name":"DeadlineInThePast","type":"error"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountInMaximum","type":"uint256"}],"name":"InputAmountExceedsSlippage","type":"error"},{"inputs":[{"internalType":"uint256","name":"available","type":"uint256"},{"internalType":"uint256","name":"required","type":"uint256"}],"name":"NotEnoughBalance","type":"error"},{"inputs":[],"name":"NotImplemented","type":"error"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"}],"name":"OutputAmountLessThanSlippage","type":"error"},{"inputs":[],"name":"RecipientCannotBeZero","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"TokenCannotBeZero","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenIn","type":"address"},{"indexed":false,"internalType":"address","name":"tokenOut","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"PriceUpdated","type":"event"},{"inputs":[{"components":[{"internalType":"bytes","name":"path","type":"bytes"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"}],"internalType":"struct ISwapRouter.ExactInputParams","name":"","type":"tuple"}],"name":"exactInput","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct ISwapRouter.ExactInputSingleParams","name":"params","type":"tuple"}],"name":"exactInputSingle","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes","name":"path","type":"bytes"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMaximum","type":"uint256"}],"internalType":"struct ISwapRouter.ExactOutputParams","name":"","type":"tuple"}],"name":"exactOutput","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMaximum","type":"uint256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct ISwapRouter.ExactOutputSingleParams","name":"params","type":"tuple"}],"name":"exactOutputSingle","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setCurrentPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_7819":{"entryPoint":null,"id":7819,"parameterSlots":1,"returnSlots":0},"abi_decode_tuple_t_address_fromMemory":{"entryPoint":87,"id":null,"parameterSlots":2,"returnSlots":1}},"generatedSources":[{"ast":{"nativeSrc":"0:306:30","nodeType":"YulBlock","src":"0:306:30","statements":[{"nativeSrc":"6:3:30","nodeType":"YulBlock","src":"6:3:30","statements":[]},{"body":{"nativeSrc":"95:209:30","nodeType":"YulBlock","src":"95:209:30","statements":[{"body":{"nativeSrc":"141:16:30","nodeType":"YulBlock","src":"141:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"150:1:30","nodeType":"YulLiteral","src":"150:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"153:1:30","nodeType":"YulLiteral","src":"153:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"143:6:30","nodeType":"YulIdentifier","src":"143:6:30"},"nativeSrc":"143:12:30","nodeType":"YulFunctionCall","src":"143:12:30"},"nativeSrc":"143:12:30","nodeType":"YulExpressionStatement","src":"143:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"116:7:30","nodeType":"YulIdentifier","src":"116:7:30"},{"name":"headStart","nativeSrc":"125:9:30","nodeType":"YulIdentifier","src":"125:9:30"}],"functionName":{"name":"sub","nativeSrc":"112:3:30","nodeType":"YulIdentifier","src":"112:3:30"},"nativeSrc":"112:23:30","nodeType":"YulFunctionCall","src":"112:23:30"},{"kind":"number","nativeSrc":"137:2:30","nodeType":"YulLiteral","src":"137:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"108:3:30","nodeType":"YulIdentifier","src":"108:3:30"},"nativeSrc":"108:32:30","nodeType":"YulFunctionCall","src":"108:32:30"},"nativeSrc":"105:52:30","nodeType":"YulIf","src":"105:52:30"},{"nativeSrc":"166:29:30","nodeType":"YulVariableDeclaration","src":"166:29:30","value":{"arguments":[{"name":"headStart","nativeSrc":"185:9:30","nodeType":"YulIdentifier","src":"185:9:30"}],"functionName":{"name":"mload","nativeSrc":"179:5:30","nodeType":"YulIdentifier","src":"179:5:30"},"nativeSrc":"179:16:30","nodeType":"YulFunctionCall","src":"179:16:30"},"variables":[{"name":"value","nativeSrc":"170:5:30","nodeType":"YulTypedName","src":"170:5:30","type":""}]},{"body":{"nativeSrc":"258:16:30","nodeType":"YulBlock","src":"258:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"267:1:30","nodeType":"YulLiteral","src":"267:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"270:1:30","nodeType":"YulLiteral","src":"270:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"260:6:30","nodeType":"YulIdentifier","src":"260:6:30"},"nativeSrc":"260:12:30","nodeType":"YulFunctionCall","src":"260:12:30"},"nativeSrc":"260:12:30","nodeType":"YulExpressionStatement","src":"260:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"217:5:30","nodeType":"YulIdentifier","src":"217:5:30"},{"arguments":[{"name":"value","nativeSrc":"228:5:30","nodeType":"YulIdentifier","src":"228:5:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"243:3:30","nodeType":"YulLiteral","src":"243:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"248:1:30","nodeType":"YulLiteral","src":"248:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"239:3:30","nodeType":"YulIdentifier","src":"239:3:30"},"nativeSrc":"239:11:30","nodeType":"YulFunctionCall","src":"239:11:30"},{"kind":"number","nativeSrc":"252:1:30","nodeType":"YulLiteral","src":"252:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"235:3:30","nodeType":"YulIdentifier","src":"235:3:30"},"nativeSrc":"235:19:30","nodeType":"YulFunctionCall","src":"235:19:30"}],"functionName":{"name":"and","nativeSrc":"224:3:30","nodeType":"YulIdentifier","src":"224:3:30"},"nativeSrc":"224:31:30","nodeType":"YulFunctionCall","src":"224:31:30"}],"functionName":{"name":"eq","nativeSrc":"214:2:30","nodeType":"YulIdentifier","src":"214:2:30"},"nativeSrc":"214:42:30","nodeType":"YulFunctionCall","src":"214:42:30"}],"functionName":{"name":"iszero","nativeSrc":"207:6:30","nodeType":"YulIdentifier","src":"207:6:30"},"nativeSrc":"207:50:30","nodeType":"YulFunctionCall","src":"207:50:30"},"nativeSrc":"204:70:30","nodeType":"YulIf","src":"204:70:30"},{"nativeSrc":"283:15:30","nodeType":"YulAssignment","src":"283:15:30","value":{"name":"value","nativeSrc":"293:5:30","nodeType":"YulIdentifier","src":"293:5:30"},"variableNames":[{"name":"value0","nativeSrc":"283:6:30","nodeType":"YulIdentifier","src":"283:6:30"}]}]},"name":"abi_decode_tuple_t_address_fromMemory","nativeSrc":"14:290:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"61:9:30","nodeType":"YulTypedName","src":"61:9:30","type":""},{"name":"dataEnd","nativeSrc":"72:7:30","nodeType":"YulTypedName","src":"72:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"84:6:30","nodeType":"YulTypedName","src":"84:6:30","type":""}],"src":"14:290:30"}]},"contents":"{\n    { }\n    function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := mload(headStart)\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n        value0 := value\n    }\n}","id":30,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"6080604052348015600f57600080fd5b50604051610d27380380610d27833981016040819052602c916057565b6001600160a01b038116605257604051636b35b1b760e01b815260040160405180910390fd5b506085565b600060208284031215606857600080fd5b81516001600160a01b0381168114607e57600080fd5b9392505050565b610c93806100946000396000f3fe6080604052600436106100705760003560e01c8063db3e21981161004e578063db3e2198146100cf578063f28c0498146100bc578063f3fef3a3146100e2578063fa461e331461010257600080fd5b8063414bf389146100755780634562e0151461009a578063c04b8d59146100bc575b600080fd5b610088610083366004610920565b610122565b60405190815260200160405180910390f35b3480156100a657600080fd5b506100ba6100b5366004610959565b6102fb565b005b6100886100ca3660046109a8565b6103b6565b6100886100dd366004610920565b6103d1565b3480156100ee57600080fd5b506100ba6100fd3660046109e5565b610632565b34801561010e57600080fd5b506100ba61011d366004610a0f565b610692565b6000806101356080840160608501610a92565b6001600160a01b03160361015b5760405162e18e7f60e71b815260040160405180910390fd5b4282608001351015610183576040516001623859e760e21b0319815260040160405180910390fd5b60008260a00135116101a85760405163d11b25af60e01b815260040160405180910390fd5b6000610240670de0b6b3a764000082806101c56020880188610a92565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008660200160208101906101fa9190610a92565b6001600160a01b03168152602080820192909252604001600020549061022b9061022690880188610a92565b6106ab565b6102399060a0880135610ac3565b919061072b565b90506102556102266040850160208601610a92565b61025f9082610af0565b91508160c0840135808210156102965760405163296ba6e160e01b8152600481019290925260248201526044015b60405180910390fd5b506102c19050333060a08601356102b06020880188610a92565b6001600160a01b03169291906107e7565b6102f56102d46080850160608601610a92565b836102e56040870160208801610a92565b6001600160a01b03169190610854565b50919050565b6001600160a01b0383166103225760405163165a825360e21b815260040160405180910390fd5b6001600160a01b0382166103495760405163165a825360e21b815260040160405180910390fd5b6001600160a01b038381166000818152602081815260408083209487168084529482529182902085905581519283528201929092529081018290527fb71c154260e8508e211e2ace194becba2c6d7e727c3ed292fe4787458969cd109060600160405180910390a1505050565b600060405163d623472560e01b815260040160405180910390fd5b6000806103e46080840160608501610a92565b6001600160a01b03160361040a5760405162e18e7f60e71b815260040160405180910390fd5b4282608001351015610432576040516001623859e760e21b0319815260040160405180910390fd5b60008260a00135116104575760405163d11b25af60e01b815260040160405180910390fd5b60006104696040840160208501610a92565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156104af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d39190610b12565b90508060a08401358082101561050557604051634787a10360e11b81526004810192909252602482015260440161028d565b506000905061059f818061051c6020880188610a92565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008660200160208101906105519190610a92565b6001600160a01b03166001600160a01b0316815260200190815260200160002054670de0b6b3a76400006105918760200160208101906102269190610a92565b6102399060a0890135610ac3565b90506105b16102266020860186610a92565b6105bb9082610af0565b92508260c0850135808211156105ed57604051639a06025d60e01b81526004810192909252602482015260440161028d565b5061060390503330856102b06020890189610a92565b61062b6106166080860160608701610a92565b60a08601356102e56040880160208901610a92565b5050919050565b6001600160a01b0382166106595760405163165a825360e21b815260040160405180910390fd5b6000811161067a5760405163165a825360e21b815260040160405180910390fd5b61068e6001600160a01b0383163383610854565b5050565b60405163d623472560e01b815260040160405180910390fd5b6000816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070f9190610b2b565b61071a906012610b4e565b61072590600a610c4e565b92915050565b60008383028160001985870982811083820303915050806000036107625783828161075857610758610ada565b04925050506107e0565b80841161077957610779600385150260111861088a565b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150505b9392505050565b6040516001600160a01b03848116602483015283811660448301526064820183905261084e9186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b03838183161783525050505061089c565b50505050565b6040516001600160a01b0383811660248301526044820183905261088591859182169063a9059cbb9060640161081c565b505050565b634e487b71600052806020526024601cfd5b600080602060008451602086016000885af1806108bf576040513d6000823e3d81fd5b50506000513d915081156108d75780600114156108e4565b6001600160a01b0384163b155b1561084e57604051635274afe760e01b81526001600160a01b038516600482015260240161028d565b600061010082840312156102f557600080fd5b6000610100828403121561093357600080fd5b6107e0838361090d565b80356001600160a01b038116811461095457600080fd5b919050565b60008060006060848603121561096e57600080fd5b6109778461093d565b92506109856020850161093d565b929592945050506040919091013590565b600060a082840312156102f557600080fd5b6000602082840312156109ba57600080fd5b813567ffffffffffffffff8111156109d157600080fd5b6109dd84828501610996565b949350505050565b600080604083850312156109f857600080fd5b610a018361093d565b946020939093013593505050565b60008060008060608587031215610a2557600080fd5b8435935060208501359250604085013567ffffffffffffffff811115610a4a57600080fd5b8501601f81018713610a5b57600080fd5b803567ffffffffffffffff811115610a7257600080fd5b876020828401011115610a8457600080fd5b949793965060200194505050565b600060208284031215610aa457600080fd5b6107e08261093d565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761072557610725610aad565b634e487b7160e01b600052601260045260246000fd5b600082610b0d57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215610b2457600080fd5b5051919050565b600060208284031215610b3d57600080fd5b815160ff811681146107e057600080fd5b60ff828116828216039081111561072557610725610aad565b6001815b6001841115610ba257808504811115610b8657610b86610aad565b6001841615610b9457908102905b60019390931c928002610b6b565b935093915050565b600082610bb957506001610725565b81610bc657506000610725565b8160018114610bdc5760028114610be657610c02565b6001915050610725565b60ff841115610bf757610bf7610aad565b50506001821b610725565b5060208310610133831016604e8410600b8410161715610c25575081810a610725565b610c326000198484610b67565b8060001904821115610c4657610c46610aad565b029392505050565b60006107e060ff841683610baa56fea2646970667358221220eb0002a07157af7491d8c3416c1aca693e3f0eb7c6a3ed01d05f76efd223077a64736f6c634300081c0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0xD27 CODESIZE SUB DUP1 PUSH2 0xD27 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH1 0x2C SWAP2 PUSH1 0x57 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x52 JUMPI PUSH1 0x40 MLOAD PUSH4 0x6B35B1B7 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP PUSH1 0x85 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH1 0x68 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH1 0x7E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0xC93 DUP1 PUSH2 0x94 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x70 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xDB3E2198 GT PUSH2 0x4E JUMPI DUP1 PUSH4 0xDB3E2198 EQ PUSH2 0xCF JUMPI DUP1 PUSH4 0xF28C0498 EQ PUSH2 0xBC JUMPI DUP1 PUSH4 0xF3FEF3A3 EQ PUSH2 0xE2 JUMPI DUP1 PUSH4 0xFA461E33 EQ PUSH2 0x102 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x414BF389 EQ PUSH2 0x75 JUMPI DUP1 PUSH4 0x4562E015 EQ PUSH2 0x9A JUMPI DUP1 PUSH4 0xC04B8D59 EQ PUSH2 0xBC JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x88 PUSH2 0x83 CALLDATASIZE PUSH1 0x4 PUSH2 0x920 JUMP JUMPDEST PUSH2 0x122 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xA6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xBA PUSH2 0xB5 CALLDATASIZE PUSH1 0x4 PUSH2 0x959 JUMP JUMPDEST PUSH2 0x2FB JUMP JUMPDEST STOP JUMPDEST PUSH2 0x88 PUSH2 0xCA CALLDATASIZE PUSH1 0x4 PUSH2 0x9A8 JUMP JUMPDEST PUSH2 0x3B6 JUMP JUMPDEST PUSH2 0x88 PUSH2 0xDD CALLDATASIZE PUSH1 0x4 PUSH2 0x920 JUMP JUMPDEST PUSH2 0x3D1 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xEE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xBA PUSH2 0xFD CALLDATASIZE PUSH1 0x4 PUSH2 0x9E5 JUMP JUMPDEST PUSH2 0x632 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x10E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xBA PUSH2 0x11D CALLDATASIZE PUSH1 0x4 PUSH2 0xA0F JUMP JUMPDEST PUSH2 0x692 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x135 PUSH1 0x80 DUP5 ADD PUSH1 0x60 DUP6 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x15B JUMPI PUSH1 0x40 MLOAD PUSH3 0xE18E7F PUSH1 0xE7 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP3 PUSH1 0x80 ADD CALLDATALOAD LT ISZERO PUSH2 0x183 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH3 0x3859E7 PUSH1 0xE2 SHL SUB NOT DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0xA0 ADD CALLDATALOAD GT PUSH2 0x1A8 JUMPI PUSH1 0x40 MLOAD PUSH4 0xD11B25AF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x240 PUSH8 0xDE0B6B3A7640000 DUP3 DUP1 PUSH2 0x1C5 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP7 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x1FA SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x40 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 PUSH2 0x22B SWAP1 PUSH2 0x226 SWAP1 DUP9 ADD DUP9 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x6AB JUMP JUMPDEST PUSH2 0x239 SWAP1 PUSH1 0xA0 DUP9 ADD CALLDATALOAD PUSH2 0xAC3 JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0x72B JUMP JUMPDEST SWAP1 POP PUSH2 0x255 PUSH2 0x226 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP7 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x25F SWAP1 DUP3 PUSH2 0xAF0 JUMP JUMPDEST SWAP2 POP DUP2 PUSH1 0xC0 DUP5 ADD CALLDATALOAD DUP1 DUP3 LT ISZERO PUSH2 0x296 JUMPI PUSH1 0x40 MLOAD PUSH4 0x296BA6E1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP PUSH2 0x2C1 SWAP1 POP CALLER ADDRESS PUSH1 0xA0 DUP7 ADD CALLDATALOAD PUSH2 0x2B0 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 SWAP2 SWAP1 PUSH2 0x7E7 JUMP JUMPDEST PUSH2 0x2F5 PUSH2 0x2D4 PUSH1 0x80 DUP6 ADD PUSH1 0x60 DUP7 ADD PUSH2 0xA92 JUMP JUMPDEST DUP4 PUSH2 0x2E5 PUSH1 0x40 DUP8 ADD PUSH1 0x20 DUP9 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 SWAP1 PUSH2 0x854 JUMP JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x322 JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x349 JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP6 SWAP1 SSTORE DUP2 MLOAD SWAP3 DUP4 MSTORE DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP1 DUP2 ADD DUP3 SWAP1 MSTORE PUSH32 0xB71C154260E8508E211E2ACE194BECBA2C6D7E727C3ED292FE4787458969CD10 SWAP1 PUSH1 0x60 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH4 0xD6234725 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x3E4 PUSH1 0x80 DUP5 ADD PUSH1 0x60 DUP6 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x40A JUMPI PUSH1 0x40 MLOAD PUSH3 0xE18E7F PUSH1 0xE7 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP3 PUSH1 0x80 ADD CALLDATALOAD LT ISZERO PUSH2 0x432 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH3 0x3859E7 PUSH1 0xE2 SHL SUB NOT DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0xA0 ADD CALLDATALOAD GT PUSH2 0x457 JUMPI PUSH1 0x40 MLOAD PUSH4 0xD11B25AF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x469 PUSH1 0x40 DUP5 ADD PUSH1 0x20 DUP6 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND SWAP1 PUSH4 0x70A08231 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4AF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4D3 SWAP2 SWAP1 PUSH2 0xB12 JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0xA0 DUP5 ADD CALLDATALOAD DUP1 DUP3 LT ISZERO PUSH2 0x505 JUMPI PUSH1 0x40 MLOAD PUSH4 0x4787A103 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x28D JUMP JUMPDEST POP PUSH1 0x0 SWAP1 POP PUSH2 0x59F DUP2 DUP1 PUSH2 0x51C PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP7 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x551 SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD PUSH8 0xDE0B6B3A7640000 PUSH2 0x591 DUP8 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x226 SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x239 SWAP1 PUSH1 0xA0 DUP10 ADD CALLDATALOAD PUSH2 0xAC3 JUMP JUMPDEST SWAP1 POP PUSH2 0x5B1 PUSH2 0x226 PUSH1 0x20 DUP7 ADD DUP7 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x5BB SWAP1 DUP3 PUSH2 0xAF0 JUMP JUMPDEST SWAP3 POP DUP3 PUSH1 0xC0 DUP6 ADD CALLDATALOAD DUP1 DUP3 GT ISZERO PUSH2 0x5ED JUMPI PUSH1 0x40 MLOAD PUSH4 0x9A06025D PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x28D JUMP JUMPDEST POP PUSH2 0x603 SWAP1 POP CALLER ADDRESS DUP6 PUSH2 0x2B0 PUSH1 0x20 DUP10 ADD DUP10 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x62B PUSH2 0x616 PUSH1 0x80 DUP7 ADD PUSH1 0x60 DUP8 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH1 0xA0 DUP7 ADD CALLDATALOAD PUSH2 0x2E5 PUSH1 0x40 DUP9 ADD PUSH1 0x20 DUP10 ADD PUSH2 0xA92 JUMP JUMPDEST POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x659 JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP2 GT PUSH2 0x67A JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x68E PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND CALLER DUP4 PUSH2 0x854 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xD6234725 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x313CE567 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x6EB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x70F SWAP2 SWAP1 PUSH2 0xB2B JUMP JUMPDEST PUSH2 0x71A SWAP1 PUSH1 0x12 PUSH2 0xB4E JUMP JUMPDEST PUSH2 0x725 SWAP1 PUSH1 0xA PUSH2 0xC4E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 DUP4 MUL DUP2 PUSH1 0x0 NOT DUP6 DUP8 MULMOD DUP3 DUP2 LT DUP4 DUP3 SUB SUB SWAP2 POP POP DUP1 PUSH1 0x0 SUB PUSH2 0x762 JUMPI DUP4 DUP3 DUP2 PUSH2 0x758 JUMPI PUSH2 0x758 PUSH2 0xADA JUMP JUMPDEST DIV SWAP3 POP POP POP PUSH2 0x7E0 JUMP JUMPDEST DUP1 DUP5 GT PUSH2 0x779 JUMPI PUSH2 0x779 PUSH1 0x3 DUP6 ISZERO MUL PUSH1 0x11 XOR PUSH2 0x88A JUMP JUMPDEST PUSH1 0x0 DUP5 DUP7 DUP9 MULMOD PUSH1 0x0 DUP7 DUP2 SUB DUP8 AND SWAP7 DUP8 SWAP1 DIV SWAP7 PUSH1 0x2 PUSH1 0x3 DUP10 MUL DUP2 XOR DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL SWAP1 SWAP2 SUB MUL SWAP2 DUP2 SWAP1 SUB DUP2 SWAP1 DIV PUSH1 0x1 ADD DUP7 DUP5 GT SWAP1 SWAP6 SUB SWAP5 SWAP1 SWAP5 MUL SWAP2 SWAP1 SWAP5 SUB SWAP3 SWAP1 SWAP3 DIV SWAP2 SWAP1 SWAP2 OR SWAP2 SWAP1 SWAP2 MUL SWAP2 POP POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE DUP4 DUP2 AND PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0x64 DUP3 ADD DUP4 SWAP1 MSTORE PUSH2 0x84E SWAP2 DUP7 SWAP2 DUP3 AND SWAP1 PUSH4 0x23B872DD SWAP1 PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP2 POP PUSH1 0xE0 SHL PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB DUP4 DUP2 DUP4 AND OR DUP4 MSTORE POP POP POP POP PUSH2 0x89C JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x44 DUP3 ADD DUP4 SWAP1 MSTORE PUSH2 0x885 SWAP2 DUP6 SWAP2 DUP3 AND SWAP1 PUSH4 0xA9059CBB SWAP1 PUSH1 0x64 ADD PUSH2 0x81C JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0x0 MSTORE DUP1 PUSH1 0x20 MSTORE PUSH1 0x24 PUSH1 0x1C REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x20 PUSH1 0x0 DUP5 MLOAD PUSH1 0x20 DUP7 ADD PUSH1 0x0 DUP9 GAS CALL DUP1 PUSH2 0x8BF JUMPI PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE DUP2 REVERT JUMPDEST POP POP PUSH1 0x0 MLOAD RETURNDATASIZE SWAP2 POP DUP2 ISZERO PUSH2 0x8D7 JUMPI DUP1 PUSH1 0x1 EQ ISZERO PUSH2 0x8E4 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EXTCODESIZE ISZERO JUMPDEST ISZERO PUSH2 0x84E JUMPI PUSH1 0x40 MLOAD PUSH4 0x5274AFE7 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x28D JUMP JUMPDEST PUSH1 0x0 PUSH2 0x100 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x100 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x933 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7E0 DUP4 DUP4 PUSH2 0x90D JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x954 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x96E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x977 DUP5 PUSH2 0x93D JUMP JUMPDEST SWAP3 POP PUSH2 0x985 PUSH1 0x20 DUP6 ADD PUSH2 0x93D JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA0 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x9BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x9D1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x9DD DUP5 DUP3 DUP6 ADD PUSH2 0x996 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x9F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA01 DUP4 PUSH2 0x93D JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x60 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xA25 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xA4A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 ADD PUSH1 0x1F DUP2 ADD DUP8 SGT PUSH2 0xA5B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xA72 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 PUSH1 0x20 DUP3 DUP5 ADD ADD GT ISZERO PUSH2 0xA84 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP PUSH1 0x20 ADD SWAP5 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xAA4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7E0 DUP3 PUSH2 0x93D JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x725 JUMPI PUSH2 0x725 PUSH2 0xAAD JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH2 0xB0D JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB24 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB3D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x7E0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0xFF DUP3 DUP2 AND DUP3 DUP3 AND SUB SWAP1 DUP2 GT ISZERO PUSH2 0x725 JUMPI PUSH2 0x725 PUSH2 0xAAD JUMP JUMPDEST PUSH1 0x1 DUP2 JUMPDEST PUSH1 0x1 DUP5 GT ISZERO PUSH2 0xBA2 JUMPI DUP1 DUP6 DIV DUP2 GT ISZERO PUSH2 0xB86 JUMPI PUSH2 0xB86 PUSH2 0xAAD JUMP JUMPDEST PUSH1 0x1 DUP5 AND ISZERO PUSH2 0xB94 JUMPI SWAP1 DUP2 MUL SWAP1 JUMPDEST PUSH1 0x1 SWAP4 SWAP1 SWAP4 SHR SWAP3 DUP1 MUL PUSH2 0xB6B JUMP JUMPDEST SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0xBB9 JUMPI POP PUSH1 0x1 PUSH2 0x725 JUMP JUMPDEST DUP2 PUSH2 0xBC6 JUMPI POP PUSH1 0x0 PUSH2 0x725 JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH2 0xBDC JUMPI PUSH1 0x2 DUP2 EQ PUSH2 0xBE6 JUMPI PUSH2 0xC02 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH2 0x725 JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH2 0xBF7 JUMPI PUSH2 0xBF7 PUSH2 0xAAD JUMP JUMPDEST POP POP PUSH1 0x1 DUP3 SHL PUSH2 0x725 JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH2 0xC25 JUMPI POP DUP2 DUP2 EXP PUSH2 0x725 JUMP JUMPDEST PUSH2 0xC32 PUSH1 0x0 NOT DUP5 DUP5 PUSH2 0xB67 JUMP JUMPDEST DUP1 PUSH1 0x0 NOT DIV DUP3 GT ISZERO PUSH2 0xC46 JUMPI PUSH2 0xC46 PUSH2 0xAAD JUMP JUMPDEST MUL SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x7E0 PUSH1 0xFF DUP5 AND DUP4 PUSH2 0xBAA JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xEB STOP MUL LOG0 PUSH18 0x57AF7491D8C3416C1ACA693E3F0EB7C6A3ED ADD 0xD0 PUSH0 PUSH23 0xEFD223077A64736F6C634300081C003300000000000000 ","sourceMap":"661:3653:26:-:0;;;1079:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1120:19:26;;1112:49;;;;-1:-1:-1;;;1112:49:26;;;;;;;;;;;;1079:87;661:3653;;14:290:30;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:30;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:30:o;:::-;661:3653:26;;;;;;"},"deployedBytecode":{"functionDebugData":{"@_callOptionalReturn_1593":{"entryPoint":2204,"id":1593,"parameterSlots":2,"returnSlots":0},"@_toWadFactor_7839":{"entryPoint":1707,"id":7839,"parameterSlots":1,"returnSlots":1},"@exactInputSingle_7947":{"entryPoint":290,"id":7947,"parameterSlots":1,"returnSlots":1},"@exactInput_8188":{"entryPoint":950,"id":8188,"parameterSlots":1,"returnSlots":1},"@exactOutputSingle_8080":{"entryPoint":977,"id":8080,"parameterSlots":1,"returnSlots":1},"@exactOutput_8175":{"entryPoint":null,"id":8175,"parameterSlots":1,"returnSlots":1},"@mulDiv_2470":{"entryPoint":1835,"id":2470,"parameterSlots":3,"returnSlots":1},"@panic_1997":{"entryPoint":2186,"id":1997,"parameterSlots":1,"returnSlots":0},"@safeTransferFrom_1298":{"entryPoint":2023,"id":1298,"parameterSlots":4,"returnSlots":0},"@safeTransfer_1271":{"entryPoint":2132,"id":1271,"parameterSlots":3,"returnSlots":0},"@setCurrentPrice_8162":{"entryPoint":763,"id":8162,"parameterSlots":3,"returnSlots":0},"@ternary_2231":{"entryPoint":null,"id":2231,"parameterSlots":3,"returnSlots":1},"@toUint_5404":{"entryPoint":null,"id":5404,"parameterSlots":1,"returnSlots":1},"@uniswapV3SwapCallback_8202":{"entryPoint":1682,"id":8202,"parameterSlots":4,"returnSlots":0},"@withdraw_8116":{"entryPoint":1586,"id":8116,"parameterSlots":2,"returnSlots":0},"abi_decode_address":{"entryPoint":2365,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_struct_ExactInputParams_calldata":{"entryPoint":2454,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_struct_ExactInputSingleParams_calldata":{"entryPoint":2317,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_address":{"entryPoint":2706,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_addresst_uint256":{"entryPoint":2393,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_addresst_uint256":{"entryPoint":2533,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_int256t_int256t_bytes_calldata_ptr":{"entryPoint":2575,"id":null,"parameterSlots":2,"returnSlots":4},"abi_decode_tuple_t_struct$_ExactInputParams_$5463_calldata_ptr":{"entryPoint":2472,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_struct$_ExactInputSingleParams_$5443_calldata_ptr":{"entryPoint":2336,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_struct$_ExactOutputParams_$5509_calldata_ptr":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_struct$_ExactOutputSingleParams_$5489_calldata_ptr":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256_fromMemory":{"entryPoint":2834,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint8_fromMemory":{"entryPoint":2859,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_address__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"checked_div_t_uint256":{"entryPoint":2800,"id":null,"parameterSlots":2,"returnSlots":1},"checked_exp_helper":{"entryPoint":2919,"id":null,"parameterSlots":3,"returnSlots":2},"checked_exp_t_uint256_t_uint8":{"entryPoint":3150,"id":null,"parameterSlots":2,"returnSlots":1},"checked_exp_unsigned":{"entryPoint":2986,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_t_uint256":{"entryPoint":2755,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_t_uint8":{"entryPoint":2894,"id":null,"parameterSlots":2,"returnSlots":1},"panic_error_0x11":{"entryPoint":2733,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x12":{"entryPoint":2778,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nativeSrc":"0:7553:30","nodeType":"YulBlock","src":"0:7553:30","statements":[{"nativeSrc":"6:3:30","nodeType":"YulBlock","src":"6:3:30","statements":[]},{"body":{"nativeSrc":"99:86:30","nodeType":"YulBlock","src":"99:86:30","statements":[{"body":{"nativeSrc":"139:16:30","nodeType":"YulBlock","src":"139:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"148:1:30","nodeType":"YulLiteral","src":"148:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"151:1:30","nodeType":"YulLiteral","src":"151:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"141:6:30","nodeType":"YulIdentifier","src":"141:6:30"},"nativeSrc":"141:12:30","nodeType":"YulFunctionCall","src":"141:12:30"},"nativeSrc":"141:12:30","nodeType":"YulExpressionStatement","src":"141:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"end","nativeSrc":"120:3:30","nodeType":"YulIdentifier","src":"120:3:30"},{"name":"offset","nativeSrc":"125:6:30","nodeType":"YulIdentifier","src":"125:6:30"}],"functionName":{"name":"sub","nativeSrc":"116:3:30","nodeType":"YulIdentifier","src":"116:3:30"},"nativeSrc":"116:16:30","nodeType":"YulFunctionCall","src":"116:16:30"},{"kind":"number","nativeSrc":"134:3:30","nodeType":"YulLiteral","src":"134:3:30","type":"","value":"256"}],"functionName":{"name":"slt","nativeSrc":"112:3:30","nodeType":"YulIdentifier","src":"112:3:30"},"nativeSrc":"112:26:30","nodeType":"YulFunctionCall","src":"112:26:30"},"nativeSrc":"109:46:30","nodeType":"YulIf","src":"109:46:30"},{"nativeSrc":"164:15:30","nodeType":"YulAssignment","src":"164:15:30","value":{"name":"offset","nativeSrc":"173:6:30","nodeType":"YulIdentifier","src":"173:6:30"},"variableNames":[{"name":"value","nativeSrc":"164:5:30","nodeType":"YulIdentifier","src":"164:5:30"}]}]},"name":"abi_decode_struct_ExactInputSingleParams_calldata","nativeSrc":"14:171:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"73:6:30","nodeType":"YulTypedName","src":"73:6:30","type":""},{"name":"end","nativeSrc":"81:3:30","nodeType":"YulTypedName","src":"81:3:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"89:5:30","nodeType":"YulTypedName","src":"89:5:30","type":""}],"src":"14:171:30"},{"body":{"nativeSrc":"302:157:30","nodeType":"YulBlock","src":"302:157:30","statements":[{"body":{"nativeSrc":"349:16:30","nodeType":"YulBlock","src":"349:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"358:1:30","nodeType":"YulLiteral","src":"358:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"361:1:30","nodeType":"YulLiteral","src":"361:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"351:6:30","nodeType":"YulIdentifier","src":"351:6:30"},"nativeSrc":"351:12:30","nodeType":"YulFunctionCall","src":"351:12:30"},"nativeSrc":"351:12:30","nodeType":"YulExpressionStatement","src":"351:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"323:7:30","nodeType":"YulIdentifier","src":"323:7:30"},{"name":"headStart","nativeSrc":"332:9:30","nodeType":"YulIdentifier","src":"332:9:30"}],"functionName":{"name":"sub","nativeSrc":"319:3:30","nodeType":"YulIdentifier","src":"319:3:30"},"nativeSrc":"319:23:30","nodeType":"YulFunctionCall","src":"319:23:30"},{"kind":"number","nativeSrc":"344:3:30","nodeType":"YulLiteral","src":"344:3:30","type":"","value":"256"}],"functionName":{"name":"slt","nativeSrc":"315:3:30","nodeType":"YulIdentifier","src":"315:3:30"},"nativeSrc":"315:33:30","nodeType":"YulFunctionCall","src":"315:33:30"},"nativeSrc":"312:53:30","nodeType":"YulIf","src":"312:53:30"},{"nativeSrc":"374:79:30","nodeType":"YulAssignment","src":"374:79:30","value":{"arguments":[{"name":"headStart","nativeSrc":"434:9:30","nodeType":"YulIdentifier","src":"434:9:30"},{"name":"dataEnd","nativeSrc":"445:7:30","nodeType":"YulIdentifier","src":"445:7:30"}],"functionName":{"name":"abi_decode_struct_ExactInputSingleParams_calldata","nativeSrc":"384:49:30","nodeType":"YulIdentifier","src":"384:49:30"},"nativeSrc":"384:69:30","nodeType":"YulFunctionCall","src":"384:69:30"},"variableNames":[{"name":"value0","nativeSrc":"374:6:30","nodeType":"YulIdentifier","src":"374:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_ExactInputSingleParams_$5443_calldata_ptr","nativeSrc":"190:269:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"268:9:30","nodeType":"YulTypedName","src":"268:9:30","type":""},{"name":"dataEnd","nativeSrc":"279:7:30","nodeType":"YulTypedName","src":"279:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"291:6:30","nodeType":"YulTypedName","src":"291:6:30","type":""}],"src":"190:269:30"},{"body":{"nativeSrc":"565:76:30","nodeType":"YulBlock","src":"565:76:30","statements":[{"nativeSrc":"575:26:30","nodeType":"YulAssignment","src":"575:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"587:9:30","nodeType":"YulIdentifier","src":"587:9:30"},{"kind":"number","nativeSrc":"598:2:30","nodeType":"YulLiteral","src":"598:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"583:3:30","nodeType":"YulIdentifier","src":"583:3:30"},"nativeSrc":"583:18:30","nodeType":"YulFunctionCall","src":"583:18:30"},"variableNames":[{"name":"tail","nativeSrc":"575:4:30","nodeType":"YulIdentifier","src":"575:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"617:9:30","nodeType":"YulIdentifier","src":"617:9:30"},{"name":"value0","nativeSrc":"628:6:30","nodeType":"YulIdentifier","src":"628:6:30"}],"functionName":{"name":"mstore","nativeSrc":"610:6:30","nodeType":"YulIdentifier","src":"610:6:30"},"nativeSrc":"610:25:30","nodeType":"YulFunctionCall","src":"610:25:30"},"nativeSrc":"610:25:30","nodeType":"YulExpressionStatement","src":"610:25:30"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nativeSrc":"464:177:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"534:9:30","nodeType":"YulTypedName","src":"534:9:30","type":""},{"name":"value0","nativeSrc":"545:6:30","nodeType":"YulTypedName","src":"545:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"556:4:30","nodeType":"YulTypedName","src":"556:4:30","type":""}],"src":"464:177:30"},{"body":{"nativeSrc":"695:124:30","nodeType":"YulBlock","src":"695:124:30","statements":[{"nativeSrc":"705:29:30","nodeType":"YulAssignment","src":"705:29:30","value":{"arguments":[{"name":"offset","nativeSrc":"727:6:30","nodeType":"YulIdentifier","src":"727:6:30"}],"functionName":{"name":"calldataload","nativeSrc":"714:12:30","nodeType":"YulIdentifier","src":"714:12:30"},"nativeSrc":"714:20:30","nodeType":"YulFunctionCall","src":"714:20:30"},"variableNames":[{"name":"value","nativeSrc":"705:5:30","nodeType":"YulIdentifier","src":"705:5:30"}]},{"body":{"nativeSrc":"797:16:30","nodeType":"YulBlock","src":"797:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"806:1:30","nodeType":"YulLiteral","src":"806:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"809:1:30","nodeType":"YulLiteral","src":"809:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"799:6:30","nodeType":"YulIdentifier","src":"799:6:30"},"nativeSrc":"799:12:30","nodeType":"YulFunctionCall","src":"799:12:30"},"nativeSrc":"799:12:30","nodeType":"YulExpressionStatement","src":"799:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"756:5:30","nodeType":"YulIdentifier","src":"756:5:30"},{"arguments":[{"name":"value","nativeSrc":"767:5:30","nodeType":"YulIdentifier","src":"767:5:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"782:3:30","nodeType":"YulLiteral","src":"782:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"787:1:30","nodeType":"YulLiteral","src":"787:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"778:3:30","nodeType":"YulIdentifier","src":"778:3:30"},"nativeSrc":"778:11:30","nodeType":"YulFunctionCall","src":"778:11:30"},{"kind":"number","nativeSrc":"791:1:30","nodeType":"YulLiteral","src":"791:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"774:3:30","nodeType":"YulIdentifier","src":"774:3:30"},"nativeSrc":"774:19:30","nodeType":"YulFunctionCall","src":"774:19:30"}],"functionName":{"name":"and","nativeSrc":"763:3:30","nodeType":"YulIdentifier","src":"763:3:30"},"nativeSrc":"763:31:30","nodeType":"YulFunctionCall","src":"763:31:30"}],"functionName":{"name":"eq","nativeSrc":"753:2:30","nodeType":"YulIdentifier","src":"753:2:30"},"nativeSrc":"753:42:30","nodeType":"YulFunctionCall","src":"753:42:30"}],"functionName":{"name":"iszero","nativeSrc":"746:6:30","nodeType":"YulIdentifier","src":"746:6:30"},"nativeSrc":"746:50:30","nodeType":"YulFunctionCall","src":"746:50:30"},"nativeSrc":"743:70:30","nodeType":"YulIf","src":"743:70:30"}]},"name":"abi_decode_address","nativeSrc":"646:173:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"674:6:30","nodeType":"YulTypedName","src":"674:6:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"685:5:30","nodeType":"YulTypedName","src":"685:5:30","type":""}],"src":"646:173:30"},{"body":{"nativeSrc":"928:270:30","nodeType":"YulBlock","src":"928:270:30","statements":[{"body":{"nativeSrc":"974:16:30","nodeType":"YulBlock","src":"974:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"983:1:30","nodeType":"YulLiteral","src":"983:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"986:1:30","nodeType":"YulLiteral","src":"986:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"976:6:30","nodeType":"YulIdentifier","src":"976:6:30"},"nativeSrc":"976:12:30","nodeType":"YulFunctionCall","src":"976:12:30"},"nativeSrc":"976:12:30","nodeType":"YulExpressionStatement","src":"976:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"949:7:30","nodeType":"YulIdentifier","src":"949:7:30"},{"name":"headStart","nativeSrc":"958:9:30","nodeType":"YulIdentifier","src":"958:9:30"}],"functionName":{"name":"sub","nativeSrc":"945:3:30","nodeType":"YulIdentifier","src":"945:3:30"},"nativeSrc":"945:23:30","nodeType":"YulFunctionCall","src":"945:23:30"},{"kind":"number","nativeSrc":"970:2:30","nodeType":"YulLiteral","src":"970:2:30","type":"","value":"96"}],"functionName":{"name":"slt","nativeSrc":"941:3:30","nodeType":"YulIdentifier","src":"941:3:30"},"nativeSrc":"941:32:30","nodeType":"YulFunctionCall","src":"941:32:30"},"nativeSrc":"938:52:30","nodeType":"YulIf","src":"938:52:30"},{"nativeSrc":"999:39:30","nodeType":"YulAssignment","src":"999:39:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1028:9:30","nodeType":"YulIdentifier","src":"1028:9:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"1009:18:30","nodeType":"YulIdentifier","src":"1009:18:30"},"nativeSrc":"1009:29:30","nodeType":"YulFunctionCall","src":"1009:29:30"},"variableNames":[{"name":"value0","nativeSrc":"999:6:30","nodeType":"YulIdentifier","src":"999:6:30"}]},{"nativeSrc":"1047:48:30","nodeType":"YulAssignment","src":"1047:48:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1080:9:30","nodeType":"YulIdentifier","src":"1080:9:30"},{"kind":"number","nativeSrc":"1091:2:30","nodeType":"YulLiteral","src":"1091:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"1076:3:30","nodeType":"YulIdentifier","src":"1076:3:30"},"nativeSrc":"1076:18:30","nodeType":"YulFunctionCall","src":"1076:18:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"1057:18:30","nodeType":"YulIdentifier","src":"1057:18:30"},"nativeSrc":"1057:38:30","nodeType":"YulFunctionCall","src":"1057:38:30"},"variableNames":[{"name":"value1","nativeSrc":"1047:6:30","nodeType":"YulIdentifier","src":"1047:6:30"}]},{"nativeSrc":"1104:14:30","nodeType":"YulVariableDeclaration","src":"1104:14:30","value":{"kind":"number","nativeSrc":"1117:1:30","nodeType":"YulLiteral","src":"1117:1:30","type":"","value":"0"},"variables":[{"name":"value","nativeSrc":"1108:5:30","nodeType":"YulTypedName","src":"1108:5:30","type":""}]},{"nativeSrc":"1127:41:30","nodeType":"YulAssignment","src":"1127:41:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1153:9:30","nodeType":"YulIdentifier","src":"1153:9:30"},{"kind":"number","nativeSrc":"1164:2:30","nodeType":"YulLiteral","src":"1164:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"1149:3:30","nodeType":"YulIdentifier","src":"1149:3:30"},"nativeSrc":"1149:18:30","nodeType":"YulFunctionCall","src":"1149:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"1136:12:30","nodeType":"YulIdentifier","src":"1136:12:30"},"nativeSrc":"1136:32:30","nodeType":"YulFunctionCall","src":"1136:32:30"},"variableNames":[{"name":"value","nativeSrc":"1127:5:30","nodeType":"YulIdentifier","src":"1127:5:30"}]},{"nativeSrc":"1177:15:30","nodeType":"YulAssignment","src":"1177:15:30","value":{"name":"value","nativeSrc":"1187:5:30","nodeType":"YulIdentifier","src":"1187:5:30"},"variableNames":[{"name":"value2","nativeSrc":"1177:6:30","nodeType":"YulIdentifier","src":"1177:6:30"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256","nativeSrc":"824:374:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"878:9:30","nodeType":"YulTypedName","src":"878:9:30","type":""},{"name":"dataEnd","nativeSrc":"889:7:30","nodeType":"YulTypedName","src":"889:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"901:6:30","nodeType":"YulTypedName","src":"901:6:30","type":""},{"name":"value1","nativeSrc":"909:6:30","nodeType":"YulTypedName","src":"909:6:30","type":""},{"name":"value2","nativeSrc":"917:6:30","nodeType":"YulTypedName","src":"917:6:30","type":""}],"src":"824:374:30"},{"body":{"nativeSrc":"1282:86:30","nodeType":"YulBlock","src":"1282:86:30","statements":[{"body":{"nativeSrc":"1322:16:30","nodeType":"YulBlock","src":"1322:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1331:1:30","nodeType":"YulLiteral","src":"1331:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1334:1:30","nodeType":"YulLiteral","src":"1334:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1324:6:30","nodeType":"YulIdentifier","src":"1324:6:30"},"nativeSrc":"1324:12:30","nodeType":"YulFunctionCall","src":"1324:12:30"},"nativeSrc":"1324:12:30","nodeType":"YulExpressionStatement","src":"1324:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"end","nativeSrc":"1303:3:30","nodeType":"YulIdentifier","src":"1303:3:30"},{"name":"offset","nativeSrc":"1308:6:30","nodeType":"YulIdentifier","src":"1308:6:30"}],"functionName":{"name":"sub","nativeSrc":"1299:3:30","nodeType":"YulIdentifier","src":"1299:3:30"},"nativeSrc":"1299:16:30","nodeType":"YulFunctionCall","src":"1299:16:30"},{"kind":"number","nativeSrc":"1317:3:30","nodeType":"YulLiteral","src":"1317:3:30","type":"","value":"160"}],"functionName":{"name":"slt","nativeSrc":"1295:3:30","nodeType":"YulIdentifier","src":"1295:3:30"},"nativeSrc":"1295:26:30","nodeType":"YulFunctionCall","src":"1295:26:30"},"nativeSrc":"1292:46:30","nodeType":"YulIf","src":"1292:46:30"},{"nativeSrc":"1347:15:30","nodeType":"YulAssignment","src":"1347:15:30","value":{"name":"offset","nativeSrc":"1356:6:30","nodeType":"YulIdentifier","src":"1356:6:30"},"variableNames":[{"name":"value","nativeSrc":"1347:5:30","nodeType":"YulIdentifier","src":"1347:5:30"}]}]},"name":"abi_decode_struct_ExactInputParams_calldata","nativeSrc":"1203:165:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"1256:6:30","nodeType":"YulTypedName","src":"1256:6:30","type":""},{"name":"end","nativeSrc":"1264:3:30","nodeType":"YulTypedName","src":"1264:3:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"1272:5:30","nodeType":"YulTypedName","src":"1272:5:30","type":""}],"src":"1203:165:30"},{"body":{"nativeSrc":"1479:268:30","nodeType":"YulBlock","src":"1479:268:30","statements":[{"body":{"nativeSrc":"1525:16:30","nodeType":"YulBlock","src":"1525:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1534:1:30","nodeType":"YulLiteral","src":"1534:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1537:1:30","nodeType":"YulLiteral","src":"1537:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1527:6:30","nodeType":"YulIdentifier","src":"1527:6:30"},"nativeSrc":"1527:12:30","nodeType":"YulFunctionCall","src":"1527:12:30"},"nativeSrc":"1527:12:30","nodeType":"YulExpressionStatement","src":"1527:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"1500:7:30","nodeType":"YulIdentifier","src":"1500:7:30"},{"name":"headStart","nativeSrc":"1509:9:30","nodeType":"YulIdentifier","src":"1509:9:30"}],"functionName":{"name":"sub","nativeSrc":"1496:3:30","nodeType":"YulIdentifier","src":"1496:3:30"},"nativeSrc":"1496:23:30","nodeType":"YulFunctionCall","src":"1496:23:30"},{"kind":"number","nativeSrc":"1521:2:30","nodeType":"YulLiteral","src":"1521:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"1492:3:30","nodeType":"YulIdentifier","src":"1492:3:30"},"nativeSrc":"1492:32:30","nodeType":"YulFunctionCall","src":"1492:32:30"},"nativeSrc":"1489:52:30","nodeType":"YulIf","src":"1489:52:30"},{"nativeSrc":"1550:37:30","nodeType":"YulVariableDeclaration","src":"1550:37:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1577:9:30","nodeType":"YulIdentifier","src":"1577:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"1564:12:30","nodeType":"YulIdentifier","src":"1564:12:30"},"nativeSrc":"1564:23:30","nodeType":"YulFunctionCall","src":"1564:23:30"},"variables":[{"name":"offset","nativeSrc":"1554:6:30","nodeType":"YulTypedName","src":"1554:6:30","type":""}]},{"body":{"nativeSrc":"1630:16:30","nodeType":"YulBlock","src":"1630:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1639:1:30","nodeType":"YulLiteral","src":"1639:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1642:1:30","nodeType":"YulLiteral","src":"1642:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1632:6:30","nodeType":"YulIdentifier","src":"1632:6:30"},"nativeSrc":"1632:12:30","nodeType":"YulFunctionCall","src":"1632:12:30"},"nativeSrc":"1632:12:30","nodeType":"YulExpressionStatement","src":"1632:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"1602:6:30","nodeType":"YulIdentifier","src":"1602:6:30"},{"kind":"number","nativeSrc":"1610:18:30","nodeType":"YulLiteral","src":"1610:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"1599:2:30","nodeType":"YulIdentifier","src":"1599:2:30"},"nativeSrc":"1599:30:30","nodeType":"YulFunctionCall","src":"1599:30:30"},"nativeSrc":"1596:50:30","nodeType":"YulIf","src":"1596:50:30"},{"nativeSrc":"1655:86:30","nodeType":"YulAssignment","src":"1655:86:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1713:9:30","nodeType":"YulIdentifier","src":"1713:9:30"},{"name":"offset","nativeSrc":"1724:6:30","nodeType":"YulIdentifier","src":"1724:6:30"}],"functionName":{"name":"add","nativeSrc":"1709:3:30","nodeType":"YulIdentifier","src":"1709:3:30"},"nativeSrc":"1709:22:30","nodeType":"YulFunctionCall","src":"1709:22:30"},{"name":"dataEnd","nativeSrc":"1733:7:30","nodeType":"YulIdentifier","src":"1733:7:30"}],"functionName":{"name":"abi_decode_struct_ExactInputParams_calldata","nativeSrc":"1665:43:30","nodeType":"YulIdentifier","src":"1665:43:30"},"nativeSrc":"1665:76:30","nodeType":"YulFunctionCall","src":"1665:76:30"},"variableNames":[{"name":"value0","nativeSrc":"1655:6:30","nodeType":"YulIdentifier","src":"1655:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_ExactInputParams_$5463_calldata_ptr","nativeSrc":"1373:374:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1445:9:30","nodeType":"YulTypedName","src":"1445:9:30","type":""},{"name":"dataEnd","nativeSrc":"1456:7:30","nodeType":"YulTypedName","src":"1456:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"1468:6:30","nodeType":"YulTypedName","src":"1468:6:30","type":""}],"src":"1373:374:30"},{"body":{"nativeSrc":"1865:157:30","nodeType":"YulBlock","src":"1865:157:30","statements":[{"body":{"nativeSrc":"1912:16:30","nodeType":"YulBlock","src":"1912:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1921:1:30","nodeType":"YulLiteral","src":"1921:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1924:1:30","nodeType":"YulLiteral","src":"1924:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1914:6:30","nodeType":"YulIdentifier","src":"1914:6:30"},"nativeSrc":"1914:12:30","nodeType":"YulFunctionCall","src":"1914:12:30"},"nativeSrc":"1914:12:30","nodeType":"YulExpressionStatement","src":"1914:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"1886:7:30","nodeType":"YulIdentifier","src":"1886:7:30"},{"name":"headStart","nativeSrc":"1895:9:30","nodeType":"YulIdentifier","src":"1895:9:30"}],"functionName":{"name":"sub","nativeSrc":"1882:3:30","nodeType":"YulIdentifier","src":"1882:3:30"},"nativeSrc":"1882:23:30","nodeType":"YulFunctionCall","src":"1882:23:30"},{"kind":"number","nativeSrc":"1907:3:30","nodeType":"YulLiteral","src":"1907:3:30","type":"","value":"256"}],"functionName":{"name":"slt","nativeSrc":"1878:3:30","nodeType":"YulIdentifier","src":"1878:3:30"},"nativeSrc":"1878:33:30","nodeType":"YulFunctionCall","src":"1878:33:30"},"nativeSrc":"1875:53:30","nodeType":"YulIf","src":"1875:53:30"},{"nativeSrc":"1937:79:30","nodeType":"YulAssignment","src":"1937:79:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1997:9:30","nodeType":"YulIdentifier","src":"1997:9:30"},{"name":"dataEnd","nativeSrc":"2008:7:30","nodeType":"YulIdentifier","src":"2008:7:30"}],"functionName":{"name":"abi_decode_struct_ExactInputSingleParams_calldata","nativeSrc":"1947:49:30","nodeType":"YulIdentifier","src":"1947:49:30"},"nativeSrc":"1947:69:30","nodeType":"YulFunctionCall","src":"1947:69:30"},"variableNames":[{"name":"value0","nativeSrc":"1937:6:30","nodeType":"YulIdentifier","src":"1937:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_ExactOutputSingleParams_$5489_calldata_ptr","nativeSrc":"1752:270:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1831:9:30","nodeType":"YulTypedName","src":"1831:9:30","type":""},{"name":"dataEnd","nativeSrc":"1842:7:30","nodeType":"YulTypedName","src":"1842:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"1854:6:30","nodeType":"YulTypedName","src":"1854:6:30","type":""}],"src":"1752:270:30"},{"body":{"nativeSrc":"2134:268:30","nodeType":"YulBlock","src":"2134:268:30","statements":[{"body":{"nativeSrc":"2180:16:30","nodeType":"YulBlock","src":"2180:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2189:1:30","nodeType":"YulLiteral","src":"2189:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2192:1:30","nodeType":"YulLiteral","src":"2192:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2182:6:30","nodeType":"YulIdentifier","src":"2182:6:30"},"nativeSrc":"2182:12:30","nodeType":"YulFunctionCall","src":"2182:12:30"},"nativeSrc":"2182:12:30","nodeType":"YulExpressionStatement","src":"2182:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"2155:7:30","nodeType":"YulIdentifier","src":"2155:7:30"},{"name":"headStart","nativeSrc":"2164:9:30","nodeType":"YulIdentifier","src":"2164:9:30"}],"functionName":{"name":"sub","nativeSrc":"2151:3:30","nodeType":"YulIdentifier","src":"2151:3:30"},"nativeSrc":"2151:23:30","nodeType":"YulFunctionCall","src":"2151:23:30"},{"kind":"number","nativeSrc":"2176:2:30","nodeType":"YulLiteral","src":"2176:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"2147:3:30","nodeType":"YulIdentifier","src":"2147:3:30"},"nativeSrc":"2147:32:30","nodeType":"YulFunctionCall","src":"2147:32:30"},"nativeSrc":"2144:52:30","nodeType":"YulIf","src":"2144:52:30"},{"nativeSrc":"2205:37:30","nodeType":"YulVariableDeclaration","src":"2205:37:30","value":{"arguments":[{"name":"headStart","nativeSrc":"2232:9:30","nodeType":"YulIdentifier","src":"2232:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"2219:12:30","nodeType":"YulIdentifier","src":"2219:12:30"},"nativeSrc":"2219:23:30","nodeType":"YulFunctionCall","src":"2219:23:30"},"variables":[{"name":"offset","nativeSrc":"2209:6:30","nodeType":"YulTypedName","src":"2209:6:30","type":""}]},{"body":{"nativeSrc":"2285:16:30","nodeType":"YulBlock","src":"2285:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2294:1:30","nodeType":"YulLiteral","src":"2294:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2297:1:30","nodeType":"YulLiteral","src":"2297:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2287:6:30","nodeType":"YulIdentifier","src":"2287:6:30"},"nativeSrc":"2287:12:30","nodeType":"YulFunctionCall","src":"2287:12:30"},"nativeSrc":"2287:12:30","nodeType":"YulExpressionStatement","src":"2287:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"2257:6:30","nodeType":"YulIdentifier","src":"2257:6:30"},{"kind":"number","nativeSrc":"2265:18:30","nodeType":"YulLiteral","src":"2265:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"2254:2:30","nodeType":"YulIdentifier","src":"2254:2:30"},"nativeSrc":"2254:30:30","nodeType":"YulFunctionCall","src":"2254:30:30"},"nativeSrc":"2251:50:30","nodeType":"YulIf","src":"2251:50:30"},{"nativeSrc":"2310:86:30","nodeType":"YulAssignment","src":"2310:86:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"2368:9:30","nodeType":"YulIdentifier","src":"2368:9:30"},{"name":"offset","nativeSrc":"2379:6:30","nodeType":"YulIdentifier","src":"2379:6:30"}],"functionName":{"name":"add","nativeSrc":"2364:3:30","nodeType":"YulIdentifier","src":"2364:3:30"},"nativeSrc":"2364:22:30","nodeType":"YulFunctionCall","src":"2364:22:30"},{"name":"dataEnd","nativeSrc":"2388:7:30","nodeType":"YulIdentifier","src":"2388:7:30"}],"functionName":{"name":"abi_decode_struct_ExactInputParams_calldata","nativeSrc":"2320:43:30","nodeType":"YulIdentifier","src":"2320:43:30"},"nativeSrc":"2320:76:30","nodeType":"YulFunctionCall","src":"2320:76:30"},"variableNames":[{"name":"value0","nativeSrc":"2310:6:30","nodeType":"YulIdentifier","src":"2310:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_ExactOutputParams_$5509_calldata_ptr","nativeSrc":"2027:375:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"2100:9:30","nodeType":"YulTypedName","src":"2100:9:30","type":""},{"name":"dataEnd","nativeSrc":"2111:7:30","nodeType":"YulTypedName","src":"2111:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"2123:6:30","nodeType":"YulTypedName","src":"2123:6:30","type":""}],"src":"2027:375:30"},{"body":{"nativeSrc":"2494:213:30","nodeType":"YulBlock","src":"2494:213:30","statements":[{"body":{"nativeSrc":"2540:16:30","nodeType":"YulBlock","src":"2540:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2549:1:30","nodeType":"YulLiteral","src":"2549:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2552:1:30","nodeType":"YulLiteral","src":"2552:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2542:6:30","nodeType":"YulIdentifier","src":"2542:6:30"},"nativeSrc":"2542:12:30","nodeType":"YulFunctionCall","src":"2542:12:30"},"nativeSrc":"2542:12:30","nodeType":"YulExpressionStatement","src":"2542:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"2515:7:30","nodeType":"YulIdentifier","src":"2515:7:30"},{"name":"headStart","nativeSrc":"2524:9:30","nodeType":"YulIdentifier","src":"2524:9:30"}],"functionName":{"name":"sub","nativeSrc":"2511:3:30","nodeType":"YulIdentifier","src":"2511:3:30"},"nativeSrc":"2511:23:30","nodeType":"YulFunctionCall","src":"2511:23:30"},{"kind":"number","nativeSrc":"2536:2:30","nodeType":"YulLiteral","src":"2536:2:30","type":"","value":"64"}],"functionName":{"name":"slt","nativeSrc":"2507:3:30","nodeType":"YulIdentifier","src":"2507:3:30"},"nativeSrc":"2507:32:30","nodeType":"YulFunctionCall","src":"2507:32:30"},"nativeSrc":"2504:52:30","nodeType":"YulIf","src":"2504:52:30"},{"nativeSrc":"2565:39:30","nodeType":"YulAssignment","src":"2565:39:30","value":{"arguments":[{"name":"headStart","nativeSrc":"2594:9:30","nodeType":"YulIdentifier","src":"2594:9:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"2575:18:30","nodeType":"YulIdentifier","src":"2575:18:30"},"nativeSrc":"2575:29:30","nodeType":"YulFunctionCall","src":"2575:29:30"},"variableNames":[{"name":"value0","nativeSrc":"2565:6:30","nodeType":"YulIdentifier","src":"2565:6:30"}]},{"nativeSrc":"2613:14:30","nodeType":"YulVariableDeclaration","src":"2613:14:30","value":{"kind":"number","nativeSrc":"2626:1:30","nodeType":"YulLiteral","src":"2626:1:30","type":"","value":"0"},"variables":[{"name":"value","nativeSrc":"2617:5:30","nodeType":"YulTypedName","src":"2617:5:30","type":""}]},{"nativeSrc":"2636:41:30","nodeType":"YulAssignment","src":"2636:41:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"2662:9:30","nodeType":"YulIdentifier","src":"2662:9:30"},{"kind":"number","nativeSrc":"2673:2:30","nodeType":"YulLiteral","src":"2673:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"2658:3:30","nodeType":"YulIdentifier","src":"2658:3:30"},"nativeSrc":"2658:18:30","nodeType":"YulFunctionCall","src":"2658:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"2645:12:30","nodeType":"YulIdentifier","src":"2645:12:30"},"nativeSrc":"2645:32:30","nodeType":"YulFunctionCall","src":"2645:32:30"},"variableNames":[{"name":"value","nativeSrc":"2636:5:30","nodeType":"YulIdentifier","src":"2636:5:30"}]},{"nativeSrc":"2686:15:30","nodeType":"YulAssignment","src":"2686:15:30","value":{"name":"value","nativeSrc":"2696:5:30","nodeType":"YulIdentifier","src":"2696:5:30"},"variableNames":[{"name":"value1","nativeSrc":"2686:6:30","nodeType":"YulIdentifier","src":"2686:6:30"}]}]},"name":"abi_decode_tuple_t_addresst_uint256","nativeSrc":"2407:300:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"2452:9:30","nodeType":"YulTypedName","src":"2452:9:30","type":""},{"name":"dataEnd","nativeSrc":"2463:7:30","nodeType":"YulTypedName","src":"2463:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"2475:6:30","nodeType":"YulTypedName","src":"2475:6:30","type":""},{"name":"value1","nativeSrc":"2483:6:30","nodeType":"YulTypedName","src":"2483:6:30","type":""}],"src":"2407:300:30"},{"body":{"nativeSrc":"2833:697:30","nodeType":"YulBlock","src":"2833:697:30","statements":[{"body":{"nativeSrc":"2879:16:30","nodeType":"YulBlock","src":"2879:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2888:1:30","nodeType":"YulLiteral","src":"2888:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2891:1:30","nodeType":"YulLiteral","src":"2891:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2881:6:30","nodeType":"YulIdentifier","src":"2881:6:30"},"nativeSrc":"2881:12:30","nodeType":"YulFunctionCall","src":"2881:12:30"},"nativeSrc":"2881:12:30","nodeType":"YulExpressionStatement","src":"2881:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"2854:7:30","nodeType":"YulIdentifier","src":"2854:7:30"},{"name":"headStart","nativeSrc":"2863:9:30","nodeType":"YulIdentifier","src":"2863:9:30"}],"functionName":{"name":"sub","nativeSrc":"2850:3:30","nodeType":"YulIdentifier","src":"2850:3:30"},"nativeSrc":"2850:23:30","nodeType":"YulFunctionCall","src":"2850:23:30"},{"kind":"number","nativeSrc":"2875:2:30","nodeType":"YulLiteral","src":"2875:2:30","type":"","value":"96"}],"functionName":{"name":"slt","nativeSrc":"2846:3:30","nodeType":"YulIdentifier","src":"2846:3:30"},"nativeSrc":"2846:32:30","nodeType":"YulFunctionCall","src":"2846:32:30"},"nativeSrc":"2843:52:30","nodeType":"YulIf","src":"2843:52:30"},{"nativeSrc":"2904:14:30","nodeType":"YulVariableDeclaration","src":"2904:14:30","value":{"kind":"number","nativeSrc":"2917:1:30","nodeType":"YulLiteral","src":"2917:1:30","type":"","value":"0"},"variables":[{"name":"value","nativeSrc":"2908:5:30","nodeType":"YulTypedName","src":"2908:5:30","type":""}]},{"nativeSrc":"2927:32:30","nodeType":"YulAssignment","src":"2927:32:30","value":{"arguments":[{"name":"headStart","nativeSrc":"2949:9:30","nodeType":"YulIdentifier","src":"2949:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"2936:12:30","nodeType":"YulIdentifier","src":"2936:12:30"},"nativeSrc":"2936:23:30","nodeType":"YulFunctionCall","src":"2936:23:30"},"variableNames":[{"name":"value","nativeSrc":"2927:5:30","nodeType":"YulIdentifier","src":"2927:5:30"}]},{"nativeSrc":"2968:15:30","nodeType":"YulAssignment","src":"2968:15:30","value":{"name":"value","nativeSrc":"2978:5:30","nodeType":"YulIdentifier","src":"2978:5:30"},"variableNames":[{"name":"value0","nativeSrc":"2968:6:30","nodeType":"YulIdentifier","src":"2968:6:30"}]},{"nativeSrc":"2992:16:30","nodeType":"YulVariableDeclaration","src":"2992:16:30","value":{"kind":"number","nativeSrc":"3007:1:30","nodeType":"YulLiteral","src":"3007:1:30","type":"","value":"0"},"variables":[{"name":"value_1","nativeSrc":"2996:7:30","nodeType":"YulTypedName","src":"2996:7:30","type":""}]},{"nativeSrc":"3017:43:30","nodeType":"YulAssignment","src":"3017:43:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"3045:9:30","nodeType":"YulIdentifier","src":"3045:9:30"},{"kind":"number","nativeSrc":"3056:2:30","nodeType":"YulLiteral","src":"3056:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3041:3:30","nodeType":"YulIdentifier","src":"3041:3:30"},"nativeSrc":"3041:18:30","nodeType":"YulFunctionCall","src":"3041:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"3028:12:30","nodeType":"YulIdentifier","src":"3028:12:30"},"nativeSrc":"3028:32:30","nodeType":"YulFunctionCall","src":"3028:32:30"},"variableNames":[{"name":"value_1","nativeSrc":"3017:7:30","nodeType":"YulIdentifier","src":"3017:7:30"}]},{"nativeSrc":"3069:17:30","nodeType":"YulAssignment","src":"3069:17:30","value":{"name":"value_1","nativeSrc":"3079:7:30","nodeType":"YulIdentifier","src":"3079:7:30"},"variableNames":[{"name":"value1","nativeSrc":"3069:6:30","nodeType":"YulIdentifier","src":"3069:6:30"}]},{"nativeSrc":"3095:46:30","nodeType":"YulVariableDeclaration","src":"3095:46:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"3126:9:30","nodeType":"YulIdentifier","src":"3126:9:30"},{"kind":"number","nativeSrc":"3137:2:30","nodeType":"YulLiteral","src":"3137:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"3122:3:30","nodeType":"YulIdentifier","src":"3122:3:30"},"nativeSrc":"3122:18:30","nodeType":"YulFunctionCall","src":"3122:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"3109:12:30","nodeType":"YulIdentifier","src":"3109:12:30"},"nativeSrc":"3109:32:30","nodeType":"YulFunctionCall","src":"3109:32:30"},"variables":[{"name":"offset","nativeSrc":"3099:6:30","nodeType":"YulTypedName","src":"3099:6:30","type":""}]},{"body":{"nativeSrc":"3184:16:30","nodeType":"YulBlock","src":"3184:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3193:1:30","nodeType":"YulLiteral","src":"3193:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3196:1:30","nodeType":"YulLiteral","src":"3196:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"3186:6:30","nodeType":"YulIdentifier","src":"3186:6:30"},"nativeSrc":"3186:12:30","nodeType":"YulFunctionCall","src":"3186:12:30"},"nativeSrc":"3186:12:30","nodeType":"YulExpressionStatement","src":"3186:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"3156:6:30","nodeType":"YulIdentifier","src":"3156:6:30"},{"kind":"number","nativeSrc":"3164:18:30","nodeType":"YulLiteral","src":"3164:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"3153:2:30","nodeType":"YulIdentifier","src":"3153:2:30"},"nativeSrc":"3153:30:30","nodeType":"YulFunctionCall","src":"3153:30:30"},"nativeSrc":"3150:50:30","nodeType":"YulIf","src":"3150:50:30"},{"nativeSrc":"3209:32:30","nodeType":"YulVariableDeclaration","src":"3209:32:30","value":{"arguments":[{"name":"headStart","nativeSrc":"3223:9:30","nodeType":"YulIdentifier","src":"3223:9:30"},{"name":"offset","nativeSrc":"3234:6:30","nodeType":"YulIdentifier","src":"3234:6:30"}],"functionName":{"name":"add","nativeSrc":"3219:3:30","nodeType":"YulIdentifier","src":"3219:3:30"},"nativeSrc":"3219:22:30","nodeType":"YulFunctionCall","src":"3219:22:30"},"variables":[{"name":"_1","nativeSrc":"3213:2:30","nodeType":"YulTypedName","src":"3213:2:30","type":""}]},{"body":{"nativeSrc":"3289:16:30","nodeType":"YulBlock","src":"3289:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3298:1:30","nodeType":"YulLiteral","src":"3298:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3301:1:30","nodeType":"YulLiteral","src":"3301:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"3291:6:30","nodeType":"YulIdentifier","src":"3291:6:30"},"nativeSrc":"3291:12:30","nodeType":"YulFunctionCall","src":"3291:12:30"},"nativeSrc":"3291:12:30","nodeType":"YulExpressionStatement","src":"3291:12:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_1","nativeSrc":"3268:2:30","nodeType":"YulIdentifier","src":"3268:2:30"},{"kind":"number","nativeSrc":"3272:4:30","nodeType":"YulLiteral","src":"3272:4:30","type":"","value":"0x1f"}],"functionName":{"name":"add","nativeSrc":"3264:3:30","nodeType":"YulIdentifier","src":"3264:3:30"},"nativeSrc":"3264:13:30","nodeType":"YulFunctionCall","src":"3264:13:30"},{"name":"dataEnd","nativeSrc":"3279:7:30","nodeType":"YulIdentifier","src":"3279:7:30"}],"functionName":{"name":"slt","nativeSrc":"3260:3:30","nodeType":"YulIdentifier","src":"3260:3:30"},"nativeSrc":"3260:27:30","nodeType":"YulFunctionCall","src":"3260:27:30"}],"functionName":{"name":"iszero","nativeSrc":"3253:6:30","nodeType":"YulIdentifier","src":"3253:6:30"},"nativeSrc":"3253:35:30","nodeType":"YulFunctionCall","src":"3253:35:30"},"nativeSrc":"3250:55:30","nodeType":"YulIf","src":"3250:55:30"},{"nativeSrc":"3314:30:30","nodeType":"YulVariableDeclaration","src":"3314:30:30","value":{"arguments":[{"name":"_1","nativeSrc":"3341:2:30","nodeType":"YulIdentifier","src":"3341:2:30"}],"functionName":{"name":"calldataload","nativeSrc":"3328:12:30","nodeType":"YulIdentifier","src":"3328:12:30"},"nativeSrc":"3328:16:30","nodeType":"YulFunctionCall","src":"3328:16:30"},"variables":[{"name":"length","nativeSrc":"3318:6:30","nodeType":"YulTypedName","src":"3318:6:30","type":""}]},{"body":{"nativeSrc":"3387:16:30","nodeType":"YulBlock","src":"3387:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3396:1:30","nodeType":"YulLiteral","src":"3396:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3399:1:30","nodeType":"YulLiteral","src":"3399:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"3389:6:30","nodeType":"YulIdentifier","src":"3389:6:30"},"nativeSrc":"3389:12:30","nodeType":"YulFunctionCall","src":"3389:12:30"},"nativeSrc":"3389:12:30","nodeType":"YulExpressionStatement","src":"3389:12:30"}]},"condition":{"arguments":[{"name":"length","nativeSrc":"3359:6:30","nodeType":"YulIdentifier","src":"3359:6:30"},{"kind":"number","nativeSrc":"3367:18:30","nodeType":"YulLiteral","src":"3367:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"3356:2:30","nodeType":"YulIdentifier","src":"3356:2:30"},"nativeSrc":"3356:30:30","nodeType":"YulFunctionCall","src":"3356:30:30"},"nativeSrc":"3353:50:30","nodeType":"YulIf","src":"3353:50:30"},{"body":{"nativeSrc":"3453:16:30","nodeType":"YulBlock","src":"3453:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3462:1:30","nodeType":"YulLiteral","src":"3462:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3465:1:30","nodeType":"YulLiteral","src":"3465:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"3455:6:30","nodeType":"YulIdentifier","src":"3455:6:30"},"nativeSrc":"3455:12:30","nodeType":"YulFunctionCall","src":"3455:12:30"},"nativeSrc":"3455:12:30","nodeType":"YulExpressionStatement","src":"3455:12:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_1","nativeSrc":"3426:2:30","nodeType":"YulIdentifier","src":"3426:2:30"},{"name":"length","nativeSrc":"3430:6:30","nodeType":"YulIdentifier","src":"3430:6:30"}],"functionName":{"name":"add","nativeSrc":"3422:3:30","nodeType":"YulIdentifier","src":"3422:3:30"},"nativeSrc":"3422:15:30","nodeType":"YulFunctionCall","src":"3422:15:30"},{"kind":"number","nativeSrc":"3439:2:30","nodeType":"YulLiteral","src":"3439:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3418:3:30","nodeType":"YulIdentifier","src":"3418:3:30"},"nativeSrc":"3418:24:30","nodeType":"YulFunctionCall","src":"3418:24:30"},{"name":"dataEnd","nativeSrc":"3444:7:30","nodeType":"YulIdentifier","src":"3444:7:30"}],"functionName":{"name":"gt","nativeSrc":"3415:2:30","nodeType":"YulIdentifier","src":"3415:2:30"},"nativeSrc":"3415:37:30","nodeType":"YulFunctionCall","src":"3415:37:30"},"nativeSrc":"3412:57:30","nodeType":"YulIf","src":"3412:57:30"},{"nativeSrc":"3478:21:30","nodeType":"YulAssignment","src":"3478:21:30","value":{"arguments":[{"name":"_1","nativeSrc":"3492:2:30","nodeType":"YulIdentifier","src":"3492:2:30"},{"kind":"number","nativeSrc":"3496:2:30","nodeType":"YulLiteral","src":"3496:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3488:3:30","nodeType":"YulIdentifier","src":"3488:3:30"},"nativeSrc":"3488:11:30","nodeType":"YulFunctionCall","src":"3488:11:30"},"variableNames":[{"name":"value2","nativeSrc":"3478:6:30","nodeType":"YulIdentifier","src":"3478:6:30"}]},{"nativeSrc":"3508:16:30","nodeType":"YulAssignment","src":"3508:16:30","value":{"name":"length","nativeSrc":"3518:6:30","nodeType":"YulIdentifier","src":"3518:6:30"},"variableNames":[{"name":"value3","nativeSrc":"3508:6:30","nodeType":"YulIdentifier","src":"3508:6:30"}]}]},"name":"abi_decode_tuple_t_int256t_int256t_bytes_calldata_ptr","nativeSrc":"2712:818:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"2775:9:30","nodeType":"YulTypedName","src":"2775:9:30","type":""},{"name":"dataEnd","nativeSrc":"2786:7:30","nodeType":"YulTypedName","src":"2786:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"2798:6:30","nodeType":"YulTypedName","src":"2798:6:30","type":""},{"name":"value1","nativeSrc":"2806:6:30","nodeType":"YulTypedName","src":"2806:6:30","type":""},{"name":"value2","nativeSrc":"2814:6:30","nodeType":"YulTypedName","src":"2814:6:30","type":""},{"name":"value3","nativeSrc":"2822:6:30","nodeType":"YulTypedName","src":"2822:6:30","type":""}],"src":"2712:818:30"},{"body":{"nativeSrc":"3605:116:30","nodeType":"YulBlock","src":"3605:116:30","statements":[{"body":{"nativeSrc":"3651:16:30","nodeType":"YulBlock","src":"3651:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3660:1:30","nodeType":"YulLiteral","src":"3660:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3663:1:30","nodeType":"YulLiteral","src":"3663:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"3653:6:30","nodeType":"YulIdentifier","src":"3653:6:30"},"nativeSrc":"3653:12:30","nodeType":"YulFunctionCall","src":"3653:12:30"},"nativeSrc":"3653:12:30","nodeType":"YulExpressionStatement","src":"3653:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"3626:7:30","nodeType":"YulIdentifier","src":"3626:7:30"},{"name":"headStart","nativeSrc":"3635:9:30","nodeType":"YulIdentifier","src":"3635:9:30"}],"functionName":{"name":"sub","nativeSrc":"3622:3:30","nodeType":"YulIdentifier","src":"3622:3:30"},"nativeSrc":"3622:23:30","nodeType":"YulFunctionCall","src":"3622:23:30"},{"kind":"number","nativeSrc":"3647:2:30","nodeType":"YulLiteral","src":"3647:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"3618:3:30","nodeType":"YulIdentifier","src":"3618:3:30"},"nativeSrc":"3618:32:30","nodeType":"YulFunctionCall","src":"3618:32:30"},"nativeSrc":"3615:52:30","nodeType":"YulIf","src":"3615:52:30"},{"nativeSrc":"3676:39:30","nodeType":"YulAssignment","src":"3676:39:30","value":{"arguments":[{"name":"headStart","nativeSrc":"3705:9:30","nodeType":"YulIdentifier","src":"3705:9:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"3686:18:30","nodeType":"YulIdentifier","src":"3686:18:30"},"nativeSrc":"3686:29:30","nodeType":"YulFunctionCall","src":"3686:29:30"},"variableNames":[{"name":"value0","nativeSrc":"3676:6:30","nodeType":"YulIdentifier","src":"3676:6:30"}]}]},"name":"abi_decode_tuple_t_address","nativeSrc":"3535:186:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"3571:9:30","nodeType":"YulTypedName","src":"3571:9:30","type":""},{"name":"dataEnd","nativeSrc":"3582:7:30","nodeType":"YulTypedName","src":"3582:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"3594:6:30","nodeType":"YulTypedName","src":"3594:6:30","type":""}],"src":"3535:186:30"},{"body":{"nativeSrc":"3758:95:30","nodeType":"YulBlock","src":"3758:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3775:1:30","nodeType":"YulLiteral","src":"3775:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"3782:3:30","nodeType":"YulLiteral","src":"3782:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"3787:10:30","nodeType":"YulLiteral","src":"3787:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"3778:3:30","nodeType":"YulIdentifier","src":"3778:3:30"},"nativeSrc":"3778:20:30","nodeType":"YulFunctionCall","src":"3778:20:30"}],"functionName":{"name":"mstore","nativeSrc":"3768:6:30","nodeType":"YulIdentifier","src":"3768:6:30"},"nativeSrc":"3768:31:30","nodeType":"YulFunctionCall","src":"3768:31:30"},"nativeSrc":"3768:31:30","nodeType":"YulExpressionStatement","src":"3768:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3815:1:30","nodeType":"YulLiteral","src":"3815:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"3818:4:30","nodeType":"YulLiteral","src":"3818:4:30","type":"","value":"0x11"}],"functionName":{"name":"mstore","nativeSrc":"3808:6:30","nodeType":"YulIdentifier","src":"3808:6:30"},"nativeSrc":"3808:15:30","nodeType":"YulFunctionCall","src":"3808:15:30"},"nativeSrc":"3808:15:30","nodeType":"YulExpressionStatement","src":"3808:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3839:1:30","nodeType":"YulLiteral","src":"3839:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3842:4:30","nodeType":"YulLiteral","src":"3842:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"3832:6:30","nodeType":"YulIdentifier","src":"3832:6:30"},"nativeSrc":"3832:15:30","nodeType":"YulFunctionCall","src":"3832:15:30"},"nativeSrc":"3832:15:30","nodeType":"YulExpressionStatement","src":"3832:15:30"}]},"name":"panic_error_0x11","nativeSrc":"3726:127:30","nodeType":"YulFunctionDefinition","src":"3726:127:30"},{"body":{"nativeSrc":"3910:116:30","nodeType":"YulBlock","src":"3910:116:30","statements":[{"nativeSrc":"3920:20:30","nodeType":"YulAssignment","src":"3920:20:30","value":{"arguments":[{"name":"x","nativeSrc":"3935:1:30","nodeType":"YulIdentifier","src":"3935:1:30"},{"name":"y","nativeSrc":"3938:1:30","nodeType":"YulIdentifier","src":"3938:1:30"}],"functionName":{"name":"mul","nativeSrc":"3931:3:30","nodeType":"YulIdentifier","src":"3931:3:30"},"nativeSrc":"3931:9:30","nodeType":"YulFunctionCall","src":"3931:9:30"},"variableNames":[{"name":"product","nativeSrc":"3920:7:30","nodeType":"YulIdentifier","src":"3920:7:30"}]},{"body":{"nativeSrc":"3998:22:30","nodeType":"YulBlock","src":"3998:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"4000:16:30","nodeType":"YulIdentifier","src":"4000:16:30"},"nativeSrc":"4000:18:30","nodeType":"YulFunctionCall","src":"4000:18:30"},"nativeSrc":"4000:18:30","nodeType":"YulExpressionStatement","src":"4000:18:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"x","nativeSrc":"3969:1:30","nodeType":"YulIdentifier","src":"3969:1:30"}],"functionName":{"name":"iszero","nativeSrc":"3962:6:30","nodeType":"YulIdentifier","src":"3962:6:30"},"nativeSrc":"3962:9:30","nodeType":"YulFunctionCall","src":"3962:9:30"},{"arguments":[{"name":"y","nativeSrc":"3976:1:30","nodeType":"YulIdentifier","src":"3976:1:30"},{"arguments":[{"name":"product","nativeSrc":"3983:7:30","nodeType":"YulIdentifier","src":"3983:7:30"},{"name":"x","nativeSrc":"3992:1:30","nodeType":"YulIdentifier","src":"3992:1:30"}],"functionName":{"name":"div","nativeSrc":"3979:3:30","nodeType":"YulIdentifier","src":"3979:3:30"},"nativeSrc":"3979:15:30","nodeType":"YulFunctionCall","src":"3979:15:30"}],"functionName":{"name":"eq","nativeSrc":"3973:2:30","nodeType":"YulIdentifier","src":"3973:2:30"},"nativeSrc":"3973:22:30","nodeType":"YulFunctionCall","src":"3973:22:30"}],"functionName":{"name":"or","nativeSrc":"3959:2:30","nodeType":"YulIdentifier","src":"3959:2:30"},"nativeSrc":"3959:37:30","nodeType":"YulFunctionCall","src":"3959:37:30"}],"functionName":{"name":"iszero","nativeSrc":"3952:6:30","nodeType":"YulIdentifier","src":"3952:6:30"},"nativeSrc":"3952:45:30","nodeType":"YulFunctionCall","src":"3952:45:30"},"nativeSrc":"3949:71:30","nodeType":"YulIf","src":"3949:71:30"}]},"name":"checked_mul_t_uint256","nativeSrc":"3858:168:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"3889:1:30","nodeType":"YulTypedName","src":"3889:1:30","type":""},{"name":"y","nativeSrc":"3892:1:30","nodeType":"YulTypedName","src":"3892:1:30","type":""}],"returnVariables":[{"name":"product","nativeSrc":"3898:7:30","nodeType":"YulTypedName","src":"3898:7:30","type":""}],"src":"3858:168:30"},{"body":{"nativeSrc":"4063:95:30","nodeType":"YulBlock","src":"4063:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4080:1:30","nodeType":"YulLiteral","src":"4080:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"4087:3:30","nodeType":"YulLiteral","src":"4087:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"4092:10:30","nodeType":"YulLiteral","src":"4092:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"4083:3:30","nodeType":"YulIdentifier","src":"4083:3:30"},"nativeSrc":"4083:20:30","nodeType":"YulFunctionCall","src":"4083:20:30"}],"functionName":{"name":"mstore","nativeSrc":"4073:6:30","nodeType":"YulIdentifier","src":"4073:6:30"},"nativeSrc":"4073:31:30","nodeType":"YulFunctionCall","src":"4073:31:30"},"nativeSrc":"4073:31:30","nodeType":"YulExpressionStatement","src":"4073:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"4120:1:30","nodeType":"YulLiteral","src":"4120:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"4123:4:30","nodeType":"YulLiteral","src":"4123:4:30","type":"","value":"0x12"}],"functionName":{"name":"mstore","nativeSrc":"4113:6:30","nodeType":"YulIdentifier","src":"4113:6:30"},"nativeSrc":"4113:15:30","nodeType":"YulFunctionCall","src":"4113:15:30"},"nativeSrc":"4113:15:30","nodeType":"YulExpressionStatement","src":"4113:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"4144:1:30","nodeType":"YulLiteral","src":"4144:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4147:4:30","nodeType":"YulLiteral","src":"4147:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"4137:6:30","nodeType":"YulIdentifier","src":"4137:6:30"},"nativeSrc":"4137:15:30","nodeType":"YulFunctionCall","src":"4137:15:30"},"nativeSrc":"4137:15:30","nodeType":"YulExpressionStatement","src":"4137:15:30"}]},"name":"panic_error_0x12","nativeSrc":"4031:127:30","nodeType":"YulFunctionDefinition","src":"4031:127:30"},{"body":{"nativeSrc":"4209:171:30","nodeType":"YulBlock","src":"4209:171:30","statements":[{"body":{"nativeSrc":"4240:111:30","nodeType":"YulBlock","src":"4240:111:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4261:1:30","nodeType":"YulLiteral","src":"4261:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"4268:3:30","nodeType":"YulLiteral","src":"4268:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"4273:10:30","nodeType":"YulLiteral","src":"4273:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"4264:3:30","nodeType":"YulIdentifier","src":"4264:3:30"},"nativeSrc":"4264:20:30","nodeType":"YulFunctionCall","src":"4264:20:30"}],"functionName":{"name":"mstore","nativeSrc":"4254:6:30","nodeType":"YulIdentifier","src":"4254:6:30"},"nativeSrc":"4254:31:30","nodeType":"YulFunctionCall","src":"4254:31:30"},"nativeSrc":"4254:31:30","nodeType":"YulExpressionStatement","src":"4254:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"4305:1:30","nodeType":"YulLiteral","src":"4305:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"4308:4:30","nodeType":"YulLiteral","src":"4308:4:30","type":"","value":"0x12"}],"functionName":{"name":"mstore","nativeSrc":"4298:6:30","nodeType":"YulIdentifier","src":"4298:6:30"},"nativeSrc":"4298:15:30","nodeType":"YulFunctionCall","src":"4298:15:30"},"nativeSrc":"4298:15:30","nodeType":"YulExpressionStatement","src":"4298:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"4333:1:30","nodeType":"YulLiteral","src":"4333:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4336:4:30","nodeType":"YulLiteral","src":"4336:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"4326:6:30","nodeType":"YulIdentifier","src":"4326:6:30"},"nativeSrc":"4326:15:30","nodeType":"YulFunctionCall","src":"4326:15:30"},"nativeSrc":"4326:15:30","nodeType":"YulExpressionStatement","src":"4326:15:30"}]},"condition":{"arguments":[{"name":"y","nativeSrc":"4229:1:30","nodeType":"YulIdentifier","src":"4229:1:30"}],"functionName":{"name":"iszero","nativeSrc":"4222:6:30","nodeType":"YulIdentifier","src":"4222:6:30"},"nativeSrc":"4222:9:30","nodeType":"YulFunctionCall","src":"4222:9:30"},"nativeSrc":"4219:132:30","nodeType":"YulIf","src":"4219:132:30"},{"nativeSrc":"4360:14:30","nodeType":"YulAssignment","src":"4360:14:30","value":{"arguments":[{"name":"x","nativeSrc":"4369:1:30","nodeType":"YulIdentifier","src":"4369:1:30"},{"name":"y","nativeSrc":"4372:1:30","nodeType":"YulIdentifier","src":"4372:1:30"}],"functionName":{"name":"div","nativeSrc":"4365:3:30","nodeType":"YulIdentifier","src":"4365:3:30"},"nativeSrc":"4365:9:30","nodeType":"YulFunctionCall","src":"4365:9:30"},"variableNames":[{"name":"r","nativeSrc":"4360:1:30","nodeType":"YulIdentifier","src":"4360:1:30"}]}]},"name":"checked_div_t_uint256","nativeSrc":"4163:217:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"4194:1:30","nodeType":"YulTypedName","src":"4194:1:30","type":""},{"name":"y","nativeSrc":"4197:1:30","nodeType":"YulTypedName","src":"4197:1:30","type":""}],"returnVariables":[{"name":"r","nativeSrc":"4203:1:30","nodeType":"YulTypedName","src":"4203:1:30","type":""}],"src":"4163:217:30"},{"body":{"nativeSrc":"4514:119:30","nodeType":"YulBlock","src":"4514:119:30","statements":[{"nativeSrc":"4524:26:30","nodeType":"YulAssignment","src":"4524:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4536:9:30","nodeType":"YulIdentifier","src":"4536:9:30"},{"kind":"number","nativeSrc":"4547:2:30","nodeType":"YulLiteral","src":"4547:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"4532:3:30","nodeType":"YulIdentifier","src":"4532:3:30"},"nativeSrc":"4532:18:30","nodeType":"YulFunctionCall","src":"4532:18:30"},"variableNames":[{"name":"tail","nativeSrc":"4524:4:30","nodeType":"YulIdentifier","src":"4524:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"4566:9:30","nodeType":"YulIdentifier","src":"4566:9:30"},{"name":"value0","nativeSrc":"4577:6:30","nodeType":"YulIdentifier","src":"4577:6:30"}],"functionName":{"name":"mstore","nativeSrc":"4559:6:30","nodeType":"YulIdentifier","src":"4559:6:30"},"nativeSrc":"4559:25:30","nodeType":"YulFunctionCall","src":"4559:25:30"},"nativeSrc":"4559:25:30","nodeType":"YulExpressionStatement","src":"4559:25:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4604:9:30","nodeType":"YulIdentifier","src":"4604:9:30"},{"kind":"number","nativeSrc":"4615:2:30","nodeType":"YulLiteral","src":"4615:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"4600:3:30","nodeType":"YulIdentifier","src":"4600:3:30"},"nativeSrc":"4600:18:30","nodeType":"YulFunctionCall","src":"4600:18:30"},{"name":"value1","nativeSrc":"4620:6:30","nodeType":"YulIdentifier","src":"4620:6:30"}],"functionName":{"name":"mstore","nativeSrc":"4593:6:30","nodeType":"YulIdentifier","src":"4593:6:30"},"nativeSrc":"4593:34:30","nodeType":"YulFunctionCall","src":"4593:34:30"},"nativeSrc":"4593:34:30","nodeType":"YulExpressionStatement","src":"4593:34:30"}]},"name":"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed","nativeSrc":"4385:248:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"4475:9:30","nodeType":"YulTypedName","src":"4475:9:30","type":""},{"name":"value1","nativeSrc":"4486:6:30","nodeType":"YulTypedName","src":"4486:6:30","type":""},{"name":"value0","nativeSrc":"4494:6:30","nodeType":"YulTypedName","src":"4494:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"4505:4:30","nodeType":"YulTypedName","src":"4505:4:30","type":""}],"src":"4385:248:30"},{"body":{"nativeSrc":"4795:214:30","nodeType":"YulBlock","src":"4795:214:30","statements":[{"nativeSrc":"4805:26:30","nodeType":"YulAssignment","src":"4805:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4817:9:30","nodeType":"YulIdentifier","src":"4817:9:30"},{"kind":"number","nativeSrc":"4828:2:30","nodeType":"YulLiteral","src":"4828:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"4813:3:30","nodeType":"YulIdentifier","src":"4813:3:30"},"nativeSrc":"4813:18:30","nodeType":"YulFunctionCall","src":"4813:18:30"},"variableNames":[{"name":"tail","nativeSrc":"4805:4:30","nodeType":"YulIdentifier","src":"4805:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"4847:9:30","nodeType":"YulIdentifier","src":"4847:9:30"},{"arguments":[{"name":"value0","nativeSrc":"4862:6:30","nodeType":"YulIdentifier","src":"4862:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"4878:3:30","nodeType":"YulLiteral","src":"4878:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"4883:1:30","nodeType":"YulLiteral","src":"4883:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"4874:3:30","nodeType":"YulIdentifier","src":"4874:3:30"},"nativeSrc":"4874:11:30","nodeType":"YulFunctionCall","src":"4874:11:30"},{"kind":"number","nativeSrc":"4887:1:30","nodeType":"YulLiteral","src":"4887:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"4870:3:30","nodeType":"YulIdentifier","src":"4870:3:30"},"nativeSrc":"4870:19:30","nodeType":"YulFunctionCall","src":"4870:19:30"}],"functionName":{"name":"and","nativeSrc":"4858:3:30","nodeType":"YulIdentifier","src":"4858:3:30"},"nativeSrc":"4858:32:30","nodeType":"YulFunctionCall","src":"4858:32:30"}],"functionName":{"name":"mstore","nativeSrc":"4840:6:30","nodeType":"YulIdentifier","src":"4840:6:30"},"nativeSrc":"4840:51:30","nodeType":"YulFunctionCall","src":"4840:51:30"},"nativeSrc":"4840:51:30","nodeType":"YulExpressionStatement","src":"4840:51:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4911:9:30","nodeType":"YulIdentifier","src":"4911:9:30"},{"kind":"number","nativeSrc":"4922:2:30","nodeType":"YulLiteral","src":"4922:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"4907:3:30","nodeType":"YulIdentifier","src":"4907:3:30"},"nativeSrc":"4907:18:30","nodeType":"YulFunctionCall","src":"4907:18:30"},{"arguments":[{"name":"value1","nativeSrc":"4931:6:30","nodeType":"YulIdentifier","src":"4931:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"4947:3:30","nodeType":"YulLiteral","src":"4947:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"4952:1:30","nodeType":"YulLiteral","src":"4952:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"4943:3:30","nodeType":"YulIdentifier","src":"4943:3:30"},"nativeSrc":"4943:11:30","nodeType":"YulFunctionCall","src":"4943:11:30"},{"kind":"number","nativeSrc":"4956:1:30","nodeType":"YulLiteral","src":"4956:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"4939:3:30","nodeType":"YulIdentifier","src":"4939:3:30"},"nativeSrc":"4939:19:30","nodeType":"YulFunctionCall","src":"4939:19:30"}],"functionName":{"name":"and","nativeSrc":"4927:3:30","nodeType":"YulIdentifier","src":"4927:3:30"},"nativeSrc":"4927:32:30","nodeType":"YulFunctionCall","src":"4927:32:30"}],"functionName":{"name":"mstore","nativeSrc":"4900:6:30","nodeType":"YulIdentifier","src":"4900:6:30"},"nativeSrc":"4900:60:30","nodeType":"YulFunctionCall","src":"4900:60:30"},"nativeSrc":"4900:60:30","nodeType":"YulExpressionStatement","src":"4900:60:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4980:9:30","nodeType":"YulIdentifier","src":"4980:9:30"},{"kind":"number","nativeSrc":"4991:2:30","nodeType":"YulLiteral","src":"4991:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"4976:3:30","nodeType":"YulIdentifier","src":"4976:3:30"},"nativeSrc":"4976:18:30","nodeType":"YulFunctionCall","src":"4976:18:30"},{"name":"value2","nativeSrc":"4996:6:30","nodeType":"YulIdentifier","src":"4996:6:30"}],"functionName":{"name":"mstore","nativeSrc":"4969:6:30","nodeType":"YulIdentifier","src":"4969:6:30"},"nativeSrc":"4969:34:30","nodeType":"YulFunctionCall","src":"4969:34:30"},"nativeSrc":"4969:34:30","nodeType":"YulExpressionStatement","src":"4969:34:30"}]},"name":"abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed","nativeSrc":"4638:371:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"4748:9:30","nodeType":"YulTypedName","src":"4748:9:30","type":""},{"name":"value2","nativeSrc":"4759:6:30","nodeType":"YulTypedName","src":"4759:6:30","type":""},{"name":"value1","nativeSrc":"4767:6:30","nodeType":"YulTypedName","src":"4767:6:30","type":""},{"name":"value0","nativeSrc":"4775:6:30","nodeType":"YulTypedName","src":"4775:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"4786:4:30","nodeType":"YulTypedName","src":"4786:4:30","type":""}],"src":"4638:371:30"},{"body":{"nativeSrc":"5115:102:30","nodeType":"YulBlock","src":"5115:102:30","statements":[{"nativeSrc":"5125:26:30","nodeType":"YulAssignment","src":"5125:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5137:9:30","nodeType":"YulIdentifier","src":"5137:9:30"},{"kind":"number","nativeSrc":"5148:2:30","nodeType":"YulLiteral","src":"5148:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"5133:3:30","nodeType":"YulIdentifier","src":"5133:3:30"},"nativeSrc":"5133:18:30","nodeType":"YulFunctionCall","src":"5133:18:30"},"variableNames":[{"name":"tail","nativeSrc":"5125:4:30","nodeType":"YulIdentifier","src":"5125:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"5167:9:30","nodeType":"YulIdentifier","src":"5167:9:30"},{"arguments":[{"name":"value0","nativeSrc":"5182:6:30","nodeType":"YulIdentifier","src":"5182:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"5198:3:30","nodeType":"YulLiteral","src":"5198:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"5203:1:30","nodeType":"YulLiteral","src":"5203:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"5194:3:30","nodeType":"YulIdentifier","src":"5194:3:30"},"nativeSrc":"5194:11:30","nodeType":"YulFunctionCall","src":"5194:11:30"},{"kind":"number","nativeSrc":"5207:1:30","nodeType":"YulLiteral","src":"5207:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"5190:3:30","nodeType":"YulIdentifier","src":"5190:3:30"},"nativeSrc":"5190:19:30","nodeType":"YulFunctionCall","src":"5190:19:30"}],"functionName":{"name":"and","nativeSrc":"5178:3:30","nodeType":"YulIdentifier","src":"5178:3:30"},"nativeSrc":"5178:32:30","nodeType":"YulFunctionCall","src":"5178:32:30"}],"functionName":{"name":"mstore","nativeSrc":"5160:6:30","nodeType":"YulIdentifier","src":"5160:6:30"},"nativeSrc":"5160:51:30","nodeType":"YulFunctionCall","src":"5160:51:30"},"nativeSrc":"5160:51:30","nodeType":"YulExpressionStatement","src":"5160:51:30"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nativeSrc":"5014:203:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5084:9:30","nodeType":"YulTypedName","src":"5084:9:30","type":""},{"name":"value0","nativeSrc":"5095:6:30","nodeType":"YulTypedName","src":"5095:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"5106:4:30","nodeType":"YulTypedName","src":"5106:4:30","type":""}],"src":"5014:203:30"},{"body":{"nativeSrc":"5303:103:30","nodeType":"YulBlock","src":"5303:103:30","statements":[{"body":{"nativeSrc":"5349:16:30","nodeType":"YulBlock","src":"5349:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"5358:1:30","nodeType":"YulLiteral","src":"5358:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"5361:1:30","nodeType":"YulLiteral","src":"5361:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"5351:6:30","nodeType":"YulIdentifier","src":"5351:6:30"},"nativeSrc":"5351:12:30","nodeType":"YulFunctionCall","src":"5351:12:30"},"nativeSrc":"5351:12:30","nodeType":"YulExpressionStatement","src":"5351:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"5324:7:30","nodeType":"YulIdentifier","src":"5324:7:30"},{"name":"headStart","nativeSrc":"5333:9:30","nodeType":"YulIdentifier","src":"5333:9:30"}],"functionName":{"name":"sub","nativeSrc":"5320:3:30","nodeType":"YulIdentifier","src":"5320:3:30"},"nativeSrc":"5320:23:30","nodeType":"YulFunctionCall","src":"5320:23:30"},{"kind":"number","nativeSrc":"5345:2:30","nodeType":"YulLiteral","src":"5345:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"5316:3:30","nodeType":"YulIdentifier","src":"5316:3:30"},"nativeSrc":"5316:32:30","nodeType":"YulFunctionCall","src":"5316:32:30"},"nativeSrc":"5313:52:30","nodeType":"YulIf","src":"5313:52:30"},{"nativeSrc":"5374:26:30","nodeType":"YulAssignment","src":"5374:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5390:9:30","nodeType":"YulIdentifier","src":"5390:9:30"}],"functionName":{"name":"mload","nativeSrc":"5384:5:30","nodeType":"YulIdentifier","src":"5384:5:30"},"nativeSrc":"5384:16:30","nodeType":"YulFunctionCall","src":"5384:16:30"},"variableNames":[{"name":"value0","nativeSrc":"5374:6:30","nodeType":"YulIdentifier","src":"5374:6:30"}]}]},"name":"abi_decode_tuple_t_uint256_fromMemory","nativeSrc":"5222:184:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5269:9:30","nodeType":"YulTypedName","src":"5269:9:30","type":""},{"name":"dataEnd","nativeSrc":"5280:7:30","nodeType":"YulTypedName","src":"5280:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"5292:6:30","nodeType":"YulTypedName","src":"5292:6:30","type":""}],"src":"5222:184:30"},{"body":{"nativeSrc":"5490:194:30","nodeType":"YulBlock","src":"5490:194:30","statements":[{"body":{"nativeSrc":"5536:16:30","nodeType":"YulBlock","src":"5536:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"5545:1:30","nodeType":"YulLiteral","src":"5545:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"5548:1:30","nodeType":"YulLiteral","src":"5548:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"5538:6:30","nodeType":"YulIdentifier","src":"5538:6:30"},"nativeSrc":"5538:12:30","nodeType":"YulFunctionCall","src":"5538:12:30"},"nativeSrc":"5538:12:30","nodeType":"YulExpressionStatement","src":"5538:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"5511:7:30","nodeType":"YulIdentifier","src":"5511:7:30"},{"name":"headStart","nativeSrc":"5520:9:30","nodeType":"YulIdentifier","src":"5520:9:30"}],"functionName":{"name":"sub","nativeSrc":"5507:3:30","nodeType":"YulIdentifier","src":"5507:3:30"},"nativeSrc":"5507:23:30","nodeType":"YulFunctionCall","src":"5507:23:30"},{"kind":"number","nativeSrc":"5532:2:30","nodeType":"YulLiteral","src":"5532:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"5503:3:30","nodeType":"YulIdentifier","src":"5503:3:30"},"nativeSrc":"5503:32:30","nodeType":"YulFunctionCall","src":"5503:32:30"},"nativeSrc":"5500:52:30","nodeType":"YulIf","src":"5500:52:30"},{"nativeSrc":"5561:29:30","nodeType":"YulVariableDeclaration","src":"5561:29:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5580:9:30","nodeType":"YulIdentifier","src":"5580:9:30"}],"functionName":{"name":"mload","nativeSrc":"5574:5:30","nodeType":"YulIdentifier","src":"5574:5:30"},"nativeSrc":"5574:16:30","nodeType":"YulFunctionCall","src":"5574:16:30"},"variables":[{"name":"value","nativeSrc":"5565:5:30","nodeType":"YulTypedName","src":"5565:5:30","type":""}]},{"body":{"nativeSrc":"5638:16:30","nodeType":"YulBlock","src":"5638:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"5647:1:30","nodeType":"YulLiteral","src":"5647:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"5650:1:30","nodeType":"YulLiteral","src":"5650:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"5640:6:30","nodeType":"YulIdentifier","src":"5640:6:30"},"nativeSrc":"5640:12:30","nodeType":"YulFunctionCall","src":"5640:12:30"},"nativeSrc":"5640:12:30","nodeType":"YulExpressionStatement","src":"5640:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"5612:5:30","nodeType":"YulIdentifier","src":"5612:5:30"},{"arguments":[{"name":"value","nativeSrc":"5623:5:30","nodeType":"YulIdentifier","src":"5623:5:30"},{"kind":"number","nativeSrc":"5630:4:30","nodeType":"YulLiteral","src":"5630:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"5619:3:30","nodeType":"YulIdentifier","src":"5619:3:30"},"nativeSrc":"5619:16:30","nodeType":"YulFunctionCall","src":"5619:16:30"}],"functionName":{"name":"eq","nativeSrc":"5609:2:30","nodeType":"YulIdentifier","src":"5609:2:30"},"nativeSrc":"5609:27:30","nodeType":"YulFunctionCall","src":"5609:27:30"}],"functionName":{"name":"iszero","nativeSrc":"5602:6:30","nodeType":"YulIdentifier","src":"5602:6:30"},"nativeSrc":"5602:35:30","nodeType":"YulFunctionCall","src":"5602:35:30"},"nativeSrc":"5599:55:30","nodeType":"YulIf","src":"5599:55:30"},{"nativeSrc":"5663:15:30","nodeType":"YulAssignment","src":"5663:15:30","value":{"name":"value","nativeSrc":"5673:5:30","nodeType":"YulIdentifier","src":"5673:5:30"},"variableNames":[{"name":"value0","nativeSrc":"5663:6:30","nodeType":"YulIdentifier","src":"5663:6:30"}]}]},"name":"abi_decode_tuple_t_uint8_fromMemory","nativeSrc":"5411:273:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5456:9:30","nodeType":"YulTypedName","src":"5456:9:30","type":""},{"name":"dataEnd","nativeSrc":"5467:7:30","nodeType":"YulTypedName","src":"5467:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"5479:6:30","nodeType":"YulTypedName","src":"5479:6:30","type":""}],"src":"5411:273:30"},{"body":{"nativeSrc":"5736:104:30","nodeType":"YulBlock","src":"5736:104:30","statements":[{"nativeSrc":"5746:39:30","nodeType":"YulAssignment","src":"5746:39:30","value":{"arguments":[{"arguments":[{"name":"x","nativeSrc":"5762:1:30","nodeType":"YulIdentifier","src":"5762:1:30"},{"kind":"number","nativeSrc":"5765:4:30","nodeType":"YulLiteral","src":"5765:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"5758:3:30","nodeType":"YulIdentifier","src":"5758:3:30"},"nativeSrc":"5758:12:30","nodeType":"YulFunctionCall","src":"5758:12:30"},{"arguments":[{"name":"y","nativeSrc":"5776:1:30","nodeType":"YulIdentifier","src":"5776:1:30"},{"kind":"number","nativeSrc":"5779:4:30","nodeType":"YulLiteral","src":"5779:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"5772:3:30","nodeType":"YulIdentifier","src":"5772:3:30"},"nativeSrc":"5772:12:30","nodeType":"YulFunctionCall","src":"5772:12:30"}],"functionName":{"name":"sub","nativeSrc":"5754:3:30","nodeType":"YulIdentifier","src":"5754:3:30"},"nativeSrc":"5754:31:30","nodeType":"YulFunctionCall","src":"5754:31:30"},"variableNames":[{"name":"diff","nativeSrc":"5746:4:30","nodeType":"YulIdentifier","src":"5746:4:30"}]},{"body":{"nativeSrc":"5812:22:30","nodeType":"YulBlock","src":"5812:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"5814:16:30","nodeType":"YulIdentifier","src":"5814:16:30"},"nativeSrc":"5814:18:30","nodeType":"YulFunctionCall","src":"5814:18:30"},"nativeSrc":"5814:18:30","nodeType":"YulExpressionStatement","src":"5814:18:30"}]},"condition":{"arguments":[{"name":"diff","nativeSrc":"5800:4:30","nodeType":"YulIdentifier","src":"5800:4:30"},{"kind":"number","nativeSrc":"5806:4:30","nodeType":"YulLiteral","src":"5806:4:30","type":"","value":"0xff"}],"functionName":{"name":"gt","nativeSrc":"5797:2:30","nodeType":"YulIdentifier","src":"5797:2:30"},"nativeSrc":"5797:14:30","nodeType":"YulFunctionCall","src":"5797:14:30"},"nativeSrc":"5794:40:30","nodeType":"YulIf","src":"5794:40:30"}]},"name":"checked_sub_t_uint8","nativeSrc":"5689:151:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"5718:1:30","nodeType":"YulTypedName","src":"5718:1:30","type":""},{"name":"y","nativeSrc":"5721:1:30","nodeType":"YulTypedName","src":"5721:1:30","type":""}],"returnVariables":[{"name":"diff","nativeSrc":"5727:4:30","nodeType":"YulTypedName","src":"5727:4:30","type":""}],"src":"5689:151:30"},{"body":{"nativeSrc":"5914:306:30","nodeType":"YulBlock","src":"5914:306:30","statements":[{"nativeSrc":"5924:10:30","nodeType":"YulAssignment","src":"5924:10:30","value":{"kind":"number","nativeSrc":"5933:1:30","nodeType":"YulLiteral","src":"5933:1:30","type":"","value":"1"},"variableNames":[{"name":"power","nativeSrc":"5924:5:30","nodeType":"YulIdentifier","src":"5924:5:30"}]},{"nativeSrc":"5943:13:30","nodeType":"YulAssignment","src":"5943:13:30","value":{"name":"_base","nativeSrc":"5951:5:30","nodeType":"YulIdentifier","src":"5951:5:30"},"variableNames":[{"name":"base","nativeSrc":"5943:4:30","nodeType":"YulIdentifier","src":"5943:4:30"}]},{"body":{"nativeSrc":"6001:213:30","nodeType":"YulBlock","src":"6001:213:30","statements":[{"body":{"nativeSrc":"6043:22:30","nodeType":"YulBlock","src":"6043:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"6045:16:30","nodeType":"YulIdentifier","src":"6045:16:30"},"nativeSrc":"6045:18:30","nodeType":"YulFunctionCall","src":"6045:18:30"},"nativeSrc":"6045:18:30","nodeType":"YulExpressionStatement","src":"6045:18:30"}]},"condition":{"arguments":[{"name":"base","nativeSrc":"6021:4:30","nodeType":"YulIdentifier","src":"6021:4:30"},{"arguments":[{"name":"max","nativeSrc":"6031:3:30","nodeType":"YulIdentifier","src":"6031:3:30"},{"name":"base","nativeSrc":"6036:4:30","nodeType":"YulIdentifier","src":"6036:4:30"}],"functionName":{"name":"div","nativeSrc":"6027:3:30","nodeType":"YulIdentifier","src":"6027:3:30"},"nativeSrc":"6027:14:30","nodeType":"YulFunctionCall","src":"6027:14:30"}],"functionName":{"name":"gt","nativeSrc":"6018:2:30","nodeType":"YulIdentifier","src":"6018:2:30"},"nativeSrc":"6018:24:30","nodeType":"YulFunctionCall","src":"6018:24:30"},"nativeSrc":"6015:50:30","nodeType":"YulIf","src":"6015:50:30"},{"body":{"nativeSrc":"6098:29:30","nodeType":"YulBlock","src":"6098:29:30","statements":[{"nativeSrc":"6100:25:30","nodeType":"YulAssignment","src":"6100:25:30","value":{"arguments":[{"name":"power","nativeSrc":"6113:5:30","nodeType":"YulIdentifier","src":"6113:5:30"},{"name":"base","nativeSrc":"6120:4:30","nodeType":"YulIdentifier","src":"6120:4:30"}],"functionName":{"name":"mul","nativeSrc":"6109:3:30","nodeType":"YulIdentifier","src":"6109:3:30"},"nativeSrc":"6109:16:30","nodeType":"YulFunctionCall","src":"6109:16:30"},"variableNames":[{"name":"power","nativeSrc":"6100:5:30","nodeType":"YulIdentifier","src":"6100:5:30"}]}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"6085:8:30","nodeType":"YulIdentifier","src":"6085:8:30"},{"kind":"number","nativeSrc":"6095:1:30","nodeType":"YulLiteral","src":"6095:1:30","type":"","value":"1"}],"functionName":{"name":"and","nativeSrc":"6081:3:30","nodeType":"YulIdentifier","src":"6081:3:30"},"nativeSrc":"6081:16:30","nodeType":"YulFunctionCall","src":"6081:16:30"},"nativeSrc":"6078:49:30","nodeType":"YulIf","src":"6078:49:30"},{"nativeSrc":"6140:23:30","nodeType":"YulAssignment","src":"6140:23:30","value":{"arguments":[{"name":"base","nativeSrc":"6152:4:30","nodeType":"YulIdentifier","src":"6152:4:30"},{"name":"base","nativeSrc":"6158:4:30","nodeType":"YulIdentifier","src":"6158:4:30"}],"functionName":{"name":"mul","nativeSrc":"6148:3:30","nodeType":"YulIdentifier","src":"6148:3:30"},"nativeSrc":"6148:15:30","nodeType":"YulFunctionCall","src":"6148:15:30"},"variableNames":[{"name":"base","nativeSrc":"6140:4:30","nodeType":"YulIdentifier","src":"6140:4:30"}]},{"nativeSrc":"6176:28:30","nodeType":"YulAssignment","src":"6176:28:30","value":{"arguments":[{"kind":"number","nativeSrc":"6192:1:30","nodeType":"YulLiteral","src":"6192:1:30","type":"","value":"1"},{"name":"exponent","nativeSrc":"6195:8:30","nodeType":"YulIdentifier","src":"6195:8:30"}],"functionName":{"name":"shr","nativeSrc":"6188:3:30","nodeType":"YulIdentifier","src":"6188:3:30"},"nativeSrc":"6188:16:30","nodeType":"YulFunctionCall","src":"6188:16:30"},"variableNames":[{"name":"exponent","nativeSrc":"6176:8:30","nodeType":"YulIdentifier","src":"6176:8:30"}]}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"5976:8:30","nodeType":"YulIdentifier","src":"5976:8:30"},{"kind":"number","nativeSrc":"5986:1:30","nodeType":"YulLiteral","src":"5986:1:30","type":"","value":"1"}],"functionName":{"name":"gt","nativeSrc":"5973:2:30","nodeType":"YulIdentifier","src":"5973:2:30"},"nativeSrc":"5973:15:30","nodeType":"YulFunctionCall","src":"5973:15:30"},"nativeSrc":"5965:249:30","nodeType":"YulForLoop","post":{"nativeSrc":"5989:3:30","nodeType":"YulBlock","src":"5989:3:30","statements":[]},"pre":{"nativeSrc":"5969:3:30","nodeType":"YulBlock","src":"5969:3:30","statements":[]},"src":"5965:249:30"}]},"name":"checked_exp_helper","nativeSrc":"5845:375:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"_base","nativeSrc":"5873:5:30","nodeType":"YulTypedName","src":"5873:5:30","type":""},{"name":"exponent","nativeSrc":"5880:8:30","nodeType":"YulTypedName","src":"5880:8:30","type":""},{"name":"max","nativeSrc":"5890:3:30","nodeType":"YulTypedName","src":"5890:3:30","type":""}],"returnVariables":[{"name":"power","nativeSrc":"5898:5:30","nodeType":"YulTypedName","src":"5898:5:30","type":""},{"name":"base","nativeSrc":"5905:4:30","nodeType":"YulTypedName","src":"5905:4:30","type":""}],"src":"5845:375:30"},{"body":{"nativeSrc":"6284:843:30","nodeType":"YulBlock","src":"6284:843:30","statements":[{"body":{"nativeSrc":"6322:52:30","nodeType":"YulBlock","src":"6322:52:30","statements":[{"nativeSrc":"6336:10:30","nodeType":"YulAssignment","src":"6336:10:30","value":{"kind":"number","nativeSrc":"6345:1:30","nodeType":"YulLiteral","src":"6345:1:30","type":"","value":"1"},"variableNames":[{"name":"power","nativeSrc":"6336:5:30","nodeType":"YulIdentifier","src":"6336:5:30"}]},{"nativeSrc":"6359:5:30","nodeType":"YulLeave","src":"6359:5:30"}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"6304:8:30","nodeType":"YulIdentifier","src":"6304:8:30"}],"functionName":{"name":"iszero","nativeSrc":"6297:6:30","nodeType":"YulIdentifier","src":"6297:6:30"},"nativeSrc":"6297:16:30","nodeType":"YulFunctionCall","src":"6297:16:30"},"nativeSrc":"6294:80:30","nodeType":"YulIf","src":"6294:80:30"},{"body":{"nativeSrc":"6407:52:30","nodeType":"YulBlock","src":"6407:52:30","statements":[{"nativeSrc":"6421:10:30","nodeType":"YulAssignment","src":"6421:10:30","value":{"kind":"number","nativeSrc":"6430:1:30","nodeType":"YulLiteral","src":"6430:1:30","type":"","value":"0"},"variableNames":[{"name":"power","nativeSrc":"6421:5:30","nodeType":"YulIdentifier","src":"6421:5:30"}]},{"nativeSrc":"6444:5:30","nodeType":"YulLeave","src":"6444:5:30"}]},"condition":{"arguments":[{"name":"base","nativeSrc":"6393:4:30","nodeType":"YulIdentifier","src":"6393:4:30"}],"functionName":{"name":"iszero","nativeSrc":"6386:6:30","nodeType":"YulIdentifier","src":"6386:6:30"},"nativeSrc":"6386:12:30","nodeType":"YulFunctionCall","src":"6386:12:30"},"nativeSrc":"6383:76:30","nodeType":"YulIf","src":"6383:76:30"},{"cases":[{"body":{"nativeSrc":"6495:52:30","nodeType":"YulBlock","src":"6495:52:30","statements":[{"nativeSrc":"6509:10:30","nodeType":"YulAssignment","src":"6509:10:30","value":{"kind":"number","nativeSrc":"6518:1:30","nodeType":"YulLiteral","src":"6518:1:30","type":"","value":"1"},"variableNames":[{"name":"power","nativeSrc":"6509:5:30","nodeType":"YulIdentifier","src":"6509:5:30"}]},{"nativeSrc":"6532:5:30","nodeType":"YulLeave","src":"6532:5:30"}]},"nativeSrc":"6488:59:30","nodeType":"YulCase","src":"6488:59:30","value":{"kind":"number","nativeSrc":"6493:1:30","nodeType":"YulLiteral","src":"6493:1:30","type":"","value":"1"}},{"body":{"nativeSrc":"6563:167:30","nodeType":"YulBlock","src":"6563:167:30","statements":[{"body":{"nativeSrc":"6598:22:30","nodeType":"YulBlock","src":"6598:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"6600:16:30","nodeType":"YulIdentifier","src":"6600:16:30"},"nativeSrc":"6600:18:30","nodeType":"YulFunctionCall","src":"6600:18:30"},"nativeSrc":"6600:18:30","nodeType":"YulExpressionStatement","src":"6600:18:30"}]},"condition":{"arguments":[{"name":"exponent","nativeSrc":"6583:8:30","nodeType":"YulIdentifier","src":"6583:8:30"},{"kind":"number","nativeSrc":"6593:3:30","nodeType":"YulLiteral","src":"6593:3:30","type":"","value":"255"}],"functionName":{"name":"gt","nativeSrc":"6580:2:30","nodeType":"YulIdentifier","src":"6580:2:30"},"nativeSrc":"6580:17:30","nodeType":"YulFunctionCall","src":"6580:17:30"},"nativeSrc":"6577:43:30","nodeType":"YulIf","src":"6577:43:30"},{"nativeSrc":"6633:25:30","nodeType":"YulAssignment","src":"6633:25:30","value":{"arguments":[{"name":"exponent","nativeSrc":"6646:8:30","nodeType":"YulIdentifier","src":"6646:8:30"},{"kind":"number","nativeSrc":"6656:1:30","nodeType":"YulLiteral","src":"6656:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"6642:3:30","nodeType":"YulIdentifier","src":"6642:3:30"},"nativeSrc":"6642:16:30","nodeType":"YulFunctionCall","src":"6642:16:30"},"variableNames":[{"name":"power","nativeSrc":"6633:5:30","nodeType":"YulIdentifier","src":"6633:5:30"}]},{"nativeSrc":"6671:11:30","nodeType":"YulVariableDeclaration","src":"6671:11:30","value":{"kind":"number","nativeSrc":"6681:1:30","nodeType":"YulLiteral","src":"6681:1:30","type":"","value":"0"},"variables":[{"name":"_1","nativeSrc":"6675:2:30","nodeType":"YulTypedName","src":"6675:2:30","type":""}]},{"nativeSrc":"6695:7:30","nodeType":"YulAssignment","src":"6695:7:30","value":{"kind":"number","nativeSrc":"6701:1:30","nodeType":"YulLiteral","src":"6701:1:30","type":"","value":"0"},"variableNames":[{"name":"_1","nativeSrc":"6695:2:30","nodeType":"YulIdentifier","src":"6695:2:30"}]},{"nativeSrc":"6715:5:30","nodeType":"YulLeave","src":"6715:5:30"}]},"nativeSrc":"6556:174:30","nodeType":"YulCase","src":"6556:174:30","value":{"kind":"number","nativeSrc":"6561:1:30","nodeType":"YulLiteral","src":"6561:1:30","type":"","value":"2"}}],"expression":{"name":"base","nativeSrc":"6475:4:30","nodeType":"YulIdentifier","src":"6475:4:30"},"nativeSrc":"6468:262:30","nodeType":"YulSwitch","src":"6468:262:30"},{"body":{"nativeSrc":"6828:114:30","nodeType":"YulBlock","src":"6828:114:30","statements":[{"nativeSrc":"6842:28:30","nodeType":"YulAssignment","src":"6842:28:30","value":{"arguments":[{"name":"base","nativeSrc":"6855:4:30","nodeType":"YulIdentifier","src":"6855:4:30"},{"name":"exponent","nativeSrc":"6861:8:30","nodeType":"YulIdentifier","src":"6861:8:30"}],"functionName":{"name":"exp","nativeSrc":"6851:3:30","nodeType":"YulIdentifier","src":"6851:3:30"},"nativeSrc":"6851:19:30","nodeType":"YulFunctionCall","src":"6851:19:30"},"variableNames":[{"name":"power","nativeSrc":"6842:5:30","nodeType":"YulIdentifier","src":"6842:5:30"}]},{"nativeSrc":"6883:11:30","nodeType":"YulVariableDeclaration","src":"6883:11:30","value":{"kind":"number","nativeSrc":"6893:1:30","nodeType":"YulLiteral","src":"6893:1:30","type":"","value":"0"},"variables":[{"name":"_2","nativeSrc":"6887:2:30","nodeType":"YulTypedName","src":"6887:2:30","type":""}]},{"nativeSrc":"6907:7:30","nodeType":"YulAssignment","src":"6907:7:30","value":{"kind":"number","nativeSrc":"6913:1:30","nodeType":"YulLiteral","src":"6913:1:30","type":"","value":"0"},"variableNames":[{"name":"_2","nativeSrc":"6907:2:30","nodeType":"YulIdentifier","src":"6907:2:30"}]},{"nativeSrc":"6927:5:30","nodeType":"YulLeave","src":"6927:5:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"base","nativeSrc":"6752:4:30","nodeType":"YulIdentifier","src":"6752:4:30"},{"kind":"number","nativeSrc":"6758:2:30","nodeType":"YulLiteral","src":"6758:2:30","type":"","value":"11"}],"functionName":{"name":"lt","nativeSrc":"6749:2:30","nodeType":"YulIdentifier","src":"6749:2:30"},"nativeSrc":"6749:12:30","nodeType":"YulFunctionCall","src":"6749:12:30"},{"arguments":[{"name":"exponent","nativeSrc":"6766:8:30","nodeType":"YulIdentifier","src":"6766:8:30"},{"kind":"number","nativeSrc":"6776:2:30","nodeType":"YulLiteral","src":"6776:2:30","type":"","value":"78"}],"functionName":{"name":"lt","nativeSrc":"6763:2:30","nodeType":"YulIdentifier","src":"6763:2:30"},"nativeSrc":"6763:16:30","nodeType":"YulFunctionCall","src":"6763:16:30"}],"functionName":{"name":"and","nativeSrc":"6745:3:30","nodeType":"YulIdentifier","src":"6745:3:30"},"nativeSrc":"6745:35:30","nodeType":"YulFunctionCall","src":"6745:35:30"},{"arguments":[{"arguments":[{"name":"base","nativeSrc":"6789:4:30","nodeType":"YulIdentifier","src":"6789:4:30"},{"kind":"number","nativeSrc":"6795:3:30","nodeType":"YulLiteral","src":"6795:3:30","type":"","value":"307"}],"functionName":{"name":"lt","nativeSrc":"6786:2:30","nodeType":"YulIdentifier","src":"6786:2:30"},"nativeSrc":"6786:13:30","nodeType":"YulFunctionCall","src":"6786:13:30"},{"arguments":[{"name":"exponent","nativeSrc":"6804:8:30","nodeType":"YulIdentifier","src":"6804:8:30"},{"kind":"number","nativeSrc":"6814:2:30","nodeType":"YulLiteral","src":"6814:2:30","type":"","value":"32"}],"functionName":{"name":"lt","nativeSrc":"6801:2:30","nodeType":"YulIdentifier","src":"6801:2:30"},"nativeSrc":"6801:16:30","nodeType":"YulFunctionCall","src":"6801:16:30"}],"functionName":{"name":"and","nativeSrc":"6782:3:30","nodeType":"YulIdentifier","src":"6782:3:30"},"nativeSrc":"6782:36:30","nodeType":"YulFunctionCall","src":"6782:36:30"}],"functionName":{"name":"or","nativeSrc":"6742:2:30","nodeType":"YulIdentifier","src":"6742:2:30"},"nativeSrc":"6742:77:30","nodeType":"YulFunctionCall","src":"6742:77:30"},"nativeSrc":"6739:203:30","nodeType":"YulIf","src":"6739:203:30"},{"nativeSrc":"6951:65:30","nodeType":"YulVariableDeclaration","src":"6951:65:30","value":{"arguments":[{"name":"base","nativeSrc":"6993:4:30","nodeType":"YulIdentifier","src":"6993:4:30"},{"name":"exponent","nativeSrc":"6999:8:30","nodeType":"YulIdentifier","src":"6999:8:30"},{"arguments":[{"kind":"number","nativeSrc":"7013:1:30","nodeType":"YulLiteral","src":"7013:1:30","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"7009:3:30","nodeType":"YulIdentifier","src":"7009:3:30"},"nativeSrc":"7009:6:30","nodeType":"YulFunctionCall","src":"7009:6:30"}],"functionName":{"name":"checked_exp_helper","nativeSrc":"6974:18:30","nodeType":"YulIdentifier","src":"6974:18:30"},"nativeSrc":"6974:42:30","nodeType":"YulFunctionCall","src":"6974:42:30"},"variables":[{"name":"power_1","nativeSrc":"6955:7:30","nodeType":"YulTypedName","src":"6955:7:30","type":""},{"name":"base_1","nativeSrc":"6964:6:30","nodeType":"YulTypedName","src":"6964:6:30","type":""}]},{"body":{"nativeSrc":"7061:22:30","nodeType":"YulBlock","src":"7061:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nativeSrc":"7063:16:30","nodeType":"YulIdentifier","src":"7063:16:30"},"nativeSrc":"7063:18:30","nodeType":"YulFunctionCall","src":"7063:18:30"},"nativeSrc":"7063:18:30","nodeType":"YulExpressionStatement","src":"7063:18:30"}]},"condition":{"arguments":[{"name":"power_1","nativeSrc":"7031:7:30","nodeType":"YulIdentifier","src":"7031:7:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"7048:1:30","nodeType":"YulLiteral","src":"7048:1:30","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"7044:3:30","nodeType":"YulIdentifier","src":"7044:3:30"},"nativeSrc":"7044:6:30","nodeType":"YulFunctionCall","src":"7044:6:30"},{"name":"base_1","nativeSrc":"7052:6:30","nodeType":"YulIdentifier","src":"7052:6:30"}],"functionName":{"name":"div","nativeSrc":"7040:3:30","nodeType":"YulIdentifier","src":"7040:3:30"},"nativeSrc":"7040:19:30","nodeType":"YulFunctionCall","src":"7040:19:30"}],"functionName":{"name":"gt","nativeSrc":"7028:2:30","nodeType":"YulIdentifier","src":"7028:2:30"},"nativeSrc":"7028:32:30","nodeType":"YulFunctionCall","src":"7028:32:30"},"nativeSrc":"7025:58:30","nodeType":"YulIf","src":"7025:58:30"},{"nativeSrc":"7092:29:30","nodeType":"YulAssignment","src":"7092:29:30","value":{"arguments":[{"name":"power_1","nativeSrc":"7105:7:30","nodeType":"YulIdentifier","src":"7105:7:30"},{"name":"base_1","nativeSrc":"7114:6:30","nodeType":"YulIdentifier","src":"7114:6:30"}],"functionName":{"name":"mul","nativeSrc":"7101:3:30","nodeType":"YulIdentifier","src":"7101:3:30"},"nativeSrc":"7101:20:30","nodeType":"YulFunctionCall","src":"7101:20:30"},"variableNames":[{"name":"power","nativeSrc":"7092:5:30","nodeType":"YulIdentifier","src":"7092:5:30"}]}]},"name":"checked_exp_unsigned","nativeSrc":"6225:902:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"base","nativeSrc":"6255:4:30","nodeType":"YulTypedName","src":"6255:4:30","type":""},{"name":"exponent","nativeSrc":"6261:8:30","nodeType":"YulTypedName","src":"6261:8:30","type":""}],"returnVariables":[{"name":"power","nativeSrc":"6274:5:30","nodeType":"YulTypedName","src":"6274:5:30","type":""}],"src":"6225:902:30"},{"body":{"nativeSrc":"7200:72:30","nodeType":"YulBlock","src":"7200:72:30","statements":[{"nativeSrc":"7210:56:30","nodeType":"YulAssignment","src":"7210:56:30","value":{"arguments":[{"name":"base","nativeSrc":"7240:4:30","nodeType":"YulIdentifier","src":"7240:4:30"},{"arguments":[{"name":"exponent","nativeSrc":"7250:8:30","nodeType":"YulIdentifier","src":"7250:8:30"},{"kind":"number","nativeSrc":"7260:4:30","nodeType":"YulLiteral","src":"7260:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"7246:3:30","nodeType":"YulIdentifier","src":"7246:3:30"},"nativeSrc":"7246:19:30","nodeType":"YulFunctionCall","src":"7246:19:30"}],"functionName":{"name":"checked_exp_unsigned","nativeSrc":"7219:20:30","nodeType":"YulIdentifier","src":"7219:20:30"},"nativeSrc":"7219:47:30","nodeType":"YulFunctionCall","src":"7219:47:30"},"variableNames":[{"name":"power","nativeSrc":"7210:5:30","nodeType":"YulIdentifier","src":"7210:5:30"}]}]},"name":"checked_exp_t_uint256_t_uint8","nativeSrc":"7132:140:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"base","nativeSrc":"7171:4:30","nodeType":"YulTypedName","src":"7171:4:30","type":""},{"name":"exponent","nativeSrc":"7177:8:30","nodeType":"YulTypedName","src":"7177:8:30","type":""}],"returnVariables":[{"name":"power","nativeSrc":"7190:5:30","nodeType":"YulTypedName","src":"7190:5:30","type":""}],"src":"7132:140:30"},{"body":{"nativeSrc":"7406:145:30","nodeType":"YulBlock","src":"7406:145:30","statements":[{"nativeSrc":"7416:26:30","nodeType":"YulAssignment","src":"7416:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"7428:9:30","nodeType":"YulIdentifier","src":"7428:9:30"},{"kind":"number","nativeSrc":"7439:2:30","nodeType":"YulLiteral","src":"7439:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"7424:3:30","nodeType":"YulIdentifier","src":"7424:3:30"},"nativeSrc":"7424:18:30","nodeType":"YulFunctionCall","src":"7424:18:30"},"variableNames":[{"name":"tail","nativeSrc":"7416:4:30","nodeType":"YulIdentifier","src":"7416:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"7458:9:30","nodeType":"YulIdentifier","src":"7458:9:30"},{"arguments":[{"name":"value0","nativeSrc":"7473:6:30","nodeType":"YulIdentifier","src":"7473:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"7489:3:30","nodeType":"YulLiteral","src":"7489:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"7494:1:30","nodeType":"YulLiteral","src":"7494:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"7485:3:30","nodeType":"YulIdentifier","src":"7485:3:30"},"nativeSrc":"7485:11:30","nodeType":"YulFunctionCall","src":"7485:11:30"},{"kind":"number","nativeSrc":"7498:1:30","nodeType":"YulLiteral","src":"7498:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"7481:3:30","nodeType":"YulIdentifier","src":"7481:3:30"},"nativeSrc":"7481:19:30","nodeType":"YulFunctionCall","src":"7481:19:30"}],"functionName":{"name":"and","nativeSrc":"7469:3:30","nodeType":"YulIdentifier","src":"7469:3:30"},"nativeSrc":"7469:32:30","nodeType":"YulFunctionCall","src":"7469:32:30"}],"functionName":{"name":"mstore","nativeSrc":"7451:6:30","nodeType":"YulIdentifier","src":"7451:6:30"},"nativeSrc":"7451:51:30","nodeType":"YulFunctionCall","src":"7451:51:30"},"nativeSrc":"7451:51:30","nodeType":"YulExpressionStatement","src":"7451:51:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"7522:9:30","nodeType":"YulIdentifier","src":"7522:9:30"},{"kind":"number","nativeSrc":"7533:2:30","nodeType":"YulLiteral","src":"7533:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"7518:3:30","nodeType":"YulIdentifier","src":"7518:3:30"},"nativeSrc":"7518:18:30","nodeType":"YulFunctionCall","src":"7518:18:30"},{"name":"value1","nativeSrc":"7538:6:30","nodeType":"YulIdentifier","src":"7538:6:30"}],"functionName":{"name":"mstore","nativeSrc":"7511:6:30","nodeType":"YulIdentifier","src":"7511:6:30"},"nativeSrc":"7511:34:30","nodeType":"YulFunctionCall","src":"7511:34:30"},"nativeSrc":"7511:34:30","nodeType":"YulExpressionStatement","src":"7511:34:30"}]},"name":"abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed","nativeSrc":"7277:274:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"7367:9:30","nodeType":"YulTypedName","src":"7367:9:30","type":""},{"name":"value1","nativeSrc":"7378:6:30","nodeType":"YulTypedName","src":"7378:6:30","type":""},{"name":"value0","nativeSrc":"7386:6:30","nodeType":"YulTypedName","src":"7386:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"7397:4:30","nodeType":"YulTypedName","src":"7397:4:30","type":""}],"src":"7277:274:30"}]},"contents":"{\n    { }\n    function abi_decode_struct_ExactInputSingleParams_calldata(offset, end) -> value\n    {\n        if slt(sub(end, offset), 256) { revert(0, 0) }\n        value := offset\n    }\n    function abi_decode_tuple_t_struct$_ExactInputSingleParams_$5443_calldata_ptr(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 256) { revert(0, 0) }\n        value0 := abi_decode_struct_ExactInputSingleParams_calldata(headStart, dataEnd)\n    }\n    function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function abi_decode_address(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        value1 := abi_decode_address(add(headStart, 32))\n        let value := 0\n        value := calldataload(add(headStart, 64))\n        value2 := value\n    }\n    function abi_decode_struct_ExactInputParams_calldata(offset, end) -> value\n    {\n        if slt(sub(end, offset), 160) { revert(0, 0) }\n        value := offset\n    }\n    function abi_decode_tuple_t_struct$_ExactInputParams_$5463_calldata_ptr(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        value0 := abi_decode_struct_ExactInputParams_calldata(add(headStart, offset), dataEnd)\n    }\n    function abi_decode_tuple_t_struct$_ExactOutputSingleParams_$5489_calldata_ptr(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 256) { revert(0, 0) }\n        value0 := abi_decode_struct_ExactInputSingleParams_calldata(headStart, dataEnd)\n    }\n    function abi_decode_tuple_t_struct$_ExactOutputParams_$5509_calldata_ptr(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        value0 := abi_decode_struct_ExactInputParams_calldata(add(headStart, offset), dataEnd)\n    }\n    function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        let value := 0\n        value := calldataload(add(headStart, 32))\n        value1 := value\n    }\n    function abi_decode_tuple_t_int256t_int256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        let value := 0\n        value := calldataload(headStart)\n        value0 := value\n        let value_1 := 0\n        value_1 := calldataload(add(headStart, 32))\n        value1 := value_1\n        let offset := calldataload(add(headStart, 64))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let _1 := add(headStart, offset)\n        if iszero(slt(add(_1, 0x1f), dataEnd)) { revert(0, 0) }\n        let length := calldataload(_1)\n        if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n        if gt(add(add(_1, length), 32), dataEnd) { revert(0, 0) }\n        value2 := add(_1, 32)\n        value3 := length\n    }\n    function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n    }\n    function panic_error_0x11()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x11)\n        revert(0, 0x24)\n    }\n    function checked_mul_t_uint256(x, y) -> product\n    {\n        product := mul(x, y)\n        if iszero(or(iszero(x), eq(y, div(product, x)))) { panic_error_0x11() }\n    }\n    function panic_error_0x12()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x12)\n        revert(0, 0x24)\n    }\n    function checked_div_t_uint256(x, y) -> r\n    {\n        if iszero(y)\n        {\n            mstore(0, shl(224, 0x4e487b71))\n            mstore(4, 0x12)\n            revert(0, 0x24)\n        }\n        r := div(x, y)\n    }\n    function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, value0)\n        mstore(add(headStart, 32), value1)\n    }\n    function abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed(headStart, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 96)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 64), value2)\n    }\n    function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n    }\n    function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := mload(headStart)\n    }\n    function abi_decode_tuple_t_uint8_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := mload(headStart)\n        if iszero(eq(value, and(value, 0xff))) { revert(0, 0) }\n        value0 := value\n    }\n    function checked_sub_t_uint8(x, y) -> diff\n    {\n        diff := sub(and(x, 0xff), and(y, 0xff))\n        if gt(diff, 0xff) { panic_error_0x11() }\n    }\n    function checked_exp_helper(_base, exponent, max) -> power, base\n    {\n        power := 1\n        base := _base\n        for { } gt(exponent, 1) { }\n        {\n            if gt(base, div(max, base)) { panic_error_0x11() }\n            if and(exponent, 1) { power := mul(power, base) }\n            base := mul(base, base)\n            exponent := shr(1, exponent)\n        }\n    }\n    function checked_exp_unsigned(base, exponent) -> power\n    {\n        if iszero(exponent)\n        {\n            power := 1\n            leave\n        }\n        if iszero(base)\n        {\n            power := 0\n            leave\n        }\n        switch base\n        case 1 {\n            power := 1\n            leave\n        }\n        case 2 {\n            if gt(exponent, 255) { panic_error_0x11() }\n            power := shl(exponent, 1)\n            let _1 := 0\n            _1 := 0\n            leave\n        }\n        if or(and(lt(base, 11), lt(exponent, 78)), and(lt(base, 307), lt(exponent, 32)))\n        {\n            power := exp(base, exponent)\n            let _2 := 0\n            _2 := 0\n            leave\n        }\n        let power_1, base_1 := checked_exp_helper(base, exponent, not(0))\n        if gt(power_1, div(not(0), base_1)) { panic_error_0x11() }\n        power := mul(power_1, base_1)\n    }\n    function checked_exp_t_uint256_t_uint8(base, exponent) -> power\n    {\n        power := checked_exp_unsigned(base, and(exponent, 0xff))\n    }\n    function abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 32), value1)\n    }\n}","id":30,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"6080604052600436106100705760003560e01c8063db3e21981161004e578063db3e2198146100cf578063f28c0498146100bc578063f3fef3a3146100e2578063fa461e331461010257600080fd5b8063414bf389146100755780634562e0151461009a578063c04b8d59146100bc575b600080fd5b610088610083366004610920565b610122565b60405190815260200160405180910390f35b3480156100a657600080fd5b506100ba6100b5366004610959565b6102fb565b005b6100886100ca3660046109a8565b6103b6565b6100886100dd366004610920565b6103d1565b3480156100ee57600080fd5b506100ba6100fd3660046109e5565b610632565b34801561010e57600080fd5b506100ba61011d366004610a0f565b610692565b6000806101356080840160608501610a92565b6001600160a01b03160361015b5760405162e18e7f60e71b815260040160405180910390fd5b4282608001351015610183576040516001623859e760e21b0319815260040160405180910390fd5b60008260a00135116101a85760405163d11b25af60e01b815260040160405180910390fd5b6000610240670de0b6b3a764000082806101c56020880188610a92565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008660200160208101906101fa9190610a92565b6001600160a01b03168152602080820192909252604001600020549061022b9061022690880188610a92565b6106ab565b6102399060a0880135610ac3565b919061072b565b90506102556102266040850160208601610a92565b61025f9082610af0565b91508160c0840135808210156102965760405163296ba6e160e01b8152600481019290925260248201526044015b60405180910390fd5b506102c19050333060a08601356102b06020880188610a92565b6001600160a01b03169291906107e7565b6102f56102d46080850160608601610a92565b836102e56040870160208801610a92565b6001600160a01b03169190610854565b50919050565b6001600160a01b0383166103225760405163165a825360e21b815260040160405180910390fd5b6001600160a01b0382166103495760405163165a825360e21b815260040160405180910390fd5b6001600160a01b038381166000818152602081815260408083209487168084529482529182902085905581519283528201929092529081018290527fb71c154260e8508e211e2ace194becba2c6d7e727c3ed292fe4787458969cd109060600160405180910390a1505050565b600060405163d623472560e01b815260040160405180910390fd5b6000806103e46080840160608501610a92565b6001600160a01b03160361040a5760405162e18e7f60e71b815260040160405180910390fd5b4282608001351015610432576040516001623859e760e21b0319815260040160405180910390fd5b60008260a00135116104575760405163d11b25af60e01b815260040160405180910390fd5b60006104696040840160208501610a92565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156104af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d39190610b12565b90508060a08401358082101561050557604051634787a10360e11b81526004810192909252602482015260440161028d565b506000905061059f818061051c6020880188610a92565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008660200160208101906105519190610a92565b6001600160a01b03166001600160a01b0316815260200190815260200160002054670de0b6b3a76400006105918760200160208101906102269190610a92565b6102399060a0890135610ac3565b90506105b16102266020860186610a92565b6105bb9082610af0565b92508260c0850135808211156105ed57604051639a06025d60e01b81526004810192909252602482015260440161028d565b5061060390503330856102b06020890189610a92565b61062b6106166080860160608701610a92565b60a08601356102e56040880160208901610a92565b5050919050565b6001600160a01b0382166106595760405163165a825360e21b815260040160405180910390fd5b6000811161067a5760405163165a825360e21b815260040160405180910390fd5b61068e6001600160a01b0383163383610854565b5050565b60405163d623472560e01b815260040160405180910390fd5b6000816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070f9190610b2b565b61071a906012610b4e565b61072590600a610c4e565b92915050565b60008383028160001985870982811083820303915050806000036107625783828161075857610758610ada565b04925050506107e0565b80841161077957610779600385150260111861088a565b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150505b9392505050565b6040516001600160a01b03848116602483015283811660448301526064820183905261084e9186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b03838183161783525050505061089c565b50505050565b6040516001600160a01b0383811660248301526044820183905261088591859182169063a9059cbb9060640161081c565b505050565b634e487b71600052806020526024601cfd5b600080602060008451602086016000885af1806108bf576040513d6000823e3d81fd5b50506000513d915081156108d75780600114156108e4565b6001600160a01b0384163b155b1561084e57604051635274afe760e01b81526001600160a01b038516600482015260240161028d565b600061010082840312156102f557600080fd5b6000610100828403121561093357600080fd5b6107e0838361090d565b80356001600160a01b038116811461095457600080fd5b919050565b60008060006060848603121561096e57600080fd5b6109778461093d565b92506109856020850161093d565b929592945050506040919091013590565b600060a082840312156102f557600080fd5b6000602082840312156109ba57600080fd5b813567ffffffffffffffff8111156109d157600080fd5b6109dd84828501610996565b949350505050565b600080604083850312156109f857600080fd5b610a018361093d565b946020939093013593505050565b60008060008060608587031215610a2557600080fd5b8435935060208501359250604085013567ffffffffffffffff811115610a4a57600080fd5b8501601f81018713610a5b57600080fd5b803567ffffffffffffffff811115610a7257600080fd5b876020828401011115610a8457600080fd5b949793965060200194505050565b600060208284031215610aa457600080fd5b6107e08261093d565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761072557610725610aad565b634e487b7160e01b600052601260045260246000fd5b600082610b0d57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215610b2457600080fd5b5051919050565b600060208284031215610b3d57600080fd5b815160ff811681146107e057600080fd5b60ff828116828216039081111561072557610725610aad565b6001815b6001841115610ba257808504811115610b8657610b86610aad565b6001841615610b9457908102905b60019390931c928002610b6b565b935093915050565b600082610bb957506001610725565b81610bc657506000610725565b8160018114610bdc5760028114610be657610c02565b6001915050610725565b60ff841115610bf757610bf7610aad565b50506001821b610725565b5060208310610133831016604e8410600b8410161715610c25575081810a610725565b610c326000198484610b67565b8060001904821115610c4657610c46610aad565b029392505050565b60006107e060ff841683610baa56fea2646970667358221220eb0002a07157af7491d8c3416c1aca693e3f0eb7c6a3ed01d05f76efd223077a64736f6c634300081c0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x70 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xDB3E2198 GT PUSH2 0x4E JUMPI DUP1 PUSH4 0xDB3E2198 EQ PUSH2 0xCF JUMPI DUP1 PUSH4 0xF28C0498 EQ PUSH2 0xBC JUMPI DUP1 PUSH4 0xF3FEF3A3 EQ PUSH2 0xE2 JUMPI DUP1 PUSH4 0xFA461E33 EQ PUSH2 0x102 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x414BF389 EQ PUSH2 0x75 JUMPI DUP1 PUSH4 0x4562E015 EQ PUSH2 0x9A JUMPI DUP1 PUSH4 0xC04B8D59 EQ PUSH2 0xBC JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x88 PUSH2 0x83 CALLDATASIZE PUSH1 0x4 PUSH2 0x920 JUMP JUMPDEST PUSH2 0x122 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xA6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xBA PUSH2 0xB5 CALLDATASIZE PUSH1 0x4 PUSH2 0x959 JUMP JUMPDEST PUSH2 0x2FB JUMP JUMPDEST STOP JUMPDEST PUSH2 0x88 PUSH2 0xCA CALLDATASIZE PUSH1 0x4 PUSH2 0x9A8 JUMP JUMPDEST PUSH2 0x3B6 JUMP JUMPDEST PUSH2 0x88 PUSH2 0xDD CALLDATASIZE PUSH1 0x4 PUSH2 0x920 JUMP JUMPDEST PUSH2 0x3D1 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xEE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xBA PUSH2 0xFD CALLDATASIZE PUSH1 0x4 PUSH2 0x9E5 JUMP JUMPDEST PUSH2 0x632 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x10E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xBA PUSH2 0x11D CALLDATASIZE PUSH1 0x4 PUSH2 0xA0F JUMP JUMPDEST PUSH2 0x692 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x135 PUSH1 0x80 DUP5 ADD PUSH1 0x60 DUP6 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x15B JUMPI PUSH1 0x40 MLOAD PUSH3 0xE18E7F PUSH1 0xE7 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP3 PUSH1 0x80 ADD CALLDATALOAD LT ISZERO PUSH2 0x183 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH3 0x3859E7 PUSH1 0xE2 SHL SUB NOT DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0xA0 ADD CALLDATALOAD GT PUSH2 0x1A8 JUMPI PUSH1 0x40 MLOAD PUSH4 0xD11B25AF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x240 PUSH8 0xDE0B6B3A7640000 DUP3 DUP1 PUSH2 0x1C5 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP7 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x1FA SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x40 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 PUSH2 0x22B SWAP1 PUSH2 0x226 SWAP1 DUP9 ADD DUP9 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x6AB JUMP JUMPDEST PUSH2 0x239 SWAP1 PUSH1 0xA0 DUP9 ADD CALLDATALOAD PUSH2 0xAC3 JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0x72B JUMP JUMPDEST SWAP1 POP PUSH2 0x255 PUSH2 0x226 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP7 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x25F SWAP1 DUP3 PUSH2 0xAF0 JUMP JUMPDEST SWAP2 POP DUP2 PUSH1 0xC0 DUP5 ADD CALLDATALOAD DUP1 DUP3 LT ISZERO PUSH2 0x296 JUMPI PUSH1 0x40 MLOAD PUSH4 0x296BA6E1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP PUSH2 0x2C1 SWAP1 POP CALLER ADDRESS PUSH1 0xA0 DUP7 ADD CALLDATALOAD PUSH2 0x2B0 PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 SWAP2 SWAP1 PUSH2 0x7E7 JUMP JUMPDEST PUSH2 0x2F5 PUSH2 0x2D4 PUSH1 0x80 DUP6 ADD PUSH1 0x60 DUP7 ADD PUSH2 0xA92 JUMP JUMPDEST DUP4 PUSH2 0x2E5 PUSH1 0x40 DUP8 ADD PUSH1 0x20 DUP9 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 SWAP1 PUSH2 0x854 JUMP JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x322 JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x349 JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP6 SWAP1 SSTORE DUP2 MLOAD SWAP3 DUP4 MSTORE DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP1 DUP2 ADD DUP3 SWAP1 MSTORE PUSH32 0xB71C154260E8508E211E2ACE194BECBA2C6D7E727C3ED292FE4787458969CD10 SWAP1 PUSH1 0x60 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH4 0xD6234725 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x3E4 PUSH1 0x80 DUP5 ADD PUSH1 0x60 DUP6 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x40A JUMPI PUSH1 0x40 MLOAD PUSH3 0xE18E7F PUSH1 0xE7 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP3 PUSH1 0x80 ADD CALLDATALOAD LT ISZERO PUSH2 0x432 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH3 0x3859E7 PUSH1 0xE2 SHL SUB NOT DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0xA0 ADD CALLDATALOAD GT PUSH2 0x457 JUMPI PUSH1 0x40 MLOAD PUSH4 0xD11B25AF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x469 PUSH1 0x40 DUP5 ADD PUSH1 0x20 DUP6 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND SWAP1 PUSH4 0x70A08231 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4AF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4D3 SWAP2 SWAP1 PUSH2 0xB12 JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0xA0 DUP5 ADD CALLDATALOAD DUP1 DUP3 LT ISZERO PUSH2 0x505 JUMPI PUSH1 0x40 MLOAD PUSH4 0x4787A103 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x28D JUMP JUMPDEST POP PUSH1 0x0 SWAP1 POP PUSH2 0x59F DUP2 DUP1 PUSH2 0x51C PUSH1 0x20 DUP9 ADD DUP9 PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP7 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x551 SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD PUSH8 0xDE0B6B3A7640000 PUSH2 0x591 DUP8 PUSH1 0x20 ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x226 SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x239 SWAP1 PUSH1 0xA0 DUP10 ADD CALLDATALOAD PUSH2 0xAC3 JUMP JUMPDEST SWAP1 POP PUSH2 0x5B1 PUSH2 0x226 PUSH1 0x20 DUP7 ADD DUP7 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x5BB SWAP1 DUP3 PUSH2 0xAF0 JUMP JUMPDEST SWAP3 POP DUP3 PUSH1 0xC0 DUP6 ADD CALLDATALOAD DUP1 DUP3 GT ISZERO PUSH2 0x5ED JUMPI PUSH1 0x40 MLOAD PUSH4 0x9A06025D PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x28D JUMP JUMPDEST POP PUSH2 0x603 SWAP1 POP CALLER ADDRESS DUP6 PUSH2 0x2B0 PUSH1 0x20 DUP10 ADD DUP10 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x62B PUSH2 0x616 PUSH1 0x80 DUP7 ADD PUSH1 0x60 DUP8 ADD PUSH2 0xA92 JUMP JUMPDEST PUSH1 0xA0 DUP7 ADD CALLDATALOAD PUSH2 0x2E5 PUSH1 0x40 DUP9 ADD PUSH1 0x20 DUP10 ADD PUSH2 0xA92 JUMP JUMPDEST POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x659 JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP2 GT PUSH2 0x67A JUMPI PUSH1 0x40 MLOAD PUSH4 0x165A8253 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x68E PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND CALLER DUP4 PUSH2 0x854 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xD6234725 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x313CE567 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x6EB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x70F SWAP2 SWAP1 PUSH2 0xB2B JUMP JUMPDEST PUSH2 0x71A SWAP1 PUSH1 0x12 PUSH2 0xB4E JUMP JUMPDEST PUSH2 0x725 SWAP1 PUSH1 0xA PUSH2 0xC4E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 DUP4 MUL DUP2 PUSH1 0x0 NOT DUP6 DUP8 MULMOD DUP3 DUP2 LT DUP4 DUP3 SUB SUB SWAP2 POP POP DUP1 PUSH1 0x0 SUB PUSH2 0x762 JUMPI DUP4 DUP3 DUP2 PUSH2 0x758 JUMPI PUSH2 0x758 PUSH2 0xADA JUMP JUMPDEST DIV SWAP3 POP POP POP PUSH2 0x7E0 JUMP JUMPDEST DUP1 DUP5 GT PUSH2 0x779 JUMPI PUSH2 0x779 PUSH1 0x3 DUP6 ISZERO MUL PUSH1 0x11 XOR PUSH2 0x88A JUMP JUMPDEST PUSH1 0x0 DUP5 DUP7 DUP9 MULMOD PUSH1 0x0 DUP7 DUP2 SUB DUP8 AND SWAP7 DUP8 SWAP1 DIV SWAP7 PUSH1 0x2 PUSH1 0x3 DUP10 MUL DUP2 XOR DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL DUP3 SUB MUL DUP1 DUP11 MUL SWAP1 SWAP2 SUB MUL SWAP2 DUP2 SWAP1 SUB DUP2 SWAP1 DIV PUSH1 0x1 ADD DUP7 DUP5 GT SWAP1 SWAP6 SUB SWAP5 SWAP1 SWAP5 MUL SWAP2 SWAP1 SWAP5 SUB SWAP3 SWAP1 SWAP3 DIV SWAP2 SWAP1 SWAP2 OR SWAP2 SWAP1 SWAP2 MUL SWAP2 POP POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE DUP4 DUP2 AND PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0x64 DUP3 ADD DUP4 SWAP1 MSTORE PUSH2 0x84E SWAP2 DUP7 SWAP2 DUP3 AND SWAP1 PUSH4 0x23B872DD SWAP1 PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP2 POP PUSH1 0xE0 SHL PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB DUP4 DUP2 DUP4 AND OR DUP4 MSTORE POP POP POP POP PUSH2 0x89C JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x44 DUP3 ADD DUP4 SWAP1 MSTORE PUSH2 0x885 SWAP2 DUP6 SWAP2 DUP3 AND SWAP1 PUSH4 0xA9059CBB SWAP1 PUSH1 0x64 ADD PUSH2 0x81C JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0x0 MSTORE DUP1 PUSH1 0x20 MSTORE PUSH1 0x24 PUSH1 0x1C REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x20 PUSH1 0x0 DUP5 MLOAD PUSH1 0x20 DUP7 ADD PUSH1 0x0 DUP9 GAS CALL DUP1 PUSH2 0x8BF JUMPI PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE DUP2 REVERT JUMPDEST POP POP PUSH1 0x0 MLOAD RETURNDATASIZE SWAP2 POP DUP2 ISZERO PUSH2 0x8D7 JUMPI DUP1 PUSH1 0x1 EQ ISZERO PUSH2 0x8E4 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EXTCODESIZE ISZERO JUMPDEST ISZERO PUSH2 0x84E JUMPI PUSH1 0x40 MLOAD PUSH4 0x5274AFE7 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x28D JUMP JUMPDEST PUSH1 0x0 PUSH2 0x100 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x100 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x933 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7E0 DUP4 DUP4 PUSH2 0x90D JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x954 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x96E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x977 DUP5 PUSH2 0x93D JUMP JUMPDEST SWAP3 POP PUSH2 0x985 PUSH1 0x20 DUP6 ADD PUSH2 0x93D JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA0 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x9BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x9D1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x9DD DUP5 DUP3 DUP6 ADD PUSH2 0x996 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x9F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA01 DUP4 PUSH2 0x93D JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x60 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xA25 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xA4A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 ADD PUSH1 0x1F DUP2 ADD DUP8 SGT PUSH2 0xA5B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xA72 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 PUSH1 0x20 DUP3 DUP5 ADD ADD GT ISZERO PUSH2 0xA84 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP PUSH1 0x20 ADD SWAP5 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xAA4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7E0 DUP3 PUSH2 0x93D JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x725 JUMPI PUSH2 0x725 PUSH2 0xAAD JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH2 0xB0D JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB24 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB3D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x7E0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0xFF DUP3 DUP2 AND DUP3 DUP3 AND SUB SWAP1 DUP2 GT ISZERO PUSH2 0x725 JUMPI PUSH2 0x725 PUSH2 0xAAD JUMP JUMPDEST PUSH1 0x1 DUP2 JUMPDEST PUSH1 0x1 DUP5 GT ISZERO PUSH2 0xBA2 JUMPI DUP1 DUP6 DIV DUP2 GT ISZERO PUSH2 0xB86 JUMPI PUSH2 0xB86 PUSH2 0xAAD JUMP JUMPDEST PUSH1 0x1 DUP5 AND ISZERO PUSH2 0xB94 JUMPI SWAP1 DUP2 MUL SWAP1 JUMPDEST PUSH1 0x1 SWAP4 SWAP1 SWAP4 SHR SWAP3 DUP1 MUL PUSH2 0xB6B JUMP JUMPDEST SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0xBB9 JUMPI POP PUSH1 0x1 PUSH2 0x725 JUMP JUMPDEST DUP2 PUSH2 0xBC6 JUMPI POP PUSH1 0x0 PUSH2 0x725 JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH2 0xBDC JUMPI PUSH1 0x2 DUP2 EQ PUSH2 0xBE6 JUMPI PUSH2 0xC02 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH2 0x725 JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH2 0xBF7 JUMPI PUSH2 0xBF7 PUSH2 0xAAD JUMP JUMPDEST POP POP PUSH1 0x1 DUP3 SHL PUSH2 0x725 JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH2 0xC25 JUMPI POP DUP2 DUP2 EXP PUSH2 0x725 JUMP JUMPDEST PUSH2 0xC32 PUSH1 0x0 NOT DUP5 DUP5 PUSH2 0xB67 JUMP JUMPDEST DUP1 PUSH1 0x0 NOT DIV DUP3 GT ISZERO PUSH2 0xC46 JUMPI PUSH2 0xC46 PUSH2 0xAAD JUMP JUMPDEST MUL SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x7E0 PUSH1 0xFF DUP5 AND DUP4 PUSH2 0xBAA JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xEB STOP MUL LOG0 PUSH18 0x57AF7491D8C3416C1ACA693E3F0EB7C6A3ED ADD 0xD0 PUSH0 PUSH23 0xEFD223077A64736F6C634300081C003300000000000000 ","sourceMap":"661:3653:26:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1349:822;;;;;;:::i;:::-;;:::i;:::-;;;610:25:30;;;598:2;583:18;1349:822:26;;;;;;;3427:296;;;;;;;;;;-1:-1:-1;3427:296:26;;;;;:::i;:::-;;:::i;:::-;;4023:116;;;;;;:::i;:::-;;:::i;2216:979::-;;;;;;:::i;:::-;;:::i;3199:224::-;;;;;;;;;;-1:-1:-1;3199:224:26;;;;;:::i;:::-;;:::i;4201:111::-;;;;;;;;;;-1:-1:-1;4201:111:26;;;;;:::i;:::-;;:::i;1349:822::-;1441:17;;1474:16;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1474:30:26;;1466:64;;;;-1:-1:-1;;;1466:64:26;;;;;;;;;;;;1563:15;1544:6;:15;;;:34;;1536:64;;;;-1:-1:-1;;;;;;1536:64:26;;;;;;;;;;;;1632:1;1614:6;:15;;;:19;1606:50;;;;-1:-1:-1;;;1606:50:26;;;;;;;;;;;;1663:22;1688:120;837:4;1663:22;;1770:14;;;;:6;:14;:::i;:::-;-1:-1:-1;;;;;1762:23:26;-1:-1:-1;;;;;1762:23:26;;;;;;;;;;;;:40;1786:6;:15;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1762:40:26;;;;;;;;;;;;;-1:-1:-1;1762:40:26;;;1707:28;;1720:14;;;;:6;:14;:::i;:::-;1707:12;:28::i;:::-;1689:46;;:15;;;;:46;:::i;:::-;1688:55;:120;:55;:120::i;:::-;1663:145;-1:-1:-1;1843:29:26;1856:15;;;;;;;;:::i;1843:29::-;1826:46;;:14;:46;:::i;:::-;1814:58;-1:-1:-1;1814:58:26;1899:23;;;;1886:36;;;;1878:111;;;;-1:-1:-1;;;1878:111:26;;;;;4559:25:30;;;;4600:18;;;4593:34;4532:18;;1878:111:26;;;;;;;;;-1:-1:-1;1996:91:26;;-1:-1:-1;2044:10:26;2064:4;2071:15;;;;2011:14;;;;2071:6;2011:14;:::i;:::-;-1:-1:-1;;;;;1996:47:26;;:91;;:47;:91::i;:::-;2093:73;2138:16;;;;;;;;:::i;:::-;2156:9;2108:15;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2093:44:26;;:73;:44;:73::i;:::-;1460:711;1349:822;;;:::o;3427:296::-;-1:-1:-1;;;;;3526:21:26;;3518:51;;;;-1:-1:-1;;;3518:51:26;;;;;;;;;;;;-1:-1:-1;;;;;3583:22:26;;3575:52;;;;-1:-1:-1;;;3575:52:26;;;;;;;;;;;;-1:-1:-1;;;;;3633:16:26;;;:7;:16;;;;;;;;;;;:26;;;;;;;;;;;;;:35;;;3679:39;;4840:51:30;;;4907:18;;4900:60;;;;4976:18;;;4969:34;;;3679:39:26;;4828:2:30;4813:18;3679:39:26;;;;;;;3427:296;;;:::o;4023:116::-;4096:7;4118:16;;-1:-1:-1;;;4118:16:26;;;;;;;;;;;2216:979;2310:16;;2342;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2342:30:26;;2334:64;;;;-1:-1:-1;;;2334:64:26;;;;;;;;;;;;2431:15;2412:6;:15;;;:34;;2404:64;;;;-1:-1:-1;;;;;;2404:64:26;;;;;;;;;;;;2501:1;2482:6;:16;;;:20;2474:51;;;;-1:-1:-1;;;2474:51:26;;;;;;;;;;;;2531:15;2564;;;;;;;;:::i;:::-;2549:56;;-1:-1:-1;;;2549:56:26;;2599:4;2549:56;;;5160:51:30;-1:-1:-1;;;;;2549:41:26;;;;;;;5133:18:30;;2549:56:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2531:74;-1:-1:-1;2531:74:26;2630:16;;;;2619:27;;;;2611:81;;;;-1:-1:-1;;;2611:81:26;;;;;4559:25:30;;;;4600:18;;;4593:34;4532:18;;2611:81:26;4385:248:30;2611:81:26;-1:-1:-1;2699:19:26;;-1:-1:-1;2721:122:26;2699:19;;2794:14;;;;:6;:14;:::i;:::-;-1:-1:-1;;;;;2786:23:26;-1:-1:-1;;;;;2786:23:26;;;;;;;;;;;;:40;2810:6;:15;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2786:40:26;-1:-1:-1;;;;;2786:40:26;;;;;;;;;;;;;837:4;2741:29;2754:6;:15;;;;;;;;;;:::i;2741:29::-;2722:48;;:16;;;;:48;:::i;2721:122::-;2699:144;-1:-1:-1;2874:28:26;2887:14;;;;:6;:14;:::i;2874:28::-;2860:42;;:11;:42;:::i;:::-;2849:53;-1:-1:-1;2849:53:26;2928:22;;;;2916:34;;;;2908:105;;;;-1:-1:-1;;;2908:105:26;;;;;4559:25:30;;;;4600:18;;;4593:34;4532:18;;2908:105:26;4385:248:30;2908:105:26;-1:-1:-1;3020:84:26;;-1:-1:-1;3068:10:26;3088:4;3095:8;3035:14;;;;:6;:14;:::i;3020:84::-;3110:80;3155:16;;;;;;;;:::i;:::-;3173;;;;3125:15;;;;;;;;:::i;3110:80::-;2328:867;;2216:979;;;:::o;3199:224::-;-1:-1:-1;;;;;3271:19:26;;3263:49;;;;-1:-1:-1;;;3263:49:26;;;;;;;;;;;;3335:1;3326:6;:10;3318:40;;;;-1:-1:-1;;;3318:40:26;;;;;;;;;;;;3364:54;-1:-1:-1;;;;;3364:34:26;;3399:10;3411:6;3364:34;:54::i;:::-;3199:224;;:::o;4201:111::-;4291:16;;-1:-1:-1;;;4291:16:26;;;;;;;;;;;1170:134;1230:7;1280:5;-1:-1:-1;;;;;1265:30:26;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1260:37;;:2;:37;:::i;:::-;1253:45;;:2;:45;:::i;:::-;1245:54;1170:134;-1:-1:-1;;1170:134:26:o;4996:4226:16:-;5078:14;5449:5;;;5078:14;-1:-1:-1;;5453:1:16;5449;5621:20;5694:5;5690:2;5687:13;5679:5;5675:2;5671:14;5667:34;5658:43;;;5796:5;5805:1;5796:10;5792:368;;6134:11;6126:5;:19;;;;;:::i;:::-;;6119:26;;;;;;5792:368;6285:5;6270:11;:20;6266:143;;6310:84;3066:5;6330:16;;3065:36;940:4:13;3060:42:16;6310:11;:84::i;:::-;6664:17;6799:11;6796:1;6793;6786:25;7199:12;7229:15;;;7214:31;;7348:22;;;;;8094:1;8075;:15;;8074:21;;8327;;;8323:25;;8312:36;8397:21;;;8393:25;;8382:36;8469:21;;;8465:25;;8454:36;8540:21;;;8536:25;;8525:36;8613:21;;;8609:25;;8598:36;8687:21;;;8683:25;;;8672:36;7597:12;;;;7593:23;;;7618:1;7589:31;6913:20;;;6902:32;;;7709:12;;;;6960:21;;;;7446:16;;;;7700:21;;;;9163:15;;;;;-1:-1:-1;;4996:4226:16;;;;;;:::o;1670:188:9:-;1797:53;;-1:-1:-1;;;;;4858:32:30;;;1797:53:9;;;4840:51:30;4927:32;;;4907:18;;;4900:60;4976:18;;;4969:34;;;1770:81:9;;1790:5;;1812:18;;;;;4813::30;;1797:53:9;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1797:53:9;;;;;;;;;;;1770:19;:81::i;:::-;1670:188;;;;:::o;1271:160::-;1380:43;;-1:-1:-1;;;;;7469:32:30;;;1380:43:9;;;7451:51:30;7518:18;;;7511:34;;;1353:71:9;;1373:5;;1395:14;;;;;7424:18:30;;1380:43:9;7277:274:30;1353:71:9;1271:160;;;:::o;1776:194:13:-;1881:10;1875:4;1868:24;1918:4;1912;1905:18;1949:4;1943;1936:18;7738:720:9;7818:18;7846:19;7984:4;7981:1;7974:4;7968:11;7961:4;7955;7951:15;7948:1;7941:5;7934;7929:60;8041:7;8031:176;;8085:4;8079:11;8130:16;8127:1;8122:3;8107:40;8176:16;8171:3;8164:29;8031:176;-1:-1:-1;;8284:1:9;8278:8;8234:16;;-1:-1:-1;8310:15:9;;:68;;8362:11;8377:1;8362:16;;8310:68;;;-1:-1:-1;;;;;8328:26:9;;;:31;8310:68;8306:146;;;8401:40;;-1:-1:-1;;;8401:40:9;;-1:-1:-1;;;;;5178:32:30;;8401:40:9;;;5160:51:30;5133:18;;8401:40:9;5014:203:30;14:171;89:5;134:3;125:6;120:3;116:16;112:26;109:46;;;151:1;148;141:12;190:269;291:6;344:3;332:9;323:7;319:23;315:33;312:53;;;361:1;358;351:12;312:53;384:69;445:7;434:9;384:69;:::i;646:173::-;714:20;;-1:-1:-1;;;;;763:31:30;;753:42;;743:70;;809:1;806;799:12;743:70;646:173;;;:::o;824:374::-;901:6;909;917;970:2;958:9;949:7;945:23;941:32;938:52;;;986:1;983;976:12;938:52;1009:29;1028:9;1009:29;:::i;:::-;999:39;;1057:38;1091:2;1080:9;1076:18;1057:38;:::i;:::-;824:374;;1047:48;;-1:-1:-1;;;1164:2:30;1149:18;;;;1136:32;;824:374::o;1203:165::-;1272:5;1317:3;1308:6;1303:3;1299:16;1295:26;1292:46;;;1334:1;1331;1324:12;1373:374;1468:6;1521:2;1509:9;1500:7;1496:23;1492:32;1489:52;;;1537:1;1534;1527:12;1489:52;1577:9;1564:23;1610:18;1602:6;1599:30;1596:50;;;1642:1;1639;1632:12;1596:50;1665:76;1733:7;1724:6;1713:9;1709:22;1665:76;:::i;:::-;1655:86;1373:374;-1:-1:-1;;;;1373:374:30:o;2407:300::-;2475:6;2483;2536:2;2524:9;2515:7;2511:23;2507:32;2504:52;;;2552:1;2549;2542:12;2504:52;2575:29;2594:9;2575:29;:::i;:::-;2565:39;2673:2;2658:18;;;;2645:32;;-1:-1:-1;;;2407:300:30:o;2712:818::-;2798:6;2806;2814;2822;2875:2;2863:9;2854:7;2850:23;2846:32;2843:52;;;2891:1;2888;2881:12;2843:52;2936:23;;;-1:-1:-1;3056:2:30;3041:18;;3028:32;;-1:-1:-1;3137:2:30;3122:18;;3109:32;3164:18;3153:30;;3150:50;;;3196:1;3193;3186:12;3150:50;3219:22;;3272:4;3264:13;;3260:27;-1:-1:-1;3250:55:30;;3301:1;3298;3291:12;3250:55;3341:2;3328:16;3367:18;3359:6;3356:30;3353:50;;;3399:1;3396;3389:12;3353:50;3444:7;3439:2;3430:6;3426:2;3422:15;3418:24;3415:37;3412:57;;;3465:1;3462;3455:12;3412:57;2712:818;;;;-1:-1:-1;3496:2:30;3488:11;;-1:-1:-1;;;2712:818:30:o;3535:186::-;3594:6;3647:2;3635:9;3626:7;3622:23;3618:32;3615:52;;;3663:1;3660;3653:12;3615:52;3686:29;3705:9;3686:29;:::i;3726:127::-;3787:10;3782:3;3778:20;3775:1;3768:31;3818:4;3815:1;3808:15;3842:4;3839:1;3832:15;3858:168;3931:9;;;3962;;3979:15;;;3973:22;;3959:37;3949:71;;4000:18;;:::i;4031:127::-;4092:10;4087:3;4083:20;4080:1;4073:31;4123:4;4120:1;4113:15;4147:4;4144:1;4137:15;4163:217;4203:1;4229;4219:132;;4273:10;4268:3;4264:20;4261:1;4254:31;4308:4;4305:1;4298:15;4336:4;4333:1;4326:15;4219:132;-1:-1:-1;4365:9:30;;4163:217::o;5222:184::-;5292:6;5345:2;5333:9;5324:7;5320:23;5316:32;5313:52;;;5361:1;5358;5351:12;5313:52;-1:-1:-1;5384:16:30;;5222:184;-1:-1:-1;5222:184:30:o;5411:273::-;5479:6;5532:2;5520:9;5511:7;5507:23;5503:32;5500:52;;;5548:1;5545;5538:12;5500:52;5580:9;5574:16;5630:4;5623:5;5619:16;5612:5;5609:27;5599:55;;5650:1;5647;5640:12;5689:151;5779:4;5772:12;;;5758;;;5754:31;;5797:14;;5794:40;;;5814:18;;:::i;5845:375::-;5933:1;5951:5;5965:249;5986:1;5976:8;5973:15;5965:249;;;6036:4;6031:3;6027:14;6021:4;6018:24;6015:50;;;6045:18;;:::i;:::-;6095:1;6085:8;6081:16;6078:49;;;6109:16;;;;6078:49;6192:1;6188:16;;;;;6148:15;;5965:249;;;5845:375;;;;;;:::o;6225:902::-;6274:5;6304:8;6294:80;;-1:-1:-1;6345:1:30;6359:5;;6294:80;6393:4;6383:76;;-1:-1:-1;6430:1:30;6444:5;;6383:76;6475:4;6493:1;6488:59;;;;6561:1;6556:174;;;;6468:262;;6488:59;6518:1;6509:10;;6532:5;;;6556:174;6593:3;6583:8;6580:17;6577:43;;;6600:18;;:::i;:::-;-1:-1:-1;;6656:1:30;6642:16;;6715:5;;6468:262;;6814:2;6804:8;6801:16;6795:3;6789:4;6786:13;6782:36;6776:2;6766:8;6763:16;6758:2;6752:4;6749:12;6745:35;6742:77;6739:203;;;-1:-1:-1;6851:19:30;;;6927:5;;6739:203;6974:42;-1:-1:-1;;6999:8:30;6993:4;6974:42;:::i;:::-;7052:6;7048:1;7044:6;7040:19;7031:7;7028:32;7025:58;;;7063:18;;:::i;:::-;7101:20;;6225:902;-1:-1:-1;;;6225:902:30:o;7132:140::-;7190:5;7219:47;7260:4;7250:8;7246:19;7240:4;7219:47;:::i"},"methodIdentifiers":{"exactInput((bytes,address,uint256,uint256,uint256))":"c04b8d59","exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))":"414bf389","exactOutput((bytes,address,uint256,uint256,uint256))":"f28c0498","exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))":"db3e2198","setCurrentPrice(address,address,uint256)":"4562e015","uniswapV3SwapCallback(int256,int256,bytes)":"fa461e33","withdraw(address,uint256)":"f3fef3a3"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AdminCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineInThePast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"}],\"name\":\"InputAmountExceedsSlippage\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"available\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"required\",\"type\":\"uint256\"}],\"name\":\"NotEnoughBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotImplemented\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"}],\"name\":\"OutputAmountLessThanSlippage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RecipientCannotBeZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenCannotBeZero\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"PriceUpdated\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"}],\"internalType\":\"struct ISwapRouter.ExactInputParams\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"exactInput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct ISwapRouter.ExactInputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"}],\"internalType\":\"struct ISwapRouter.ExactOutputParams\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"exactOutput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct ISwapRouter.ExactOutputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactOutputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price_\",\"type\":\"uint256\"}],\"name\":\"setCurrentPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}]},\"kind\":\"dev\",\"methods\":{\"exactInput((bytes,address,uint256,uint256,uint256))\":{\"params\":{\"params\":\"The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata\"},\"returns\":{\"_0\":\"The amount of the received token\"}},\"exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"params\":{\"params\":\"The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata\"},\"returns\":{\"amountOut\":\"The amount of the received token\"}},\"exactOutput((bytes,address,uint256,uint256,uint256))\":{\"params\":{\"params\":\"The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata\"},\"returns\":{\"_0\":\"The amount of the input token\"}},\"exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"params\":{\"params\":\"The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata\"},\"returns\":{\"amountIn\":\"The amount of the input token\"}}},\"title\":\"SwapRouterMock\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"exactInput((bytes,address,uint256,uint256,uint256))\":{\"notice\":\"This function is not implemented\"},\"exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"notice\":\"Swaps `amountIn` of one token for as much as possible of another token\"},\"exactOutput((bytes,address,uint256,uint256,uint256))\":{\"notice\":\"This function is not implemented\"},\"exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))\":{\"notice\":\"Swaps as little as possible of one token for `amountOut` of another token\"},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"notice\":\"This function is not implemented\"}},\"notice\":\"SwapRouter mock that can swap a single type of token for several others\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/mocks/SwapRouterMock.sol\":\"SwapRouterMock\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b\",\"dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF\"]},\"@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a\",\"dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS\"]},\"@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba\",\"dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862\",\"dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23\",\"dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb\"]},\"@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa00be322d7db5786750ce0ac7e2f5b633ac30a5ed5fa1ced1e74acfc19acecea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c84e822f87cbdc4082533b626667b6928715bb2b1e8e7eb96954cebb9e38c8d\",\"dweb:/ipfs/QmZmy9dgxLTerBAQDuuHqbL6EpgRxddqgv5KmwpXYVbKz1\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol\":{\"keccak256\":\"0x9bfaf1feb32814623e627ab70f2409760b15d95f1f9b058e2b3399a8bb732975\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8a2c3e55965b61bcd91993d8e1d5d34b8b8a63e0fdfce87a85f6af92526fd53\",\"dweb:/ipfs/QmQj2CSCSwqDSU4KMNWxGsN2336Cy64WgpV1X1EHXNZWxM\"]},\"contracts/interfaces/ISwapRouterErrors.sol\":{\"keccak256\":\"0x896abfd41692c6fdce8bff95510374807df8661c25650bf5974abaa2f89f91f4\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1c221f36a8aad0c42df332f1984c2f5c1f251daf33858ff42b0d9aaa6b6eab3c\",\"dweb:/ipfs/Qmf8d7HwMfqqPxChyxn3X6ZikBmuxW8fGBCaADw5yKSzCL\"]},\"contracts/mocks/SwapRouterMock.sol\":{\"keccak256\":\"0xfce8c95dadbdb64b76c8aeb63a9879c98f7fab7d21f02aea24794cd56b75ee10\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://044a7afb8d1fc0c8562640ea8ff0e7ee20974f6ba8b3ef6428625451c55470de\",\"dweb:/ipfs/Qmb6Kdk8Mwj27SHDWEzvDk6fUGD5JrKhWVX2h88yZCmM2v\"]}},\"version\":1}"}},"contracts/mocks/SwapTesterMock.sol":{"SwapTesterMock":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"input","type":"uint256"}],"name":"ExactInputResult","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"output","type":"uint256"}],"name":"ExactOutputResult","type":"event"},{"inputs":[{"components":[{"internalType":"enum SwapLibrary.SwapProtocol","name":"protocol","type":"uint8"},{"internalType":"uint256","name":"maxSlippage","type":"uint256"},{"internalType":"bytes","name":"customParams","type":"bytes"}],"internalType":"struct SwapLibrary.SwapConfig","name":"swapConfig","type":"tuple"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"executeExactInput","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"enum SwapLibrary.SwapProtocol","name":"protocol","type":"uint8"},{"internalType":"uint256","name":"maxSlippage","type":"uint256"},{"internalType":"bytes","name":"customParams","type":"bytes"}],"internalType":"struct SwapLibrary.SwapConfig","name":"swapConfig","type":"tuple"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"executeExactOutput","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"enum SwapLibrary.SwapProtocol","name":"protocol","type":"uint8"},{"internalType":"uint256","name":"maxSlippage","type":"uint256"},{"internalType":"bytes","name":"customParams","type":"bytes"}],"internalType":"struct SwapLibrary.SwapConfig","name":"swapConfig","type":"tuple"}],"name":"validateConfig","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{"contracts/SwapLibrary.sol":{"SwapLibrary":[{"length":20,"start":186},{"length":20,"start":391},{"length":20,"start":578}]}},"object":"6080604052348015600f57600080fd5b506105c08061001f6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063178fc642146100465780631922e4d71461005b578063d74018a71461006e575b600080fd5b6100596100543660046102b1565b610081565b005b6100596100693660046102b1565b61014e565b61005961007c366004610321565b61020b565b600061008c866103ce565b60405163581e517d60e01b815273__$6208b5e12e0bba0a75d52081aca1136159$__9163581e517d916100ca91908990899089908990600401610517565b602060405180830381865af41580156100e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010b9190610557565b90507f7d1251252437180878066577dd1c280db8feb2152d57a044f147003bd04ba4eb8160405161013e91815260200190565b60405180910390a1505050505050565b6000610159866103ce565b604051637756691560e01b815273__$6208b5e12e0bba0a75d52081aca1136159$__9163775669159161019791908990899089908990600401610517565b602060405180830381865af41580156101b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d89190610557565b90507f59fbbb51cc726a41bc000734e10c34b705550e4d5c75611780ec30c767064e488160405161013e91815260200190565b610214816103ce565b604051632cbf28cb60e21b815273__$6208b5e12e0bba0a75d52081aca1136159$__9163b2fca32c9161024a9190600401610570565b60006040518083038186803b15801561026257600080fd5b505af4158015610276573d6000803e3d6000fd5b5050505050565b60006060828403121561028f57600080fd5b50919050565b80356001600160a01b03811681146102ac57600080fd5b919050565b600080600080600060a086880312156102c957600080fd5b853567ffffffffffffffff8111156102e057600080fd5b6102ec8882890161027d565b9550506102fb60208701610295565b935061030960408701610295565b94979396509394606081013594506080013592915050565b60006020828403121561033357600080fd5b813567ffffffffffffffff81111561034a57600080fd5b6103568482850161027d565b949350505050565b634e487b7160e01b600052604160045260246000fd5b6040516060810167ffffffffffffffff811182821017156103975761039761035e565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156103c6576103c661035e565b604052919050565b6000606082360312156103e057600080fd5b6103e8610374565b8235600381106103f757600080fd5b815260208381013590820152604083013567ffffffffffffffff81111561041d57600080fd5b830136601f82011261042e57600080fd5b803567ffffffffffffffff8111156104485761044861035e565b61045b601f8201601f191660200161039d565b81815236602083850101111561047057600080fd5b8160208401602083013760009181016020019190915260408301525092915050565b60008151600381106104b457634e487b7160e01b600052602160045260246000fd5b8084525060208201516020840152604082015160606040850152805180606086015260005b818110156104f657602081840181015160808884010152016104d9565b506000608082870101526080601f19601f8301168601019250505092915050565b60a08152600061052a60a0830188610492565b6001600160a01b039687166020840152949095166040820152606081019290925260809091015292915050565b60006020828403121561056957600080fd5b5051919050565b6020815260006105836020830184610492565b939250505056fea2646970667358221220cd7329872df600603629abd1b0b6be07e08ccceddb26418a89eef1193a8f83fd64736f6c634300081c0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x5C0 DUP1 PUSH2 0x1F 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 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x178FC642 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x1922E4D7 EQ PUSH2 0x5B JUMPI DUP1 PUSH4 0xD74018A7 EQ PUSH2 0x6E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x59 PUSH2 0x54 CALLDATASIZE PUSH1 0x4 PUSH2 0x2B1 JUMP JUMPDEST PUSH2 0x81 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x59 PUSH2 0x69 CALLDATASIZE PUSH1 0x4 PUSH2 0x2B1 JUMP JUMPDEST PUSH2 0x14E JUMP JUMPDEST PUSH2 0x59 PUSH2 0x7C CALLDATASIZE PUSH1 0x4 PUSH2 0x321 JUMP JUMPDEST PUSH2 0x20B JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8C DUP7 PUSH2 0x3CE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x581E517D PUSH1 0xE0 SHL DUP2 MSTORE PUSH20 0x0 SWAP2 PUSH4 0x581E517D SWAP2 PUSH2 0xCA SWAP2 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 PUSH1 0x4 ADD PUSH2 0x517 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0xE7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x10B SWAP2 SWAP1 PUSH2 0x557 JUMP JUMPDEST SWAP1 POP PUSH32 0x7D1251252437180878066577DD1C280DB8FEB2152D57A044F147003BD04BA4EB DUP2 PUSH1 0x40 MLOAD PUSH2 0x13E SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x159 DUP7 PUSH2 0x3CE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x77566915 PUSH1 0xE0 SHL DUP2 MSTORE PUSH20 0x0 SWAP2 PUSH4 0x77566915 SWAP2 PUSH2 0x197 SWAP2 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 PUSH1 0x4 ADD PUSH2 0x517 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x1B4 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1D8 SWAP2 SWAP1 PUSH2 0x557 JUMP JUMPDEST SWAP1 POP PUSH32 0x59FBBB51CC726A41BC000734E10C34B705550E4D5C75611780EC30C767064E48 DUP2 PUSH1 0x40 MLOAD PUSH2 0x13E SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH2 0x214 DUP2 PUSH2 0x3CE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x2CBF28CB PUSH1 0xE2 SHL DUP2 MSTORE PUSH20 0x0 SWAP2 PUSH4 0xB2FCA32C SWAP2 PUSH2 0x24A SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x570 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x262 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x276 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x28F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x2AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x2C9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2E0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2EC DUP9 DUP3 DUP10 ADD PUSH2 0x27D JUMP JUMPDEST SWAP6 POP POP PUSH2 0x2FB PUSH1 0x20 DUP8 ADD PUSH2 0x295 JUMP JUMPDEST SWAP4 POP PUSH2 0x309 PUSH1 0x40 DUP8 ADD PUSH2 0x295 JUMP JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP SWAP4 SWAP5 PUSH1 0x60 DUP2 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 ADD CALLDATALOAD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x333 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x34A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x356 DUP5 DUP3 DUP6 ADD PUSH2 0x27D JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x397 JUMPI PUSH2 0x397 PUSH2 0x35E JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x3C6 JUMPI PUSH2 0x3C6 PUSH2 0x35E JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 CALLDATASIZE SUB SLT ISZERO PUSH2 0x3E0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x3E8 PUSH2 0x374 JUMP JUMPDEST DUP3 CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH2 0x3F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MSTORE PUSH1 0x20 DUP4 DUP2 ADD CALLDATALOAD SWAP1 DUP3 ADD MSTORE PUSH1 0x40 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x41D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 ADD CALLDATASIZE PUSH1 0x1F DUP3 ADD SLT PUSH2 0x42E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x448 JUMPI PUSH2 0x448 PUSH2 0x35E JUMP JUMPDEST PUSH2 0x45B PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD PUSH2 0x39D JUMP JUMPDEST DUP2 DUP2 MSTORE CALLDATASIZE PUSH1 0x20 DUP4 DUP6 ADD ADD GT ISZERO PUSH2 0x470 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP5 ADD PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 SWAP2 DUP2 ADD PUSH1 0x20 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x4B4 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP1 DUP5 MSTORE POP PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x60 PUSH1 0x40 DUP6 ADD MSTORE DUP1 MLOAD DUP1 PUSH1 0x60 DUP7 ADD MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x4F6 JUMPI PUSH1 0x20 DUP2 DUP5 ADD DUP2 ADD MLOAD PUSH1 0x80 DUP9 DUP5 ADD ADD MSTORE ADD PUSH2 0x4D9 JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x80 DUP3 DUP8 ADD ADD MSTORE PUSH1 0x80 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND DUP7 ADD ADD SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0xA0 DUP2 MSTORE PUSH1 0x0 PUSH2 0x52A PUSH1 0xA0 DUP4 ADD DUP9 PUSH2 0x492 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP7 DUP8 AND PUSH1 0x20 DUP5 ADD MSTORE SWAP5 SWAP1 SWAP6 AND PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x80 SWAP1 SWAP2 ADD MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x569 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x583 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x492 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCD PUSH20 0x29872DF600603629ABD1B0B6BE07E08CCCEDDB26 COINBASE DUP11 DUP10 0xEE CALL NOT GASPRICE DUP16 DUP4 REVERT PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"115:872:27:-:0;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@executeExactInput_8248":{"entryPoint":334,"id":8248,"parameterSlots":5,"returnSlots":0},"@executeExactOutput_8277":{"entryPoint":129,"id":8277,"parameterSlots":5,"returnSlots":0},"@validateConfig_8289":{"entryPoint":523,"id":8289,"parameterSlots":1,"returnSlots":0},"abi_decode_address":{"entryPoint":661,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_struct_SwapConfig_calldata":{"entryPoint":637,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptr":{"entryPoint":801,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptrt_addresst_addresst_uint256t_uint256":{"entryPoint":689,"id":null,"parameterSlots":2,"returnSlots":5},"abi_decode_tuple_t_uint256_fromMemory":{"entryPoint":1367,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_struct_SwapConfig":{"entryPoint":1170,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_struct$_SwapConfig_$6603_memory_ptr__to_t_struct$_SwapConfig_$6603_memory_ptr__fromStack_library_reversed":{"entryPoint":1392,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_struct$_SwapConfig_$6603_memory_ptr_t_address_t_address_t_uint256_t_uint256__to_t_struct$_SwapConfig_$6603_memory_ptr_t_address_t_address_t_uint256_t_uint256__fromStack_library_reversed":{"entryPoint":1303,"id":null,"parameterSlots":6,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"allocate_memory":{"entryPoint":925,"id":null,"parameterSlots":1,"returnSlots":1},"allocate_memory_879":{"entryPoint":884,"id":null,"parameterSlots":0,"returnSlots":1},"convert_t_struct$_SwapConfig_$6603_calldata_ptr_to_t_struct$_SwapConfig_$6603_memory_ptr":{"entryPoint":974,"id":null,"parameterSlots":1,"returnSlots":1},"panic_error_0x41":{"entryPoint":862,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nativeSrc":"0:5361:30","nodeType":"YulBlock","src":"0:5361:30","statements":[{"nativeSrc":"6:3:30","nodeType":"YulBlock","src":"6:3:30","statements":[]},{"body":{"nativeSrc":"87:85:30","nodeType":"YulBlock","src":"87:85:30","statements":[{"body":{"nativeSrc":"126:16:30","nodeType":"YulBlock","src":"126:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"135:1:30","nodeType":"YulLiteral","src":"135:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"138:1:30","nodeType":"YulLiteral","src":"138:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"128:6:30","nodeType":"YulIdentifier","src":"128:6:30"},"nativeSrc":"128:12:30","nodeType":"YulFunctionCall","src":"128:12:30"},"nativeSrc":"128:12:30","nodeType":"YulExpressionStatement","src":"128:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"end","nativeSrc":"108:3:30","nodeType":"YulIdentifier","src":"108:3:30"},{"name":"offset","nativeSrc":"113:6:30","nodeType":"YulIdentifier","src":"113:6:30"}],"functionName":{"name":"sub","nativeSrc":"104:3:30","nodeType":"YulIdentifier","src":"104:3:30"},"nativeSrc":"104:16:30","nodeType":"YulFunctionCall","src":"104:16:30"},{"kind":"number","nativeSrc":"122:2:30","nodeType":"YulLiteral","src":"122:2:30","type":"","value":"96"}],"functionName":{"name":"slt","nativeSrc":"100:3:30","nodeType":"YulIdentifier","src":"100:3:30"},"nativeSrc":"100:25:30","nodeType":"YulFunctionCall","src":"100:25:30"},"nativeSrc":"97:45:30","nodeType":"YulIf","src":"97:45:30"},{"nativeSrc":"151:15:30","nodeType":"YulAssignment","src":"151:15:30","value":{"name":"offset","nativeSrc":"160:6:30","nodeType":"YulIdentifier","src":"160:6:30"},"variableNames":[{"name":"value","nativeSrc":"151:5:30","nodeType":"YulIdentifier","src":"151:5:30"}]}]},"name":"abi_decode_struct_SwapConfig_calldata","nativeSrc":"14:158:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"61:6:30","nodeType":"YulTypedName","src":"61:6:30","type":""},{"name":"end","nativeSrc":"69:3:30","nodeType":"YulTypedName","src":"69:3:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"77:5:30","nodeType":"YulTypedName","src":"77:5:30","type":""}],"src":"14:158:30"},{"body":{"nativeSrc":"226:124:30","nodeType":"YulBlock","src":"226:124:30","statements":[{"nativeSrc":"236:29:30","nodeType":"YulAssignment","src":"236:29:30","value":{"arguments":[{"name":"offset","nativeSrc":"258:6:30","nodeType":"YulIdentifier","src":"258:6:30"}],"functionName":{"name":"calldataload","nativeSrc":"245:12:30","nodeType":"YulIdentifier","src":"245:12:30"},"nativeSrc":"245:20:30","nodeType":"YulFunctionCall","src":"245:20:30"},"variableNames":[{"name":"value","nativeSrc":"236:5:30","nodeType":"YulIdentifier","src":"236:5:30"}]},{"body":{"nativeSrc":"328:16:30","nodeType":"YulBlock","src":"328:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"337:1:30","nodeType":"YulLiteral","src":"337:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"340:1:30","nodeType":"YulLiteral","src":"340:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"330:6:30","nodeType":"YulIdentifier","src":"330:6:30"},"nativeSrc":"330:12:30","nodeType":"YulFunctionCall","src":"330:12:30"},"nativeSrc":"330:12:30","nodeType":"YulExpressionStatement","src":"330:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"287:5:30","nodeType":"YulIdentifier","src":"287:5:30"},{"arguments":[{"name":"value","nativeSrc":"298:5:30","nodeType":"YulIdentifier","src":"298:5:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"313:3:30","nodeType":"YulLiteral","src":"313:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"318:1:30","nodeType":"YulLiteral","src":"318:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"309:3:30","nodeType":"YulIdentifier","src":"309:3:30"},"nativeSrc":"309:11:30","nodeType":"YulFunctionCall","src":"309:11:30"},{"kind":"number","nativeSrc":"322:1:30","nodeType":"YulLiteral","src":"322:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"305:3:30","nodeType":"YulIdentifier","src":"305:3:30"},"nativeSrc":"305:19:30","nodeType":"YulFunctionCall","src":"305:19:30"}],"functionName":{"name":"and","nativeSrc":"294:3:30","nodeType":"YulIdentifier","src":"294:3:30"},"nativeSrc":"294:31:30","nodeType":"YulFunctionCall","src":"294:31:30"}],"functionName":{"name":"eq","nativeSrc":"284:2:30","nodeType":"YulIdentifier","src":"284:2:30"},"nativeSrc":"284:42:30","nodeType":"YulFunctionCall","src":"284:42:30"}],"functionName":{"name":"iszero","nativeSrc":"277:6:30","nodeType":"YulIdentifier","src":"277:6:30"},"nativeSrc":"277:50:30","nodeType":"YulFunctionCall","src":"277:50:30"},"nativeSrc":"274:70:30","nodeType":"YulIf","src":"274:70:30"}]},"name":"abi_decode_address","nativeSrc":"177:173:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"205:6:30","nodeType":"YulTypedName","src":"205:6:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"216:5:30","nodeType":"YulTypedName","src":"216:5:30","type":""}],"src":"177:173:30"},{"body":{"nativeSrc":"523:578:30","nodeType":"YulBlock","src":"523:578:30","statements":[{"body":{"nativeSrc":"570:16:30","nodeType":"YulBlock","src":"570:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"579:1:30","nodeType":"YulLiteral","src":"579:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"582:1:30","nodeType":"YulLiteral","src":"582:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"572:6:30","nodeType":"YulIdentifier","src":"572:6:30"},"nativeSrc":"572:12:30","nodeType":"YulFunctionCall","src":"572:12:30"},"nativeSrc":"572:12:30","nodeType":"YulExpressionStatement","src":"572:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"544:7:30","nodeType":"YulIdentifier","src":"544:7:30"},{"name":"headStart","nativeSrc":"553:9:30","nodeType":"YulIdentifier","src":"553:9:30"}],"functionName":{"name":"sub","nativeSrc":"540:3:30","nodeType":"YulIdentifier","src":"540:3:30"},"nativeSrc":"540:23:30","nodeType":"YulFunctionCall","src":"540:23:30"},{"kind":"number","nativeSrc":"565:3:30","nodeType":"YulLiteral","src":"565:3:30","type":"","value":"160"}],"functionName":{"name":"slt","nativeSrc":"536:3:30","nodeType":"YulIdentifier","src":"536:3:30"},"nativeSrc":"536:33:30","nodeType":"YulFunctionCall","src":"536:33:30"},"nativeSrc":"533:53:30","nodeType":"YulIf","src":"533:53:30"},{"nativeSrc":"595:37:30","nodeType":"YulVariableDeclaration","src":"595:37:30","value":{"arguments":[{"name":"headStart","nativeSrc":"622:9:30","nodeType":"YulIdentifier","src":"622:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"609:12:30","nodeType":"YulIdentifier","src":"609:12:30"},"nativeSrc":"609:23:30","nodeType":"YulFunctionCall","src":"609:23:30"},"variables":[{"name":"offset","nativeSrc":"599:6:30","nodeType":"YulTypedName","src":"599:6:30","type":""}]},{"body":{"nativeSrc":"675:16:30","nodeType":"YulBlock","src":"675:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"684:1:30","nodeType":"YulLiteral","src":"684:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"687:1:30","nodeType":"YulLiteral","src":"687:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"677:6:30","nodeType":"YulIdentifier","src":"677:6:30"},"nativeSrc":"677:12:30","nodeType":"YulFunctionCall","src":"677:12:30"},"nativeSrc":"677:12:30","nodeType":"YulExpressionStatement","src":"677:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"647:6:30","nodeType":"YulIdentifier","src":"647:6:30"},{"kind":"number","nativeSrc":"655:18:30","nodeType":"YulLiteral","src":"655:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"644:2:30","nodeType":"YulIdentifier","src":"644:2:30"},"nativeSrc":"644:30:30","nodeType":"YulFunctionCall","src":"644:30:30"},"nativeSrc":"641:50:30","nodeType":"YulIf","src":"641:50:30"},{"nativeSrc":"700:80:30","nodeType":"YulAssignment","src":"700:80:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"752:9:30","nodeType":"YulIdentifier","src":"752:9:30"},{"name":"offset","nativeSrc":"763:6:30","nodeType":"YulIdentifier","src":"763:6:30"}],"functionName":{"name":"add","nativeSrc":"748:3:30","nodeType":"YulIdentifier","src":"748:3:30"},"nativeSrc":"748:22:30","nodeType":"YulFunctionCall","src":"748:22:30"},{"name":"dataEnd","nativeSrc":"772:7:30","nodeType":"YulIdentifier","src":"772:7:30"}],"functionName":{"name":"abi_decode_struct_SwapConfig_calldata","nativeSrc":"710:37:30","nodeType":"YulIdentifier","src":"710:37:30"},"nativeSrc":"710:70:30","nodeType":"YulFunctionCall","src":"710:70:30"},"variableNames":[{"name":"value0","nativeSrc":"700:6:30","nodeType":"YulIdentifier","src":"700:6:30"}]},{"nativeSrc":"789:48:30","nodeType":"YulAssignment","src":"789:48:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"822:9:30","nodeType":"YulIdentifier","src":"822:9:30"},{"kind":"number","nativeSrc":"833:2:30","nodeType":"YulLiteral","src":"833:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"818:3:30","nodeType":"YulIdentifier","src":"818:3:30"},"nativeSrc":"818:18:30","nodeType":"YulFunctionCall","src":"818:18:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"799:18:30","nodeType":"YulIdentifier","src":"799:18:30"},"nativeSrc":"799:38:30","nodeType":"YulFunctionCall","src":"799:38:30"},"variableNames":[{"name":"value1","nativeSrc":"789:6:30","nodeType":"YulIdentifier","src":"789:6:30"}]},{"nativeSrc":"846:48:30","nodeType":"YulAssignment","src":"846:48:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"879:9:30","nodeType":"YulIdentifier","src":"879:9:30"},{"kind":"number","nativeSrc":"890:2:30","nodeType":"YulLiteral","src":"890:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"875:3:30","nodeType":"YulIdentifier","src":"875:3:30"},"nativeSrc":"875:18:30","nodeType":"YulFunctionCall","src":"875:18:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"856:18:30","nodeType":"YulIdentifier","src":"856:18:30"},"nativeSrc":"856:38:30","nodeType":"YulFunctionCall","src":"856:38:30"},"variableNames":[{"name":"value2","nativeSrc":"846:6:30","nodeType":"YulIdentifier","src":"846:6:30"}]},{"nativeSrc":"903:14:30","nodeType":"YulVariableDeclaration","src":"903:14:30","value":{"kind":"number","nativeSrc":"916:1:30","nodeType":"YulLiteral","src":"916:1:30","type":"","value":"0"},"variables":[{"name":"value","nativeSrc":"907:5:30","nodeType":"YulTypedName","src":"907:5:30","type":""}]},{"nativeSrc":"926:41:30","nodeType":"YulAssignment","src":"926:41:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"952:9:30","nodeType":"YulIdentifier","src":"952:9:30"},{"kind":"number","nativeSrc":"963:2:30","nodeType":"YulLiteral","src":"963:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"948:3:30","nodeType":"YulIdentifier","src":"948:3:30"},"nativeSrc":"948:18:30","nodeType":"YulFunctionCall","src":"948:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"935:12:30","nodeType":"YulIdentifier","src":"935:12:30"},"nativeSrc":"935:32:30","nodeType":"YulFunctionCall","src":"935:32:30"},"variableNames":[{"name":"value","nativeSrc":"926:5:30","nodeType":"YulIdentifier","src":"926:5:30"}]},{"nativeSrc":"976:15:30","nodeType":"YulAssignment","src":"976:15:30","value":{"name":"value","nativeSrc":"986:5:30","nodeType":"YulIdentifier","src":"986:5:30"},"variableNames":[{"name":"value3","nativeSrc":"976:6:30","nodeType":"YulIdentifier","src":"976:6:30"}]},{"nativeSrc":"1000:16:30","nodeType":"YulVariableDeclaration","src":"1000:16:30","value":{"kind":"number","nativeSrc":"1015:1:30","nodeType":"YulLiteral","src":"1015:1:30","type":"","value":"0"},"variables":[{"name":"value_1","nativeSrc":"1004:7:30","nodeType":"YulTypedName","src":"1004:7:30","type":""}]},{"nativeSrc":"1025:44:30","nodeType":"YulAssignment","src":"1025:44:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1053:9:30","nodeType":"YulIdentifier","src":"1053:9:30"},{"kind":"number","nativeSrc":"1064:3:30","nodeType":"YulLiteral","src":"1064:3:30","type":"","value":"128"}],"functionName":{"name":"add","nativeSrc":"1049:3:30","nodeType":"YulIdentifier","src":"1049:3:30"},"nativeSrc":"1049:19:30","nodeType":"YulFunctionCall","src":"1049:19:30"}],"functionName":{"name":"calldataload","nativeSrc":"1036:12:30","nodeType":"YulIdentifier","src":"1036:12:30"},"nativeSrc":"1036:33:30","nodeType":"YulFunctionCall","src":"1036:33:30"},"variableNames":[{"name":"value_1","nativeSrc":"1025:7:30","nodeType":"YulIdentifier","src":"1025:7:30"}]},{"nativeSrc":"1078:17:30","nodeType":"YulAssignment","src":"1078:17:30","value":{"name":"value_1","nativeSrc":"1088:7:30","nodeType":"YulIdentifier","src":"1088:7:30"},"variableNames":[{"name":"value4","nativeSrc":"1078:6:30","nodeType":"YulIdentifier","src":"1078:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptrt_addresst_addresst_uint256t_uint256","nativeSrc":"355:746:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"457:9:30","nodeType":"YulTypedName","src":"457:9:30","type":""},{"name":"dataEnd","nativeSrc":"468:7:30","nodeType":"YulTypedName","src":"468:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"480:6:30","nodeType":"YulTypedName","src":"480:6:30","type":""},{"name":"value1","nativeSrc":"488:6:30","nodeType":"YulTypedName","src":"488:6:30","type":""},{"name":"value2","nativeSrc":"496:6:30","nodeType":"YulTypedName","src":"496:6:30","type":""},{"name":"value3","nativeSrc":"504:6:30","nodeType":"YulTypedName","src":"504:6:30","type":""},{"name":"value4","nativeSrc":"512:6:30","nodeType":"YulTypedName","src":"512:6:30","type":""}],"src":"355:746:30"},{"body":{"nativeSrc":"1206:262:30","nodeType":"YulBlock","src":"1206:262:30","statements":[{"body":{"nativeSrc":"1252:16:30","nodeType":"YulBlock","src":"1252:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1261:1:30","nodeType":"YulLiteral","src":"1261:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1264:1:30","nodeType":"YulLiteral","src":"1264:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1254:6:30","nodeType":"YulIdentifier","src":"1254:6:30"},"nativeSrc":"1254:12:30","nodeType":"YulFunctionCall","src":"1254:12:30"},"nativeSrc":"1254:12:30","nodeType":"YulExpressionStatement","src":"1254:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"1227:7:30","nodeType":"YulIdentifier","src":"1227:7:30"},{"name":"headStart","nativeSrc":"1236:9:30","nodeType":"YulIdentifier","src":"1236:9:30"}],"functionName":{"name":"sub","nativeSrc":"1223:3:30","nodeType":"YulIdentifier","src":"1223:3:30"},"nativeSrc":"1223:23:30","nodeType":"YulFunctionCall","src":"1223:23:30"},{"kind":"number","nativeSrc":"1248:2:30","nodeType":"YulLiteral","src":"1248:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"1219:3:30","nodeType":"YulIdentifier","src":"1219:3:30"},"nativeSrc":"1219:32:30","nodeType":"YulFunctionCall","src":"1219:32:30"},"nativeSrc":"1216:52:30","nodeType":"YulIf","src":"1216:52:30"},{"nativeSrc":"1277:37:30","nodeType":"YulVariableDeclaration","src":"1277:37:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1304:9:30","nodeType":"YulIdentifier","src":"1304:9:30"}],"functionName":{"name":"calldataload","nativeSrc":"1291:12:30","nodeType":"YulIdentifier","src":"1291:12:30"},"nativeSrc":"1291:23:30","nodeType":"YulFunctionCall","src":"1291:23:30"},"variables":[{"name":"offset","nativeSrc":"1281:6:30","nodeType":"YulTypedName","src":"1281:6:30","type":""}]},{"body":{"nativeSrc":"1357:16:30","nodeType":"YulBlock","src":"1357:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1366:1:30","nodeType":"YulLiteral","src":"1366:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1369:1:30","nodeType":"YulLiteral","src":"1369:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1359:6:30","nodeType":"YulIdentifier","src":"1359:6:30"},"nativeSrc":"1359:12:30","nodeType":"YulFunctionCall","src":"1359:12:30"},"nativeSrc":"1359:12:30","nodeType":"YulExpressionStatement","src":"1359:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"1329:6:30","nodeType":"YulIdentifier","src":"1329:6:30"},{"kind":"number","nativeSrc":"1337:18:30","nodeType":"YulLiteral","src":"1337:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"1326:2:30","nodeType":"YulIdentifier","src":"1326:2:30"},"nativeSrc":"1326:30:30","nodeType":"YulFunctionCall","src":"1326:30:30"},"nativeSrc":"1323:50:30","nodeType":"YulIf","src":"1323:50:30"},{"nativeSrc":"1382:80:30","nodeType":"YulAssignment","src":"1382:80:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1434:9:30","nodeType":"YulIdentifier","src":"1434:9:30"},{"name":"offset","nativeSrc":"1445:6:30","nodeType":"YulIdentifier","src":"1445:6:30"}],"functionName":{"name":"add","nativeSrc":"1430:3:30","nodeType":"YulIdentifier","src":"1430:3:30"},"nativeSrc":"1430:22:30","nodeType":"YulFunctionCall","src":"1430:22:30"},{"name":"dataEnd","nativeSrc":"1454:7:30","nodeType":"YulIdentifier","src":"1454:7:30"}],"functionName":{"name":"abi_decode_struct_SwapConfig_calldata","nativeSrc":"1392:37:30","nodeType":"YulIdentifier","src":"1392:37:30"},"nativeSrc":"1392:70:30","nodeType":"YulFunctionCall","src":"1392:70:30"},"variableNames":[{"name":"value0","nativeSrc":"1382:6:30","nodeType":"YulIdentifier","src":"1382:6:30"}]}]},"name":"abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptr","nativeSrc":"1106:362:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1172:9:30","nodeType":"YulTypedName","src":"1172:9:30","type":""},{"name":"dataEnd","nativeSrc":"1183:7:30","nodeType":"YulTypedName","src":"1183:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"1195:6:30","nodeType":"YulTypedName","src":"1195:6:30","type":""}],"src":"1106:362:30"},{"body":{"nativeSrc":"1505:95:30","nodeType":"YulBlock","src":"1505:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1522:1:30","nodeType":"YulLiteral","src":"1522:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"1529:3:30","nodeType":"YulLiteral","src":"1529:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"1534:10:30","nodeType":"YulLiteral","src":"1534:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"1525:3:30","nodeType":"YulIdentifier","src":"1525:3:30"},"nativeSrc":"1525:20:30","nodeType":"YulFunctionCall","src":"1525:20:30"}],"functionName":{"name":"mstore","nativeSrc":"1515:6:30","nodeType":"YulIdentifier","src":"1515:6:30"},"nativeSrc":"1515:31:30","nodeType":"YulFunctionCall","src":"1515:31:30"},"nativeSrc":"1515:31:30","nodeType":"YulExpressionStatement","src":"1515:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1562:1:30","nodeType":"YulLiteral","src":"1562:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"1565:4:30","nodeType":"YulLiteral","src":"1565:4:30","type":"","value":"0x41"}],"functionName":{"name":"mstore","nativeSrc":"1555:6:30","nodeType":"YulIdentifier","src":"1555:6:30"},"nativeSrc":"1555:15:30","nodeType":"YulFunctionCall","src":"1555:15:30"},"nativeSrc":"1555:15:30","nodeType":"YulExpressionStatement","src":"1555:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1586:1:30","nodeType":"YulLiteral","src":"1586:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1589:4:30","nodeType":"YulLiteral","src":"1589:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"1579:6:30","nodeType":"YulIdentifier","src":"1579:6:30"},"nativeSrc":"1579:15:30","nodeType":"YulFunctionCall","src":"1579:15:30"},"nativeSrc":"1579:15:30","nodeType":"YulExpressionStatement","src":"1579:15:30"}]},"name":"panic_error_0x41","nativeSrc":"1473:127:30","nodeType":"YulFunctionDefinition","src":"1473:127:30"},{"body":{"nativeSrc":"1650:207:30","nodeType":"YulBlock","src":"1650:207:30","statements":[{"nativeSrc":"1660:19:30","nodeType":"YulAssignment","src":"1660:19:30","value":{"arguments":[{"kind":"number","nativeSrc":"1676:2:30","nodeType":"YulLiteral","src":"1676:2:30","type":"","value":"64"}],"functionName":{"name":"mload","nativeSrc":"1670:5:30","nodeType":"YulIdentifier","src":"1670:5:30"},"nativeSrc":"1670:9:30","nodeType":"YulFunctionCall","src":"1670:9:30"},"variableNames":[{"name":"memPtr","nativeSrc":"1660:6:30","nodeType":"YulIdentifier","src":"1660:6:30"}]},{"nativeSrc":"1688:35:30","nodeType":"YulVariableDeclaration","src":"1688:35:30","value":{"arguments":[{"name":"memPtr","nativeSrc":"1710:6:30","nodeType":"YulIdentifier","src":"1710:6:30"},{"kind":"number","nativeSrc":"1718:4:30","nodeType":"YulLiteral","src":"1718:4:30","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"1706:3:30","nodeType":"YulIdentifier","src":"1706:3:30"},"nativeSrc":"1706:17:30","nodeType":"YulFunctionCall","src":"1706:17:30"},"variables":[{"name":"newFreePtr","nativeSrc":"1692:10:30","nodeType":"YulTypedName","src":"1692:10:30","type":""}]},{"body":{"nativeSrc":"1798:22:30","nodeType":"YulBlock","src":"1798:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nativeSrc":"1800:16:30","nodeType":"YulIdentifier","src":"1800:16:30"},"nativeSrc":"1800:18:30","nodeType":"YulFunctionCall","src":"1800:18:30"},"nativeSrc":"1800:18:30","nodeType":"YulExpressionStatement","src":"1800:18:30"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nativeSrc":"1741:10:30","nodeType":"YulIdentifier","src":"1741:10:30"},{"kind":"number","nativeSrc":"1753:18:30","nodeType":"YulLiteral","src":"1753:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"1738:2:30","nodeType":"YulIdentifier","src":"1738:2:30"},"nativeSrc":"1738:34:30","nodeType":"YulFunctionCall","src":"1738:34:30"},{"arguments":[{"name":"newFreePtr","nativeSrc":"1777:10:30","nodeType":"YulIdentifier","src":"1777:10:30"},{"name":"memPtr","nativeSrc":"1789:6:30","nodeType":"YulIdentifier","src":"1789:6:30"}],"functionName":{"name":"lt","nativeSrc":"1774:2:30","nodeType":"YulIdentifier","src":"1774:2:30"},"nativeSrc":"1774:22:30","nodeType":"YulFunctionCall","src":"1774:22:30"}],"functionName":{"name":"or","nativeSrc":"1735:2:30","nodeType":"YulIdentifier","src":"1735:2:30"},"nativeSrc":"1735:62:30","nodeType":"YulFunctionCall","src":"1735:62:30"},"nativeSrc":"1732:88:30","nodeType":"YulIf","src":"1732:88:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1836:2:30","nodeType":"YulLiteral","src":"1836:2:30","type":"","value":"64"},{"name":"newFreePtr","nativeSrc":"1840:10:30","nodeType":"YulIdentifier","src":"1840:10:30"}],"functionName":{"name":"mstore","nativeSrc":"1829:6:30","nodeType":"YulIdentifier","src":"1829:6:30"},"nativeSrc":"1829:22:30","nodeType":"YulFunctionCall","src":"1829:22:30"},"nativeSrc":"1829:22:30","nodeType":"YulExpressionStatement","src":"1829:22:30"}]},"name":"allocate_memory_879","nativeSrc":"1605:252:30","nodeType":"YulFunctionDefinition","returnVariables":[{"name":"memPtr","nativeSrc":"1639:6:30","nodeType":"YulTypedName","src":"1639:6:30","type":""}],"src":"1605:252:30"},{"body":{"nativeSrc":"1907:230:30","nodeType":"YulBlock","src":"1907:230:30","statements":[{"nativeSrc":"1917:19:30","nodeType":"YulAssignment","src":"1917:19:30","value":{"arguments":[{"kind":"number","nativeSrc":"1933:2:30","nodeType":"YulLiteral","src":"1933:2:30","type":"","value":"64"}],"functionName":{"name":"mload","nativeSrc":"1927:5:30","nodeType":"YulIdentifier","src":"1927:5:30"},"nativeSrc":"1927:9:30","nodeType":"YulFunctionCall","src":"1927:9:30"},"variableNames":[{"name":"memPtr","nativeSrc":"1917:6:30","nodeType":"YulIdentifier","src":"1917:6:30"}]},{"nativeSrc":"1945:58:30","nodeType":"YulVariableDeclaration","src":"1945:58:30","value":{"arguments":[{"name":"memPtr","nativeSrc":"1967:6:30","nodeType":"YulIdentifier","src":"1967:6:30"},{"arguments":[{"arguments":[{"name":"size","nativeSrc":"1983:4:30","nodeType":"YulIdentifier","src":"1983:4:30"},{"kind":"number","nativeSrc":"1989:2:30","nodeType":"YulLiteral","src":"1989:2:30","type":"","value":"31"}],"functionName":{"name":"add","nativeSrc":"1979:3:30","nodeType":"YulIdentifier","src":"1979:3:30"},"nativeSrc":"1979:13:30","nodeType":"YulFunctionCall","src":"1979:13:30"},{"arguments":[{"kind":"number","nativeSrc":"1998:2:30","nodeType":"YulLiteral","src":"1998:2:30","type":"","value":"31"}],"functionName":{"name":"not","nativeSrc":"1994:3:30","nodeType":"YulIdentifier","src":"1994:3:30"},"nativeSrc":"1994:7:30","nodeType":"YulFunctionCall","src":"1994:7:30"}],"functionName":{"name":"and","nativeSrc":"1975:3:30","nodeType":"YulIdentifier","src":"1975:3:30"},"nativeSrc":"1975:27:30","nodeType":"YulFunctionCall","src":"1975:27:30"}],"functionName":{"name":"add","nativeSrc":"1963:3:30","nodeType":"YulIdentifier","src":"1963:3:30"},"nativeSrc":"1963:40:30","nodeType":"YulFunctionCall","src":"1963:40:30"},"variables":[{"name":"newFreePtr","nativeSrc":"1949:10:30","nodeType":"YulTypedName","src":"1949:10:30","type":""}]},{"body":{"nativeSrc":"2078:22:30","nodeType":"YulBlock","src":"2078:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nativeSrc":"2080:16:30","nodeType":"YulIdentifier","src":"2080:16:30"},"nativeSrc":"2080:18:30","nodeType":"YulFunctionCall","src":"2080:18:30"},"nativeSrc":"2080:18:30","nodeType":"YulExpressionStatement","src":"2080:18:30"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nativeSrc":"2021:10:30","nodeType":"YulIdentifier","src":"2021:10:30"},{"kind":"number","nativeSrc":"2033:18:30","nodeType":"YulLiteral","src":"2033:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"2018:2:30","nodeType":"YulIdentifier","src":"2018:2:30"},"nativeSrc":"2018:34:30","nodeType":"YulFunctionCall","src":"2018:34:30"},{"arguments":[{"name":"newFreePtr","nativeSrc":"2057:10:30","nodeType":"YulIdentifier","src":"2057:10:30"},{"name":"memPtr","nativeSrc":"2069:6:30","nodeType":"YulIdentifier","src":"2069:6:30"}],"functionName":{"name":"lt","nativeSrc":"2054:2:30","nodeType":"YulIdentifier","src":"2054:2:30"},"nativeSrc":"2054:22:30","nodeType":"YulFunctionCall","src":"2054:22:30"}],"functionName":{"name":"or","nativeSrc":"2015:2:30","nodeType":"YulIdentifier","src":"2015:2:30"},"nativeSrc":"2015:62:30","nodeType":"YulFunctionCall","src":"2015:62:30"},"nativeSrc":"2012:88:30","nodeType":"YulIf","src":"2012:88:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"2116:2:30","nodeType":"YulLiteral","src":"2116:2:30","type":"","value":"64"},{"name":"newFreePtr","nativeSrc":"2120:10:30","nodeType":"YulIdentifier","src":"2120:10:30"}],"functionName":{"name":"mstore","nativeSrc":"2109:6:30","nodeType":"YulIdentifier","src":"2109:6:30"},"nativeSrc":"2109:22:30","nodeType":"YulFunctionCall","src":"2109:22:30"},"nativeSrc":"2109:22:30","nodeType":"YulExpressionStatement","src":"2109:22:30"}]},"name":"allocate_memory","nativeSrc":"1862:275:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"size","nativeSrc":"1887:4:30","nodeType":"YulTypedName","src":"1887:4:30","type":""}],"returnVariables":[{"name":"memPtr","nativeSrc":"1896:6:30","nodeType":"YulTypedName","src":"1896:6:30","type":""}],"src":"1862:275:30"},{"body":{"nativeSrc":"2264:1038:30","nodeType":"YulBlock","src":"2264:1038:30","statements":[{"body":{"nativeSrc":"2315:16:30","nodeType":"YulBlock","src":"2315:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2324:1:30","nodeType":"YulLiteral","src":"2324:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2327:1:30","nodeType":"YulLiteral","src":"2327:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2317:6:30","nodeType":"YulIdentifier","src":"2317:6:30"},"nativeSrc":"2317:12:30","nodeType":"YulFunctionCall","src":"2317:12:30"},"nativeSrc":"2317:12:30","nodeType":"YulExpressionStatement","src":"2317:12:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[],"functionName":{"name":"calldatasize","nativeSrc":"2285:12:30","nodeType":"YulIdentifier","src":"2285:12:30"},"nativeSrc":"2285:14:30","nodeType":"YulFunctionCall","src":"2285:14:30"},{"name":"value","nativeSrc":"2301:5:30","nodeType":"YulIdentifier","src":"2301:5:30"}],"functionName":{"name":"sub","nativeSrc":"2281:3:30","nodeType":"YulIdentifier","src":"2281:3:30"},"nativeSrc":"2281:26:30","nodeType":"YulFunctionCall","src":"2281:26:30"},{"kind":"number","nativeSrc":"2309:4:30","nodeType":"YulLiteral","src":"2309:4:30","type":"","value":"0x60"}],"functionName":{"name":"slt","nativeSrc":"2277:3:30","nodeType":"YulIdentifier","src":"2277:3:30"},"nativeSrc":"2277:37:30","nodeType":"YulFunctionCall","src":"2277:37:30"},"nativeSrc":"2274:57:30","nodeType":"YulIf","src":"2274:57:30"},{"nativeSrc":"2340:36:30","nodeType":"YulVariableDeclaration","src":"2340:36:30","value":{"arguments":[],"functionName":{"name":"allocate_memory_879","nativeSrc":"2355:19:30","nodeType":"YulIdentifier","src":"2355:19:30"},"nativeSrc":"2355:21:30","nodeType":"YulFunctionCall","src":"2355:21:30"},"variables":[{"name":"value_1","nativeSrc":"2344:7:30","nodeType":"YulTypedName","src":"2344:7:30","type":""}]},{"nativeSrc":"2385:34:30","nodeType":"YulVariableDeclaration","src":"2385:34:30","value":{"arguments":[{"name":"value","nativeSrc":"2413:5:30","nodeType":"YulIdentifier","src":"2413:5:30"}],"functionName":{"name":"calldataload","nativeSrc":"2400:12:30","nodeType":"YulIdentifier","src":"2400:12:30"},"nativeSrc":"2400:19:30","nodeType":"YulFunctionCall","src":"2400:19:30"},"variables":[{"name":"value_2","nativeSrc":"2389:7:30","nodeType":"YulTypedName","src":"2389:7:30","type":""}]},{"body":{"nativeSrc":"2454:16:30","nodeType":"YulBlock","src":"2454:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2463:1:30","nodeType":"YulLiteral","src":"2463:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2466:1:30","nodeType":"YulLiteral","src":"2466:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2456:6:30","nodeType":"YulIdentifier","src":"2456:6:30"},"nativeSrc":"2456:12:30","nodeType":"YulFunctionCall","src":"2456:12:30"},"nativeSrc":"2456:12:30","nodeType":"YulExpressionStatement","src":"2456:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value_2","nativeSrc":"2441:7:30","nodeType":"YulIdentifier","src":"2441:7:30"},{"kind":"number","nativeSrc":"2450:1:30","nodeType":"YulLiteral","src":"2450:1:30","type":"","value":"3"}],"functionName":{"name":"lt","nativeSrc":"2438:2:30","nodeType":"YulIdentifier","src":"2438:2:30"},"nativeSrc":"2438:14:30","nodeType":"YulFunctionCall","src":"2438:14:30"}],"functionName":{"name":"iszero","nativeSrc":"2431:6:30","nodeType":"YulIdentifier","src":"2431:6:30"},"nativeSrc":"2431:22:30","nodeType":"YulFunctionCall","src":"2431:22:30"},"nativeSrc":"2428:42:30","nodeType":"YulIf","src":"2428:42:30"},{"expression":{"arguments":[{"name":"value_1","nativeSrc":"2486:7:30","nodeType":"YulIdentifier","src":"2486:7:30"},{"name":"value_2","nativeSrc":"2495:7:30","nodeType":"YulIdentifier","src":"2495:7:30"}],"functionName":{"name":"mstore","nativeSrc":"2479:6:30","nodeType":"YulIdentifier","src":"2479:6:30"},"nativeSrc":"2479:24:30","nodeType":"YulFunctionCall","src":"2479:24:30"},"nativeSrc":"2479:24:30","nodeType":"YulExpressionStatement","src":"2479:24:30"},{"nativeSrc":"2512:16:30","nodeType":"YulVariableDeclaration","src":"2512:16:30","value":{"kind":"number","nativeSrc":"2527:1:30","nodeType":"YulLiteral","src":"2527:1:30","type":"","value":"0"},"variables":[{"name":"value_3","nativeSrc":"2516:7:30","nodeType":"YulTypedName","src":"2516:7:30","type":""}]},{"nativeSrc":"2537:39:30","nodeType":"YulAssignment","src":"2537:39:30","value":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"2565:5:30","nodeType":"YulIdentifier","src":"2565:5:30"},{"kind":"number","nativeSrc":"2572:2:30","nodeType":"YulLiteral","src":"2572:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"2561:3:30","nodeType":"YulIdentifier","src":"2561:3:30"},"nativeSrc":"2561:14:30","nodeType":"YulFunctionCall","src":"2561:14:30"}],"functionName":{"name":"calldataload","nativeSrc":"2548:12:30","nodeType":"YulIdentifier","src":"2548:12:30"},"nativeSrc":"2548:28:30","nodeType":"YulFunctionCall","src":"2548:28:30"},"variableNames":[{"name":"value_3","nativeSrc":"2537:7:30","nodeType":"YulIdentifier","src":"2537:7:30"}]},{"expression":{"arguments":[{"arguments":[{"name":"value_1","nativeSrc":"2596:7:30","nodeType":"YulIdentifier","src":"2596:7:30"},{"kind":"number","nativeSrc":"2605:2:30","nodeType":"YulLiteral","src":"2605:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"2592:3:30","nodeType":"YulIdentifier","src":"2592:3:30"},"nativeSrc":"2592:16:30","nodeType":"YulFunctionCall","src":"2592:16:30"},{"name":"value_3","nativeSrc":"2610:7:30","nodeType":"YulIdentifier","src":"2610:7:30"}],"functionName":{"name":"mstore","nativeSrc":"2585:6:30","nodeType":"YulIdentifier","src":"2585:6:30"},"nativeSrc":"2585:33:30","nodeType":"YulFunctionCall","src":"2585:33:30"},"nativeSrc":"2585:33:30","nodeType":"YulExpressionStatement","src":"2585:33:30"},{"nativeSrc":"2627:42:30","nodeType":"YulVariableDeclaration","src":"2627:42:30","value":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"2658:5:30","nodeType":"YulIdentifier","src":"2658:5:30"},{"kind":"number","nativeSrc":"2665:2:30","nodeType":"YulLiteral","src":"2665:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"2654:3:30","nodeType":"YulIdentifier","src":"2654:3:30"},"nativeSrc":"2654:14:30","nodeType":"YulFunctionCall","src":"2654:14:30"}],"functionName":{"name":"calldataload","nativeSrc":"2641:12:30","nodeType":"YulIdentifier","src":"2641:12:30"},"nativeSrc":"2641:28:30","nodeType":"YulFunctionCall","src":"2641:28:30"},"variables":[{"name":"offset","nativeSrc":"2631:6:30","nodeType":"YulTypedName","src":"2631:6:30","type":""}]},{"body":{"nativeSrc":"2712:16:30","nodeType":"YulBlock","src":"2712:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2721:1:30","nodeType":"YulLiteral","src":"2721:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2724:1:30","nodeType":"YulLiteral","src":"2724:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2714:6:30","nodeType":"YulIdentifier","src":"2714:6:30"},"nativeSrc":"2714:12:30","nodeType":"YulFunctionCall","src":"2714:12:30"},"nativeSrc":"2714:12:30","nodeType":"YulExpressionStatement","src":"2714:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"2684:6:30","nodeType":"YulIdentifier","src":"2684:6:30"},{"kind":"number","nativeSrc":"2692:18:30","nodeType":"YulLiteral","src":"2692:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"2681:2:30","nodeType":"YulIdentifier","src":"2681:2:30"},"nativeSrc":"2681:30:30","nodeType":"YulFunctionCall","src":"2681:30:30"},"nativeSrc":"2678:50:30","nodeType":"YulIf","src":"2678:50:30"},{"nativeSrc":"2737:28:30","nodeType":"YulVariableDeclaration","src":"2737:28:30","value":{"arguments":[{"name":"value","nativeSrc":"2751:5:30","nodeType":"YulIdentifier","src":"2751:5:30"},{"name":"offset","nativeSrc":"2758:6:30","nodeType":"YulIdentifier","src":"2758:6:30"}],"functionName":{"name":"add","nativeSrc":"2747:3:30","nodeType":"YulIdentifier","src":"2747:3:30"},"nativeSrc":"2747:18:30","nodeType":"YulFunctionCall","src":"2747:18:30"},"variables":[{"name":"_1","nativeSrc":"2741:2:30","nodeType":"YulTypedName","src":"2741:2:30","type":""}]},{"body":{"nativeSrc":"2820:16:30","nodeType":"YulBlock","src":"2820:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2829:1:30","nodeType":"YulLiteral","src":"2829:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2832:1:30","nodeType":"YulLiteral","src":"2832:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2822:6:30","nodeType":"YulIdentifier","src":"2822:6:30"},"nativeSrc":"2822:12:30","nodeType":"YulFunctionCall","src":"2822:12:30"},"nativeSrc":"2822:12:30","nodeType":"YulExpressionStatement","src":"2822:12:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_1","nativeSrc":"2792:2:30","nodeType":"YulIdentifier","src":"2792:2:30"},{"kind":"number","nativeSrc":"2796:4:30","nodeType":"YulLiteral","src":"2796:4:30","type":"","value":"0x1f"}],"functionName":{"name":"add","nativeSrc":"2788:3:30","nodeType":"YulIdentifier","src":"2788:3:30"},"nativeSrc":"2788:13:30","nodeType":"YulFunctionCall","src":"2788:13:30"},{"arguments":[],"functionName":{"name":"calldatasize","nativeSrc":"2803:12:30","nodeType":"YulIdentifier","src":"2803:12:30"},"nativeSrc":"2803:14:30","nodeType":"YulFunctionCall","src":"2803:14:30"}],"functionName":{"name":"slt","nativeSrc":"2784:3:30","nodeType":"YulIdentifier","src":"2784:3:30"},"nativeSrc":"2784:34:30","nodeType":"YulFunctionCall","src":"2784:34:30"}],"functionName":{"name":"iszero","nativeSrc":"2777:6:30","nodeType":"YulIdentifier","src":"2777:6:30"},"nativeSrc":"2777:42:30","nodeType":"YulFunctionCall","src":"2777:42:30"},"nativeSrc":"2774:62:30","nodeType":"YulIf","src":"2774:62:30"},{"nativeSrc":"2845:30:30","nodeType":"YulVariableDeclaration","src":"2845:30:30","value":{"arguments":[{"name":"_1","nativeSrc":"2872:2:30","nodeType":"YulIdentifier","src":"2872:2:30"}],"functionName":{"name":"calldataload","nativeSrc":"2859:12:30","nodeType":"YulIdentifier","src":"2859:12:30"},"nativeSrc":"2859:16:30","nodeType":"YulFunctionCall","src":"2859:16:30"},"variables":[{"name":"length","nativeSrc":"2849:6:30","nodeType":"YulTypedName","src":"2849:6:30","type":""}]},{"body":{"nativeSrc":"2918:22:30","nodeType":"YulBlock","src":"2918:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nativeSrc":"2920:16:30","nodeType":"YulIdentifier","src":"2920:16:30"},"nativeSrc":"2920:18:30","nodeType":"YulFunctionCall","src":"2920:18:30"},"nativeSrc":"2920:18:30","nodeType":"YulExpressionStatement","src":"2920:18:30"}]},"condition":{"arguments":[{"name":"length","nativeSrc":"2890:6:30","nodeType":"YulIdentifier","src":"2890:6:30"},{"kind":"number","nativeSrc":"2898:18:30","nodeType":"YulLiteral","src":"2898:18:30","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nativeSrc":"2887:2:30","nodeType":"YulIdentifier","src":"2887:2:30"},"nativeSrc":"2887:30:30","nodeType":"YulFunctionCall","src":"2887:30:30"},"nativeSrc":"2884:56:30","nodeType":"YulIf","src":"2884:56:30"},{"nativeSrc":"2949:70:30","nodeType":"YulVariableDeclaration","src":"2949:70:30","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"length","nativeSrc":"2990:6:30","nodeType":"YulIdentifier","src":"2990:6:30"},{"kind":"number","nativeSrc":"2998:4:30","nodeType":"YulLiteral","src":"2998:4:30","type":"","value":"0x1f"}],"functionName":{"name":"add","nativeSrc":"2986:3:30","nodeType":"YulIdentifier","src":"2986:3:30"},"nativeSrc":"2986:17:30","nodeType":"YulFunctionCall","src":"2986:17:30"},{"arguments":[{"kind":"number","nativeSrc":"3009:2:30","nodeType":"YulLiteral","src":"3009:2:30","type":"","value":"31"}],"functionName":{"name":"not","nativeSrc":"3005:3:30","nodeType":"YulIdentifier","src":"3005:3:30"},"nativeSrc":"3005:7:30","nodeType":"YulFunctionCall","src":"3005:7:30"}],"functionName":{"name":"and","nativeSrc":"2982:3:30","nodeType":"YulIdentifier","src":"2982:3:30"},"nativeSrc":"2982:31:30","nodeType":"YulFunctionCall","src":"2982:31:30"},{"kind":"number","nativeSrc":"3015:2:30","nodeType":"YulLiteral","src":"3015:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"2978:3:30","nodeType":"YulIdentifier","src":"2978:3:30"},"nativeSrc":"2978:40:30","nodeType":"YulFunctionCall","src":"2978:40:30"}],"functionName":{"name":"allocate_memory","nativeSrc":"2962:15:30","nodeType":"YulIdentifier","src":"2962:15:30"},"nativeSrc":"2962:57:30","nodeType":"YulFunctionCall","src":"2962:57:30"},"variables":[{"name":"array","nativeSrc":"2953:5:30","nodeType":"YulTypedName","src":"2953:5:30","type":""}]},{"expression":{"arguments":[{"name":"array","nativeSrc":"3035:5:30","nodeType":"YulIdentifier","src":"3035:5:30"},{"name":"length","nativeSrc":"3042:6:30","nodeType":"YulIdentifier","src":"3042:6:30"}],"functionName":{"name":"mstore","nativeSrc":"3028:6:30","nodeType":"YulIdentifier","src":"3028:6:30"},"nativeSrc":"3028:21:30","nodeType":"YulFunctionCall","src":"3028:21:30"},"nativeSrc":"3028:21:30","nodeType":"YulExpressionStatement","src":"3028:21:30"},{"body":{"nativeSrc":"3106:16:30","nodeType":"YulBlock","src":"3106:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3115:1:30","nodeType":"YulLiteral","src":"3115:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3118:1:30","nodeType":"YulLiteral","src":"3118:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"3108:6:30","nodeType":"YulIdentifier","src":"3108:6:30"},"nativeSrc":"3108:12:30","nodeType":"YulFunctionCall","src":"3108:12:30"},"nativeSrc":"3108:12:30","nodeType":"YulExpressionStatement","src":"3108:12:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_1","nativeSrc":"3072:2:30","nodeType":"YulIdentifier","src":"3072:2:30"},{"name":"length","nativeSrc":"3076:6:30","nodeType":"YulIdentifier","src":"3076:6:30"}],"functionName":{"name":"add","nativeSrc":"3068:3:30","nodeType":"YulIdentifier","src":"3068:3:30"},"nativeSrc":"3068:15:30","nodeType":"YulFunctionCall","src":"3068:15:30"},{"kind":"number","nativeSrc":"3085:2:30","nodeType":"YulLiteral","src":"3085:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3064:3:30","nodeType":"YulIdentifier","src":"3064:3:30"},"nativeSrc":"3064:24:30","nodeType":"YulFunctionCall","src":"3064:24:30"},{"arguments":[],"functionName":{"name":"calldatasize","nativeSrc":"3090:12:30","nodeType":"YulIdentifier","src":"3090:12:30"},"nativeSrc":"3090:14:30","nodeType":"YulFunctionCall","src":"3090:14:30"}],"functionName":{"name":"gt","nativeSrc":"3061:2:30","nodeType":"YulIdentifier","src":"3061:2:30"},"nativeSrc":"3061:44:30","nodeType":"YulFunctionCall","src":"3061:44:30"},"nativeSrc":"3058:64:30","nodeType":"YulIf","src":"3058:64:30"},{"expression":{"arguments":[{"arguments":[{"name":"array","nativeSrc":"3148:5:30","nodeType":"YulIdentifier","src":"3148:5:30"},{"kind":"number","nativeSrc":"3155:2:30","nodeType":"YulLiteral","src":"3155:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3144:3:30","nodeType":"YulIdentifier","src":"3144:3:30"},"nativeSrc":"3144:14:30","nodeType":"YulFunctionCall","src":"3144:14:30"},{"arguments":[{"name":"_1","nativeSrc":"3164:2:30","nodeType":"YulIdentifier","src":"3164:2:30"},{"kind":"number","nativeSrc":"3168:2:30","nodeType":"YulLiteral","src":"3168:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3160:3:30","nodeType":"YulIdentifier","src":"3160:3:30"},"nativeSrc":"3160:11:30","nodeType":"YulFunctionCall","src":"3160:11:30"},{"name":"length","nativeSrc":"3173:6:30","nodeType":"YulIdentifier","src":"3173:6:30"}],"functionName":{"name":"calldatacopy","nativeSrc":"3131:12:30","nodeType":"YulIdentifier","src":"3131:12:30"},"nativeSrc":"3131:49:30","nodeType":"YulFunctionCall","src":"3131:49:30"},"nativeSrc":"3131:49:30","nodeType":"YulExpressionStatement","src":"3131:49:30"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"array","nativeSrc":"3204:5:30","nodeType":"YulIdentifier","src":"3204:5:30"},{"name":"length","nativeSrc":"3211:6:30","nodeType":"YulIdentifier","src":"3211:6:30"}],"functionName":{"name":"add","nativeSrc":"3200:3:30","nodeType":"YulIdentifier","src":"3200:3:30"},"nativeSrc":"3200:18:30","nodeType":"YulFunctionCall","src":"3200:18:30"},{"kind":"number","nativeSrc":"3220:2:30","nodeType":"YulLiteral","src":"3220:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3196:3:30","nodeType":"YulIdentifier","src":"3196:3:30"},"nativeSrc":"3196:27:30","nodeType":"YulFunctionCall","src":"3196:27:30"},{"kind":"number","nativeSrc":"3225:1:30","nodeType":"YulLiteral","src":"3225:1:30","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"3189:6:30","nodeType":"YulIdentifier","src":"3189:6:30"},"nativeSrc":"3189:38:30","nodeType":"YulFunctionCall","src":"3189:38:30"},"nativeSrc":"3189:38:30","nodeType":"YulExpressionStatement","src":"3189:38:30"},{"expression":{"arguments":[{"arguments":[{"name":"value_1","nativeSrc":"3247:7:30","nodeType":"YulIdentifier","src":"3247:7:30"},{"kind":"number","nativeSrc":"3256:2:30","nodeType":"YulLiteral","src":"3256:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"3243:3:30","nodeType":"YulIdentifier","src":"3243:3:30"},"nativeSrc":"3243:16:30","nodeType":"YulFunctionCall","src":"3243:16:30"},{"name":"array","nativeSrc":"3261:5:30","nodeType":"YulIdentifier","src":"3261:5:30"}],"functionName":{"name":"mstore","nativeSrc":"3236:6:30","nodeType":"YulIdentifier","src":"3236:6:30"},"nativeSrc":"3236:31:30","nodeType":"YulFunctionCall","src":"3236:31:30"},"nativeSrc":"3236:31:30","nodeType":"YulExpressionStatement","src":"3236:31:30"},{"nativeSrc":"3276:20:30","nodeType":"YulAssignment","src":"3276:20:30","value":{"name":"value_1","nativeSrc":"3289:7:30","nodeType":"YulIdentifier","src":"3289:7:30"},"variableNames":[{"name":"converted","nativeSrc":"3276:9:30","nodeType":"YulIdentifier","src":"3276:9:30"}]}]},"name":"convert_t_struct$_SwapConfig_$6603_calldata_ptr_to_t_struct$_SwapConfig_$6603_memory_ptr","nativeSrc":"2142:1160:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nativeSrc":"2240:5:30","nodeType":"YulTypedName","src":"2240:5:30","type":""}],"returnVariables":[{"name":"converted","nativeSrc":"2250:9:30","nodeType":"YulTypedName","src":"2250:9:30","type":""}],"src":"2142:1160:30"},{"body":{"nativeSrc":"3368:721:30","nodeType":"YulBlock","src":"3368:721:30","statements":[{"nativeSrc":"3378:22:30","nodeType":"YulVariableDeclaration","src":"3378:22:30","value":{"arguments":[{"name":"value","nativeSrc":"3394:5:30","nodeType":"YulIdentifier","src":"3394:5:30"}],"functionName":{"name":"mload","nativeSrc":"3388:5:30","nodeType":"YulIdentifier","src":"3388:5:30"},"nativeSrc":"3388:12:30","nodeType":"YulFunctionCall","src":"3388:12:30"},"variables":[{"name":"_1","nativeSrc":"3382:2:30","nodeType":"YulTypedName","src":"3382:2:30","type":""}]},{"body":{"nativeSrc":"3438:111:30","nodeType":"YulBlock","src":"3438:111:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3459:1:30","nodeType":"YulLiteral","src":"3459:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"3466:3:30","nodeType":"YulLiteral","src":"3466:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"3471:10:30","nodeType":"YulLiteral","src":"3471:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"3462:3:30","nodeType":"YulIdentifier","src":"3462:3:30"},"nativeSrc":"3462:20:30","nodeType":"YulFunctionCall","src":"3462:20:30"}],"functionName":{"name":"mstore","nativeSrc":"3452:6:30","nodeType":"YulIdentifier","src":"3452:6:30"},"nativeSrc":"3452:31:30","nodeType":"YulFunctionCall","src":"3452:31:30"},"nativeSrc":"3452:31:30","nodeType":"YulExpressionStatement","src":"3452:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3503:1:30","nodeType":"YulLiteral","src":"3503:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"3506:4:30","nodeType":"YulLiteral","src":"3506:4:30","type":"","value":"0x21"}],"functionName":{"name":"mstore","nativeSrc":"3496:6:30","nodeType":"YulIdentifier","src":"3496:6:30"},"nativeSrc":"3496:15:30","nodeType":"YulFunctionCall","src":"3496:15:30"},"nativeSrc":"3496:15:30","nodeType":"YulExpressionStatement","src":"3496:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3531:1:30","nodeType":"YulLiteral","src":"3531:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3534:4:30","nodeType":"YulLiteral","src":"3534:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"3524:6:30","nodeType":"YulIdentifier","src":"3524:6:30"},"nativeSrc":"3524:15:30","nodeType":"YulFunctionCall","src":"3524:15:30"},"nativeSrc":"3524:15:30","nodeType":"YulExpressionStatement","src":"3524:15:30"}]},"condition":{"arguments":[{"arguments":[{"name":"_1","nativeSrc":"3422:2:30","nodeType":"YulIdentifier","src":"3422:2:30"},{"kind":"number","nativeSrc":"3426:1:30","nodeType":"YulLiteral","src":"3426:1:30","type":"","value":"3"}],"functionName":{"name":"lt","nativeSrc":"3419:2:30","nodeType":"YulIdentifier","src":"3419:2:30"},"nativeSrc":"3419:9:30","nodeType":"YulFunctionCall","src":"3419:9:30"}],"functionName":{"name":"iszero","nativeSrc":"3412:6:30","nodeType":"YulIdentifier","src":"3412:6:30"},"nativeSrc":"3412:17:30","nodeType":"YulFunctionCall","src":"3412:17:30"},"nativeSrc":"3409:140:30","nodeType":"YulIf","src":"3409:140:30"},{"expression":{"arguments":[{"name":"pos","nativeSrc":"3565:3:30","nodeType":"YulIdentifier","src":"3565:3:30"},{"name":"_1","nativeSrc":"3570:2:30","nodeType":"YulIdentifier","src":"3570:2:30"}],"functionName":{"name":"mstore","nativeSrc":"3558:6:30","nodeType":"YulIdentifier","src":"3558:6:30"},"nativeSrc":"3558:15:30","nodeType":"YulFunctionCall","src":"3558:15:30"},"nativeSrc":"3558:15:30","nodeType":"YulExpressionStatement","src":"3558:15:30"},{"expression":{"arguments":[{"arguments":[{"name":"pos","nativeSrc":"3593:3:30","nodeType":"YulIdentifier","src":"3593:3:30"},{"kind":"number","nativeSrc":"3598:4:30","nodeType":"YulLiteral","src":"3598:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"3589:3:30","nodeType":"YulIdentifier","src":"3589:3:30"},"nativeSrc":"3589:14:30","nodeType":"YulFunctionCall","src":"3589:14:30"},{"arguments":[{"arguments":[{"name":"value","nativeSrc":"3615:5:30","nodeType":"YulIdentifier","src":"3615:5:30"},{"kind":"number","nativeSrc":"3622:4:30","nodeType":"YulLiteral","src":"3622:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"3611:3:30","nodeType":"YulIdentifier","src":"3611:3:30"},"nativeSrc":"3611:16:30","nodeType":"YulFunctionCall","src":"3611:16:30"}],"functionName":{"name":"mload","nativeSrc":"3605:5:30","nodeType":"YulIdentifier","src":"3605:5:30"},"nativeSrc":"3605:23:30","nodeType":"YulFunctionCall","src":"3605:23:30"}],"functionName":{"name":"mstore","nativeSrc":"3582:6:30","nodeType":"YulIdentifier","src":"3582:6:30"},"nativeSrc":"3582:47:30","nodeType":"YulFunctionCall","src":"3582:47:30"},"nativeSrc":"3582:47:30","nodeType":"YulExpressionStatement","src":"3582:47:30"},{"nativeSrc":"3638:43:30","nodeType":"YulVariableDeclaration","src":"3638:43:30","value":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"3668:5:30","nodeType":"YulIdentifier","src":"3668:5:30"},{"kind":"number","nativeSrc":"3675:4:30","nodeType":"YulLiteral","src":"3675:4:30","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"3664:3:30","nodeType":"YulIdentifier","src":"3664:3:30"},"nativeSrc":"3664:16:30","nodeType":"YulFunctionCall","src":"3664:16:30"}],"functionName":{"name":"mload","nativeSrc":"3658:5:30","nodeType":"YulIdentifier","src":"3658:5:30"},"nativeSrc":"3658:23:30","nodeType":"YulFunctionCall","src":"3658:23:30"},"variables":[{"name":"memberValue0","nativeSrc":"3642:12:30","nodeType":"YulTypedName","src":"3642:12:30","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"pos","nativeSrc":"3701:3:30","nodeType":"YulIdentifier","src":"3701:3:30"},{"kind":"number","nativeSrc":"3706:4:30","nodeType":"YulLiteral","src":"3706:4:30","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"3697:3:30","nodeType":"YulIdentifier","src":"3697:3:30"},"nativeSrc":"3697:14:30","nodeType":"YulFunctionCall","src":"3697:14:30"},{"kind":"number","nativeSrc":"3713:4:30","nodeType":"YulLiteral","src":"3713:4:30","type":"","value":"0x60"}],"functionName":{"name":"mstore","nativeSrc":"3690:6:30","nodeType":"YulIdentifier","src":"3690:6:30"},"nativeSrc":"3690:28:30","nodeType":"YulFunctionCall","src":"3690:28:30"},"nativeSrc":"3690:28:30","nodeType":"YulExpressionStatement","src":"3690:28:30"},{"nativeSrc":"3727:33:30","nodeType":"YulVariableDeclaration","src":"3727:33:30","value":{"arguments":[{"name":"memberValue0","nativeSrc":"3747:12:30","nodeType":"YulIdentifier","src":"3747:12:30"}],"functionName":{"name":"mload","nativeSrc":"3741:5:30","nodeType":"YulIdentifier","src":"3741:5:30"},"nativeSrc":"3741:19:30","nodeType":"YulFunctionCall","src":"3741:19:30"},"variables":[{"name":"length","nativeSrc":"3731:6:30","nodeType":"YulTypedName","src":"3731:6:30","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"pos","nativeSrc":"3780:3:30","nodeType":"YulIdentifier","src":"3780:3:30"},{"kind":"number","nativeSrc":"3785:4:30","nodeType":"YulLiteral","src":"3785:4:30","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"3776:3:30","nodeType":"YulIdentifier","src":"3776:3:30"},"nativeSrc":"3776:14:30","nodeType":"YulFunctionCall","src":"3776:14:30"},{"name":"length","nativeSrc":"3792:6:30","nodeType":"YulIdentifier","src":"3792:6:30"}],"functionName":{"name":"mstore","nativeSrc":"3769:6:30","nodeType":"YulIdentifier","src":"3769:6:30"},"nativeSrc":"3769:30:30","nodeType":"YulFunctionCall","src":"3769:30:30"},"nativeSrc":"3769:30:30","nodeType":"YulExpressionStatement","src":"3769:30:30"},{"nativeSrc":"3808:10:30","nodeType":"YulVariableDeclaration","src":"3808:10:30","value":{"kind":"number","nativeSrc":"3817:1:30","nodeType":"YulLiteral","src":"3817:1:30","type":"","value":"0"},"variables":[{"name":"i","nativeSrc":"3812:1:30","nodeType":"YulTypedName","src":"3812:1:30","type":""}]},{"body":{"nativeSrc":"3879:93:30","nodeType":"YulBlock","src":"3879:93:30","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"pos","nativeSrc":"3908:3:30","nodeType":"YulIdentifier","src":"3908:3:30"},{"name":"i","nativeSrc":"3913:1:30","nodeType":"YulIdentifier","src":"3913:1:30"}],"functionName":{"name":"add","nativeSrc":"3904:3:30","nodeType":"YulIdentifier","src":"3904:3:30"},"nativeSrc":"3904:11:30","nodeType":"YulFunctionCall","src":"3904:11:30"},{"kind":"number","nativeSrc":"3917:3:30","nodeType":"YulLiteral","src":"3917:3:30","type":"","value":"128"}],"functionName":{"name":"add","nativeSrc":"3900:3:30","nodeType":"YulIdentifier","src":"3900:3:30"},"nativeSrc":"3900:21:30","nodeType":"YulFunctionCall","src":"3900:21:30"},{"arguments":[{"arguments":[{"arguments":[{"name":"memberValue0","nativeSrc":"3937:12:30","nodeType":"YulIdentifier","src":"3937:12:30"},{"name":"i","nativeSrc":"3951:1:30","nodeType":"YulIdentifier","src":"3951:1:30"}],"functionName":{"name":"add","nativeSrc":"3933:3:30","nodeType":"YulIdentifier","src":"3933:3:30"},"nativeSrc":"3933:20:30","nodeType":"YulFunctionCall","src":"3933:20:30"},{"kind":"number","nativeSrc":"3955:4:30","nodeType":"YulLiteral","src":"3955:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"3929:3:30","nodeType":"YulIdentifier","src":"3929:3:30"},"nativeSrc":"3929:31:30","nodeType":"YulFunctionCall","src":"3929:31:30"}],"functionName":{"name":"mload","nativeSrc":"3923:5:30","nodeType":"YulIdentifier","src":"3923:5:30"},"nativeSrc":"3923:38:30","nodeType":"YulFunctionCall","src":"3923:38:30"}],"functionName":{"name":"mstore","nativeSrc":"3893:6:30","nodeType":"YulIdentifier","src":"3893:6:30"},"nativeSrc":"3893:69:30","nodeType":"YulFunctionCall","src":"3893:69:30"},"nativeSrc":"3893:69:30","nodeType":"YulExpressionStatement","src":"3893:69:30"}]},"condition":{"arguments":[{"name":"i","nativeSrc":"3838:1:30","nodeType":"YulIdentifier","src":"3838:1:30"},{"name":"length","nativeSrc":"3841:6:30","nodeType":"YulIdentifier","src":"3841:6:30"}],"functionName":{"name":"lt","nativeSrc":"3835:2:30","nodeType":"YulIdentifier","src":"3835:2:30"},"nativeSrc":"3835:13:30","nodeType":"YulFunctionCall","src":"3835:13:30"},"nativeSrc":"3827:145:30","nodeType":"YulForLoop","post":{"nativeSrc":"3849:21:30","nodeType":"YulBlock","src":"3849:21:30","statements":[{"nativeSrc":"3851:17:30","nodeType":"YulAssignment","src":"3851:17:30","value":{"arguments":[{"name":"i","nativeSrc":"3860:1:30","nodeType":"YulIdentifier","src":"3860:1:30"},{"kind":"number","nativeSrc":"3863:4:30","nodeType":"YulLiteral","src":"3863:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"3856:3:30","nodeType":"YulIdentifier","src":"3856:3:30"},"nativeSrc":"3856:12:30","nodeType":"YulFunctionCall","src":"3856:12:30"},"variableNames":[{"name":"i","nativeSrc":"3851:1:30","nodeType":"YulIdentifier","src":"3851:1:30"}]}]},"pre":{"nativeSrc":"3831:3:30","nodeType":"YulBlock","src":"3831:3:30","statements":[]},"src":"3827:145:30"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"pos","nativeSrc":"3996:3:30","nodeType":"YulIdentifier","src":"3996:3:30"},{"name":"length","nativeSrc":"4001:6:30","nodeType":"YulIdentifier","src":"4001:6:30"}],"functionName":{"name":"add","nativeSrc":"3992:3:30","nodeType":"YulIdentifier","src":"3992:3:30"},"nativeSrc":"3992:16:30","nodeType":"YulFunctionCall","src":"3992:16:30"},{"kind":"number","nativeSrc":"4010:3:30","nodeType":"YulLiteral","src":"4010:3:30","type":"","value":"128"}],"functionName":{"name":"add","nativeSrc":"3988:3:30","nodeType":"YulIdentifier","src":"3988:3:30"},"nativeSrc":"3988:26:30","nodeType":"YulFunctionCall","src":"3988:26:30"},{"kind":"number","nativeSrc":"4016:1:30","nodeType":"YulLiteral","src":"4016:1:30","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"3981:6:30","nodeType":"YulIdentifier","src":"3981:6:30"},"nativeSrc":"3981:37:30","nodeType":"YulFunctionCall","src":"3981:37:30"},"nativeSrc":"3981:37:30","nodeType":"YulExpressionStatement","src":"3981:37:30"},{"nativeSrc":"4027:56:30","nodeType":"YulAssignment","src":"4027:56:30","value":{"arguments":[{"arguments":[{"name":"pos","nativeSrc":"4042:3:30","nodeType":"YulIdentifier","src":"4042:3:30"},{"arguments":[{"arguments":[{"name":"length","nativeSrc":"4055:6:30","nodeType":"YulIdentifier","src":"4055:6:30"},{"kind":"number","nativeSrc":"4063:2:30","nodeType":"YulLiteral","src":"4063:2:30","type":"","value":"31"}],"functionName":{"name":"add","nativeSrc":"4051:3:30","nodeType":"YulIdentifier","src":"4051:3:30"},"nativeSrc":"4051:15:30","nodeType":"YulFunctionCall","src":"4051:15:30"},{"arguments":[{"kind":"number","nativeSrc":"4072:2:30","nodeType":"YulLiteral","src":"4072:2:30","type":"","value":"31"}],"functionName":{"name":"not","nativeSrc":"4068:3:30","nodeType":"YulIdentifier","src":"4068:3:30"},"nativeSrc":"4068:7:30","nodeType":"YulFunctionCall","src":"4068:7:30"}],"functionName":{"name":"and","nativeSrc":"4047:3:30","nodeType":"YulIdentifier","src":"4047:3:30"},"nativeSrc":"4047:29:30","nodeType":"YulFunctionCall","src":"4047:29:30"}],"functionName":{"name":"add","nativeSrc":"4038:3:30","nodeType":"YulIdentifier","src":"4038:3:30"},"nativeSrc":"4038:39:30","nodeType":"YulFunctionCall","src":"4038:39:30"},{"kind":"number","nativeSrc":"4079:3:30","nodeType":"YulLiteral","src":"4079:3:30","type":"","value":"128"}],"functionName":{"name":"add","nativeSrc":"4034:3:30","nodeType":"YulIdentifier","src":"4034:3:30"},"nativeSrc":"4034:49:30","nodeType":"YulFunctionCall","src":"4034:49:30"},"variableNames":[{"name":"end","nativeSrc":"4027:3:30","nodeType":"YulIdentifier","src":"4027:3:30"}]}]},"name":"abi_encode_struct_SwapConfig","nativeSrc":"3307:782:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nativeSrc":"3345:5:30","nodeType":"YulTypedName","src":"3345:5:30","type":""},{"name":"pos","nativeSrc":"3352:3:30","nodeType":"YulTypedName","src":"3352:3:30","type":""}],"returnVariables":[{"name":"end","nativeSrc":"3360:3:30","nodeType":"YulTypedName","src":"3360:3:30","type":""}],"src":"3307:782:30"},{"body":{"nativeSrc":"4371:337:30","nodeType":"YulBlock","src":"4371:337:30","statements":[{"expression":{"arguments":[{"name":"headStart","nativeSrc":"4388:9:30","nodeType":"YulIdentifier","src":"4388:9:30"},{"kind":"number","nativeSrc":"4399:3:30","nodeType":"YulLiteral","src":"4399:3:30","type":"","value":"160"}],"functionName":{"name":"mstore","nativeSrc":"4381:6:30","nodeType":"YulIdentifier","src":"4381:6:30"},"nativeSrc":"4381:22:30","nodeType":"YulFunctionCall","src":"4381:22:30"},"nativeSrc":"4381:22:30","nodeType":"YulExpressionStatement","src":"4381:22:30"},{"nativeSrc":"4412:65:30","nodeType":"YulAssignment","src":"4412:65:30","value":{"arguments":[{"name":"value0","nativeSrc":"4449:6:30","nodeType":"YulIdentifier","src":"4449:6:30"},{"arguments":[{"name":"headStart","nativeSrc":"4461:9:30","nodeType":"YulIdentifier","src":"4461:9:30"},{"kind":"number","nativeSrc":"4472:3:30","nodeType":"YulLiteral","src":"4472:3:30","type":"","value":"160"}],"functionName":{"name":"add","nativeSrc":"4457:3:30","nodeType":"YulIdentifier","src":"4457:3:30"},"nativeSrc":"4457:19:30","nodeType":"YulFunctionCall","src":"4457:19:30"}],"functionName":{"name":"abi_encode_struct_SwapConfig","nativeSrc":"4420:28:30","nodeType":"YulIdentifier","src":"4420:28:30"},"nativeSrc":"4420:57:30","nodeType":"YulFunctionCall","src":"4420:57:30"},"variableNames":[{"name":"tail","nativeSrc":"4412:4:30","nodeType":"YulIdentifier","src":"4412:4:30"}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4497:9:30","nodeType":"YulIdentifier","src":"4497:9:30"},{"kind":"number","nativeSrc":"4508:2:30","nodeType":"YulLiteral","src":"4508:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"4493:3:30","nodeType":"YulIdentifier","src":"4493:3:30"},"nativeSrc":"4493:18:30","nodeType":"YulFunctionCall","src":"4493:18:30"},{"arguments":[{"name":"value1","nativeSrc":"4517:6:30","nodeType":"YulIdentifier","src":"4517:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"4533:3:30","nodeType":"YulLiteral","src":"4533:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"4538:1:30","nodeType":"YulLiteral","src":"4538:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"4529:3:30","nodeType":"YulIdentifier","src":"4529:3:30"},"nativeSrc":"4529:11:30","nodeType":"YulFunctionCall","src":"4529:11:30"},{"kind":"number","nativeSrc":"4542:1:30","nodeType":"YulLiteral","src":"4542:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"4525:3:30","nodeType":"YulIdentifier","src":"4525:3:30"},"nativeSrc":"4525:19:30","nodeType":"YulFunctionCall","src":"4525:19:30"}],"functionName":{"name":"and","nativeSrc":"4513:3:30","nodeType":"YulIdentifier","src":"4513:3:30"},"nativeSrc":"4513:32:30","nodeType":"YulFunctionCall","src":"4513:32:30"}],"functionName":{"name":"mstore","nativeSrc":"4486:6:30","nodeType":"YulIdentifier","src":"4486:6:30"},"nativeSrc":"4486:60:30","nodeType":"YulFunctionCall","src":"4486:60:30"},"nativeSrc":"4486:60:30","nodeType":"YulExpressionStatement","src":"4486:60:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4566:9:30","nodeType":"YulIdentifier","src":"4566:9:30"},{"kind":"number","nativeSrc":"4577:2:30","nodeType":"YulLiteral","src":"4577:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"4562:3:30","nodeType":"YulIdentifier","src":"4562:3:30"},"nativeSrc":"4562:18:30","nodeType":"YulFunctionCall","src":"4562:18:30"},{"arguments":[{"name":"value2","nativeSrc":"4586:6:30","nodeType":"YulIdentifier","src":"4586:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"4602:3:30","nodeType":"YulLiteral","src":"4602:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"4607:1:30","nodeType":"YulLiteral","src":"4607:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"4598:3:30","nodeType":"YulIdentifier","src":"4598:3:30"},"nativeSrc":"4598:11:30","nodeType":"YulFunctionCall","src":"4598:11:30"},{"kind":"number","nativeSrc":"4611:1:30","nodeType":"YulLiteral","src":"4611:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"4594:3:30","nodeType":"YulIdentifier","src":"4594:3:30"},"nativeSrc":"4594:19:30","nodeType":"YulFunctionCall","src":"4594:19:30"}],"functionName":{"name":"and","nativeSrc":"4582:3:30","nodeType":"YulIdentifier","src":"4582:3:30"},"nativeSrc":"4582:32:30","nodeType":"YulFunctionCall","src":"4582:32:30"}],"functionName":{"name":"mstore","nativeSrc":"4555:6:30","nodeType":"YulIdentifier","src":"4555:6:30"},"nativeSrc":"4555:60:30","nodeType":"YulFunctionCall","src":"4555:60:30"},"nativeSrc":"4555:60:30","nodeType":"YulExpressionStatement","src":"4555:60:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4635:9:30","nodeType":"YulIdentifier","src":"4635:9:30"},{"kind":"number","nativeSrc":"4646:2:30","nodeType":"YulLiteral","src":"4646:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"4631:3:30","nodeType":"YulIdentifier","src":"4631:3:30"},"nativeSrc":"4631:18:30","nodeType":"YulFunctionCall","src":"4631:18:30"},{"name":"value3","nativeSrc":"4651:6:30","nodeType":"YulIdentifier","src":"4651:6:30"}],"functionName":{"name":"mstore","nativeSrc":"4624:6:30","nodeType":"YulIdentifier","src":"4624:6:30"},"nativeSrc":"4624:34:30","nodeType":"YulFunctionCall","src":"4624:34:30"},"nativeSrc":"4624:34:30","nodeType":"YulExpressionStatement","src":"4624:34:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4678:9:30","nodeType":"YulIdentifier","src":"4678:9:30"},{"kind":"number","nativeSrc":"4689:3:30","nodeType":"YulLiteral","src":"4689:3:30","type":"","value":"128"}],"functionName":{"name":"add","nativeSrc":"4674:3:30","nodeType":"YulIdentifier","src":"4674:3:30"},"nativeSrc":"4674:19:30","nodeType":"YulFunctionCall","src":"4674:19:30"},{"name":"value4","nativeSrc":"4695:6:30","nodeType":"YulIdentifier","src":"4695:6:30"}],"functionName":{"name":"mstore","nativeSrc":"4667:6:30","nodeType":"YulIdentifier","src":"4667:6:30"},"nativeSrc":"4667:35:30","nodeType":"YulFunctionCall","src":"4667:35:30"},"nativeSrc":"4667:35:30","nodeType":"YulExpressionStatement","src":"4667:35:30"}]},"name":"abi_encode_tuple_t_struct$_SwapConfig_$6603_memory_ptr_t_address_t_address_t_uint256_t_uint256__to_t_struct$_SwapConfig_$6603_memory_ptr_t_address_t_address_t_uint256_t_uint256__fromStack_library_reversed","nativeSrc":"4094:614:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"4308:9:30","nodeType":"YulTypedName","src":"4308:9:30","type":""},{"name":"value4","nativeSrc":"4319:6:30","nodeType":"YulTypedName","src":"4319:6:30","type":""},{"name":"value3","nativeSrc":"4327:6:30","nodeType":"YulTypedName","src":"4327:6:30","type":""},{"name":"value2","nativeSrc":"4335:6:30","nodeType":"YulTypedName","src":"4335:6:30","type":""},{"name":"value1","nativeSrc":"4343:6:30","nodeType":"YulTypedName","src":"4343:6:30","type":""},{"name":"value0","nativeSrc":"4351:6:30","nodeType":"YulTypedName","src":"4351:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"4362:4:30","nodeType":"YulTypedName","src":"4362:4:30","type":""}],"src":"4094:614:30"},{"body":{"nativeSrc":"4794:103:30","nodeType":"YulBlock","src":"4794:103:30","statements":[{"body":{"nativeSrc":"4840:16:30","nodeType":"YulBlock","src":"4840:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4849:1:30","nodeType":"YulLiteral","src":"4849:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4852:1:30","nodeType":"YulLiteral","src":"4852:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"4842:6:30","nodeType":"YulIdentifier","src":"4842:6:30"},"nativeSrc":"4842:12:30","nodeType":"YulFunctionCall","src":"4842:12:30"},"nativeSrc":"4842:12:30","nodeType":"YulExpressionStatement","src":"4842:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"4815:7:30","nodeType":"YulIdentifier","src":"4815:7:30"},{"name":"headStart","nativeSrc":"4824:9:30","nodeType":"YulIdentifier","src":"4824:9:30"}],"functionName":{"name":"sub","nativeSrc":"4811:3:30","nodeType":"YulIdentifier","src":"4811:3:30"},"nativeSrc":"4811:23:30","nodeType":"YulFunctionCall","src":"4811:23:30"},{"kind":"number","nativeSrc":"4836:2:30","nodeType":"YulLiteral","src":"4836:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"4807:3:30","nodeType":"YulIdentifier","src":"4807:3:30"},"nativeSrc":"4807:32:30","nodeType":"YulFunctionCall","src":"4807:32:30"},"nativeSrc":"4804:52:30","nodeType":"YulIf","src":"4804:52:30"},{"nativeSrc":"4865:26:30","nodeType":"YulAssignment","src":"4865:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4881:9:30","nodeType":"YulIdentifier","src":"4881:9:30"}],"functionName":{"name":"mload","nativeSrc":"4875:5:30","nodeType":"YulIdentifier","src":"4875:5:30"},"nativeSrc":"4875:16:30","nodeType":"YulFunctionCall","src":"4875:16:30"},"variableNames":[{"name":"value0","nativeSrc":"4865:6:30","nodeType":"YulIdentifier","src":"4865:6:30"}]}]},"name":"abi_decode_tuple_t_uint256_fromMemory","nativeSrc":"4713:184:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"4760:9:30","nodeType":"YulTypedName","src":"4760:9:30","type":""},{"name":"dataEnd","nativeSrc":"4771:7:30","nodeType":"YulTypedName","src":"4771:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"4783:6:30","nodeType":"YulTypedName","src":"4783:6:30","type":""}],"src":"4713:184:30"},{"body":{"nativeSrc":"5003:76:30","nodeType":"YulBlock","src":"5003:76:30","statements":[{"nativeSrc":"5013:26:30","nodeType":"YulAssignment","src":"5013:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5025:9:30","nodeType":"YulIdentifier","src":"5025:9:30"},{"kind":"number","nativeSrc":"5036:2:30","nodeType":"YulLiteral","src":"5036:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"5021:3:30","nodeType":"YulIdentifier","src":"5021:3:30"},"nativeSrc":"5021:18:30","nodeType":"YulFunctionCall","src":"5021:18:30"},"variableNames":[{"name":"tail","nativeSrc":"5013:4:30","nodeType":"YulIdentifier","src":"5013:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"5055:9:30","nodeType":"YulIdentifier","src":"5055:9:30"},{"name":"value0","nativeSrc":"5066:6:30","nodeType":"YulIdentifier","src":"5066:6:30"}],"functionName":{"name":"mstore","nativeSrc":"5048:6:30","nodeType":"YulIdentifier","src":"5048:6:30"},"nativeSrc":"5048:25:30","nodeType":"YulFunctionCall","src":"5048:25:30"},"nativeSrc":"5048:25:30","nodeType":"YulExpressionStatement","src":"5048:25:30"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nativeSrc":"4902:177:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"4972:9:30","nodeType":"YulTypedName","src":"4972:9:30","type":""},{"name":"value0","nativeSrc":"4983:6:30","nodeType":"YulTypedName","src":"4983:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"4994:4:30","nodeType":"YulTypedName","src":"4994:4:30","type":""}],"src":"4902:177:30"},{"body":{"nativeSrc":"5249:110:30","nodeType":"YulBlock","src":"5249:110:30","statements":[{"expression":{"arguments":[{"name":"headStart","nativeSrc":"5266:9:30","nodeType":"YulIdentifier","src":"5266:9:30"},{"kind":"number","nativeSrc":"5277:2:30","nodeType":"YulLiteral","src":"5277:2:30","type":"","value":"32"}],"functionName":{"name":"mstore","nativeSrc":"5259:6:30","nodeType":"YulIdentifier","src":"5259:6:30"},"nativeSrc":"5259:21:30","nodeType":"YulFunctionCall","src":"5259:21:30"},"nativeSrc":"5259:21:30","nodeType":"YulExpressionStatement","src":"5259:21:30"},{"nativeSrc":"5289:64:30","nodeType":"YulAssignment","src":"5289:64:30","value":{"arguments":[{"name":"value0","nativeSrc":"5326:6:30","nodeType":"YulIdentifier","src":"5326:6:30"},{"arguments":[{"name":"headStart","nativeSrc":"5338:9:30","nodeType":"YulIdentifier","src":"5338:9:30"},{"kind":"number","nativeSrc":"5349:2:30","nodeType":"YulLiteral","src":"5349:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"5334:3:30","nodeType":"YulIdentifier","src":"5334:3:30"},"nativeSrc":"5334:18:30","nodeType":"YulFunctionCall","src":"5334:18:30"}],"functionName":{"name":"abi_encode_struct_SwapConfig","nativeSrc":"5297:28:30","nodeType":"YulIdentifier","src":"5297:28:30"},"nativeSrc":"5297:56:30","nodeType":"YulFunctionCall","src":"5297:56:30"},"variableNames":[{"name":"tail","nativeSrc":"5289:4:30","nodeType":"YulIdentifier","src":"5289:4:30"}]}]},"name":"abi_encode_tuple_t_struct$_SwapConfig_$6603_memory_ptr__to_t_struct$_SwapConfig_$6603_memory_ptr__fromStack_library_reversed","nativeSrc":"5084:275:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5218:9:30","nodeType":"YulTypedName","src":"5218:9:30","type":""},{"name":"value0","nativeSrc":"5229:6:30","nodeType":"YulTypedName","src":"5229:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"5240:4:30","nodeType":"YulTypedName","src":"5240:4:30","type":""}],"src":"5084:275:30"}]},"contents":"{\n    { }\n    function abi_decode_struct_SwapConfig_calldata(offset, end) -> value\n    {\n        if slt(sub(end, offset), 96) { revert(0, 0) }\n        value := offset\n    }\n    function abi_decode_address(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptrt_addresst_addresst_uint256t_uint256(headStart, dataEnd) -> value0, value1, value2, value3, value4\n    {\n        if slt(sub(dataEnd, headStart), 160) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        value0 := abi_decode_struct_SwapConfig_calldata(add(headStart, offset), dataEnd)\n        value1 := abi_decode_address(add(headStart, 32))\n        value2 := abi_decode_address(add(headStart, 64))\n        let value := 0\n        value := calldataload(add(headStart, 96))\n        value3 := value\n        let value_1 := 0\n        value_1 := calldataload(add(headStart, 128))\n        value4 := value_1\n    }\n    function abi_decode_tuple_t_struct$_SwapConfig_$6603_calldata_ptr(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        value0 := abi_decode_struct_SwapConfig_calldata(add(headStart, offset), dataEnd)\n    }\n    function panic_error_0x41()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function allocate_memory_879() -> memPtr\n    {\n        memPtr := mload(64)\n        let newFreePtr := add(memPtr, 0x60)\n        if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n        mstore(64, newFreePtr)\n    }\n    function allocate_memory(size) -> memPtr\n    {\n        memPtr := mload(64)\n        let newFreePtr := add(memPtr, and(add(size, 31), not(31)))\n        if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n        mstore(64, newFreePtr)\n    }\n    function convert_t_struct$_SwapConfig_$6603_calldata_ptr_to_t_struct$_SwapConfig_$6603_memory_ptr(value) -> converted\n    {\n        if slt(sub(calldatasize(), value), 0x60) { revert(0, 0) }\n        let value_1 := allocate_memory_879()\n        let value_2 := calldataload(value)\n        if iszero(lt(value_2, 3)) { revert(0, 0) }\n        mstore(value_1, value_2)\n        let value_3 := 0\n        value_3 := calldataload(add(value, 32))\n        mstore(add(value_1, 32), value_3)\n        let offset := calldataload(add(value, 64))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let _1 := add(value, offset)\n        if iszero(slt(add(_1, 0x1f), calldatasize())) { revert(0, 0) }\n        let length := calldataload(_1)\n        if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n        let array := allocate_memory(add(and(add(length, 0x1f), not(31)), 32))\n        mstore(array, length)\n        if gt(add(add(_1, length), 32), calldatasize()) { revert(0, 0) }\n        calldatacopy(add(array, 32), add(_1, 32), length)\n        mstore(add(add(array, length), 32), 0)\n        mstore(add(value_1, 64), array)\n        converted := value_1\n    }\n    function abi_encode_struct_SwapConfig(value, pos) -> end\n    {\n        let _1 := mload(value)\n        if iszero(lt(_1, 3))\n        {\n            mstore(0, shl(224, 0x4e487b71))\n            mstore(4, 0x21)\n            revert(0, 0x24)\n        }\n        mstore(pos, _1)\n        mstore(add(pos, 0x20), mload(add(value, 0x20)))\n        let memberValue0 := mload(add(value, 0x40))\n        mstore(add(pos, 0x40), 0x60)\n        let length := mload(memberValue0)\n        mstore(add(pos, 0x60), length)\n        let i := 0\n        for { } lt(i, length) { i := add(i, 0x20) }\n        {\n            mstore(add(add(pos, i), 128), mload(add(add(memberValue0, i), 0x20)))\n        }\n        mstore(add(add(pos, length), 128), 0)\n        end := add(add(pos, and(add(length, 31), not(31))), 128)\n    }\n    function abi_encode_tuple_t_struct$_SwapConfig_$6603_memory_ptr_t_address_t_address_t_uint256_t_uint256__to_t_struct$_SwapConfig_$6603_memory_ptr_t_address_t_address_t_uint256_t_uint256__fromStack_library_reversed(headStart, value4, value3, value2, value1, value0) -> tail\n    {\n        mstore(headStart, 160)\n        tail := abi_encode_struct_SwapConfig(value0, add(headStart, 160))\n        mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 64), and(value2, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 96), value3)\n        mstore(add(headStart, 128), value4)\n    }\n    function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := mload(headStart)\n    }\n    function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function abi_encode_tuple_t_struct$_SwapConfig_$6603_memory_ptr__to_t_struct$_SwapConfig_$6603_memory_ptr__fromStack_library_reversed(headStart, value0) -> tail\n    {\n        mstore(headStart, 32)\n        tail := abi_encode_struct_SwapConfig(value0, add(headStart, 32))\n    }\n}","id":30,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{"contracts/SwapLibrary.sol":{"SwapLibrary":[{"length":20,"start":155},{"length":20,"start":360},{"length":20,"start":547}]}},"object":"608060405234801561001057600080fd5b50600436106100415760003560e01c8063178fc642146100465780631922e4d71461005b578063d74018a71461006e575b600080fd5b6100596100543660046102b1565b610081565b005b6100596100693660046102b1565b61014e565b61005961007c366004610321565b61020b565b600061008c866103ce565b60405163581e517d60e01b815273__$6208b5e12e0bba0a75d52081aca1136159$__9163581e517d916100ca91908990899089908990600401610517565b602060405180830381865af41580156100e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010b9190610557565b90507f7d1251252437180878066577dd1c280db8feb2152d57a044f147003bd04ba4eb8160405161013e91815260200190565b60405180910390a1505050505050565b6000610159866103ce565b604051637756691560e01b815273__$6208b5e12e0bba0a75d52081aca1136159$__9163775669159161019791908990899089908990600401610517565b602060405180830381865af41580156101b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d89190610557565b90507f59fbbb51cc726a41bc000734e10c34b705550e4d5c75611780ec30c767064e488160405161013e91815260200190565b610214816103ce565b604051632cbf28cb60e21b815273__$6208b5e12e0bba0a75d52081aca1136159$__9163b2fca32c9161024a9190600401610570565b60006040518083038186803b15801561026257600080fd5b505af4158015610276573d6000803e3d6000fd5b5050505050565b60006060828403121561028f57600080fd5b50919050565b80356001600160a01b03811681146102ac57600080fd5b919050565b600080600080600060a086880312156102c957600080fd5b853567ffffffffffffffff8111156102e057600080fd5b6102ec8882890161027d565b9550506102fb60208701610295565b935061030960408701610295565b94979396509394606081013594506080013592915050565b60006020828403121561033357600080fd5b813567ffffffffffffffff81111561034a57600080fd5b6103568482850161027d565b949350505050565b634e487b7160e01b600052604160045260246000fd5b6040516060810167ffffffffffffffff811182821017156103975761039761035e565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156103c6576103c661035e565b604052919050565b6000606082360312156103e057600080fd5b6103e8610374565b8235600381106103f757600080fd5b815260208381013590820152604083013567ffffffffffffffff81111561041d57600080fd5b830136601f82011261042e57600080fd5b803567ffffffffffffffff8111156104485761044861035e565b61045b601f8201601f191660200161039d565b81815236602083850101111561047057600080fd5b8160208401602083013760009181016020019190915260408301525092915050565b60008151600381106104b457634e487b7160e01b600052602160045260246000fd5b8084525060208201516020840152604082015160606040850152805180606086015260005b818110156104f657602081840181015160808884010152016104d9565b506000608082870101526080601f19601f8301168601019250505092915050565b60a08152600061052a60a0830188610492565b6001600160a01b039687166020840152949095166040820152606081019290925260809091015292915050565b60006020828403121561056957600080fd5b5051919050565b6020815260006105836020830184610492565b939250505056fea2646970667358221220cd7329872df600603629abd1b0b6be07e08ccceddb26418a89eef1193a8f83fd64736f6c634300081c0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x178FC642 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x1922E4D7 EQ PUSH2 0x5B JUMPI DUP1 PUSH4 0xD74018A7 EQ PUSH2 0x6E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x59 PUSH2 0x54 CALLDATASIZE PUSH1 0x4 PUSH2 0x2B1 JUMP JUMPDEST PUSH2 0x81 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x59 PUSH2 0x69 CALLDATASIZE PUSH1 0x4 PUSH2 0x2B1 JUMP JUMPDEST PUSH2 0x14E JUMP JUMPDEST PUSH2 0x59 PUSH2 0x7C CALLDATASIZE PUSH1 0x4 PUSH2 0x321 JUMP JUMPDEST PUSH2 0x20B JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8C DUP7 PUSH2 0x3CE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x581E517D PUSH1 0xE0 SHL DUP2 MSTORE PUSH20 0x0 SWAP2 PUSH4 0x581E517D SWAP2 PUSH2 0xCA SWAP2 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 PUSH1 0x4 ADD PUSH2 0x517 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0xE7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x10B SWAP2 SWAP1 PUSH2 0x557 JUMP JUMPDEST SWAP1 POP PUSH32 0x7D1251252437180878066577DD1C280DB8FEB2152D57A044F147003BD04BA4EB DUP2 PUSH1 0x40 MLOAD PUSH2 0x13E SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x159 DUP7 PUSH2 0x3CE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x77566915 PUSH1 0xE0 SHL DUP2 MSTORE PUSH20 0x0 SWAP2 PUSH4 0x77566915 SWAP2 PUSH2 0x197 SWAP2 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 DUP10 SWAP1 PUSH1 0x4 ADD PUSH2 0x517 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x1B4 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1D8 SWAP2 SWAP1 PUSH2 0x557 JUMP JUMPDEST SWAP1 POP PUSH32 0x59FBBB51CC726A41BC000734E10C34B705550E4D5C75611780EC30C767064E48 DUP2 PUSH1 0x40 MLOAD PUSH2 0x13E SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH2 0x214 DUP2 PUSH2 0x3CE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x2CBF28CB PUSH1 0xE2 SHL DUP2 MSTORE PUSH20 0x0 SWAP2 PUSH4 0xB2FCA32C SWAP2 PUSH2 0x24A SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x570 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x262 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x276 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x28F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x2AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x2C9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2E0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2EC DUP9 DUP3 DUP10 ADD PUSH2 0x27D JUMP JUMPDEST SWAP6 POP POP PUSH2 0x2FB PUSH1 0x20 DUP8 ADD PUSH2 0x295 JUMP JUMPDEST SWAP4 POP PUSH2 0x309 PUSH1 0x40 DUP8 ADD PUSH2 0x295 JUMP JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP SWAP4 SWAP5 PUSH1 0x60 DUP2 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 ADD CALLDATALOAD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x333 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x34A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x356 DUP5 DUP3 DUP6 ADD PUSH2 0x27D JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x397 JUMPI PUSH2 0x397 PUSH2 0x35E JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x3C6 JUMPI PUSH2 0x3C6 PUSH2 0x35E JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 CALLDATASIZE SUB SLT ISZERO PUSH2 0x3E0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x3E8 PUSH2 0x374 JUMP JUMPDEST DUP3 CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH2 0x3F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MSTORE PUSH1 0x20 DUP4 DUP2 ADD CALLDATALOAD SWAP1 DUP3 ADD MSTORE PUSH1 0x40 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x41D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 ADD CALLDATASIZE PUSH1 0x1F DUP3 ADD SLT PUSH2 0x42E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x448 JUMPI PUSH2 0x448 PUSH2 0x35E JUMP JUMPDEST PUSH2 0x45B PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD PUSH2 0x39D JUMP JUMPDEST DUP2 DUP2 MSTORE CALLDATASIZE PUSH1 0x20 DUP4 DUP6 ADD ADD GT ISZERO PUSH2 0x470 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP5 ADD PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 SWAP2 DUP2 ADD PUSH1 0x20 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x4B4 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP1 DUP5 MSTORE POP PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x60 PUSH1 0x40 DUP6 ADD MSTORE DUP1 MLOAD DUP1 PUSH1 0x60 DUP7 ADD MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x4F6 JUMPI PUSH1 0x20 DUP2 DUP5 ADD DUP2 ADD MLOAD PUSH1 0x80 DUP9 DUP5 ADD ADD MSTORE ADD PUSH2 0x4D9 JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x80 DUP3 DUP8 ADD ADD MSTORE PUSH1 0x80 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND DUP7 ADD ADD SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0xA0 DUP2 MSTORE PUSH1 0x0 PUSH2 0x52A PUSH1 0xA0 DUP4 ADD DUP9 PUSH2 0x492 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP7 DUP8 AND PUSH1 0x20 DUP5 ADD MSTORE SWAP5 SWAP1 SWAP6 AND PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x80 SWAP1 SWAP2 ADD MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x569 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x583 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x492 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCD PUSH20 0x29872DF600603629ABD1B0B6BE07E08CCCEDDB26 COINBASE DUP11 DUP10 0xEE CALL NOT GASPRICE DUP16 DUP4 REVERT PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"115:872:27:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;571:293;;;;;;:::i;:::-;;:::i;:::-;;277:290;;;;;;:::i;:::-;;:::i;868:117::-;;;;;;:::i;:::-;;:::i;571:293::-;756:11;770:22;:10;:22;:::i;:::-;:56;;-1:-1:-1;;;770:56:27;;:22;;;;:56;;:22;793:7;;802:8;;812:6;;820:5;;770:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;756:70;;837:22;855:3;837:22;;;;5048:25:30;;5036:2;5021:18;;4902:177;837:22:27;;;;;;;;750:114;571:293;;;;;:::o;277:290::-;461:11;475:21;:10;:21;:::i;:::-;:55;;-1:-1:-1;;;475:55:27;;:21;;;;:55;;:21;497:7;;506:8;;516:6;;524:5;;475:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;461:69;;541:21;558:3;541:21;;;;5048:25:30;;5036:2;5021:18;;4902:177;868:117:27;959:19;:10;:19;:::i;:::-;:21;;-1:-1:-1;;;959:21:27;;:19;;;;:21;;:19;:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;868:117;:::o;14:158:30:-;77:5;122:2;113:6;108:3;104:16;100:25;97:45;;;138:1;135;128:12;97:45;-1:-1:-1;160:6:30;14:158;-1:-1:-1;14:158:30:o;177:173::-;245:20;;-1:-1:-1;;;;;294:31:30;;284:42;;274:70;;340:1;337;330:12;274:70;177:173;;;:::o;355:746::-;480:6;488;496;504;512;565:3;553:9;544:7;540:23;536:33;533:53;;;582:1;579;572:12;533:53;622:9;609:23;655:18;647:6;644:30;641:50;;;687:1;684;677:12;641:50;710:70;772:7;763:6;752:9;748:22;710:70;:::i;:::-;700:80;;;799:38;833:2;822:9;818:18;799:38;:::i;:::-;789:48;;856:38;890:2;879:9;875:18;856:38;:::i;:::-;355:746;;;;-1:-1:-1;846:48:30;;963:2;948:18;;935:32;;-1:-1:-1;1064:3:30;1049:19;1036:33;;355:746;-1:-1:-1;;355:746:30:o;1106:362::-;1195:6;1248:2;1236:9;1227:7;1223:23;1219:32;1216:52;;;1264:1;1261;1254:12;1216:52;1304:9;1291:23;1337:18;1329:6;1326:30;1323:50;;;1369:1;1366;1359:12;1323:50;1392:70;1454:7;1445:6;1434:9;1430:22;1392:70;:::i;:::-;1382:80;1106:362;-1:-1:-1;;;;1106:362:30:o;1473:127::-;1534:10;1529:3;1525:20;1522:1;1515:31;1565:4;1562:1;1555:15;1589:4;1586:1;1579:15;1605:252;1676:2;1670:9;1718:4;1706:17;;1753:18;1738:34;;1774:22;;;1735:62;1732:88;;;1800:18;;:::i;:::-;1836:2;1829:22;1605:252;:::o;1862:275::-;1933:2;1927:9;1998:2;1979:13;;-1:-1:-1;;1975:27:30;1963:40;;2033:18;2018:34;;2054:22;;;2015:62;2012:88;;;2080:18;;:::i;:::-;2116:2;2109:22;1862:275;;-1:-1:-1;1862:275:30:o;2142:1160::-;2250:9;2309:4;2301:5;2285:14;2281:26;2277:37;2274:57;;;2327:1;2324;2317:12;2274:57;2355:21;;:::i;:::-;2413:5;2400:19;2450:1;2441:7;2438:14;2428:42;;2466:1;2463;2456:12;2428:42;2479:24;;2572:2;2561:14;;;2548:28;2592:16;;;2585:33;2665:2;2654:14;;2641:28;2692:18;2681:30;;2678:50;;;2724:1;2721;2714:12;2678:50;2747:18;;2803:14;2796:4;2788:13;;2784:34;2774:62;;2832:1;2829;2822:12;2774:62;2872:2;2859:16;2898:18;2890:6;2887:30;2884:56;;;2920:18;;:::i;:::-;2962:57;3009:2;2986:17;;-1:-1:-1;;2982:31:30;3015:2;2978:40;2962:57;:::i;:::-;3042:6;3035:5;3028:21;3090:14;3085:2;3076:6;3072:2;3068:15;3064:24;3061:44;3058:64;;;3118:1;3115;3108:12;3058:64;3173:6;3168:2;3164;3160:11;3155:2;3148:5;3144:14;3131:49;3225:1;3200:18;;;3220:2;3196:27;3189:38;;;;3256:2;3243:16;;3236:31;-1:-1:-1;3247:7:30;2142:1160;-1:-1:-1;;2142:1160:30:o;3307:782::-;3360:3;3394:5;3388:12;3426:1;3422:2;3419:9;3409:140;;3471:10;3466:3;3462:20;3459:1;3452:31;3506:4;3503:1;3496:15;3534:4;3531:1;3524:15;3409:140;3570:2;3565:3;3558:15;;3622:4;3615:5;3611:16;3605:23;3598:4;3593:3;3589:14;3582:47;3675:4;3668:5;3664:16;3658:23;3713:4;3706;3701:3;3697:14;3690:28;3747:12;3741:19;3792:6;3785:4;3780:3;3776:14;3769:30;3817:1;3827:145;3841:6;3838:1;3835:13;3827:145;;;3955:4;3933:20;;;3929:31;;3923:38;3917:3;3904:11;;;3900:21;3893:69;3856:12;3827:145;;;3831:3;4016:1;4010:3;4001:6;3996:3;3992:16;3988:26;3981:37;4079:3;4072:2;4068:7;4063:2;4055:6;4051:15;4047:29;4042:3;4038:39;4034:49;4027:56;;;;3307:782;;;;:::o;4094:614::-;4399:3;4388:9;4381:22;4362:4;4420:57;4472:3;4461:9;4457:19;4449:6;4420:57;:::i;:::-;-1:-1:-1;;;;;4513:32:30;;;4508:2;4493:18;;4486:60;4582:32;;;;4577:2;4562:18;;4555:60;4646:2;4631:18;;4624:34;;;;4689:3;4674:19;;;4667:35;4412:65;4094:614;-1:-1:-1;;4094:614:30:o;4713:184::-;4783:6;4836:2;4824:9;4815:7;4811:23;4807:32;4804:52;;;4852:1;4849;4842:12;4804:52;-1:-1:-1;4875:16:30;;4713:184;-1:-1:-1;4713:184:30:o;5084:275::-;5277:2;5266:9;5259:21;5240:4;5297:56;5349:2;5338:9;5334:18;5326:6;5297:56;:::i;:::-;5289:64;5084:275;-1:-1:-1;;;5084:275:30:o"},"methodIdentifiers":{"executeExactInput((uint8,uint256,bytes),address,address,uint256,uint256)":"1922e4d7","executeExactOutput((uint8,uint256,bytes),address,address,uint256,uint256)":"178fc642","validateConfig((uint8,uint256,bytes))":"d74018a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"input\",\"type\":\"uint256\"}],\"name\":\"ExactInputResult\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"output\",\"type\":\"uint256\"}],\"name\":\"ExactOutputResult\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enum SwapLibrary.SwapProtocol\",\"name\":\"protocol\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"maxSlippage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"customParams\",\"type\":\"bytes\"}],\"internalType\":\"struct SwapLibrary.SwapConfig\",\"name\":\"swapConfig\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"executeExactInput\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enum SwapLibrary.SwapProtocol\",\"name\":\"protocol\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"maxSlippage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"customParams\",\"type\":\"bytes\"}],\"internalType\":\"struct SwapLibrary.SwapConfig\",\"name\":\"swapConfig\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"executeExactOutput\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enum SwapLibrary.SwapProtocol\",\"name\":\"protocol\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"maxSlippage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"customParams\",\"type\":\"bytes\"}],\"internalType\":\"struct SwapLibrary.SwapConfig\",\"name\":\"swapConfig\",\"type\":\"tuple\"}],\"name\":\"validateConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/mocks/SwapTesterMock.sol\":\"SwapTesterMock\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa00be322d7db5786750ce0ac7e2f5b633ac30a5ed5fa1ced1e74acfc19acecea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c84e822f87cbdc4082533b626667b6928715bb2b1e8e7eb96954cebb9e38c8d\",\"dweb:/ipfs/QmZmy9dgxLTerBAQDuuHqbL6EpgRxddqgv5KmwpXYVbKz1\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol\":{\"keccak256\":\"0x9bfaf1feb32814623e627ab70f2409760b15d95f1f9b058e2b3399a8bb732975\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8a2c3e55965b61bcd91993d8e1d5d34b8b8a63e0fdfce87a85f6af92526fd53\",\"dweb:/ipfs/QmQj2CSCSwqDSU4KMNWxGsN2336Cy64WgpV1X1EHXNZWxM\"]},\"contracts/CurveRoutes.sol\":{\"keccak256\":\"0x631af8ec291043d7eef34b97a427a4f53eb46d852088f6620c46a36a7e851963\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://fbaf0f64980572d977b87b83e8bfc9c79fd1d2dc49a21e77e2a11fb8dec2413a\",\"dweb:/ipfs/QmYTpv2BroRz8PpWXYRp5KaaCXRy3tkZ95DeXybP4j3ti4\"]},\"contracts/SwapLibrary.sol\":{\"keccak256\":\"0x3b1db1690ce8fa74972e4b4a57de41f4a880c8566b279316113d7398ea711812\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://2746b500f5916604c16589fdbabf94b4d97689dcb96095376ed4956f9de663a6\",\"dweb:/ipfs/QmepecwnwauXsLuQmmoFNbH5XbZYEHH4bjnshQRRUeyH4r\"]},\"contracts/dependencies/ICurveRouter.sol\":{\"keccak256\":\"0xf8c39f61b7459cfe6ba74d88fee74efd6d3d05d5cd64dc9eb6d08fbe0361affd\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://55f11ef7e1cc66fa2c6c2aec436ccf00a835acf4281bff4ee9b4d2cb8980c92f\",\"dweb:/ipfs/QmPfvjcbLbHwoFRFGkM5zvM25vrEvZxjwbxSUL5jm5n3pZ\"]},\"contracts/mocks/SwapTesterMock.sol\":{\"keccak256\":\"0xf59471bf21346e81bf0343cb646f560a20a963f133ec0fd1a2650cbd36caed90\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://09a0a1acdfc67be0ad05d702f762327be5efe1205b25c489068f344d9f07d9b3\",\"dweb:/ipfs/QmUdqLuq2fjKmf1YhNj3pE4Jxd44ordHowyVdm71z7Rh29\"]},\"solidity-bytes-utils/contracts/BytesLib.sol\":{\"keccak256\":\"0xf75784dfc94ea43668eb195d5690a1dde1b6eda62017e73a3899721583821d29\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://ca16cef8b94f3ac75d376489a668618f6c4595a906b939d674a883f4bf426014\",\"dweb:/ipfs/QmceGU7qhyFLSejaj6i4dEtMzXDCSF3aYDtW1UeKjXQaRn\"]}},\"version\":1}"}},"contracts/mocks/TestCurrency.sol":{"TestCurrency":{"abi":[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint8","name":"decimals_","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"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":"value","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":[],"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":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_657":{"entryPoint":null,"id":657,"parameterSlots":2,"returnSlots":0},"@_8331":{"entryPoint":null,"id":8331,"parameterSlots":4,"returnSlots":0},"@_mint_960":{"entryPoint":124,"id":960,"parameterSlots":2,"returnSlots":0},"@_update_927":{"entryPoint":187,"id":927,"parameterSlots":3,"returnSlots":0},"abi_decode_string_fromMemory":{"entryPoint":507,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_string_memory_ptrt_string_memory_ptrt_uint256t_uint8_fromMemory":{"entryPoint":670,"id":null,"parameterSlots":2,"returnSlots":4},"abi_encode_tuple_t_address__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"array_dataslot_string_storage":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"checked_add_t_uint256":{"entryPoint":1136,"id":null,"parameterSlots":2,"returnSlots":1},"clean_up_bytearray_end_slots_string_storage":{"entryPoint":867,"id":null,"parameterSlots":3,"returnSlots":0},"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage":{"entryPoint":946,"id":null,"parameterSlots":2,"returnSlots":0},"extract_byte_array_length":{"entryPoint":809,"id":null,"parameterSlots":1,"returnSlots":1},"extract_used_part_and_set_length_of_short_byte_array":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"panic_error_0x41":{"entryPoint":485,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nativeSrc":"0:5232:30","nodeType":"YulBlock","src":"0:5232:30","statements":[{"nativeSrc":"6:3:30","nodeType":"YulBlock","src":"6:3:30","statements":[]},{"body":{"nativeSrc":"46:95:30","nodeType":"YulBlock","src":"46:95:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"63:1:30","nodeType":"YulLiteral","src":"63:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"70:3:30","nodeType":"YulLiteral","src":"70:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"75:10:30","nodeType":"YulLiteral","src":"75:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"66:3:30","nodeType":"YulIdentifier","src":"66:3:30"},"nativeSrc":"66:20:30","nodeType":"YulFunctionCall","src":"66:20:30"}],"functionName":{"name":"mstore","nativeSrc":"56:6:30","nodeType":"YulIdentifier","src":"56:6:30"},"nativeSrc":"56:31:30","nodeType":"YulFunctionCall","src":"56:31:30"},"nativeSrc":"56:31:30","nodeType":"YulExpressionStatement","src":"56:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"103:1:30","nodeType":"YulLiteral","src":"103:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"106:4:30","nodeType":"YulLiteral","src":"106:4:30","type":"","value":"0x41"}],"functionName":{"name":"mstore","nativeSrc":"96:6:30","nodeType":"YulIdentifier","src":"96:6:30"},"nativeSrc":"96:15:30","nodeType":"YulFunctionCall","src":"96:15:30"},"nativeSrc":"96:15:30","nodeType":"YulExpressionStatement","src":"96:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"127:1:30","nodeType":"YulLiteral","src":"127:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"130:4:30","nodeType":"YulLiteral","src":"130:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"120:6:30","nodeType":"YulIdentifier","src":"120:6:30"},"nativeSrc":"120:15:30","nodeType":"YulFunctionCall","src":"120:15:30"},"nativeSrc":"120:15:30","nodeType":"YulExpressionStatement","src":"120:15:30"}]},"name":"panic_error_0x41","nativeSrc":"14:127:30","nodeType":"YulFunctionDefinition","src":"14:127:30"},{"body":{"nativeSrc":"210:770:30","nodeType":"YulBlock","src":"210:770:30","statements":[{"body":{"nativeSrc":"259:16:30","nodeType":"YulBlock","src":"259:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"268:1:30","nodeType":"YulLiteral","src":"268:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"271:1:30","nodeType":"YulLiteral","src":"271:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"261:6:30","nodeType":"YulIdentifier","src":"261:6:30"},"nativeSrc":"261:12:30","nodeType":"YulFunctionCall","src":"261:12:30"},"nativeSrc":"261:12:30","nodeType":"YulExpressionStatement","src":"261:12:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nativeSrc":"238:6:30","nodeType":"YulIdentifier","src":"238:6:30"},{"kind":"number","nativeSrc":"246:4:30","nodeType":"YulLiteral","src":"246:4:30","type":"","value":"0x1f"}],"functionName":{"name":"add","nativeSrc":"234:3:30","nodeType":"YulIdentifier","src":"234:3:30"},"nativeSrc":"234:17:30","nodeType":"YulFunctionCall","src":"234:17:30"},{"name":"end","nativeSrc":"253:3:30","nodeType":"YulIdentifier","src":"253:3:30"}],"functionName":{"name":"slt","nativeSrc":"230:3:30","nodeType":"YulIdentifier","src":"230:3:30"},"nativeSrc":"230:27:30","nodeType":"YulFunctionCall","src":"230:27:30"}],"functionName":{"name":"iszero","nativeSrc":"223:6:30","nodeType":"YulIdentifier","src":"223:6:30"},"nativeSrc":"223:35:30","nodeType":"YulFunctionCall","src":"223:35:30"},"nativeSrc":"220:55:30","nodeType":"YulIf","src":"220:55:30"},{"nativeSrc":"284:27:30","nodeType":"YulVariableDeclaration","src":"284:27:30","value":{"arguments":[{"name":"offset","nativeSrc":"304:6:30","nodeType":"YulIdentifier","src":"304:6:30"}],"functionName":{"name":"mload","nativeSrc":"298:5:30","nodeType":"YulIdentifier","src":"298:5:30"},"nativeSrc":"298:13:30","nodeType":"YulFunctionCall","src":"298:13:30"},"variables":[{"name":"length","nativeSrc":"288:6:30","nodeType":"YulTypedName","src":"288:6:30","type":""}]},{"body":{"nativeSrc":"354:22:30","nodeType":"YulBlock","src":"354:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nativeSrc":"356:16:30","nodeType":"YulIdentifier","src":"356:16:30"},"nativeSrc":"356:18:30","nodeType":"YulFunctionCall","src":"356:18:30"},"nativeSrc":"356:18:30","nodeType":"YulExpressionStatement","src":"356:18:30"}]},"condition":{"arguments":[{"name":"length","nativeSrc":"326:6:30","nodeType":"YulIdentifier","src":"326:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"342:2:30","nodeType":"YulLiteral","src":"342:2:30","type":"","value":"64"},{"kind":"number","nativeSrc":"346:1:30","nodeType":"YulLiteral","src":"346:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"338:3:30","nodeType":"YulIdentifier","src":"338:3:30"},"nativeSrc":"338:10:30","nodeType":"YulFunctionCall","src":"338:10:30"},{"kind":"number","nativeSrc":"350:1:30","nodeType":"YulLiteral","src":"350:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"334:3:30","nodeType":"YulIdentifier","src":"334:3:30"},"nativeSrc":"334:18:30","nodeType":"YulFunctionCall","src":"334:18:30"}],"functionName":{"name":"gt","nativeSrc":"323:2:30","nodeType":"YulIdentifier","src":"323:2:30"},"nativeSrc":"323:30:30","nodeType":"YulFunctionCall","src":"323:30:30"},"nativeSrc":"320:56:30","nodeType":"YulIf","src":"320:56:30"},{"nativeSrc":"385:23:30","nodeType":"YulVariableDeclaration","src":"385:23:30","value":{"arguments":[{"kind":"number","nativeSrc":"405:2:30","nodeType":"YulLiteral","src":"405:2:30","type":"","value":"64"}],"functionName":{"name":"mload","nativeSrc":"399:5:30","nodeType":"YulIdentifier","src":"399:5:30"},"nativeSrc":"399:9:30","nodeType":"YulFunctionCall","src":"399:9:30"},"variables":[{"name":"memPtr","nativeSrc":"389:6:30","nodeType":"YulTypedName","src":"389:6:30","type":""}]},{"nativeSrc":"417:85:30","nodeType":"YulVariableDeclaration","src":"417:85:30","value":{"arguments":[{"name":"memPtr","nativeSrc":"439:6:30","nodeType":"YulIdentifier","src":"439:6:30"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"length","nativeSrc":"463:6:30","nodeType":"YulIdentifier","src":"463:6:30"},{"kind":"number","nativeSrc":"471:4:30","nodeType":"YulLiteral","src":"471:4:30","type":"","value":"0x1f"}],"functionName":{"name":"add","nativeSrc":"459:3:30","nodeType":"YulIdentifier","src":"459:3:30"},"nativeSrc":"459:17:30","nodeType":"YulFunctionCall","src":"459:17:30"},{"arguments":[{"kind":"number","nativeSrc":"482:2:30","nodeType":"YulLiteral","src":"482:2:30","type":"","value":"31"}],"functionName":{"name":"not","nativeSrc":"478:3:30","nodeType":"YulIdentifier","src":"478:3:30"},"nativeSrc":"478:7:30","nodeType":"YulFunctionCall","src":"478:7:30"}],"functionName":{"name":"and","nativeSrc":"455:3:30","nodeType":"YulIdentifier","src":"455:3:30"},"nativeSrc":"455:31:30","nodeType":"YulFunctionCall","src":"455:31:30"},{"kind":"number","nativeSrc":"488:2:30","nodeType":"YulLiteral","src":"488:2:30","type":"","value":"63"}],"functionName":{"name":"add","nativeSrc":"451:3:30","nodeType":"YulIdentifier","src":"451:3:30"},"nativeSrc":"451:40:30","nodeType":"YulFunctionCall","src":"451:40:30"},{"arguments":[{"kind":"number","nativeSrc":"497:2:30","nodeType":"YulLiteral","src":"497:2:30","type":"","value":"31"}],"functionName":{"name":"not","nativeSrc":"493:3:30","nodeType":"YulIdentifier","src":"493:3:30"},"nativeSrc":"493:7:30","nodeType":"YulFunctionCall","src":"493:7:30"}],"functionName":{"name":"and","nativeSrc":"447:3:30","nodeType":"YulIdentifier","src":"447:3:30"},"nativeSrc":"447:54:30","nodeType":"YulFunctionCall","src":"447:54:30"}],"functionName":{"name":"add","nativeSrc":"435:3:30","nodeType":"YulIdentifier","src":"435:3:30"},"nativeSrc":"435:67:30","nodeType":"YulFunctionCall","src":"435:67:30"},"variables":[{"name":"newFreePtr","nativeSrc":"421:10:30","nodeType":"YulTypedName","src":"421:10:30","type":""}]},{"body":{"nativeSrc":"577:22:30","nodeType":"YulBlock","src":"577:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nativeSrc":"579:16:30","nodeType":"YulIdentifier","src":"579:16:30"},"nativeSrc":"579:18:30","nodeType":"YulFunctionCall","src":"579:18:30"},"nativeSrc":"579:18:30","nodeType":"YulExpressionStatement","src":"579:18:30"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nativeSrc":"520:10:30","nodeType":"YulIdentifier","src":"520:10:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"540:2:30","nodeType":"YulLiteral","src":"540:2:30","type":"","value":"64"},{"kind":"number","nativeSrc":"544:1:30","nodeType":"YulLiteral","src":"544:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"536:3:30","nodeType":"YulIdentifier","src":"536:3:30"},"nativeSrc":"536:10:30","nodeType":"YulFunctionCall","src":"536:10:30"},{"kind":"number","nativeSrc":"548:1:30","nodeType":"YulLiteral","src":"548:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"532:3:30","nodeType":"YulIdentifier","src":"532:3:30"},"nativeSrc":"532:18:30","nodeType":"YulFunctionCall","src":"532:18:30"}],"functionName":{"name":"gt","nativeSrc":"517:2:30","nodeType":"YulIdentifier","src":"517:2:30"},"nativeSrc":"517:34:30","nodeType":"YulFunctionCall","src":"517:34:30"},{"arguments":[{"name":"newFreePtr","nativeSrc":"556:10:30","nodeType":"YulIdentifier","src":"556:10:30"},{"name":"memPtr","nativeSrc":"568:6:30","nodeType":"YulIdentifier","src":"568:6:30"}],"functionName":{"name":"lt","nativeSrc":"553:2:30","nodeType":"YulIdentifier","src":"553:2:30"},"nativeSrc":"553:22:30","nodeType":"YulFunctionCall","src":"553:22:30"}],"functionName":{"name":"or","nativeSrc":"514:2:30","nodeType":"YulIdentifier","src":"514:2:30"},"nativeSrc":"514:62:30","nodeType":"YulFunctionCall","src":"514:62:30"},"nativeSrc":"511:88:30","nodeType":"YulIf","src":"511:88:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"615:2:30","nodeType":"YulLiteral","src":"615:2:30","type":"","value":"64"},{"name":"newFreePtr","nativeSrc":"619:10:30","nodeType":"YulIdentifier","src":"619:10:30"}],"functionName":{"name":"mstore","nativeSrc":"608:6:30","nodeType":"YulIdentifier","src":"608:6:30"},"nativeSrc":"608:22:30","nodeType":"YulFunctionCall","src":"608:22:30"},"nativeSrc":"608:22:30","nodeType":"YulExpressionStatement","src":"608:22:30"},{"expression":{"arguments":[{"name":"memPtr","nativeSrc":"646:6:30","nodeType":"YulIdentifier","src":"646:6:30"},{"name":"length","nativeSrc":"654:6:30","nodeType":"YulIdentifier","src":"654:6:30"}],"functionName":{"name":"mstore","nativeSrc":"639:6:30","nodeType":"YulIdentifier","src":"639:6:30"},"nativeSrc":"639:22:30","nodeType":"YulFunctionCall","src":"639:22:30"},"nativeSrc":"639:22:30","nodeType":"YulExpressionStatement","src":"639:22:30"},{"body":{"nativeSrc":"713:16:30","nodeType":"YulBlock","src":"713:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"722:1:30","nodeType":"YulLiteral","src":"722:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"725:1:30","nodeType":"YulLiteral","src":"725:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"715:6:30","nodeType":"YulIdentifier","src":"715:6:30"},"nativeSrc":"715:12:30","nodeType":"YulFunctionCall","src":"715:12:30"},"nativeSrc":"715:12:30","nodeType":"YulExpressionStatement","src":"715:12:30"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nativeSrc":"684:6:30","nodeType":"YulIdentifier","src":"684:6:30"},{"name":"length","nativeSrc":"692:6:30","nodeType":"YulIdentifier","src":"692:6:30"}],"functionName":{"name":"add","nativeSrc":"680:3:30","nodeType":"YulIdentifier","src":"680:3:30"},"nativeSrc":"680:19:30","nodeType":"YulFunctionCall","src":"680:19:30"},{"kind":"number","nativeSrc":"701:4:30","nodeType":"YulLiteral","src":"701:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"676:3:30","nodeType":"YulIdentifier","src":"676:3:30"},"nativeSrc":"676:30:30","nodeType":"YulFunctionCall","src":"676:30:30"},{"name":"end","nativeSrc":"708:3:30","nodeType":"YulIdentifier","src":"708:3:30"}],"functionName":{"name":"gt","nativeSrc":"673:2:30","nodeType":"YulIdentifier","src":"673:2:30"},"nativeSrc":"673:39:30","nodeType":"YulFunctionCall","src":"673:39:30"},"nativeSrc":"670:59:30","nodeType":"YulIf","src":"670:59:30"},{"nativeSrc":"738:10:30","nodeType":"YulVariableDeclaration","src":"738:10:30","value":{"kind":"number","nativeSrc":"747:1:30","nodeType":"YulLiteral","src":"747:1:30","type":"","value":"0"},"variables":[{"name":"i","nativeSrc":"742:1:30","nodeType":"YulTypedName","src":"742:1:30","type":""}]},{"body":{"nativeSrc":"809:91:30","nodeType":"YulBlock","src":"809:91:30","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"memPtr","nativeSrc":"838:6:30","nodeType":"YulIdentifier","src":"838:6:30"},{"name":"i","nativeSrc":"846:1:30","nodeType":"YulIdentifier","src":"846:1:30"}],"functionName":{"name":"add","nativeSrc":"834:3:30","nodeType":"YulIdentifier","src":"834:3:30"},"nativeSrc":"834:14:30","nodeType":"YulFunctionCall","src":"834:14:30"},{"kind":"number","nativeSrc":"850:4:30","nodeType":"YulLiteral","src":"850:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"830:3:30","nodeType":"YulIdentifier","src":"830:3:30"},"nativeSrc":"830:25:30","nodeType":"YulFunctionCall","src":"830:25:30"},{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nativeSrc":"871:6:30","nodeType":"YulIdentifier","src":"871:6:30"},{"name":"i","nativeSrc":"879:1:30","nodeType":"YulIdentifier","src":"879:1:30"}],"functionName":{"name":"add","nativeSrc":"867:3:30","nodeType":"YulIdentifier","src":"867:3:30"},"nativeSrc":"867:14:30","nodeType":"YulFunctionCall","src":"867:14:30"},{"kind":"number","nativeSrc":"883:4:30","nodeType":"YulLiteral","src":"883:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"863:3:30","nodeType":"YulIdentifier","src":"863:3:30"},"nativeSrc":"863:25:30","nodeType":"YulFunctionCall","src":"863:25:30"}],"functionName":{"name":"mload","nativeSrc":"857:5:30","nodeType":"YulIdentifier","src":"857:5:30"},"nativeSrc":"857:32:30","nodeType":"YulFunctionCall","src":"857:32:30"}],"functionName":{"name":"mstore","nativeSrc":"823:6:30","nodeType":"YulIdentifier","src":"823:6:30"},"nativeSrc":"823:67:30","nodeType":"YulFunctionCall","src":"823:67:30"},"nativeSrc":"823:67:30","nodeType":"YulExpressionStatement","src":"823:67:30"}]},"condition":{"arguments":[{"name":"i","nativeSrc":"768:1:30","nodeType":"YulIdentifier","src":"768:1:30"},{"name":"length","nativeSrc":"771:6:30","nodeType":"YulIdentifier","src":"771:6:30"}],"functionName":{"name":"lt","nativeSrc":"765:2:30","nodeType":"YulIdentifier","src":"765:2:30"},"nativeSrc":"765:13:30","nodeType":"YulFunctionCall","src":"765:13:30"},"nativeSrc":"757:143:30","nodeType":"YulForLoop","post":{"nativeSrc":"779:21:30","nodeType":"YulBlock","src":"779:21:30","statements":[{"nativeSrc":"781:17:30","nodeType":"YulAssignment","src":"781:17:30","value":{"arguments":[{"name":"i","nativeSrc":"790:1:30","nodeType":"YulIdentifier","src":"790:1:30"},{"kind":"number","nativeSrc":"793:4:30","nodeType":"YulLiteral","src":"793:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"786:3:30","nodeType":"YulIdentifier","src":"786:3:30"},"nativeSrc":"786:12:30","nodeType":"YulFunctionCall","src":"786:12:30"},"variableNames":[{"name":"i","nativeSrc":"781:1:30","nodeType":"YulIdentifier","src":"781:1:30"}]}]},"pre":{"nativeSrc":"761:3:30","nodeType":"YulBlock","src":"761:3:30","statements":[]},"src":"757:143:30"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"memPtr","nativeSrc":"924:6:30","nodeType":"YulIdentifier","src":"924:6:30"},{"name":"length","nativeSrc":"932:6:30","nodeType":"YulIdentifier","src":"932:6:30"}],"functionName":{"name":"add","nativeSrc":"920:3:30","nodeType":"YulIdentifier","src":"920:3:30"},"nativeSrc":"920:19:30","nodeType":"YulFunctionCall","src":"920:19:30"},{"kind":"number","nativeSrc":"941:4:30","nodeType":"YulLiteral","src":"941:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"916:3:30","nodeType":"YulIdentifier","src":"916:3:30"},"nativeSrc":"916:30:30","nodeType":"YulFunctionCall","src":"916:30:30"},{"kind":"number","nativeSrc":"948:1:30","nodeType":"YulLiteral","src":"948:1:30","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"909:6:30","nodeType":"YulIdentifier","src":"909:6:30"},"nativeSrc":"909:41:30","nodeType":"YulFunctionCall","src":"909:41:30"},"nativeSrc":"909:41:30","nodeType":"YulExpressionStatement","src":"909:41:30"},{"nativeSrc":"959:15:30","nodeType":"YulAssignment","src":"959:15:30","value":{"name":"memPtr","nativeSrc":"968:6:30","nodeType":"YulIdentifier","src":"968:6:30"},"variableNames":[{"name":"array","nativeSrc":"959:5:30","nodeType":"YulIdentifier","src":"959:5:30"}]}]},"name":"abi_decode_string_fromMemory","nativeSrc":"146:834:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"184:6:30","nodeType":"YulTypedName","src":"184:6:30","type":""},{"name":"end","nativeSrc":"192:3:30","nodeType":"YulTypedName","src":"192:3:30","type":""}],"returnVariables":[{"name":"array","nativeSrc":"200:5:30","nodeType":"YulTypedName","src":"200:5:30","type":""}],"src":"146:834:30"},{"body":{"nativeSrc":"1135:619:30","nodeType":"YulBlock","src":"1135:619:30","statements":[{"body":{"nativeSrc":"1182:16:30","nodeType":"YulBlock","src":"1182:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1191:1:30","nodeType":"YulLiteral","src":"1191:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1194:1:30","nodeType":"YulLiteral","src":"1194:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1184:6:30","nodeType":"YulIdentifier","src":"1184:6:30"},"nativeSrc":"1184:12:30","nodeType":"YulFunctionCall","src":"1184:12:30"},"nativeSrc":"1184:12:30","nodeType":"YulExpressionStatement","src":"1184:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"1156:7:30","nodeType":"YulIdentifier","src":"1156:7:30"},{"name":"headStart","nativeSrc":"1165:9:30","nodeType":"YulIdentifier","src":"1165:9:30"}],"functionName":{"name":"sub","nativeSrc":"1152:3:30","nodeType":"YulIdentifier","src":"1152:3:30"},"nativeSrc":"1152:23:30","nodeType":"YulFunctionCall","src":"1152:23:30"},{"kind":"number","nativeSrc":"1177:3:30","nodeType":"YulLiteral","src":"1177:3:30","type":"","value":"128"}],"functionName":{"name":"slt","nativeSrc":"1148:3:30","nodeType":"YulIdentifier","src":"1148:3:30"},"nativeSrc":"1148:33:30","nodeType":"YulFunctionCall","src":"1148:33:30"},"nativeSrc":"1145:53:30","nodeType":"YulIf","src":"1145:53:30"},{"nativeSrc":"1207:30:30","nodeType":"YulVariableDeclaration","src":"1207:30:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1227:9:30","nodeType":"YulIdentifier","src":"1227:9:30"}],"functionName":{"name":"mload","nativeSrc":"1221:5:30","nodeType":"YulIdentifier","src":"1221:5:30"},"nativeSrc":"1221:16:30","nodeType":"YulFunctionCall","src":"1221:16:30"},"variables":[{"name":"offset","nativeSrc":"1211:6:30","nodeType":"YulTypedName","src":"1211:6:30","type":""}]},{"body":{"nativeSrc":"1280:16:30","nodeType":"YulBlock","src":"1280:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1289:1:30","nodeType":"YulLiteral","src":"1289:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1292:1:30","nodeType":"YulLiteral","src":"1292:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1282:6:30","nodeType":"YulIdentifier","src":"1282:6:30"},"nativeSrc":"1282:12:30","nodeType":"YulFunctionCall","src":"1282:12:30"},"nativeSrc":"1282:12:30","nodeType":"YulExpressionStatement","src":"1282:12:30"}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"1252:6:30","nodeType":"YulIdentifier","src":"1252:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"1268:2:30","nodeType":"YulLiteral","src":"1268:2:30","type":"","value":"64"},{"kind":"number","nativeSrc":"1272:1:30","nodeType":"YulLiteral","src":"1272:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"1264:3:30","nodeType":"YulIdentifier","src":"1264:3:30"},"nativeSrc":"1264:10:30","nodeType":"YulFunctionCall","src":"1264:10:30"},{"kind":"number","nativeSrc":"1276:1:30","nodeType":"YulLiteral","src":"1276:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"1260:3:30","nodeType":"YulIdentifier","src":"1260:3:30"},"nativeSrc":"1260:18:30","nodeType":"YulFunctionCall","src":"1260:18:30"}],"functionName":{"name":"gt","nativeSrc":"1249:2:30","nodeType":"YulIdentifier","src":"1249:2:30"},"nativeSrc":"1249:30:30","nodeType":"YulFunctionCall","src":"1249:30:30"},"nativeSrc":"1246:50:30","nodeType":"YulIf","src":"1246:50:30"},{"nativeSrc":"1305:71:30","nodeType":"YulAssignment","src":"1305:71:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1348:9:30","nodeType":"YulIdentifier","src":"1348:9:30"},{"name":"offset","nativeSrc":"1359:6:30","nodeType":"YulIdentifier","src":"1359:6:30"}],"functionName":{"name":"add","nativeSrc":"1344:3:30","nodeType":"YulIdentifier","src":"1344:3:30"},"nativeSrc":"1344:22:30","nodeType":"YulFunctionCall","src":"1344:22:30"},{"name":"dataEnd","nativeSrc":"1368:7:30","nodeType":"YulIdentifier","src":"1368:7:30"}],"functionName":{"name":"abi_decode_string_fromMemory","nativeSrc":"1315:28:30","nodeType":"YulIdentifier","src":"1315:28:30"},"nativeSrc":"1315:61:30","nodeType":"YulFunctionCall","src":"1315:61:30"},"variableNames":[{"name":"value0","nativeSrc":"1305:6:30","nodeType":"YulIdentifier","src":"1305:6:30"}]},{"nativeSrc":"1385:41:30","nodeType":"YulVariableDeclaration","src":"1385:41:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1411:9:30","nodeType":"YulIdentifier","src":"1411:9:30"},{"kind":"number","nativeSrc":"1422:2:30","nodeType":"YulLiteral","src":"1422:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"1407:3:30","nodeType":"YulIdentifier","src":"1407:3:30"},"nativeSrc":"1407:18:30","nodeType":"YulFunctionCall","src":"1407:18:30"}],"functionName":{"name":"mload","nativeSrc":"1401:5:30","nodeType":"YulIdentifier","src":"1401:5:30"},"nativeSrc":"1401:25:30","nodeType":"YulFunctionCall","src":"1401:25:30"},"variables":[{"name":"offset_1","nativeSrc":"1389:8:30","nodeType":"YulTypedName","src":"1389:8:30","type":""}]},{"body":{"nativeSrc":"1471:16:30","nodeType":"YulBlock","src":"1471:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1480:1:30","nodeType":"YulLiteral","src":"1480:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1483:1:30","nodeType":"YulLiteral","src":"1483:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1473:6:30","nodeType":"YulIdentifier","src":"1473:6:30"},"nativeSrc":"1473:12:30","nodeType":"YulFunctionCall","src":"1473:12:30"},"nativeSrc":"1473:12:30","nodeType":"YulExpressionStatement","src":"1473:12:30"}]},"condition":{"arguments":[{"name":"offset_1","nativeSrc":"1441:8:30","nodeType":"YulIdentifier","src":"1441:8:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"1459:2:30","nodeType":"YulLiteral","src":"1459:2:30","type":"","value":"64"},{"kind":"number","nativeSrc":"1463:1:30","nodeType":"YulLiteral","src":"1463:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"1455:3:30","nodeType":"YulIdentifier","src":"1455:3:30"},"nativeSrc":"1455:10:30","nodeType":"YulFunctionCall","src":"1455:10:30"},{"kind":"number","nativeSrc":"1467:1:30","nodeType":"YulLiteral","src":"1467:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"1451:3:30","nodeType":"YulIdentifier","src":"1451:3:30"},"nativeSrc":"1451:18:30","nodeType":"YulFunctionCall","src":"1451:18:30"}],"functionName":{"name":"gt","nativeSrc":"1438:2:30","nodeType":"YulIdentifier","src":"1438:2:30"},"nativeSrc":"1438:32:30","nodeType":"YulFunctionCall","src":"1438:32:30"},"nativeSrc":"1435:52:30","nodeType":"YulIf","src":"1435:52:30"},{"nativeSrc":"1496:73:30","nodeType":"YulAssignment","src":"1496:73:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1539:9:30","nodeType":"YulIdentifier","src":"1539:9:30"},{"name":"offset_1","nativeSrc":"1550:8:30","nodeType":"YulIdentifier","src":"1550:8:30"}],"functionName":{"name":"add","nativeSrc":"1535:3:30","nodeType":"YulIdentifier","src":"1535:3:30"},"nativeSrc":"1535:24:30","nodeType":"YulFunctionCall","src":"1535:24:30"},{"name":"dataEnd","nativeSrc":"1561:7:30","nodeType":"YulIdentifier","src":"1561:7:30"}],"functionName":{"name":"abi_decode_string_fromMemory","nativeSrc":"1506:28:30","nodeType":"YulIdentifier","src":"1506:28:30"},"nativeSrc":"1506:63:30","nodeType":"YulFunctionCall","src":"1506:63:30"},"variableNames":[{"name":"value1","nativeSrc":"1496:6:30","nodeType":"YulIdentifier","src":"1496:6:30"}]},{"nativeSrc":"1578:35:30","nodeType":"YulAssignment","src":"1578:35:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1598:9:30","nodeType":"YulIdentifier","src":"1598:9:30"},{"kind":"number","nativeSrc":"1609:2:30","nodeType":"YulLiteral","src":"1609:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"1594:3:30","nodeType":"YulIdentifier","src":"1594:3:30"},"nativeSrc":"1594:18:30","nodeType":"YulFunctionCall","src":"1594:18:30"}],"functionName":{"name":"mload","nativeSrc":"1588:5:30","nodeType":"YulIdentifier","src":"1588:5:30"},"nativeSrc":"1588:25:30","nodeType":"YulFunctionCall","src":"1588:25:30"},"variableNames":[{"name":"value2","nativeSrc":"1578:6:30","nodeType":"YulIdentifier","src":"1578:6:30"}]},{"nativeSrc":"1622:38:30","nodeType":"YulVariableDeclaration","src":"1622:38:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1645:9:30","nodeType":"YulIdentifier","src":"1645:9:30"},{"kind":"number","nativeSrc":"1656:2:30","nodeType":"YulLiteral","src":"1656:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"1641:3:30","nodeType":"YulIdentifier","src":"1641:3:30"},"nativeSrc":"1641:18:30","nodeType":"YulFunctionCall","src":"1641:18:30"}],"functionName":{"name":"mload","nativeSrc":"1635:5:30","nodeType":"YulIdentifier","src":"1635:5:30"},"nativeSrc":"1635:25:30","nodeType":"YulFunctionCall","src":"1635:25:30"},"variables":[{"name":"value","nativeSrc":"1626:5:30","nodeType":"YulTypedName","src":"1626:5:30","type":""}]},{"body":{"nativeSrc":"1708:16:30","nodeType":"YulBlock","src":"1708:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1717:1:30","nodeType":"YulLiteral","src":"1717:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1720:1:30","nodeType":"YulLiteral","src":"1720:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1710:6:30","nodeType":"YulIdentifier","src":"1710:6:30"},"nativeSrc":"1710:12:30","nodeType":"YulFunctionCall","src":"1710:12:30"},"nativeSrc":"1710:12:30","nodeType":"YulExpressionStatement","src":"1710:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"1682:5:30","nodeType":"YulIdentifier","src":"1682:5:30"},{"arguments":[{"name":"value","nativeSrc":"1693:5:30","nodeType":"YulIdentifier","src":"1693:5:30"},{"kind":"number","nativeSrc":"1700:4:30","nodeType":"YulLiteral","src":"1700:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"1689:3:30","nodeType":"YulIdentifier","src":"1689:3:30"},"nativeSrc":"1689:16:30","nodeType":"YulFunctionCall","src":"1689:16:30"}],"functionName":{"name":"eq","nativeSrc":"1679:2:30","nodeType":"YulIdentifier","src":"1679:2:30"},"nativeSrc":"1679:27:30","nodeType":"YulFunctionCall","src":"1679:27:30"}],"functionName":{"name":"iszero","nativeSrc":"1672:6:30","nodeType":"YulIdentifier","src":"1672:6:30"},"nativeSrc":"1672:35:30","nodeType":"YulFunctionCall","src":"1672:35:30"},"nativeSrc":"1669:55:30","nodeType":"YulIf","src":"1669:55:30"},{"nativeSrc":"1733:15:30","nodeType":"YulAssignment","src":"1733:15:30","value":{"name":"value","nativeSrc":"1743:5:30","nodeType":"YulIdentifier","src":"1743:5:30"},"variableNames":[{"name":"value3","nativeSrc":"1733:6:30","nodeType":"YulIdentifier","src":"1733:6:30"}]}]},"name":"abi_decode_tuple_t_string_memory_ptrt_string_memory_ptrt_uint256t_uint8_fromMemory","nativeSrc":"985:769:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1077:9:30","nodeType":"YulTypedName","src":"1077:9:30","type":""},{"name":"dataEnd","nativeSrc":"1088:7:30","nodeType":"YulTypedName","src":"1088:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"1100:6:30","nodeType":"YulTypedName","src":"1100:6:30","type":""},{"name":"value1","nativeSrc":"1108:6:30","nodeType":"YulTypedName","src":"1108:6:30","type":""},{"name":"value2","nativeSrc":"1116:6:30","nodeType":"YulTypedName","src":"1116:6:30","type":""},{"name":"value3","nativeSrc":"1124:6:30","nodeType":"YulTypedName","src":"1124:6:30","type":""}],"src":"985:769:30"},{"body":{"nativeSrc":"1814:325:30","nodeType":"YulBlock","src":"1814:325:30","statements":[{"nativeSrc":"1824:22:30","nodeType":"YulAssignment","src":"1824:22:30","value":{"arguments":[{"kind":"number","nativeSrc":"1838:1:30","nodeType":"YulLiteral","src":"1838:1:30","type":"","value":"1"},{"name":"data","nativeSrc":"1841:4:30","nodeType":"YulIdentifier","src":"1841:4:30"}],"functionName":{"name":"shr","nativeSrc":"1834:3:30","nodeType":"YulIdentifier","src":"1834:3:30"},"nativeSrc":"1834:12:30","nodeType":"YulFunctionCall","src":"1834:12:30"},"variableNames":[{"name":"length","nativeSrc":"1824:6:30","nodeType":"YulIdentifier","src":"1824:6:30"}]},{"nativeSrc":"1855:38:30","nodeType":"YulVariableDeclaration","src":"1855:38:30","value":{"arguments":[{"name":"data","nativeSrc":"1885:4:30","nodeType":"YulIdentifier","src":"1885:4:30"},{"kind":"number","nativeSrc":"1891:1:30","nodeType":"YulLiteral","src":"1891:1:30","type":"","value":"1"}],"functionName":{"name":"and","nativeSrc":"1881:3:30","nodeType":"YulIdentifier","src":"1881:3:30"},"nativeSrc":"1881:12:30","nodeType":"YulFunctionCall","src":"1881:12:30"},"variables":[{"name":"outOfPlaceEncoding","nativeSrc":"1859:18:30","nodeType":"YulTypedName","src":"1859:18:30","type":""}]},{"body":{"nativeSrc":"1932:31:30","nodeType":"YulBlock","src":"1932:31:30","statements":[{"nativeSrc":"1934:27:30","nodeType":"YulAssignment","src":"1934:27:30","value":{"arguments":[{"name":"length","nativeSrc":"1948:6:30","nodeType":"YulIdentifier","src":"1948:6:30"},{"kind":"number","nativeSrc":"1956:4:30","nodeType":"YulLiteral","src":"1956:4:30","type":"","value":"0x7f"}],"functionName":{"name":"and","nativeSrc":"1944:3:30","nodeType":"YulIdentifier","src":"1944:3:30"},"nativeSrc":"1944:17:30","nodeType":"YulFunctionCall","src":"1944:17:30"},"variableNames":[{"name":"length","nativeSrc":"1934:6:30","nodeType":"YulIdentifier","src":"1934:6:30"}]}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nativeSrc":"1912:18:30","nodeType":"YulIdentifier","src":"1912:18:30"}],"functionName":{"name":"iszero","nativeSrc":"1905:6:30","nodeType":"YulIdentifier","src":"1905:6:30"},"nativeSrc":"1905:26:30","nodeType":"YulFunctionCall","src":"1905:26:30"},"nativeSrc":"1902:61:30","nodeType":"YulIf","src":"1902:61:30"},{"body":{"nativeSrc":"2022:111:30","nodeType":"YulBlock","src":"2022:111:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2043:1:30","nodeType":"YulLiteral","src":"2043:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"2050:3:30","nodeType":"YulLiteral","src":"2050:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"2055:10:30","nodeType":"YulLiteral","src":"2055:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"2046:3:30","nodeType":"YulIdentifier","src":"2046:3:30"},"nativeSrc":"2046:20:30","nodeType":"YulFunctionCall","src":"2046:20:30"}],"functionName":{"name":"mstore","nativeSrc":"2036:6:30","nodeType":"YulIdentifier","src":"2036:6:30"},"nativeSrc":"2036:31:30","nodeType":"YulFunctionCall","src":"2036:31:30"},"nativeSrc":"2036:31:30","nodeType":"YulExpressionStatement","src":"2036:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"2087:1:30","nodeType":"YulLiteral","src":"2087:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"2090:4:30","nodeType":"YulLiteral","src":"2090:4:30","type":"","value":"0x22"}],"functionName":{"name":"mstore","nativeSrc":"2080:6:30","nodeType":"YulIdentifier","src":"2080:6:30"},"nativeSrc":"2080:15:30","nodeType":"YulFunctionCall","src":"2080:15:30"},"nativeSrc":"2080:15:30","nodeType":"YulExpressionStatement","src":"2080:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"2115:1:30","nodeType":"YulLiteral","src":"2115:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2118:4:30","nodeType":"YulLiteral","src":"2118:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"2108:6:30","nodeType":"YulIdentifier","src":"2108:6:30"},"nativeSrc":"2108:15:30","nodeType":"YulFunctionCall","src":"2108:15:30"},"nativeSrc":"2108:15:30","nodeType":"YulExpressionStatement","src":"2108:15:30"}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nativeSrc":"1978:18:30","nodeType":"YulIdentifier","src":"1978:18:30"},{"arguments":[{"name":"length","nativeSrc":"2001:6:30","nodeType":"YulIdentifier","src":"2001:6:30"},{"kind":"number","nativeSrc":"2009:2:30","nodeType":"YulLiteral","src":"2009:2:30","type":"","value":"32"}],"functionName":{"name":"lt","nativeSrc":"1998:2:30","nodeType":"YulIdentifier","src":"1998:2:30"},"nativeSrc":"1998:14:30","nodeType":"YulFunctionCall","src":"1998:14:30"}],"functionName":{"name":"eq","nativeSrc":"1975:2:30","nodeType":"YulIdentifier","src":"1975:2:30"},"nativeSrc":"1975:38:30","nodeType":"YulFunctionCall","src":"1975:38:30"},"nativeSrc":"1972:161:30","nodeType":"YulIf","src":"1972:161:30"}]},"name":"extract_byte_array_length","nativeSrc":"1759:380:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nativeSrc":"1794:4:30","nodeType":"YulTypedName","src":"1794:4:30","type":""}],"returnVariables":[{"name":"length","nativeSrc":"1803:6:30","nodeType":"YulTypedName","src":"1803:6:30","type":""}],"src":"1759:380:30"},{"body":{"nativeSrc":"2200:65:30","nodeType":"YulBlock","src":"2200:65:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2217:1:30","nodeType":"YulLiteral","src":"2217:1:30","type":"","value":"0"},{"name":"ptr","nativeSrc":"2220:3:30","nodeType":"YulIdentifier","src":"2220:3:30"}],"functionName":{"name":"mstore","nativeSrc":"2210:6:30","nodeType":"YulIdentifier","src":"2210:6:30"},"nativeSrc":"2210:14:30","nodeType":"YulFunctionCall","src":"2210:14:30"},"nativeSrc":"2210:14:30","nodeType":"YulExpressionStatement","src":"2210:14:30"},{"nativeSrc":"2233:26:30","nodeType":"YulAssignment","src":"2233:26:30","value":{"arguments":[{"kind":"number","nativeSrc":"2251:1:30","nodeType":"YulLiteral","src":"2251:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2254:4:30","nodeType":"YulLiteral","src":"2254:4:30","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nativeSrc":"2241:9:30","nodeType":"YulIdentifier","src":"2241:9:30"},"nativeSrc":"2241:18:30","nodeType":"YulFunctionCall","src":"2241:18:30"},"variableNames":[{"name":"data","nativeSrc":"2233:4:30","nodeType":"YulIdentifier","src":"2233:4:30"}]}]},"name":"array_dataslot_string_storage","nativeSrc":"2144:121:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"ptr","nativeSrc":"2183:3:30","nodeType":"YulTypedName","src":"2183:3:30","type":""}],"returnVariables":[{"name":"data","nativeSrc":"2191:4:30","nodeType":"YulTypedName","src":"2191:4:30","type":""}],"src":"2144:121:30"},{"body":{"nativeSrc":"2351:437:30","nodeType":"YulBlock","src":"2351:437:30","statements":[{"body":{"nativeSrc":"2384:398:30","nodeType":"YulBlock","src":"2384:398:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2405:1:30","nodeType":"YulLiteral","src":"2405:1:30","type":"","value":"0"},{"name":"array","nativeSrc":"2408:5:30","nodeType":"YulIdentifier","src":"2408:5:30"}],"functionName":{"name":"mstore","nativeSrc":"2398:6:30","nodeType":"YulIdentifier","src":"2398:6:30"},"nativeSrc":"2398:16:30","nodeType":"YulFunctionCall","src":"2398:16:30"},"nativeSrc":"2398:16:30","nodeType":"YulExpressionStatement","src":"2398:16:30"},{"nativeSrc":"2427:30:30","nodeType":"YulVariableDeclaration","src":"2427:30:30","value":{"arguments":[{"kind":"number","nativeSrc":"2449:1:30","nodeType":"YulLiteral","src":"2449:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2452:4:30","nodeType":"YulLiteral","src":"2452:4:30","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nativeSrc":"2439:9:30","nodeType":"YulIdentifier","src":"2439:9:30"},"nativeSrc":"2439:18:30","nodeType":"YulFunctionCall","src":"2439:18:30"},"variables":[{"name":"data","nativeSrc":"2431:4:30","nodeType":"YulTypedName","src":"2431:4:30","type":""}]},{"nativeSrc":"2470:57:30","nodeType":"YulVariableDeclaration","src":"2470:57:30","value":{"arguments":[{"name":"data","nativeSrc":"2493:4:30","nodeType":"YulIdentifier","src":"2493:4:30"},{"arguments":[{"kind":"number","nativeSrc":"2503:1:30","nodeType":"YulLiteral","src":"2503:1:30","type":"","value":"5"},{"arguments":[{"name":"startIndex","nativeSrc":"2510:10:30","nodeType":"YulIdentifier","src":"2510:10:30"},{"kind":"number","nativeSrc":"2522:2:30","nodeType":"YulLiteral","src":"2522:2:30","type":"","value":"31"}],"functionName":{"name":"add","nativeSrc":"2506:3:30","nodeType":"YulIdentifier","src":"2506:3:30"},"nativeSrc":"2506:19:30","nodeType":"YulFunctionCall","src":"2506:19:30"}],"functionName":{"name":"shr","nativeSrc":"2499:3:30","nodeType":"YulIdentifier","src":"2499:3:30"},"nativeSrc":"2499:27:30","nodeType":"YulFunctionCall","src":"2499:27:30"}],"functionName":{"name":"add","nativeSrc":"2489:3:30","nodeType":"YulIdentifier","src":"2489:3:30"},"nativeSrc":"2489:38:30","nodeType":"YulFunctionCall","src":"2489:38:30"},"variables":[{"name":"deleteStart","nativeSrc":"2474:11:30","nodeType":"YulTypedName","src":"2474:11:30","type":""}]},{"body":{"nativeSrc":"2564:23:30","nodeType":"YulBlock","src":"2564:23:30","statements":[{"nativeSrc":"2566:19:30","nodeType":"YulAssignment","src":"2566:19:30","value":{"name":"data","nativeSrc":"2581:4:30","nodeType":"YulIdentifier","src":"2581:4:30"},"variableNames":[{"name":"deleteStart","nativeSrc":"2566:11:30","nodeType":"YulIdentifier","src":"2566:11:30"}]}]},"condition":{"arguments":[{"name":"startIndex","nativeSrc":"2546:10:30","nodeType":"YulIdentifier","src":"2546:10:30"},{"kind":"number","nativeSrc":"2558:4:30","nodeType":"YulLiteral","src":"2558:4:30","type":"","value":"0x20"}],"functionName":{"name":"lt","nativeSrc":"2543:2:30","nodeType":"YulIdentifier","src":"2543:2:30"},"nativeSrc":"2543:20:30","nodeType":"YulFunctionCall","src":"2543:20:30"},"nativeSrc":"2540:47:30","nodeType":"YulIf","src":"2540:47:30"},{"nativeSrc":"2600:41:30","nodeType":"YulVariableDeclaration","src":"2600:41:30","value":{"arguments":[{"name":"data","nativeSrc":"2614:4:30","nodeType":"YulIdentifier","src":"2614:4:30"},{"arguments":[{"kind":"number","nativeSrc":"2624:1:30","nodeType":"YulLiteral","src":"2624:1:30","type":"","value":"5"},{"arguments":[{"name":"len","nativeSrc":"2631:3:30","nodeType":"YulIdentifier","src":"2631:3:30"},{"kind":"number","nativeSrc":"2636:2:30","nodeType":"YulLiteral","src":"2636:2:30","type":"","value":"31"}],"functionName":{"name":"add","nativeSrc":"2627:3:30","nodeType":"YulIdentifier","src":"2627:3:30"},"nativeSrc":"2627:12:30","nodeType":"YulFunctionCall","src":"2627:12:30"}],"functionName":{"name":"shr","nativeSrc":"2620:3:30","nodeType":"YulIdentifier","src":"2620:3:30"},"nativeSrc":"2620:20:30","nodeType":"YulFunctionCall","src":"2620:20:30"}],"functionName":{"name":"add","nativeSrc":"2610:3:30","nodeType":"YulIdentifier","src":"2610:3:30"},"nativeSrc":"2610:31:30","nodeType":"YulFunctionCall","src":"2610:31:30"},"variables":[{"name":"_1","nativeSrc":"2604:2:30","nodeType":"YulTypedName","src":"2604:2:30","type":""}]},{"nativeSrc":"2654:24:30","nodeType":"YulVariableDeclaration","src":"2654:24:30","value":{"name":"deleteStart","nativeSrc":"2667:11:30","nodeType":"YulIdentifier","src":"2667:11:30"},"variables":[{"name":"start","nativeSrc":"2658:5:30","nodeType":"YulTypedName","src":"2658:5:30","type":""}]},{"body":{"nativeSrc":"2752:20:30","nodeType":"YulBlock","src":"2752:20:30","statements":[{"expression":{"arguments":[{"name":"start","nativeSrc":"2761:5:30","nodeType":"YulIdentifier","src":"2761:5:30"},{"kind":"number","nativeSrc":"2768:1:30","nodeType":"YulLiteral","src":"2768:1:30","type":"","value":"0"}],"functionName":{"name":"sstore","nativeSrc":"2754:6:30","nodeType":"YulIdentifier","src":"2754:6:30"},"nativeSrc":"2754:16:30","nodeType":"YulFunctionCall","src":"2754:16:30"},"nativeSrc":"2754:16:30","nodeType":"YulExpressionStatement","src":"2754:16:30"}]},"condition":{"arguments":[{"name":"start","nativeSrc":"2702:5:30","nodeType":"YulIdentifier","src":"2702:5:30"},{"name":"_1","nativeSrc":"2709:2:30","nodeType":"YulIdentifier","src":"2709:2:30"}],"functionName":{"name":"lt","nativeSrc":"2699:2:30","nodeType":"YulIdentifier","src":"2699:2:30"},"nativeSrc":"2699:13:30","nodeType":"YulFunctionCall","src":"2699:13:30"},"nativeSrc":"2691:81:30","nodeType":"YulForLoop","post":{"nativeSrc":"2713:26:30","nodeType":"YulBlock","src":"2713:26:30","statements":[{"nativeSrc":"2715:22:30","nodeType":"YulAssignment","src":"2715:22:30","value":{"arguments":[{"name":"start","nativeSrc":"2728:5:30","nodeType":"YulIdentifier","src":"2728:5:30"},{"kind":"number","nativeSrc":"2735:1:30","nodeType":"YulLiteral","src":"2735:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"2724:3:30","nodeType":"YulIdentifier","src":"2724:3:30"},"nativeSrc":"2724:13:30","nodeType":"YulFunctionCall","src":"2724:13:30"},"variableNames":[{"name":"start","nativeSrc":"2715:5:30","nodeType":"YulIdentifier","src":"2715:5:30"}]}]},"pre":{"nativeSrc":"2695:3:30","nodeType":"YulBlock","src":"2695:3:30","statements":[]},"src":"2691:81:30"}]},"condition":{"arguments":[{"name":"len","nativeSrc":"2367:3:30","nodeType":"YulIdentifier","src":"2367:3:30"},{"kind":"number","nativeSrc":"2372:2:30","nodeType":"YulLiteral","src":"2372:2:30","type":"","value":"31"}],"functionName":{"name":"gt","nativeSrc":"2364:2:30","nodeType":"YulIdentifier","src":"2364:2:30"},"nativeSrc":"2364:11:30","nodeType":"YulFunctionCall","src":"2364:11:30"},"nativeSrc":"2361:421:30","nodeType":"YulIf","src":"2361:421:30"}]},"name":"clean_up_bytearray_end_slots_string_storage","nativeSrc":"2270:518:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"array","nativeSrc":"2323:5:30","nodeType":"YulTypedName","src":"2323:5:30","type":""},{"name":"len","nativeSrc":"2330:3:30","nodeType":"YulTypedName","src":"2330:3:30","type":""},{"name":"startIndex","nativeSrc":"2335:10:30","nodeType":"YulTypedName","src":"2335:10:30","type":""}],"src":"2270:518:30"},{"body":{"nativeSrc":"2878:81:30","nodeType":"YulBlock","src":"2878:81:30","statements":[{"nativeSrc":"2888:65:30","nodeType":"YulAssignment","src":"2888:65:30","value":{"arguments":[{"arguments":[{"name":"data","nativeSrc":"2903:4:30","nodeType":"YulIdentifier","src":"2903:4:30"},{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"2921:1:30","nodeType":"YulLiteral","src":"2921:1:30","type":"","value":"3"},{"name":"len","nativeSrc":"2924:3:30","nodeType":"YulIdentifier","src":"2924:3:30"}],"functionName":{"name":"shl","nativeSrc":"2917:3:30","nodeType":"YulIdentifier","src":"2917:3:30"},"nativeSrc":"2917:11:30","nodeType":"YulFunctionCall","src":"2917:11:30"},{"arguments":[{"kind":"number","nativeSrc":"2934:1:30","nodeType":"YulLiteral","src":"2934:1:30","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"2930:3:30","nodeType":"YulIdentifier","src":"2930:3:30"},"nativeSrc":"2930:6:30","nodeType":"YulFunctionCall","src":"2930:6:30"}],"functionName":{"name":"shr","nativeSrc":"2913:3:30","nodeType":"YulIdentifier","src":"2913:3:30"},"nativeSrc":"2913:24:30","nodeType":"YulFunctionCall","src":"2913:24:30"}],"functionName":{"name":"not","nativeSrc":"2909:3:30","nodeType":"YulIdentifier","src":"2909:3:30"},"nativeSrc":"2909:29:30","nodeType":"YulFunctionCall","src":"2909:29:30"}],"functionName":{"name":"and","nativeSrc":"2899:3:30","nodeType":"YulIdentifier","src":"2899:3:30"},"nativeSrc":"2899:40:30","nodeType":"YulFunctionCall","src":"2899:40:30"},{"arguments":[{"kind":"number","nativeSrc":"2945:1:30","nodeType":"YulLiteral","src":"2945:1:30","type":"","value":"1"},{"name":"len","nativeSrc":"2948:3:30","nodeType":"YulIdentifier","src":"2948:3:30"}],"functionName":{"name":"shl","nativeSrc":"2941:3:30","nodeType":"YulIdentifier","src":"2941:3:30"},"nativeSrc":"2941:11:30","nodeType":"YulFunctionCall","src":"2941:11:30"}],"functionName":{"name":"or","nativeSrc":"2896:2:30","nodeType":"YulIdentifier","src":"2896:2:30"},"nativeSrc":"2896:57:30","nodeType":"YulFunctionCall","src":"2896:57:30"},"variableNames":[{"name":"used","nativeSrc":"2888:4:30","nodeType":"YulIdentifier","src":"2888:4:30"}]}]},"name":"extract_used_part_and_set_length_of_short_byte_array","nativeSrc":"2793:166:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nativeSrc":"2855:4:30","nodeType":"YulTypedName","src":"2855:4:30","type":""},{"name":"len","nativeSrc":"2861:3:30","nodeType":"YulTypedName","src":"2861:3:30","type":""}],"returnVariables":[{"name":"used","nativeSrc":"2869:4:30","nodeType":"YulTypedName","src":"2869:4:30","type":""}],"src":"2793:166:30"},{"body":{"nativeSrc":"3060:1203:30","nodeType":"YulBlock","src":"3060:1203:30","statements":[{"nativeSrc":"3070:24:30","nodeType":"YulVariableDeclaration","src":"3070:24:30","value":{"arguments":[{"name":"src","nativeSrc":"3090:3:30","nodeType":"YulIdentifier","src":"3090:3:30"}],"functionName":{"name":"mload","nativeSrc":"3084:5:30","nodeType":"YulIdentifier","src":"3084:5:30"},"nativeSrc":"3084:10:30","nodeType":"YulFunctionCall","src":"3084:10:30"},"variables":[{"name":"newLen","nativeSrc":"3074:6:30","nodeType":"YulTypedName","src":"3074:6:30","type":""}]},{"body":{"nativeSrc":"3137:22:30","nodeType":"YulBlock","src":"3137:22:30","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nativeSrc":"3139:16:30","nodeType":"YulIdentifier","src":"3139:16:30"},"nativeSrc":"3139:18:30","nodeType":"YulFunctionCall","src":"3139:18:30"},"nativeSrc":"3139:18:30","nodeType":"YulExpressionStatement","src":"3139:18:30"}]},"condition":{"arguments":[{"name":"newLen","nativeSrc":"3109:6:30","nodeType":"YulIdentifier","src":"3109:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3125:2:30","nodeType":"YulLiteral","src":"3125:2:30","type":"","value":"64"},{"kind":"number","nativeSrc":"3129:1:30","nodeType":"YulLiteral","src":"3129:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"3121:3:30","nodeType":"YulIdentifier","src":"3121:3:30"},"nativeSrc":"3121:10:30","nodeType":"YulFunctionCall","src":"3121:10:30"},{"kind":"number","nativeSrc":"3133:1:30","nodeType":"YulLiteral","src":"3133:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"3117:3:30","nodeType":"YulIdentifier","src":"3117:3:30"},"nativeSrc":"3117:18:30","nodeType":"YulFunctionCall","src":"3117:18:30"}],"functionName":{"name":"gt","nativeSrc":"3106:2:30","nodeType":"YulIdentifier","src":"3106:2:30"},"nativeSrc":"3106:30:30","nodeType":"YulFunctionCall","src":"3106:30:30"},"nativeSrc":"3103:56:30","nodeType":"YulIf","src":"3103:56:30"},{"expression":{"arguments":[{"name":"slot","nativeSrc":"3212:4:30","nodeType":"YulIdentifier","src":"3212:4:30"},{"arguments":[{"arguments":[{"name":"slot","nativeSrc":"3250:4:30","nodeType":"YulIdentifier","src":"3250:4:30"}],"functionName":{"name":"sload","nativeSrc":"3244:5:30","nodeType":"YulIdentifier","src":"3244:5:30"},"nativeSrc":"3244:11:30","nodeType":"YulFunctionCall","src":"3244:11:30"}],"functionName":{"name":"extract_byte_array_length","nativeSrc":"3218:25:30","nodeType":"YulIdentifier","src":"3218:25:30"},"nativeSrc":"3218:38:30","nodeType":"YulFunctionCall","src":"3218:38:30"},{"name":"newLen","nativeSrc":"3258:6:30","nodeType":"YulIdentifier","src":"3258:6:30"}],"functionName":{"name":"clean_up_bytearray_end_slots_string_storage","nativeSrc":"3168:43:30","nodeType":"YulIdentifier","src":"3168:43:30"},"nativeSrc":"3168:97:30","nodeType":"YulFunctionCall","src":"3168:97:30"},"nativeSrc":"3168:97:30","nodeType":"YulExpressionStatement","src":"3168:97:30"},{"nativeSrc":"3274:18:30","nodeType":"YulVariableDeclaration","src":"3274:18:30","value":{"kind":"number","nativeSrc":"3291:1:30","nodeType":"YulLiteral","src":"3291:1:30","type":"","value":"0"},"variables":[{"name":"srcOffset","nativeSrc":"3278:9:30","nodeType":"YulTypedName","src":"3278:9:30","type":""}]},{"nativeSrc":"3301:17:30","nodeType":"YulAssignment","src":"3301:17:30","value":{"kind":"number","nativeSrc":"3314:4:30","nodeType":"YulLiteral","src":"3314:4:30","type":"","value":"0x20"},"variableNames":[{"name":"srcOffset","nativeSrc":"3301:9:30","nodeType":"YulIdentifier","src":"3301:9:30"}]},{"cases":[{"body":{"nativeSrc":"3364:642:30","nodeType":"YulBlock","src":"3364:642:30","statements":[{"nativeSrc":"3378:35:30","nodeType":"YulVariableDeclaration","src":"3378:35:30","value":{"arguments":[{"name":"newLen","nativeSrc":"3397:6:30","nodeType":"YulIdentifier","src":"3397:6:30"},{"arguments":[{"kind":"number","nativeSrc":"3409:2:30","nodeType":"YulLiteral","src":"3409:2:30","type":"","value":"31"}],"functionName":{"name":"not","nativeSrc":"3405:3:30","nodeType":"YulIdentifier","src":"3405:3:30"},"nativeSrc":"3405:7:30","nodeType":"YulFunctionCall","src":"3405:7:30"}],"functionName":{"name":"and","nativeSrc":"3393:3:30","nodeType":"YulIdentifier","src":"3393:3:30"},"nativeSrc":"3393:20:30","nodeType":"YulFunctionCall","src":"3393:20:30"},"variables":[{"name":"loopEnd","nativeSrc":"3382:7:30","nodeType":"YulTypedName","src":"3382:7:30","type":""}]},{"nativeSrc":"3426:49:30","nodeType":"YulVariableDeclaration","src":"3426:49:30","value":{"arguments":[{"name":"slot","nativeSrc":"3470:4:30","nodeType":"YulIdentifier","src":"3470:4:30"}],"functionName":{"name":"array_dataslot_string_storage","nativeSrc":"3440:29:30","nodeType":"YulIdentifier","src":"3440:29:30"},"nativeSrc":"3440:35:30","nodeType":"YulFunctionCall","src":"3440:35:30"},"variables":[{"name":"dstPtr","nativeSrc":"3430:6:30","nodeType":"YulTypedName","src":"3430:6:30","type":""}]},{"nativeSrc":"3488:10:30","nodeType":"YulVariableDeclaration","src":"3488:10:30","value":{"kind":"number","nativeSrc":"3497:1:30","nodeType":"YulLiteral","src":"3497:1:30","type":"","value":"0"},"variables":[{"name":"i","nativeSrc":"3492:1:30","nodeType":"YulTypedName","src":"3492:1:30","type":""}]},{"body":{"nativeSrc":"3568:165:30","nodeType":"YulBlock","src":"3568:165:30","statements":[{"expression":{"arguments":[{"name":"dstPtr","nativeSrc":"3593:6:30","nodeType":"YulIdentifier","src":"3593:6:30"},{"arguments":[{"arguments":[{"name":"src","nativeSrc":"3611:3:30","nodeType":"YulIdentifier","src":"3611:3:30"},{"name":"srcOffset","nativeSrc":"3616:9:30","nodeType":"YulIdentifier","src":"3616:9:30"}],"functionName":{"name":"add","nativeSrc":"3607:3:30","nodeType":"YulIdentifier","src":"3607:3:30"},"nativeSrc":"3607:19:30","nodeType":"YulFunctionCall","src":"3607:19:30"}],"functionName":{"name":"mload","nativeSrc":"3601:5:30","nodeType":"YulIdentifier","src":"3601:5:30"},"nativeSrc":"3601:26:30","nodeType":"YulFunctionCall","src":"3601:26:30"}],"functionName":{"name":"sstore","nativeSrc":"3586:6:30","nodeType":"YulIdentifier","src":"3586:6:30"},"nativeSrc":"3586:42:30","nodeType":"YulFunctionCall","src":"3586:42:30"},"nativeSrc":"3586:42:30","nodeType":"YulExpressionStatement","src":"3586:42:30"},{"nativeSrc":"3645:24:30","nodeType":"YulAssignment","src":"3645:24:30","value":{"arguments":[{"name":"dstPtr","nativeSrc":"3659:6:30","nodeType":"YulIdentifier","src":"3659:6:30"},{"kind":"number","nativeSrc":"3667:1:30","nodeType":"YulLiteral","src":"3667:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"3655:3:30","nodeType":"YulIdentifier","src":"3655:3:30"},"nativeSrc":"3655:14:30","nodeType":"YulFunctionCall","src":"3655:14:30"},"variableNames":[{"name":"dstPtr","nativeSrc":"3645:6:30","nodeType":"YulIdentifier","src":"3645:6:30"}]},{"nativeSrc":"3686:33:30","nodeType":"YulAssignment","src":"3686:33:30","value":{"arguments":[{"name":"srcOffset","nativeSrc":"3703:9:30","nodeType":"YulIdentifier","src":"3703:9:30"},{"kind":"number","nativeSrc":"3714:4:30","nodeType":"YulLiteral","src":"3714:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"3699:3:30","nodeType":"YulIdentifier","src":"3699:3:30"},"nativeSrc":"3699:20:30","nodeType":"YulFunctionCall","src":"3699:20:30"},"variableNames":[{"name":"srcOffset","nativeSrc":"3686:9:30","nodeType":"YulIdentifier","src":"3686:9:30"}]}]},"condition":{"arguments":[{"name":"i","nativeSrc":"3522:1:30","nodeType":"YulIdentifier","src":"3522:1:30"},{"name":"loopEnd","nativeSrc":"3525:7:30","nodeType":"YulIdentifier","src":"3525:7:30"}],"functionName":{"name":"lt","nativeSrc":"3519:2:30","nodeType":"YulIdentifier","src":"3519:2:30"},"nativeSrc":"3519:14:30","nodeType":"YulFunctionCall","src":"3519:14:30"},"nativeSrc":"3511:222:30","nodeType":"YulForLoop","post":{"nativeSrc":"3534:21:30","nodeType":"YulBlock","src":"3534:21:30","statements":[{"nativeSrc":"3536:17:30","nodeType":"YulAssignment","src":"3536:17:30","value":{"arguments":[{"name":"i","nativeSrc":"3545:1:30","nodeType":"YulIdentifier","src":"3545:1:30"},{"kind":"number","nativeSrc":"3548:4:30","nodeType":"YulLiteral","src":"3548:4:30","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"3541:3:30","nodeType":"YulIdentifier","src":"3541:3:30"},"nativeSrc":"3541:12:30","nodeType":"YulFunctionCall","src":"3541:12:30"},"variableNames":[{"name":"i","nativeSrc":"3536:1:30","nodeType":"YulIdentifier","src":"3536:1:30"}]}]},"pre":{"nativeSrc":"3515:3:30","nodeType":"YulBlock","src":"3515:3:30","statements":[]},"src":"3511:222:30"},{"body":{"nativeSrc":"3781:166:30","nodeType":"YulBlock","src":"3781:166:30","statements":[{"nativeSrc":"3799:43:30","nodeType":"YulVariableDeclaration","src":"3799:43:30","value":{"arguments":[{"arguments":[{"name":"src","nativeSrc":"3826:3:30","nodeType":"YulIdentifier","src":"3826:3:30"},{"name":"srcOffset","nativeSrc":"3831:9:30","nodeType":"YulIdentifier","src":"3831:9:30"}],"functionName":{"name":"add","nativeSrc":"3822:3:30","nodeType":"YulIdentifier","src":"3822:3:30"},"nativeSrc":"3822:19:30","nodeType":"YulFunctionCall","src":"3822:19:30"}],"functionName":{"name":"mload","nativeSrc":"3816:5:30","nodeType":"YulIdentifier","src":"3816:5:30"},"nativeSrc":"3816:26:30","nodeType":"YulFunctionCall","src":"3816:26:30"},"variables":[{"name":"lastValue","nativeSrc":"3803:9:30","nodeType":"YulTypedName","src":"3803:9:30","type":""}]},{"expression":{"arguments":[{"name":"dstPtr","nativeSrc":"3866:6:30","nodeType":"YulIdentifier","src":"3866:6:30"},{"arguments":[{"name":"lastValue","nativeSrc":"3878:9:30","nodeType":"YulIdentifier","src":"3878:9:30"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3905:1:30","nodeType":"YulLiteral","src":"3905:1:30","type":"","value":"3"},{"name":"newLen","nativeSrc":"3908:6:30","nodeType":"YulIdentifier","src":"3908:6:30"}],"functionName":{"name":"shl","nativeSrc":"3901:3:30","nodeType":"YulIdentifier","src":"3901:3:30"},"nativeSrc":"3901:14:30","nodeType":"YulFunctionCall","src":"3901:14:30"},{"kind":"number","nativeSrc":"3917:3:30","nodeType":"YulLiteral","src":"3917:3:30","type":"","value":"248"}],"functionName":{"name":"and","nativeSrc":"3897:3:30","nodeType":"YulIdentifier","src":"3897:3:30"},"nativeSrc":"3897:24:30","nodeType":"YulFunctionCall","src":"3897:24:30"},{"arguments":[{"kind":"number","nativeSrc":"3927:1:30","nodeType":"YulLiteral","src":"3927:1:30","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"3923:3:30","nodeType":"YulIdentifier","src":"3923:3:30"},"nativeSrc":"3923:6:30","nodeType":"YulFunctionCall","src":"3923:6:30"}],"functionName":{"name":"shr","nativeSrc":"3893:3:30","nodeType":"YulIdentifier","src":"3893:3:30"},"nativeSrc":"3893:37:30","nodeType":"YulFunctionCall","src":"3893:37:30"}],"functionName":{"name":"not","nativeSrc":"3889:3:30","nodeType":"YulIdentifier","src":"3889:3:30"},"nativeSrc":"3889:42:30","nodeType":"YulFunctionCall","src":"3889:42:30"}],"functionName":{"name":"and","nativeSrc":"3874:3:30","nodeType":"YulIdentifier","src":"3874:3:30"},"nativeSrc":"3874:58:30","nodeType":"YulFunctionCall","src":"3874:58:30"}],"functionName":{"name":"sstore","nativeSrc":"3859:6:30","nodeType":"YulIdentifier","src":"3859:6:30"},"nativeSrc":"3859:74:30","nodeType":"YulFunctionCall","src":"3859:74:30"},"nativeSrc":"3859:74:30","nodeType":"YulExpressionStatement","src":"3859:74:30"}]},"condition":{"arguments":[{"name":"loopEnd","nativeSrc":"3752:7:30","nodeType":"YulIdentifier","src":"3752:7:30"},{"name":"newLen","nativeSrc":"3761:6:30","nodeType":"YulIdentifier","src":"3761:6:30"}],"functionName":{"name":"lt","nativeSrc":"3749:2:30","nodeType":"YulIdentifier","src":"3749:2:30"},"nativeSrc":"3749:19:30","nodeType":"YulFunctionCall","src":"3749:19:30"},"nativeSrc":"3746:201:30","nodeType":"YulIf","src":"3746:201:30"},{"expression":{"arguments":[{"name":"slot","nativeSrc":"3967:4:30","nodeType":"YulIdentifier","src":"3967:4:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3981:1:30","nodeType":"YulLiteral","src":"3981:1:30","type":"","value":"1"},{"name":"newLen","nativeSrc":"3984:6:30","nodeType":"YulIdentifier","src":"3984:6:30"}],"functionName":{"name":"shl","nativeSrc":"3977:3:30","nodeType":"YulIdentifier","src":"3977:3:30"},"nativeSrc":"3977:14:30","nodeType":"YulFunctionCall","src":"3977:14:30"},{"kind":"number","nativeSrc":"3993:1:30","nodeType":"YulLiteral","src":"3993:1:30","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"3973:3:30","nodeType":"YulIdentifier","src":"3973:3:30"},"nativeSrc":"3973:22:30","nodeType":"YulFunctionCall","src":"3973:22:30"}],"functionName":{"name":"sstore","nativeSrc":"3960:6:30","nodeType":"YulIdentifier","src":"3960:6:30"},"nativeSrc":"3960:36:30","nodeType":"YulFunctionCall","src":"3960:36:30"},"nativeSrc":"3960:36:30","nodeType":"YulExpressionStatement","src":"3960:36:30"}]},"nativeSrc":"3357:649:30","nodeType":"YulCase","src":"3357:649:30","value":{"kind":"number","nativeSrc":"3362:1:30","nodeType":"YulLiteral","src":"3362:1:30","type":"","value":"1"}},{"body":{"nativeSrc":"4023:234:30","nodeType":"YulBlock","src":"4023:234:30","statements":[{"nativeSrc":"4037:14:30","nodeType":"YulVariableDeclaration","src":"4037:14:30","value":{"kind":"number","nativeSrc":"4050:1:30","nodeType":"YulLiteral","src":"4050:1:30","type":"","value":"0"},"variables":[{"name":"value","nativeSrc":"4041:5:30","nodeType":"YulTypedName","src":"4041:5:30","type":""}]},{"body":{"nativeSrc":"4086:67:30","nodeType":"YulBlock","src":"4086:67:30","statements":[{"nativeSrc":"4104:35:30","nodeType":"YulAssignment","src":"4104:35:30","value":{"arguments":[{"arguments":[{"name":"src","nativeSrc":"4123:3:30","nodeType":"YulIdentifier","src":"4123:3:30"},{"name":"srcOffset","nativeSrc":"4128:9:30","nodeType":"YulIdentifier","src":"4128:9:30"}],"functionName":{"name":"add","nativeSrc":"4119:3:30","nodeType":"YulIdentifier","src":"4119:3:30"},"nativeSrc":"4119:19:30","nodeType":"YulFunctionCall","src":"4119:19:30"}],"functionName":{"name":"mload","nativeSrc":"4113:5:30","nodeType":"YulIdentifier","src":"4113:5:30"},"nativeSrc":"4113:26:30","nodeType":"YulFunctionCall","src":"4113:26:30"},"variableNames":[{"name":"value","nativeSrc":"4104:5:30","nodeType":"YulIdentifier","src":"4104:5:30"}]}]},"condition":{"name":"newLen","nativeSrc":"4067:6:30","nodeType":"YulIdentifier","src":"4067:6:30"},"nativeSrc":"4064:89:30","nodeType":"YulIf","src":"4064:89:30"},{"expression":{"arguments":[{"name":"slot","nativeSrc":"4173:4:30","nodeType":"YulIdentifier","src":"4173:4:30"},{"arguments":[{"name":"value","nativeSrc":"4232:5:30","nodeType":"YulIdentifier","src":"4232:5:30"},{"name":"newLen","nativeSrc":"4239:6:30","nodeType":"YulIdentifier","src":"4239:6:30"}],"functionName":{"name":"extract_used_part_and_set_length_of_short_byte_array","nativeSrc":"4179:52:30","nodeType":"YulIdentifier","src":"4179:52:30"},"nativeSrc":"4179:67:30","nodeType":"YulFunctionCall","src":"4179:67:30"}],"functionName":{"name":"sstore","nativeSrc":"4166:6:30","nodeType":"YulIdentifier","src":"4166:6:30"},"nativeSrc":"4166:81:30","nodeType":"YulFunctionCall","src":"4166:81:30"},"nativeSrc":"4166:81:30","nodeType":"YulExpressionStatement","src":"4166:81:30"}]},"nativeSrc":"4015:242:30","nodeType":"YulCase","src":"4015:242:30","value":"default"}],"expression":{"arguments":[{"name":"newLen","nativeSrc":"3337:6:30","nodeType":"YulIdentifier","src":"3337:6:30"},{"kind":"number","nativeSrc":"3345:2:30","nodeType":"YulLiteral","src":"3345:2:30","type":"","value":"31"}],"functionName":{"name":"gt","nativeSrc":"3334:2:30","nodeType":"YulIdentifier","src":"3334:2:30"},"nativeSrc":"3334:14:30","nodeType":"YulFunctionCall","src":"3334:14:30"},"nativeSrc":"3327:930:30","nodeType":"YulSwitch","src":"3327:930:30"}]},"name":"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage","nativeSrc":"2964:1299:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"slot","nativeSrc":"3045:4:30","nodeType":"YulTypedName","src":"3045:4:30","type":""},{"name":"src","nativeSrc":"3051:3:30","nodeType":"YulTypedName","src":"3051:3:30","type":""}],"src":"2964:1299:30"},{"body":{"nativeSrc":"4369:102:30","nodeType":"YulBlock","src":"4369:102:30","statements":[{"nativeSrc":"4379:26:30","nodeType":"YulAssignment","src":"4379:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4391:9:30","nodeType":"YulIdentifier","src":"4391:9:30"},{"kind":"number","nativeSrc":"4402:2:30","nodeType":"YulLiteral","src":"4402:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"4387:3:30","nodeType":"YulIdentifier","src":"4387:3:30"},"nativeSrc":"4387:18:30","nodeType":"YulFunctionCall","src":"4387:18:30"},"variableNames":[{"name":"tail","nativeSrc":"4379:4:30","nodeType":"YulIdentifier","src":"4379:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"4421:9:30","nodeType":"YulIdentifier","src":"4421:9:30"},{"arguments":[{"name":"value0","nativeSrc":"4436:6:30","nodeType":"YulIdentifier","src":"4436:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"4452:3:30","nodeType":"YulLiteral","src":"4452:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"4457:1:30","nodeType":"YulLiteral","src":"4457:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"4448:3:30","nodeType":"YulIdentifier","src":"4448:3:30"},"nativeSrc":"4448:11:30","nodeType":"YulFunctionCall","src":"4448:11:30"},{"kind":"number","nativeSrc":"4461:1:30","nodeType":"YulLiteral","src":"4461:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"4444:3:30","nodeType":"YulIdentifier","src":"4444:3:30"},"nativeSrc":"4444:19:30","nodeType":"YulFunctionCall","src":"4444:19:30"}],"functionName":{"name":"and","nativeSrc":"4432:3:30","nodeType":"YulIdentifier","src":"4432:3:30"},"nativeSrc":"4432:32:30","nodeType":"YulFunctionCall","src":"4432:32:30"}],"functionName":{"name":"mstore","nativeSrc":"4414:6:30","nodeType":"YulIdentifier","src":"4414:6:30"},"nativeSrc":"4414:51:30","nodeType":"YulFunctionCall","src":"4414:51:30"},"nativeSrc":"4414:51:30","nodeType":"YulExpressionStatement","src":"4414:51:30"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nativeSrc":"4268:203:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"4338:9:30","nodeType":"YulTypedName","src":"4338:9:30","type":""},{"name":"value0","nativeSrc":"4349:6:30","nodeType":"YulTypedName","src":"4349:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"4360:4:30","nodeType":"YulTypedName","src":"4360:4:30","type":""}],"src":"4268:203:30"},{"body":{"nativeSrc":"4524:174:30","nodeType":"YulBlock","src":"4524:174:30","statements":[{"nativeSrc":"4534:16:30","nodeType":"YulAssignment","src":"4534:16:30","value":{"arguments":[{"name":"x","nativeSrc":"4545:1:30","nodeType":"YulIdentifier","src":"4545:1:30"},{"name":"y","nativeSrc":"4548:1:30","nodeType":"YulIdentifier","src":"4548:1:30"}],"functionName":{"name":"add","nativeSrc":"4541:3:30","nodeType":"YulIdentifier","src":"4541:3:30"},"nativeSrc":"4541:9:30","nodeType":"YulFunctionCall","src":"4541:9:30"},"variableNames":[{"name":"sum","nativeSrc":"4534:3:30","nodeType":"YulIdentifier","src":"4534:3:30"}]},{"body":{"nativeSrc":"4581:111:30","nodeType":"YulBlock","src":"4581:111:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"4602:1:30","nodeType":"YulLiteral","src":"4602:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"4609:3:30","nodeType":"YulLiteral","src":"4609:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"4614:10:30","nodeType":"YulLiteral","src":"4614:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"4605:3:30","nodeType":"YulIdentifier","src":"4605:3:30"},"nativeSrc":"4605:20:30","nodeType":"YulFunctionCall","src":"4605:20:30"}],"functionName":{"name":"mstore","nativeSrc":"4595:6:30","nodeType":"YulIdentifier","src":"4595:6:30"},"nativeSrc":"4595:31:30","nodeType":"YulFunctionCall","src":"4595:31:30"},"nativeSrc":"4595:31:30","nodeType":"YulExpressionStatement","src":"4595:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"4646:1:30","nodeType":"YulLiteral","src":"4646:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"4649:4:30","nodeType":"YulLiteral","src":"4649:4:30","type":"","value":"0x11"}],"functionName":{"name":"mstore","nativeSrc":"4639:6:30","nodeType":"YulIdentifier","src":"4639:6:30"},"nativeSrc":"4639:15:30","nodeType":"YulFunctionCall","src":"4639:15:30"},"nativeSrc":"4639:15:30","nodeType":"YulExpressionStatement","src":"4639:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"4674:1:30","nodeType":"YulLiteral","src":"4674:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"4677:4:30","nodeType":"YulLiteral","src":"4677:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"4667:6:30","nodeType":"YulIdentifier","src":"4667:6:30"},"nativeSrc":"4667:15:30","nodeType":"YulFunctionCall","src":"4667:15:30"},"nativeSrc":"4667:15:30","nodeType":"YulExpressionStatement","src":"4667:15:30"}]},"condition":{"arguments":[{"name":"x","nativeSrc":"4565:1:30","nodeType":"YulIdentifier","src":"4565:1:30"},{"name":"sum","nativeSrc":"4568:3:30","nodeType":"YulIdentifier","src":"4568:3:30"}],"functionName":{"name":"gt","nativeSrc":"4562:2:30","nodeType":"YulIdentifier","src":"4562:2:30"},"nativeSrc":"4562:10:30","nodeType":"YulFunctionCall","src":"4562:10:30"},"nativeSrc":"4559:133:30","nodeType":"YulIf","src":"4559:133:30"}]},"name":"checked_add_t_uint256","nativeSrc":"4476:222:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"4507:1:30","nodeType":"YulTypedName","src":"4507:1:30","type":""},{"name":"y","nativeSrc":"4510:1:30","nodeType":"YulTypedName","src":"4510:1:30","type":""}],"returnVariables":[{"name":"sum","nativeSrc":"4516:3:30","nodeType":"YulTypedName","src":"4516:3:30","type":""}],"src":"4476:222:30"},{"body":{"nativeSrc":"4860:188:30","nodeType":"YulBlock","src":"4860:188:30","statements":[{"nativeSrc":"4870:26:30","nodeType":"YulAssignment","src":"4870:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"4882:9:30","nodeType":"YulIdentifier","src":"4882:9:30"},{"kind":"number","nativeSrc":"4893:2:30","nodeType":"YulLiteral","src":"4893:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"4878:3:30","nodeType":"YulIdentifier","src":"4878:3:30"},"nativeSrc":"4878:18:30","nodeType":"YulFunctionCall","src":"4878:18:30"},"variableNames":[{"name":"tail","nativeSrc":"4870:4:30","nodeType":"YulIdentifier","src":"4870:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"4912:9:30","nodeType":"YulIdentifier","src":"4912:9:30"},{"arguments":[{"name":"value0","nativeSrc":"4927:6:30","nodeType":"YulIdentifier","src":"4927:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"4943:3:30","nodeType":"YulLiteral","src":"4943:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"4948:1:30","nodeType":"YulLiteral","src":"4948:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"4939:3:30","nodeType":"YulIdentifier","src":"4939:3:30"},"nativeSrc":"4939:11:30","nodeType":"YulFunctionCall","src":"4939:11:30"},{"kind":"number","nativeSrc":"4952:1:30","nodeType":"YulLiteral","src":"4952:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"4935:3:30","nodeType":"YulIdentifier","src":"4935:3:30"},"nativeSrc":"4935:19:30","nodeType":"YulFunctionCall","src":"4935:19:30"}],"functionName":{"name":"and","nativeSrc":"4923:3:30","nodeType":"YulIdentifier","src":"4923:3:30"},"nativeSrc":"4923:32:30","nodeType":"YulFunctionCall","src":"4923:32:30"}],"functionName":{"name":"mstore","nativeSrc":"4905:6:30","nodeType":"YulIdentifier","src":"4905:6:30"},"nativeSrc":"4905:51:30","nodeType":"YulFunctionCall","src":"4905:51:30"},"nativeSrc":"4905:51:30","nodeType":"YulExpressionStatement","src":"4905:51:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"4976:9:30","nodeType":"YulIdentifier","src":"4976:9:30"},{"kind":"number","nativeSrc":"4987:2:30","nodeType":"YulLiteral","src":"4987:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"4972:3:30","nodeType":"YulIdentifier","src":"4972:3:30"},"nativeSrc":"4972:18:30","nodeType":"YulFunctionCall","src":"4972:18:30"},{"name":"value1","nativeSrc":"4992:6:30","nodeType":"YulIdentifier","src":"4992:6:30"}],"functionName":{"name":"mstore","nativeSrc":"4965:6:30","nodeType":"YulIdentifier","src":"4965:6:30"},"nativeSrc":"4965:34:30","nodeType":"YulFunctionCall","src":"4965:34:30"},"nativeSrc":"4965:34:30","nodeType":"YulExpressionStatement","src":"4965:34:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"5019:9:30","nodeType":"YulIdentifier","src":"5019:9:30"},{"kind":"number","nativeSrc":"5030:2:30","nodeType":"YulLiteral","src":"5030:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"5015:3:30","nodeType":"YulIdentifier","src":"5015:3:30"},"nativeSrc":"5015:18:30","nodeType":"YulFunctionCall","src":"5015:18:30"},{"name":"value2","nativeSrc":"5035:6:30","nodeType":"YulIdentifier","src":"5035:6:30"}],"functionName":{"name":"mstore","nativeSrc":"5008:6:30","nodeType":"YulIdentifier","src":"5008:6:30"},"nativeSrc":"5008:34:30","nodeType":"YulFunctionCall","src":"5008:34:30"},"nativeSrc":"5008:34:30","nodeType":"YulExpressionStatement","src":"5008:34:30"}]},"name":"abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed","nativeSrc":"4703:345:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"4813:9:30","nodeType":"YulTypedName","src":"4813:9:30","type":""},{"name":"value2","nativeSrc":"4824:6:30","nodeType":"YulTypedName","src":"4824:6:30","type":""},{"name":"value1","nativeSrc":"4832:6:30","nodeType":"YulTypedName","src":"4832:6:30","type":""},{"name":"value0","nativeSrc":"4840:6:30","nodeType":"YulTypedName","src":"4840:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"4851:4:30","nodeType":"YulTypedName","src":"4851:4:30","type":""}],"src":"4703:345:30"},{"body":{"nativeSrc":"5154:76:30","nodeType":"YulBlock","src":"5154:76:30","statements":[{"nativeSrc":"5164:26:30","nodeType":"YulAssignment","src":"5164:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"5176:9:30","nodeType":"YulIdentifier","src":"5176:9:30"},{"kind":"number","nativeSrc":"5187:2:30","nodeType":"YulLiteral","src":"5187:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"5172:3:30","nodeType":"YulIdentifier","src":"5172:3:30"},"nativeSrc":"5172:18:30","nodeType":"YulFunctionCall","src":"5172:18:30"},"variableNames":[{"name":"tail","nativeSrc":"5164:4:30","nodeType":"YulIdentifier","src":"5164:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"5206:9:30","nodeType":"YulIdentifier","src":"5206:9:30"},{"name":"value0","nativeSrc":"5217:6:30","nodeType":"YulIdentifier","src":"5217:6:30"}],"functionName":{"name":"mstore","nativeSrc":"5199:6:30","nodeType":"YulIdentifier","src":"5199:6:30"},"nativeSrc":"5199:25:30","nodeType":"YulFunctionCall","src":"5199:25:30"},"nativeSrc":"5199:25:30","nodeType":"YulExpressionStatement","src":"5199:25:30"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nativeSrc":"5053:177:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"5123:9:30","nodeType":"YulTypedName","src":"5123:9:30","type":""},{"name":"value0","nativeSrc":"5134:6:30","nodeType":"YulTypedName","src":"5134:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"5145:4:30","nodeType":"YulTypedName","src":"5145:4:30","type":""}],"src":"5053:177:30"}]},"contents":"{\n    { }\n    function panic_error_0x41()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function abi_decode_string_fromMemory(offset, end) -> array\n    {\n        if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n        let length := mload(offset)\n        if gt(length, sub(shl(64, 1), 1)) { panic_error_0x41() }\n        let memPtr := mload(64)\n        let newFreePtr := add(memPtr, and(add(and(add(length, 0x1f), not(31)), 63), not(31)))\n        if or(gt(newFreePtr, sub(shl(64, 1), 1)), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n        mstore(64, newFreePtr)\n        mstore(memPtr, length)\n        if gt(add(add(offset, length), 0x20), end) { revert(0, 0) }\n        let i := 0\n        for { } lt(i, length) { i := add(i, 0x20) }\n        {\n            mstore(add(add(memPtr, i), 0x20), mload(add(add(offset, i), 0x20)))\n        }\n        mstore(add(add(memPtr, length), 0x20), 0)\n        array := memPtr\n    }\n    function abi_decode_tuple_t_string_memory_ptrt_string_memory_ptrt_uint256t_uint8_fromMemory(headStart, dataEnd) -> value0, value1, value2, value3\n    {\n        if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n        let offset := mload(headStart)\n        if gt(offset, sub(shl(64, 1), 1)) { revert(0, 0) }\n        value0 := abi_decode_string_fromMemory(add(headStart, offset), dataEnd)\n        let offset_1 := mload(add(headStart, 32))\n        if gt(offset_1, sub(shl(64, 1), 1)) { revert(0, 0) }\n        value1 := abi_decode_string_fromMemory(add(headStart, offset_1), dataEnd)\n        value2 := mload(add(headStart, 64))\n        let value := mload(add(headStart, 96))\n        if iszero(eq(value, and(value, 0xff))) { revert(0, 0) }\n        value3 := value\n    }\n    function extract_byte_array_length(data) -> length\n    {\n        length := shr(1, data)\n        let outOfPlaceEncoding := and(data, 1)\n        if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n        if eq(outOfPlaceEncoding, lt(length, 32))\n        {\n            mstore(0, shl(224, 0x4e487b71))\n            mstore(4, 0x22)\n            revert(0, 0x24)\n        }\n    }\n    function array_dataslot_string_storage(ptr) -> data\n    {\n        mstore(0, ptr)\n        data := keccak256(0, 0x20)\n    }\n    function clean_up_bytearray_end_slots_string_storage(array, len, startIndex)\n    {\n        if gt(len, 31)\n        {\n            mstore(0, array)\n            let data := keccak256(0, 0x20)\n            let deleteStart := add(data, shr(5, add(startIndex, 31)))\n            if lt(startIndex, 0x20) { deleteStart := data }\n            let _1 := add(data, shr(5, add(len, 31)))\n            let start := deleteStart\n            for { } lt(start, _1) { start := add(start, 1) }\n            { sstore(start, 0) }\n        }\n    }\n    function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used\n    {\n        used := or(and(data, not(shr(shl(3, len), not(0)))), shl(1, len))\n    }\n    function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src)\n    {\n        let newLen := mload(src)\n        if gt(newLen, sub(shl(64, 1), 1)) { panic_error_0x41() }\n        clean_up_bytearray_end_slots_string_storage(slot, extract_byte_array_length(sload(slot)), newLen)\n        let srcOffset := 0\n        srcOffset := 0x20\n        switch gt(newLen, 31)\n        case 1 {\n            let loopEnd := and(newLen, not(31))\n            let dstPtr := array_dataslot_string_storage(slot)\n            let i := 0\n            for { } lt(i, loopEnd) { i := add(i, 0x20) }\n            {\n                sstore(dstPtr, mload(add(src, srcOffset)))\n                dstPtr := add(dstPtr, 1)\n                srcOffset := add(srcOffset, 0x20)\n            }\n            if lt(loopEnd, newLen)\n            {\n                let lastValue := mload(add(src, srcOffset))\n                sstore(dstPtr, and(lastValue, not(shr(and(shl(3, newLen), 248), not(0)))))\n            }\n            sstore(slot, add(shl(1, newLen), 1))\n        }\n        default {\n            let value := 0\n            if newLen\n            {\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    function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n    }\n    function checked_add_t_uint256(x, y) -> sum\n    {\n        sum := add(x, y)\n        if gt(x, sum)\n        {\n            mstore(0, shl(224, 0x4e487b71))\n            mstore(4, 0x11)\n            revert(0, 0x24)\n        }\n    }\n    function abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed(headStart, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 96)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 32), value1)\n        mstore(add(headStart, 64), value2)\n    }\n    function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n}","id":30,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"60a060405234801561001057600080fd5b50604051610bf5380380610bf583398101604081905261002f9161029e565b8383600361003d83826103b2565b50600461004a82826103b2565b5050600580546001600160a01b0319163390811790915560ff831660805261007391508361007c565b50505050610497565b6001600160a01b0382166100ab5760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b6100b7600083836100bb565b5050565b6001600160a01b0383166100e65780600260008282546100db9190610470565b909155506101589050565b6001600160a01b038316600090815260208190526040902054818110156101395760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100a2565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661017457600280548290039055610193565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516101d891815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261020c57600080fd5b81516001600160401b03811115610225576102256101e5565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610253576102536101e5565b60405281815283820160200185101561026b57600080fd5b60005b8281101561028a5760208186018101518383018201520161026e565b506000918101602001919091529392505050565b600080600080608085870312156102b457600080fd5b84516001600160401b038111156102ca57600080fd5b6102d6878288016101fb565b602087015190955090506001600160401b038111156102f457600080fd5b610300878288016101fb565b93505060408501519150606085015160ff8116811461031e57600080fd5b939692955090935050565b600181811c9082168061033d57607f821691505b60208210810361035d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156103ad57806000526020600020601f840160051c8101602085101561038a5750805b601f840160051c820191505b818110156103aa5760008155600101610396565b50505b505050565b81516001600160401b038111156103cb576103cb6101e5565b6103df816103d98454610329565b84610363565b6020601f82116001811461041357600083156103fb5750848201515b600019600385901b1c1916600184901b1784556103aa565b600084815260208120601f198516915b828110156104435787850151825560209485019460019092019101610423565b50848210156104615786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b8082018082111561049157634e487b7160e01b600052601160045260246000fd5b92915050565b6080516107436104b2600039600061010501526107436000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146100fe57806370a082311461012f57806395d89b4114610158578063a9059cbb14610160578063dd62ed3e1461017357600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100eb575b600080fd5b6100a06101ac565b6040516100ad919061058c565b60405180910390f35b6100c96100c43660046105f6565b61023e565b60405190151581526020016100ad565b6002545b6040519081526020016100ad565b6100c96100f9366004610620565b610258565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100ad565b6100dd61013d36600461065d565b6001600160a01b031660009081526020819052604090205490565b6100a061027c565b6100c961016e3660046105f6565b61028b565b6100dd61018136600461067f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101bb906106b2565b80601f01602080910402602001604051908101604052809291908181526020018280546101e7906106b2565b80156102345780601f1061020957610100808354040283529160200191610234565b820191906000526020600020905b81548152906001019060200180831161021757829003601f168201915b5050505050905090565b60003361024c818585610299565b60019150505b92915050565b6000336102668582856102ab565b61027185858561032e565b506001949350505050565b6060600480546101bb906106b2565b60003361024c81858561032e565b6102a6838383600161038d565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610328578181101561031957604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b6103288484848403600061038d565b50505050565b6001600160a01b03831661035857604051634b637e8f60e11b815260006004820152602401610310565b6001600160a01b0382166103825760405163ec442f0560e01b815260006004820152602401610310565b6102a6838383610462565b6001600160a01b0384166103b75760405163e602df0560e01b815260006004820152602401610310565b6001600160a01b0383166103e157604051634a1406b160e11b815260006004820152602401610310565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561032857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161045491815260200190565b60405180910390a350505050565b6001600160a01b03831661048d57806002600082825461048291906106ec565b909155506104ff9050565b6001600160a01b038316600090815260208190526040902054818110156104e05760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610310565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661051b5760028054829003905561053a565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161057f91815260200190565b60405180910390a3505050565b602081526000825180602084015260005b818110156105ba576020818601810151604086840101520161059d565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146105f157600080fd5b919050565b6000806040838503121561060957600080fd5b610612836105da565b946020939093013593505050565b60008060006060848603121561063557600080fd5b61063e846105da565b925061064c602085016105da565b929592945050506040919091013590565b60006020828403121561066f57600080fd5b610678826105da565b9392505050565b6000806040838503121561069257600080fd5b61069b836105da565b91506106a9602084016105da565b90509250929050565b600181811c908216806106c657607f821691505b6020821081036106e657634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561025257634e487b7160e01b600052601160045260246000fdfea26469706673582212203bced9cf5e982332d3c8f9ecc0a5eaf983b609a6b4d2fa5ff8bb2daa25c8c30864736f6c634300081c0033","opcodes":"PUSH1 0xA0 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0xBF5 CODESIZE SUB DUP1 PUSH2 0xBF5 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x2F SWAP2 PUSH2 0x29E JUMP JUMPDEST DUP4 DUP4 PUSH1 0x3 PUSH2 0x3D DUP4 DUP3 PUSH2 0x3B2 JUMP JUMPDEST POP PUSH1 0x4 PUSH2 0x4A DUP3 DUP3 PUSH2 0x3B2 JUMP JUMPDEST POP POP PUSH1 0x5 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0xFF DUP4 AND PUSH1 0x80 MSTORE PUSH2 0x73 SWAP2 POP DUP4 PUSH2 0x7C JUMP JUMPDEST POP POP POP POP PUSH2 0x497 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0xAB JUMPI PUSH1 0x40 MLOAD PUSH4 0xEC442F05 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x0 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xB7 PUSH1 0x0 DUP4 DUP4 PUSH2 0xBB JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0xE6 JUMPI DUP1 PUSH1 0x2 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0xDB SWAP2 SWAP1 PUSH2 0x470 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP PUSH2 0x158 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 DUP2 LT ISZERO PUSH2 0x139 JUMPI PUSH1 0x40 MLOAD PUSH4 0x391434E3 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x44 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x64 ADD PUSH2 0xA2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 DUP3 SWAP1 SUB SWAP1 SSTORE JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x174 JUMPI PUSH1 0x2 DUP1 SLOAD DUP3 SWAP1 SUB SWAP1 SSTORE PUSH2 0x193 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP3 ADD SWAP1 SSTORE JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP4 PUSH1 0x40 MLOAD PUSH2 0x1D8 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x20C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x225 JUMPI PUSH2 0x225 PUSH2 0x1E5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x253 JUMPI PUSH2 0x253 PUSH2 0x1E5 JUMP JUMPDEST PUSH1 0x40 MSTORE DUP2 DUP2 MSTORE DUP4 DUP3 ADD PUSH1 0x20 ADD DUP6 LT ISZERO PUSH2 0x26B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x28A JUMPI PUSH1 0x20 DUP2 DUP7 ADD DUP2 ADD MLOAD DUP4 DUP4 ADD DUP3 ADD MSTORE ADD PUSH2 0x26E JUMP JUMPDEST POP PUSH1 0x0 SWAP2 DUP2 ADD PUSH1 0x20 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x2B4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x2CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2D6 DUP8 DUP3 DUP9 ADD PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x20 DUP8 ADD MLOAD SWAP1 SWAP6 POP SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x2F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x300 DUP8 DUP3 DUP9 ADD PUSH2 0x1FB JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 DUP6 ADD MLOAD SWAP2 POP PUSH1 0x60 DUP6 ADD MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x31E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP7 SWAP3 SWAP6 POP SWAP1 SWAP4 POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x33D JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x35D JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x3AD JUMPI DUP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 PUSH1 0x1F DUP5 ADD PUSH1 0x5 SHR DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x38A JUMPI POP DUP1 JUMPDEST PUSH1 0x1F DUP5 ADD PUSH1 0x5 SHR DUP3 ADD SWAP2 POP JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x3AA JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x396 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH2 0x3CB JUMPI PUSH2 0x3CB PUSH2 0x1E5 JUMP JUMPDEST PUSH2 0x3DF DUP2 PUSH2 0x3D9 DUP5 SLOAD PUSH2 0x329 JUMP JUMPDEST DUP5 PUSH2 0x363 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x1F DUP3 GT PUSH1 0x1 DUP2 EQ PUSH2 0x413 JUMPI PUSH1 0x0 DUP4 ISZERO PUSH2 0x3FB JUMPI POP DUP5 DUP3 ADD MLOAD JUMPDEST PUSH1 0x0 NOT PUSH1 0x3 DUP6 SWAP1 SHL SHR NOT AND PUSH1 0x1 DUP5 SWAP1 SHL OR DUP5 SSTORE PUSH2 0x3AA JUMP JUMPDEST PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH1 0x1F NOT DUP6 AND SWAP2 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x443 JUMPI DUP8 DUP6 ADD MLOAD DUP3 SSTORE PUSH1 0x20 SWAP5 DUP6 ADD SWAP5 PUSH1 0x1 SWAP1 SWAP3 ADD SWAP2 ADD PUSH2 0x423 JUMP JUMPDEST POP DUP5 DUP3 LT ISZERO PUSH2 0x461 JUMPI DUP7 DUP5 ADD MLOAD PUSH1 0x0 NOT PUSH1 0x3 DUP8 SWAP1 SHL PUSH1 0xF8 AND SHR NOT AND DUP2 SSTORE JUMPDEST POP POP POP POP PUSH1 0x1 SWAP1 DUP2 SHL ADD SWAP1 SSTORE POP JUMP JUMPDEST DUP1 DUP3 ADD DUP1 DUP3 GT ISZERO PUSH2 0x491 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH2 0x743 PUSH2 0x4B2 PUSH1 0x0 CODECOPY PUSH1 0x0 PUSH2 0x105 ADD MSTORE PUSH2 0x743 PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0xFE JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x12F JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x158 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x160 JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x173 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xEB JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x1AC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x58C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x5F6 JUMP JUMPDEST PUSH2 0x23E JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH1 0x2 SLOAD JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xF9 CALLDATASIZE PUSH1 0x4 PUSH2 0x620 JUMP JUMPDEST PUSH2 0x258 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF PUSH32 0x0 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xDD PUSH2 0x13D CALLDATASIZE PUSH1 0x4 PUSH2 0x65D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x27C JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x16E CALLDATASIZE PUSH1 0x4 PUSH2 0x5F6 JUMP JUMPDEST PUSH2 0x28B JUMP JUMPDEST PUSH2 0xDD PUSH2 0x181 CALLDATASIZE PUSH1 0x4 PUSH2 0x67F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x3 DUP1 SLOAD PUSH2 0x1BB SWAP1 PUSH2 0x6B2 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 0x1E7 SWAP1 PUSH2 0x6B2 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x234 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x209 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x234 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 0x217 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x24C DUP2 DUP6 DUP6 PUSH2 0x299 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x266 DUP6 DUP3 DUP6 PUSH2 0x2AB JUMP JUMPDEST PUSH2 0x271 DUP6 DUP6 DUP6 PUSH2 0x32E JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x4 DUP1 SLOAD PUSH2 0x1BB SWAP1 PUSH2 0x6B2 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x24C DUP2 DUP6 DUP6 PUSH2 0x32E JUMP JUMPDEST PUSH2 0x2A6 DUP4 DUP4 DUP4 PUSH1 0x1 PUSH2 0x38D JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP7 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD PUSH1 0x0 NOT DUP2 EQ PUSH2 0x328 JUMPI DUP2 DUP2 LT ISZERO PUSH2 0x319 JUMPI PUSH1 0x40 MLOAD PUSH4 0x7DC7A0D9 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x44 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x328 DUP5 DUP5 DUP5 DUP5 SUB PUSH1 0x0 PUSH2 0x38D JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x358 JUMPI PUSH1 0x40 MLOAD PUSH4 0x4B637E8F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x0 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x310 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x382 JUMPI PUSH1 0x40 MLOAD PUSH4 0xEC442F05 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x0 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x310 JUMP JUMPDEST PUSH2 0x2A6 DUP4 DUP4 DUP4 PUSH2 0x462 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x3B7 JUMPI PUSH1 0x40 MLOAD PUSH4 0xE602DF05 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x0 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x310 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x3E1 JUMPI PUSH1 0x40 MLOAD PUSH4 0x4A1406B1 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x0 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x310 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP8 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 DUP3 SWAP1 SSTORE DUP1 ISZERO PUSH2 0x328 JUMPI DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 DUP5 PUSH1 0x40 MLOAD PUSH2 0x454 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x48D JUMPI DUP1 PUSH1 0x2 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x482 SWAP2 SWAP1 PUSH2 0x6EC JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP PUSH2 0x4FF SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 DUP2 LT ISZERO PUSH2 0x4E0 JUMPI PUSH1 0x40 MLOAD PUSH4 0x391434E3 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x44 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x64 ADD PUSH2 0x310 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 DUP3 SWAP1 SUB SWAP1 SSTORE JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x51B JUMPI PUSH1 0x2 DUP1 SLOAD DUP3 SWAP1 SUB SWAP1 SSTORE PUSH2 0x53A JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP3 ADD SWAP1 SSTORE JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP4 PUSH1 0x40 MLOAD PUSH2 0x57F SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x5BA JUMPI PUSH1 0x20 DUP2 DUP7 ADD DUP2 ADD MLOAD PUSH1 0x40 DUP7 DUP5 ADD ADD MSTORE ADD PUSH2 0x59D JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x40 DUP3 DUP6 ADD ADD MSTORE PUSH1 0x40 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND DUP5 ADD ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x5F1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x609 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x612 DUP4 PUSH2 0x5DA JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x635 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x63E DUP5 PUSH2 0x5DA JUMP JUMPDEST SWAP3 POP PUSH2 0x64C PUSH1 0x20 DUP6 ADD PUSH2 0x5DA JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x66F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x678 DUP3 PUSH2 0x5DA JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x692 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x69B DUP4 PUSH2 0x5DA JUMP JUMPDEST SWAP2 POP PUSH2 0x6A9 PUSH1 0x20 DUP5 ADD PUSH2 0x5DA JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x6C6 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x6E6 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 DUP3 ADD DUP1 DUP3 GT ISZERO PUSH2 0x252 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 EXTCODESIZE 0xCE 0xD9 0xCF MCOPY SWAP9 0x23 ORIGIN 0xD3 0xC8 0xF9 0xEC 0xC0 0xA5 0xEA 0xF9 DUP4 0xB6 MULMOD 0xA6 0xB4 0xD2 STATICCALL PUSH0 0xF8 0xBB 0x2D 0xAA 0x25 0xC8 0xC3 ADDMOD PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"133:431:28:-:0;;;233:233;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;355:5;362:7;1667:5:6;:13;355:5:28;1667::6;:13;:::i;:::-;-1:-1:-1;1690:7:6;:17;1700:7;1690;:17;:::i;:::-;-1:-1:-1;;377:6:28::1;:19:::0;;-1:-1:-1;;;;;;377:19:28::1;386:10;377:19:::0;;::::1;::::0;;;402:21:::1;::::0;::::1;;::::0;429:32:::1;::::0;-1:-1:-1;447:13:28;429:5:::1;:32::i;:::-;233:233:::0;;;;133:431;;7458:208:6;-1:-1:-1;;;;;7528:21:6;;7524:91;;7572:32;;-1:-1:-1;;;7572:32:6;;7601:1;7572:32;;;4414:51:30;4387:18;;7572:32:6;;;;;;;;7524:91;7624:35;7640:1;7644:7;7653:5;7624:7;:35::i;:::-;7458:208;;:::o;6008:1107::-;-1:-1:-1;;;;;6097:18:6;;6093:540;;6249:5;6233:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;6093:540:6;;-1:-1:-1;6093:540:6;;-1:-1:-1;;;;;6307:15:6;;6285:19;6307:15;;;;;;;;;;;6340:19;;;6336:115;;;6386:50;;-1:-1:-1;;;6386:50:6;;-1:-1:-1;;;;;4923:32:30;;6386:50:6;;;4905:51:30;4972:18;;;4965:34;;;5015:18;;;5008:34;;;4878:18;;6386:50:6;4703:345:30;6336:115:6;-1:-1:-1;;;;;6571:15:6;;:9;:15;;;;;;;;;;6589:19;;;;6571:37;;6093:540;-1:-1:-1;;;;;6647:16:6;;6643:425;;6810:12;:21;;;;;;;6643:425;;;-1:-1:-1;;;;;7021:13:6;;:9;:13;;;;;;;;;;:22;;;;;;6643:425;7098:2;-1:-1:-1;;;;;7083:25:6;7092:4;-1:-1:-1;;;;;7083:25:6;;7102:5;7083:25;;;;5199::30;;5187:2;5172:18;;5053:177;7083:25:6;;;;;;;;6008:1107;;;:::o;14:127:30:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:834;200:5;253:3;246:4;238:6;234:17;230:27;220:55;;271:1;268;261:12;220:55;298:13;;-1:-1:-1;;;;;323:30:30;;320:56;;;356:18;;:::i;:::-;405:2;399:9;497:2;459:17;;-1:-1:-1;;455:31:30;;;488:2;451:40;447:54;435:67;;-1:-1:-1;;;;;517:34:30;;553:22;;;514:62;511:88;;;579:18;;:::i;:::-;615:2;608:22;639;;;680:19;;;701:4;676:30;673:39;-1:-1:-1;670:59:30;;;725:1;722;715:12;670:59;747:1;757:143;771:6;768:1;765:13;757:143;;;883:4;867:14;;;863:25;;857:32;834:14;;;830:25;;823:67;786:12;757:143;;;-1:-1:-1;948:1:30;920:19;;;941:4;916:30;909:41;;;;924:6;146:834;-1:-1:-1;;;146:834:30:o;985:769::-;1100:6;1108;1116;1124;1177:3;1165:9;1156:7;1152:23;1148:33;1145:53;;;1194:1;1191;1184:12;1145:53;1221:16;;-1:-1:-1;;;;;1249:30:30;;1246:50;;;1292:1;1289;1282:12;1246:50;1315:61;1368:7;1359:6;1348:9;1344:22;1315:61;:::i;:::-;1422:2;1407:18;;1401:25;1305:71;;-1:-1:-1;1401:25:30;-1:-1:-1;;;;;;1438:32:30;;1435:52;;;1483:1;1480;1473:12;1435:52;1506:63;1561:7;1550:8;1539:9;1535:24;1506:63;:::i;:::-;1496:73;;;1609:2;1598:9;1594:18;1588:25;1578:35;;1656:2;1645:9;1641:18;1635:25;1700:4;1693:5;1689:16;1682:5;1679:27;1669:55;;1720:1;1717;1710:12;1669:55;985:769;;;;-1:-1:-1;985:769:30;;-1:-1:-1;;985:769:30:o;1759:380::-;1838:1;1834:12;;;;1881;;;1902:61;;1956:4;1948:6;1944:17;1934:27;;1902:61;2009:2;2001:6;1998:14;1978:18;1975:38;1972:161;;2055:10;2050:3;2046:20;2043:1;2036:31;2090:4;2087:1;2080:15;2118:4;2115:1;2108:15;1972:161;;1759:380;;;:::o;2270:518::-;2372:2;2367:3;2364:11;2361:421;;;2408:5;2405:1;2398:16;2452:4;2449:1;2439:18;2522:2;2510:10;2506:19;2503:1;2499:27;2493:4;2489:38;2558:4;2546:10;2543:20;2540:47;;;-1:-1:-1;2581:4:30;2540:47;2636:2;2631:3;2627:12;2624:1;2620:20;2614:4;2610:31;2600:41;;2691:81;2709:2;2702:5;2699:13;2691:81;;;2768:1;2754:16;;2735:1;2724:13;2691:81;;;2695:3;;2361:421;2270:518;;;:::o;2964:1299::-;3084:10;;-1:-1:-1;;;;;3106:30:30;;3103:56;;;3139:18;;:::i;:::-;3168:97;3258:6;3218:38;3250:4;3244:11;3218:38;:::i;:::-;3212:4;3168:97;:::i;:::-;3314:4;3345:2;3334:14;;3362:1;3357:649;;;;4050:1;4067:6;4064:89;;;-1:-1:-1;4119:19:30;;;4113:26;4064:89;-1:-1:-1;;2921:1:30;2917:11;;;2913:24;2909:29;2899:40;2945:1;2941:11;;;2896:57;4166:81;;3327:930;;3357:649;2217:1;2210:14;;;2254:4;2241:18;;-1:-1:-1;;3393:20:30;;;3511:222;3525:7;3522:1;3519:14;3511:222;;;3607:19;;;3601:26;3586:42;;3714:4;3699:20;;;;3667:1;3655:14;;;;3541:12;3511:222;;;3515:3;3761:6;3752:7;3749:19;3746:201;;;3822:19;;;3816:26;-1:-1:-1;;3905:1:30;3901:14;;;3917:3;3897:24;3893:37;3889:42;3874:58;3859:74;;3746:201;-1:-1:-1;;;;3993:1:30;3977:14;;;3973:22;3960:36;;-1:-1:-1;2964:1299:30:o;4476:222::-;4541:9;;;4562:10;;;4559:133;;;4614:10;4609:3;4605:20;4602:1;4595:31;4649:4;4646:1;4639:15;4677:4;4674:1;4667:15;4559:133;4476:222;;;;:::o;5053:177::-;133:431:28;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@_approve_1011":{"entryPoint":665,"id":1011,"parameterSlots":3,"returnSlots":0},"@_approve_1071":{"entryPoint":909,"id":1071,"parameterSlots":4,"returnSlots":0},"@_msgSender_1906":{"entryPoint":null,"id":1906,"parameterSlots":0,"returnSlots":1},"@_spendAllowance_1119":{"entryPoint":683,"id":1119,"parameterSlots":3,"returnSlots":0},"@_transfer_850":{"entryPoint":814,"id":850,"parameterSlots":3,"returnSlots":0},"@_update_927":{"entryPoint":1122,"id":927,"parameterSlots":3,"returnSlots":0},"@allowance_747":{"entryPoint":null,"id":747,"parameterSlots":2,"returnSlots":1},"@approve_771":{"entryPoint":574,"id":771,"parameterSlots":2,"returnSlots":1},"@balanceOf_706":{"entryPoint":null,"id":706,"parameterSlots":1,"returnSlots":1},"@decimals_8340":{"entryPoint":null,"id":8340,"parameterSlots":0,"returnSlots":1},"@name_666":{"entryPoint":428,"id":666,"parameterSlots":0,"returnSlots":1},"@symbol_675":{"entryPoint":636,"id":675,"parameterSlots":0,"returnSlots":1},"@totalSupply_693":{"entryPoint":null,"id":693,"parameterSlots":0,"returnSlots":1},"@transferFrom_803":{"entryPoint":600,"id":803,"parameterSlots":3,"returnSlots":1},"@transfer_730":{"entryPoint":651,"id":730,"parameterSlots":2,"returnSlots":1},"abi_decode_address":{"entryPoint":1498,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address":{"entryPoint":1629,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_address":{"entryPoint":1663,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_addresst_uint256":{"entryPoint":1568,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_addresst_uint256":{"entryPoint":1526,"id":null,"parameterSlots":2,"returnSlots":2},"abi_encode_tuple_t_address__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":1420,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"checked_add_t_uint256":{"entryPoint":1772,"id":null,"parameterSlots":2,"returnSlots":1},"extract_byte_array_length":{"entryPoint":1714,"id":null,"parameterSlots":1,"returnSlots":1}},"generatedSources":[{"ast":{"nativeSrc":"0:3594:30","nodeType":"YulBlock","src":"0:3594:30","statements":[{"nativeSrc":"6:3:30","nodeType":"YulBlock","src":"6:3:30","statements":[]},{"body":{"nativeSrc":"135:406:30","nodeType":"YulBlock","src":"135:406:30","statements":[{"expression":{"arguments":[{"name":"headStart","nativeSrc":"152:9:30","nodeType":"YulIdentifier","src":"152:9:30"},{"kind":"number","nativeSrc":"163:2:30","nodeType":"YulLiteral","src":"163:2:30","type":"","value":"32"}],"functionName":{"name":"mstore","nativeSrc":"145:6:30","nodeType":"YulIdentifier","src":"145:6:30"},"nativeSrc":"145:21:30","nodeType":"YulFunctionCall","src":"145:21:30"},"nativeSrc":"145:21:30","nodeType":"YulExpressionStatement","src":"145:21:30"},{"nativeSrc":"175:27:30","nodeType":"YulVariableDeclaration","src":"175:27:30","value":{"arguments":[{"name":"value0","nativeSrc":"195:6:30","nodeType":"YulIdentifier","src":"195:6:30"}],"functionName":{"name":"mload","nativeSrc":"189:5:30","nodeType":"YulIdentifier","src":"189:5:30"},"nativeSrc":"189:13:30","nodeType":"YulFunctionCall","src":"189:13:30"},"variables":[{"name":"length","nativeSrc":"179:6:30","nodeType":"YulTypedName","src":"179:6:30","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"222:9:30","nodeType":"YulIdentifier","src":"222:9:30"},{"kind":"number","nativeSrc":"233:2:30","nodeType":"YulLiteral","src":"233:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"218:3:30","nodeType":"YulIdentifier","src":"218:3:30"},"nativeSrc":"218:18:30","nodeType":"YulFunctionCall","src":"218:18:30"},{"name":"length","nativeSrc":"238:6:30","nodeType":"YulIdentifier","src":"238:6:30"}],"functionName":{"name":"mstore","nativeSrc":"211:6:30","nodeType":"YulIdentifier","src":"211:6:30"},"nativeSrc":"211:34:30","nodeType":"YulFunctionCall","src":"211:34:30"},"nativeSrc":"211:34:30","nodeType":"YulExpressionStatement","src":"211:34:30"},{"nativeSrc":"254:10:30","nodeType":"YulVariableDeclaration","src":"254:10:30","value":{"kind":"number","nativeSrc":"263:1:30","nodeType":"YulLiteral","src":"263:1:30","type":"","value":"0"},"variables":[{"name":"i","nativeSrc":"258:1:30","nodeType":"YulTypedName","src":"258:1:30","type":""}]},{"body":{"nativeSrc":"323:90:30","nodeType":"YulBlock","src":"323:90:30","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"352:9:30","nodeType":"YulIdentifier","src":"352:9:30"},{"name":"i","nativeSrc":"363:1:30","nodeType":"YulIdentifier","src":"363:1:30"}],"functionName":{"name":"add","nativeSrc":"348:3:30","nodeType":"YulIdentifier","src":"348:3:30"},"nativeSrc":"348:17:30","nodeType":"YulFunctionCall","src":"348:17:30"},{"kind":"number","nativeSrc":"367:2:30","nodeType":"YulLiteral","src":"367:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"344:3:30","nodeType":"YulIdentifier","src":"344:3:30"},"nativeSrc":"344:26:30","nodeType":"YulFunctionCall","src":"344:26:30"},{"arguments":[{"arguments":[{"arguments":[{"name":"value0","nativeSrc":"386:6:30","nodeType":"YulIdentifier","src":"386:6:30"},{"name":"i","nativeSrc":"394:1:30","nodeType":"YulIdentifier","src":"394:1:30"}],"functionName":{"name":"add","nativeSrc":"382:3:30","nodeType":"YulIdentifier","src":"382:3:30"},"nativeSrc":"382:14:30","nodeType":"YulFunctionCall","src":"382:14:30"},{"kind":"number","nativeSrc":"398:2:30","nodeType":"YulLiteral","src":"398:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"378:3:30","nodeType":"YulIdentifier","src":"378:3:30"},"nativeSrc":"378:23:30","nodeType":"YulFunctionCall","src":"378:23:30"}],"functionName":{"name":"mload","nativeSrc":"372:5:30","nodeType":"YulIdentifier","src":"372:5:30"},"nativeSrc":"372:30:30","nodeType":"YulFunctionCall","src":"372:30:30"}],"functionName":{"name":"mstore","nativeSrc":"337:6:30","nodeType":"YulIdentifier","src":"337:6:30"},"nativeSrc":"337:66:30","nodeType":"YulFunctionCall","src":"337:66:30"},"nativeSrc":"337:66:30","nodeType":"YulExpressionStatement","src":"337:66:30"}]},"condition":{"arguments":[{"name":"i","nativeSrc":"284:1:30","nodeType":"YulIdentifier","src":"284:1:30"},{"name":"length","nativeSrc":"287:6:30","nodeType":"YulIdentifier","src":"287:6:30"}],"functionName":{"name":"lt","nativeSrc":"281:2:30","nodeType":"YulIdentifier","src":"281:2:30"},"nativeSrc":"281:13:30","nodeType":"YulFunctionCall","src":"281:13:30"},"nativeSrc":"273:140:30","nodeType":"YulForLoop","post":{"nativeSrc":"295:19:30","nodeType":"YulBlock","src":"295:19:30","statements":[{"nativeSrc":"297:15:30","nodeType":"YulAssignment","src":"297:15:30","value":{"arguments":[{"name":"i","nativeSrc":"306:1:30","nodeType":"YulIdentifier","src":"306:1:30"},{"kind":"number","nativeSrc":"309:2:30","nodeType":"YulLiteral","src":"309:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"302:3:30","nodeType":"YulIdentifier","src":"302:3:30"},"nativeSrc":"302:10:30","nodeType":"YulFunctionCall","src":"302:10:30"},"variableNames":[{"name":"i","nativeSrc":"297:1:30","nodeType":"YulIdentifier","src":"297:1:30"}]}]},"pre":{"nativeSrc":"277:3:30","nodeType":"YulBlock","src":"277:3:30","statements":[]},"src":"273:140:30"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"437:9:30","nodeType":"YulIdentifier","src":"437:9:30"},{"name":"length","nativeSrc":"448:6:30","nodeType":"YulIdentifier","src":"448:6:30"}],"functionName":{"name":"add","nativeSrc":"433:3:30","nodeType":"YulIdentifier","src":"433:3:30"},"nativeSrc":"433:22:30","nodeType":"YulFunctionCall","src":"433:22:30"},{"kind":"number","nativeSrc":"457:2:30","nodeType":"YulLiteral","src":"457:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"429:3:30","nodeType":"YulIdentifier","src":"429:3:30"},"nativeSrc":"429:31:30","nodeType":"YulFunctionCall","src":"429:31:30"},{"kind":"number","nativeSrc":"462:1:30","nodeType":"YulLiteral","src":"462:1:30","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"422:6:30","nodeType":"YulIdentifier","src":"422:6:30"},"nativeSrc":"422:42:30","nodeType":"YulFunctionCall","src":"422:42:30"},"nativeSrc":"422:42:30","nodeType":"YulExpressionStatement","src":"422:42:30"},{"nativeSrc":"473:62:30","nodeType":"YulAssignment","src":"473:62:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"489:9:30","nodeType":"YulIdentifier","src":"489:9:30"},{"arguments":[{"arguments":[{"name":"length","nativeSrc":"508:6:30","nodeType":"YulIdentifier","src":"508:6:30"},{"kind":"number","nativeSrc":"516:2:30","nodeType":"YulLiteral","src":"516:2:30","type":"","value":"31"}],"functionName":{"name":"add","nativeSrc":"504:3:30","nodeType":"YulIdentifier","src":"504:3:30"},"nativeSrc":"504:15:30","nodeType":"YulFunctionCall","src":"504:15:30"},{"arguments":[{"kind":"number","nativeSrc":"525:2:30","nodeType":"YulLiteral","src":"525:2:30","type":"","value":"31"}],"functionName":{"name":"not","nativeSrc":"521:3:30","nodeType":"YulIdentifier","src":"521:3:30"},"nativeSrc":"521:7:30","nodeType":"YulFunctionCall","src":"521:7:30"}],"functionName":{"name":"and","nativeSrc":"500:3:30","nodeType":"YulIdentifier","src":"500:3:30"},"nativeSrc":"500:29:30","nodeType":"YulFunctionCall","src":"500:29:30"}],"functionName":{"name":"add","nativeSrc":"485:3:30","nodeType":"YulIdentifier","src":"485:3:30"},"nativeSrc":"485:45:30","nodeType":"YulFunctionCall","src":"485:45:30"},{"kind":"number","nativeSrc":"532:2:30","nodeType":"YulLiteral","src":"532:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"481:3:30","nodeType":"YulIdentifier","src":"481:3:30"},"nativeSrc":"481:54:30","nodeType":"YulFunctionCall","src":"481:54:30"},"variableNames":[{"name":"tail","nativeSrc":"473:4:30","nodeType":"YulIdentifier","src":"473:4:30"}]}]},"name":"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed","nativeSrc":"14:527:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"104:9:30","nodeType":"YulTypedName","src":"104:9:30","type":""},{"name":"value0","nativeSrc":"115:6:30","nodeType":"YulTypedName","src":"115:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"126:4:30","nodeType":"YulTypedName","src":"126:4:30","type":""}],"src":"14:527:30"},{"body":{"nativeSrc":"595:124:30","nodeType":"YulBlock","src":"595:124:30","statements":[{"nativeSrc":"605:29:30","nodeType":"YulAssignment","src":"605:29:30","value":{"arguments":[{"name":"offset","nativeSrc":"627:6:30","nodeType":"YulIdentifier","src":"627:6:30"}],"functionName":{"name":"calldataload","nativeSrc":"614:12:30","nodeType":"YulIdentifier","src":"614:12:30"},"nativeSrc":"614:20:30","nodeType":"YulFunctionCall","src":"614:20:30"},"variableNames":[{"name":"value","nativeSrc":"605:5:30","nodeType":"YulIdentifier","src":"605:5:30"}]},{"body":{"nativeSrc":"697:16:30","nodeType":"YulBlock","src":"697:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"706:1:30","nodeType":"YulLiteral","src":"706:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"709:1:30","nodeType":"YulLiteral","src":"709:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"699:6:30","nodeType":"YulIdentifier","src":"699:6:30"},"nativeSrc":"699:12:30","nodeType":"YulFunctionCall","src":"699:12:30"},"nativeSrc":"699:12:30","nodeType":"YulExpressionStatement","src":"699:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nativeSrc":"656:5:30","nodeType":"YulIdentifier","src":"656:5:30"},{"arguments":[{"name":"value","nativeSrc":"667:5:30","nodeType":"YulIdentifier","src":"667:5:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"682:3:30","nodeType":"YulLiteral","src":"682:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"687:1:30","nodeType":"YulLiteral","src":"687:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"678:3:30","nodeType":"YulIdentifier","src":"678:3:30"},"nativeSrc":"678:11:30","nodeType":"YulFunctionCall","src":"678:11:30"},{"kind":"number","nativeSrc":"691:1:30","nodeType":"YulLiteral","src":"691:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"674:3:30","nodeType":"YulIdentifier","src":"674:3:30"},"nativeSrc":"674:19:30","nodeType":"YulFunctionCall","src":"674:19:30"}],"functionName":{"name":"and","nativeSrc":"663:3:30","nodeType":"YulIdentifier","src":"663:3:30"},"nativeSrc":"663:31:30","nodeType":"YulFunctionCall","src":"663:31:30"}],"functionName":{"name":"eq","nativeSrc":"653:2:30","nodeType":"YulIdentifier","src":"653:2:30"},"nativeSrc":"653:42:30","nodeType":"YulFunctionCall","src":"653:42:30"}],"functionName":{"name":"iszero","nativeSrc":"646:6:30","nodeType":"YulIdentifier","src":"646:6:30"},"nativeSrc":"646:50:30","nodeType":"YulFunctionCall","src":"646:50:30"},"nativeSrc":"643:70:30","nodeType":"YulIf","src":"643:70:30"}]},"name":"abi_decode_address","nativeSrc":"546:173:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nativeSrc":"574:6:30","nodeType":"YulTypedName","src":"574:6:30","type":""}],"returnVariables":[{"name":"value","nativeSrc":"585:5:30","nodeType":"YulTypedName","src":"585:5:30","type":""}],"src":"546:173:30"},{"body":{"nativeSrc":"811:213:30","nodeType":"YulBlock","src":"811:213:30","statements":[{"body":{"nativeSrc":"857:16:30","nodeType":"YulBlock","src":"857:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"866:1:30","nodeType":"YulLiteral","src":"866:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"869:1:30","nodeType":"YulLiteral","src":"869:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"859:6:30","nodeType":"YulIdentifier","src":"859:6:30"},"nativeSrc":"859:12:30","nodeType":"YulFunctionCall","src":"859:12:30"},"nativeSrc":"859:12:30","nodeType":"YulExpressionStatement","src":"859:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"832:7:30","nodeType":"YulIdentifier","src":"832:7:30"},{"name":"headStart","nativeSrc":"841:9:30","nodeType":"YulIdentifier","src":"841:9:30"}],"functionName":{"name":"sub","nativeSrc":"828:3:30","nodeType":"YulIdentifier","src":"828:3:30"},"nativeSrc":"828:23:30","nodeType":"YulFunctionCall","src":"828:23:30"},{"kind":"number","nativeSrc":"853:2:30","nodeType":"YulLiteral","src":"853:2:30","type":"","value":"64"}],"functionName":{"name":"slt","nativeSrc":"824:3:30","nodeType":"YulIdentifier","src":"824:3:30"},"nativeSrc":"824:32:30","nodeType":"YulFunctionCall","src":"824:32:30"},"nativeSrc":"821:52:30","nodeType":"YulIf","src":"821:52:30"},{"nativeSrc":"882:39:30","nodeType":"YulAssignment","src":"882:39:30","value":{"arguments":[{"name":"headStart","nativeSrc":"911:9:30","nodeType":"YulIdentifier","src":"911:9:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"892:18:30","nodeType":"YulIdentifier","src":"892:18:30"},"nativeSrc":"892:29:30","nodeType":"YulFunctionCall","src":"892:29:30"},"variableNames":[{"name":"value0","nativeSrc":"882:6:30","nodeType":"YulIdentifier","src":"882:6:30"}]},{"nativeSrc":"930:14:30","nodeType":"YulVariableDeclaration","src":"930:14:30","value":{"kind":"number","nativeSrc":"943:1:30","nodeType":"YulLiteral","src":"943:1:30","type":"","value":"0"},"variables":[{"name":"value","nativeSrc":"934:5:30","nodeType":"YulTypedName","src":"934:5:30","type":""}]},{"nativeSrc":"953:41:30","nodeType":"YulAssignment","src":"953:41:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"979:9:30","nodeType":"YulIdentifier","src":"979:9:30"},{"kind":"number","nativeSrc":"990:2:30","nodeType":"YulLiteral","src":"990:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"975:3:30","nodeType":"YulIdentifier","src":"975:3:30"},"nativeSrc":"975:18:30","nodeType":"YulFunctionCall","src":"975:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"962:12:30","nodeType":"YulIdentifier","src":"962:12:30"},"nativeSrc":"962:32:30","nodeType":"YulFunctionCall","src":"962:32:30"},"variableNames":[{"name":"value","nativeSrc":"953:5:30","nodeType":"YulIdentifier","src":"953:5:30"}]},{"nativeSrc":"1003:15:30","nodeType":"YulAssignment","src":"1003:15:30","value":{"name":"value","nativeSrc":"1013:5:30","nodeType":"YulIdentifier","src":"1013:5:30"},"variableNames":[{"name":"value1","nativeSrc":"1003:6:30","nodeType":"YulIdentifier","src":"1003:6:30"}]}]},"name":"abi_decode_tuple_t_addresst_uint256","nativeSrc":"724:300:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"769:9:30","nodeType":"YulTypedName","src":"769:9:30","type":""},{"name":"dataEnd","nativeSrc":"780:7:30","nodeType":"YulTypedName","src":"780:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"792:6:30","nodeType":"YulTypedName","src":"792:6:30","type":""},{"name":"value1","nativeSrc":"800:6:30","nodeType":"YulTypedName","src":"800:6:30","type":""}],"src":"724:300:30"},{"body":{"nativeSrc":"1124:92:30","nodeType":"YulBlock","src":"1124:92:30","statements":[{"nativeSrc":"1134:26:30","nodeType":"YulAssignment","src":"1134:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1146:9:30","nodeType":"YulIdentifier","src":"1146:9:30"},{"kind":"number","nativeSrc":"1157:2:30","nodeType":"YulLiteral","src":"1157:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"1142:3:30","nodeType":"YulIdentifier","src":"1142:3:30"},"nativeSrc":"1142:18:30","nodeType":"YulFunctionCall","src":"1142:18:30"},"variableNames":[{"name":"tail","nativeSrc":"1134:4:30","nodeType":"YulIdentifier","src":"1134:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"1176:9:30","nodeType":"YulIdentifier","src":"1176:9:30"},{"arguments":[{"arguments":[{"name":"value0","nativeSrc":"1201:6:30","nodeType":"YulIdentifier","src":"1201:6:30"}],"functionName":{"name":"iszero","nativeSrc":"1194:6:30","nodeType":"YulIdentifier","src":"1194:6:30"},"nativeSrc":"1194:14:30","nodeType":"YulFunctionCall","src":"1194:14:30"}],"functionName":{"name":"iszero","nativeSrc":"1187:6:30","nodeType":"YulIdentifier","src":"1187:6:30"},"nativeSrc":"1187:22:30","nodeType":"YulFunctionCall","src":"1187:22:30"}],"functionName":{"name":"mstore","nativeSrc":"1169:6:30","nodeType":"YulIdentifier","src":"1169:6:30"},"nativeSrc":"1169:41:30","nodeType":"YulFunctionCall","src":"1169:41:30"},"nativeSrc":"1169:41:30","nodeType":"YulExpressionStatement","src":"1169:41:30"}]},"name":"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed","nativeSrc":"1029:187:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1093:9:30","nodeType":"YulTypedName","src":"1093:9:30","type":""},{"name":"value0","nativeSrc":"1104:6:30","nodeType":"YulTypedName","src":"1104:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"1115:4:30","nodeType":"YulTypedName","src":"1115:4:30","type":""}],"src":"1029:187:30"},{"body":{"nativeSrc":"1322:76:30","nodeType":"YulBlock","src":"1322:76:30","statements":[{"nativeSrc":"1332:26:30","nodeType":"YulAssignment","src":"1332:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1344:9:30","nodeType":"YulIdentifier","src":"1344:9:30"},{"kind":"number","nativeSrc":"1355:2:30","nodeType":"YulLiteral","src":"1355:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"1340:3:30","nodeType":"YulIdentifier","src":"1340:3:30"},"nativeSrc":"1340:18:30","nodeType":"YulFunctionCall","src":"1340:18:30"},"variableNames":[{"name":"tail","nativeSrc":"1332:4:30","nodeType":"YulIdentifier","src":"1332:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"1374:9:30","nodeType":"YulIdentifier","src":"1374:9:30"},{"name":"value0","nativeSrc":"1385:6:30","nodeType":"YulIdentifier","src":"1385:6:30"}],"functionName":{"name":"mstore","nativeSrc":"1367:6:30","nodeType":"YulIdentifier","src":"1367:6:30"},"nativeSrc":"1367:25:30","nodeType":"YulFunctionCall","src":"1367:25:30"},"nativeSrc":"1367:25:30","nodeType":"YulExpressionStatement","src":"1367:25:30"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nativeSrc":"1221:177:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1291:9:30","nodeType":"YulTypedName","src":"1291:9:30","type":""},{"name":"value0","nativeSrc":"1302:6:30","nodeType":"YulTypedName","src":"1302:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"1313:4:30","nodeType":"YulTypedName","src":"1313:4:30","type":""}],"src":"1221:177:30"},{"body":{"nativeSrc":"1507:270:30","nodeType":"YulBlock","src":"1507:270:30","statements":[{"body":{"nativeSrc":"1553:16:30","nodeType":"YulBlock","src":"1553:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1562:1:30","nodeType":"YulLiteral","src":"1562:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"1565:1:30","nodeType":"YulLiteral","src":"1565:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"1555:6:30","nodeType":"YulIdentifier","src":"1555:6:30"},"nativeSrc":"1555:12:30","nodeType":"YulFunctionCall","src":"1555:12:30"},"nativeSrc":"1555:12:30","nodeType":"YulExpressionStatement","src":"1555:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"1528:7:30","nodeType":"YulIdentifier","src":"1528:7:30"},{"name":"headStart","nativeSrc":"1537:9:30","nodeType":"YulIdentifier","src":"1537:9:30"}],"functionName":{"name":"sub","nativeSrc":"1524:3:30","nodeType":"YulIdentifier","src":"1524:3:30"},"nativeSrc":"1524:23:30","nodeType":"YulFunctionCall","src":"1524:23:30"},{"kind":"number","nativeSrc":"1549:2:30","nodeType":"YulLiteral","src":"1549:2:30","type":"","value":"96"}],"functionName":{"name":"slt","nativeSrc":"1520:3:30","nodeType":"YulIdentifier","src":"1520:3:30"},"nativeSrc":"1520:32:30","nodeType":"YulFunctionCall","src":"1520:32:30"},"nativeSrc":"1517:52:30","nodeType":"YulIf","src":"1517:52:30"},{"nativeSrc":"1578:39:30","nodeType":"YulAssignment","src":"1578:39:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1607:9:30","nodeType":"YulIdentifier","src":"1607:9:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"1588:18:30","nodeType":"YulIdentifier","src":"1588:18:30"},"nativeSrc":"1588:29:30","nodeType":"YulFunctionCall","src":"1588:29:30"},"variableNames":[{"name":"value0","nativeSrc":"1578:6:30","nodeType":"YulIdentifier","src":"1578:6:30"}]},{"nativeSrc":"1626:48:30","nodeType":"YulAssignment","src":"1626:48:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1659:9:30","nodeType":"YulIdentifier","src":"1659:9:30"},{"kind":"number","nativeSrc":"1670:2:30","nodeType":"YulLiteral","src":"1670:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"1655:3:30","nodeType":"YulIdentifier","src":"1655:3:30"},"nativeSrc":"1655:18:30","nodeType":"YulFunctionCall","src":"1655:18:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"1636:18:30","nodeType":"YulIdentifier","src":"1636:18:30"},"nativeSrc":"1636:38:30","nodeType":"YulFunctionCall","src":"1636:38:30"},"variableNames":[{"name":"value1","nativeSrc":"1626:6:30","nodeType":"YulIdentifier","src":"1626:6:30"}]},{"nativeSrc":"1683:14:30","nodeType":"YulVariableDeclaration","src":"1683:14:30","value":{"kind":"number","nativeSrc":"1696:1:30","nodeType":"YulLiteral","src":"1696:1:30","type":"","value":"0"},"variables":[{"name":"value","nativeSrc":"1687:5:30","nodeType":"YulTypedName","src":"1687:5:30","type":""}]},{"nativeSrc":"1706:41:30","nodeType":"YulAssignment","src":"1706:41:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"1732:9:30","nodeType":"YulIdentifier","src":"1732:9:30"},{"kind":"number","nativeSrc":"1743:2:30","nodeType":"YulLiteral","src":"1743:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"1728:3:30","nodeType":"YulIdentifier","src":"1728:3:30"},"nativeSrc":"1728:18:30","nodeType":"YulFunctionCall","src":"1728:18:30"}],"functionName":{"name":"calldataload","nativeSrc":"1715:12:30","nodeType":"YulIdentifier","src":"1715:12:30"},"nativeSrc":"1715:32:30","nodeType":"YulFunctionCall","src":"1715:32:30"},"variableNames":[{"name":"value","nativeSrc":"1706:5:30","nodeType":"YulIdentifier","src":"1706:5:30"}]},{"nativeSrc":"1756:15:30","nodeType":"YulAssignment","src":"1756:15:30","value":{"name":"value","nativeSrc":"1766:5:30","nodeType":"YulIdentifier","src":"1766:5:30"},"variableNames":[{"name":"value2","nativeSrc":"1756:6:30","nodeType":"YulIdentifier","src":"1756:6:30"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256","nativeSrc":"1403:374:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1457:9:30","nodeType":"YulTypedName","src":"1457:9:30","type":""},{"name":"dataEnd","nativeSrc":"1468:7:30","nodeType":"YulTypedName","src":"1468:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"1480:6:30","nodeType":"YulTypedName","src":"1480:6:30","type":""},{"name":"value1","nativeSrc":"1488:6:30","nodeType":"YulTypedName","src":"1488:6:30","type":""},{"name":"value2","nativeSrc":"1496:6:30","nodeType":"YulTypedName","src":"1496:6:30","type":""}],"src":"1403:374:30"},{"body":{"nativeSrc":"1879:87:30","nodeType":"YulBlock","src":"1879:87:30","statements":[{"nativeSrc":"1889:26:30","nodeType":"YulAssignment","src":"1889:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"1901:9:30","nodeType":"YulIdentifier","src":"1901:9:30"},{"kind":"number","nativeSrc":"1912:2:30","nodeType":"YulLiteral","src":"1912:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"1897:3:30","nodeType":"YulIdentifier","src":"1897:3:30"},"nativeSrc":"1897:18:30","nodeType":"YulFunctionCall","src":"1897:18:30"},"variableNames":[{"name":"tail","nativeSrc":"1889:4:30","nodeType":"YulIdentifier","src":"1889:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"1931:9:30","nodeType":"YulIdentifier","src":"1931:9:30"},{"arguments":[{"name":"value0","nativeSrc":"1946:6:30","nodeType":"YulIdentifier","src":"1946:6:30"},{"kind":"number","nativeSrc":"1954:4:30","nodeType":"YulLiteral","src":"1954:4:30","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"1942:3:30","nodeType":"YulIdentifier","src":"1942:3:30"},"nativeSrc":"1942:17:30","nodeType":"YulFunctionCall","src":"1942:17:30"}],"functionName":{"name":"mstore","nativeSrc":"1924:6:30","nodeType":"YulIdentifier","src":"1924:6:30"},"nativeSrc":"1924:36:30","nodeType":"YulFunctionCall","src":"1924:36:30"},"nativeSrc":"1924:36:30","nodeType":"YulExpressionStatement","src":"1924:36:30"}]},"name":"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed","nativeSrc":"1782:184:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"1848:9:30","nodeType":"YulTypedName","src":"1848:9:30","type":""},{"name":"value0","nativeSrc":"1859:6:30","nodeType":"YulTypedName","src":"1859:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"1870:4:30","nodeType":"YulTypedName","src":"1870:4:30","type":""}],"src":"1782:184:30"},{"body":{"nativeSrc":"2041:116:30","nodeType":"YulBlock","src":"2041:116:30","statements":[{"body":{"nativeSrc":"2087:16:30","nodeType":"YulBlock","src":"2087:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2096:1:30","nodeType":"YulLiteral","src":"2096:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2099:1:30","nodeType":"YulLiteral","src":"2099:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2089:6:30","nodeType":"YulIdentifier","src":"2089:6:30"},"nativeSrc":"2089:12:30","nodeType":"YulFunctionCall","src":"2089:12:30"},"nativeSrc":"2089:12:30","nodeType":"YulExpressionStatement","src":"2089:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"2062:7:30","nodeType":"YulIdentifier","src":"2062:7:30"},{"name":"headStart","nativeSrc":"2071:9:30","nodeType":"YulIdentifier","src":"2071:9:30"}],"functionName":{"name":"sub","nativeSrc":"2058:3:30","nodeType":"YulIdentifier","src":"2058:3:30"},"nativeSrc":"2058:23:30","nodeType":"YulFunctionCall","src":"2058:23:30"},{"kind":"number","nativeSrc":"2083:2:30","nodeType":"YulLiteral","src":"2083:2:30","type":"","value":"32"}],"functionName":{"name":"slt","nativeSrc":"2054:3:30","nodeType":"YulIdentifier","src":"2054:3:30"},"nativeSrc":"2054:32:30","nodeType":"YulFunctionCall","src":"2054:32:30"},"nativeSrc":"2051:52:30","nodeType":"YulIf","src":"2051:52:30"},{"nativeSrc":"2112:39:30","nodeType":"YulAssignment","src":"2112:39:30","value":{"arguments":[{"name":"headStart","nativeSrc":"2141:9:30","nodeType":"YulIdentifier","src":"2141:9:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"2122:18:30","nodeType":"YulIdentifier","src":"2122:18:30"},"nativeSrc":"2122:29:30","nodeType":"YulFunctionCall","src":"2122:29:30"},"variableNames":[{"name":"value0","nativeSrc":"2112:6:30","nodeType":"YulIdentifier","src":"2112:6:30"}]}]},"name":"abi_decode_tuple_t_address","nativeSrc":"1971:186:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"2007:9:30","nodeType":"YulTypedName","src":"2007:9:30","type":""},{"name":"dataEnd","nativeSrc":"2018:7:30","nodeType":"YulTypedName","src":"2018:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"2030:6:30","nodeType":"YulTypedName","src":"2030:6:30","type":""}],"src":"1971:186:30"},{"body":{"nativeSrc":"2249:173:30","nodeType":"YulBlock","src":"2249:173:30","statements":[{"body":{"nativeSrc":"2295:16:30","nodeType":"YulBlock","src":"2295:16:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2304:1:30","nodeType":"YulLiteral","src":"2304:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2307:1:30","nodeType":"YulLiteral","src":"2307:1:30","type":"","value":"0"}],"functionName":{"name":"revert","nativeSrc":"2297:6:30","nodeType":"YulIdentifier","src":"2297:6:30"},"nativeSrc":"2297:12:30","nodeType":"YulFunctionCall","src":"2297:12:30"},"nativeSrc":"2297:12:30","nodeType":"YulExpressionStatement","src":"2297:12:30"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nativeSrc":"2270:7:30","nodeType":"YulIdentifier","src":"2270:7:30"},{"name":"headStart","nativeSrc":"2279:9:30","nodeType":"YulIdentifier","src":"2279:9:30"}],"functionName":{"name":"sub","nativeSrc":"2266:3:30","nodeType":"YulIdentifier","src":"2266:3:30"},"nativeSrc":"2266:23:30","nodeType":"YulFunctionCall","src":"2266:23:30"},{"kind":"number","nativeSrc":"2291:2:30","nodeType":"YulLiteral","src":"2291:2:30","type":"","value":"64"}],"functionName":{"name":"slt","nativeSrc":"2262:3:30","nodeType":"YulIdentifier","src":"2262:3:30"},"nativeSrc":"2262:32:30","nodeType":"YulFunctionCall","src":"2262:32:30"},"nativeSrc":"2259:52:30","nodeType":"YulIf","src":"2259:52:30"},{"nativeSrc":"2320:39:30","nodeType":"YulAssignment","src":"2320:39:30","value":{"arguments":[{"name":"headStart","nativeSrc":"2349:9:30","nodeType":"YulIdentifier","src":"2349:9:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"2330:18:30","nodeType":"YulIdentifier","src":"2330:18:30"},"nativeSrc":"2330:29:30","nodeType":"YulFunctionCall","src":"2330:29:30"},"variableNames":[{"name":"value0","nativeSrc":"2320:6:30","nodeType":"YulIdentifier","src":"2320:6:30"}]},{"nativeSrc":"2368:48:30","nodeType":"YulAssignment","src":"2368:48:30","value":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"2401:9:30","nodeType":"YulIdentifier","src":"2401:9:30"},{"kind":"number","nativeSrc":"2412:2:30","nodeType":"YulLiteral","src":"2412:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"2397:3:30","nodeType":"YulIdentifier","src":"2397:3:30"},"nativeSrc":"2397:18:30","nodeType":"YulFunctionCall","src":"2397:18:30"}],"functionName":{"name":"abi_decode_address","nativeSrc":"2378:18:30","nodeType":"YulIdentifier","src":"2378:18:30"},"nativeSrc":"2378:38:30","nodeType":"YulFunctionCall","src":"2378:38:30"},"variableNames":[{"name":"value1","nativeSrc":"2368:6:30","nodeType":"YulIdentifier","src":"2368:6:30"}]}]},"name":"abi_decode_tuple_t_addresst_address","nativeSrc":"2162:260:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"2207:9:30","nodeType":"YulTypedName","src":"2207:9:30","type":""},{"name":"dataEnd","nativeSrc":"2218:7:30","nodeType":"YulTypedName","src":"2218:7:30","type":""}],"returnVariables":[{"name":"value0","nativeSrc":"2230:6:30","nodeType":"YulTypedName","src":"2230:6:30","type":""},{"name":"value1","nativeSrc":"2238:6:30","nodeType":"YulTypedName","src":"2238:6:30","type":""}],"src":"2162:260:30"},{"body":{"nativeSrc":"2482:325:30","nodeType":"YulBlock","src":"2482:325:30","statements":[{"nativeSrc":"2492:22:30","nodeType":"YulAssignment","src":"2492:22:30","value":{"arguments":[{"kind":"number","nativeSrc":"2506:1:30","nodeType":"YulLiteral","src":"2506:1:30","type":"","value":"1"},{"name":"data","nativeSrc":"2509:4:30","nodeType":"YulIdentifier","src":"2509:4:30"}],"functionName":{"name":"shr","nativeSrc":"2502:3:30","nodeType":"YulIdentifier","src":"2502:3:30"},"nativeSrc":"2502:12:30","nodeType":"YulFunctionCall","src":"2502:12:30"},"variableNames":[{"name":"length","nativeSrc":"2492:6:30","nodeType":"YulIdentifier","src":"2492:6:30"}]},{"nativeSrc":"2523:38:30","nodeType":"YulVariableDeclaration","src":"2523:38:30","value":{"arguments":[{"name":"data","nativeSrc":"2553:4:30","nodeType":"YulIdentifier","src":"2553:4:30"},{"kind":"number","nativeSrc":"2559:1:30","nodeType":"YulLiteral","src":"2559:1:30","type":"","value":"1"}],"functionName":{"name":"and","nativeSrc":"2549:3:30","nodeType":"YulIdentifier","src":"2549:3:30"},"nativeSrc":"2549:12:30","nodeType":"YulFunctionCall","src":"2549:12:30"},"variables":[{"name":"outOfPlaceEncoding","nativeSrc":"2527:18:30","nodeType":"YulTypedName","src":"2527:18:30","type":""}]},{"body":{"nativeSrc":"2600:31:30","nodeType":"YulBlock","src":"2600:31:30","statements":[{"nativeSrc":"2602:27:30","nodeType":"YulAssignment","src":"2602:27:30","value":{"arguments":[{"name":"length","nativeSrc":"2616:6:30","nodeType":"YulIdentifier","src":"2616:6:30"},{"kind":"number","nativeSrc":"2624:4:30","nodeType":"YulLiteral","src":"2624:4:30","type":"","value":"0x7f"}],"functionName":{"name":"and","nativeSrc":"2612:3:30","nodeType":"YulIdentifier","src":"2612:3:30"},"nativeSrc":"2612:17:30","nodeType":"YulFunctionCall","src":"2612:17:30"},"variableNames":[{"name":"length","nativeSrc":"2602:6:30","nodeType":"YulIdentifier","src":"2602:6:30"}]}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nativeSrc":"2580:18:30","nodeType":"YulIdentifier","src":"2580:18:30"}],"functionName":{"name":"iszero","nativeSrc":"2573:6:30","nodeType":"YulIdentifier","src":"2573:6:30"},"nativeSrc":"2573:26:30","nodeType":"YulFunctionCall","src":"2573:26:30"},"nativeSrc":"2570:61:30","nodeType":"YulIf","src":"2570:61:30"},{"body":{"nativeSrc":"2690:111:30","nodeType":"YulBlock","src":"2690:111:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"2711:1:30","nodeType":"YulLiteral","src":"2711:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"2718:3:30","nodeType":"YulLiteral","src":"2718:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"2723:10:30","nodeType":"YulLiteral","src":"2723:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"2714:3:30","nodeType":"YulIdentifier","src":"2714:3:30"},"nativeSrc":"2714:20:30","nodeType":"YulFunctionCall","src":"2714:20:30"}],"functionName":{"name":"mstore","nativeSrc":"2704:6:30","nodeType":"YulIdentifier","src":"2704:6:30"},"nativeSrc":"2704:31:30","nodeType":"YulFunctionCall","src":"2704:31:30"},"nativeSrc":"2704:31:30","nodeType":"YulExpressionStatement","src":"2704:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"2755:1:30","nodeType":"YulLiteral","src":"2755:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"2758:4:30","nodeType":"YulLiteral","src":"2758:4:30","type":"","value":"0x22"}],"functionName":{"name":"mstore","nativeSrc":"2748:6:30","nodeType":"YulIdentifier","src":"2748:6:30"},"nativeSrc":"2748:15:30","nodeType":"YulFunctionCall","src":"2748:15:30"},"nativeSrc":"2748:15:30","nodeType":"YulExpressionStatement","src":"2748:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"2783:1:30","nodeType":"YulLiteral","src":"2783:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"2786:4:30","nodeType":"YulLiteral","src":"2786:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"2776:6:30","nodeType":"YulIdentifier","src":"2776:6:30"},"nativeSrc":"2776:15:30","nodeType":"YulFunctionCall","src":"2776:15:30"},"nativeSrc":"2776:15:30","nodeType":"YulExpressionStatement","src":"2776:15:30"}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nativeSrc":"2646:18:30","nodeType":"YulIdentifier","src":"2646:18:30"},{"arguments":[{"name":"length","nativeSrc":"2669:6:30","nodeType":"YulIdentifier","src":"2669:6:30"},{"kind":"number","nativeSrc":"2677:2:30","nodeType":"YulLiteral","src":"2677:2:30","type":"","value":"32"}],"functionName":{"name":"lt","nativeSrc":"2666:2:30","nodeType":"YulIdentifier","src":"2666:2:30"},"nativeSrc":"2666:14:30","nodeType":"YulFunctionCall","src":"2666:14:30"}],"functionName":{"name":"eq","nativeSrc":"2643:2:30","nodeType":"YulIdentifier","src":"2643:2:30"},"nativeSrc":"2643:38:30","nodeType":"YulFunctionCall","src":"2643:38:30"},"nativeSrc":"2640:161:30","nodeType":"YulIf","src":"2640:161:30"}]},"name":"extract_byte_array_length","nativeSrc":"2427:380:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nativeSrc":"2462:4:30","nodeType":"YulTypedName","src":"2462:4:30","type":""}],"returnVariables":[{"name":"length","nativeSrc":"2471:6:30","nodeType":"YulTypedName","src":"2471:6:30","type":""}],"src":"2427:380:30"},{"body":{"nativeSrc":"2969:188:30","nodeType":"YulBlock","src":"2969:188:30","statements":[{"nativeSrc":"2979:26:30","nodeType":"YulAssignment","src":"2979:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"2991:9:30","nodeType":"YulIdentifier","src":"2991:9:30"},{"kind":"number","nativeSrc":"3002:2:30","nodeType":"YulLiteral","src":"3002:2:30","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"2987:3:30","nodeType":"YulIdentifier","src":"2987:3:30"},"nativeSrc":"2987:18:30","nodeType":"YulFunctionCall","src":"2987:18:30"},"variableNames":[{"name":"tail","nativeSrc":"2979:4:30","nodeType":"YulIdentifier","src":"2979:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"3021:9:30","nodeType":"YulIdentifier","src":"3021:9:30"},{"arguments":[{"name":"value0","nativeSrc":"3036:6:30","nodeType":"YulIdentifier","src":"3036:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3052:3:30","nodeType":"YulLiteral","src":"3052:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"3057:1:30","nodeType":"YulLiteral","src":"3057:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"3048:3:30","nodeType":"YulIdentifier","src":"3048:3:30"},"nativeSrc":"3048:11:30","nodeType":"YulFunctionCall","src":"3048:11:30"},{"kind":"number","nativeSrc":"3061:1:30","nodeType":"YulLiteral","src":"3061:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"3044:3:30","nodeType":"YulIdentifier","src":"3044:3:30"},"nativeSrc":"3044:19:30","nodeType":"YulFunctionCall","src":"3044:19:30"}],"functionName":{"name":"and","nativeSrc":"3032:3:30","nodeType":"YulIdentifier","src":"3032:3:30"},"nativeSrc":"3032:32:30","nodeType":"YulFunctionCall","src":"3032:32:30"}],"functionName":{"name":"mstore","nativeSrc":"3014:6:30","nodeType":"YulIdentifier","src":"3014:6:30"},"nativeSrc":"3014:51:30","nodeType":"YulFunctionCall","src":"3014:51:30"},"nativeSrc":"3014:51:30","nodeType":"YulExpressionStatement","src":"3014:51:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"3085:9:30","nodeType":"YulIdentifier","src":"3085:9:30"},{"kind":"number","nativeSrc":"3096:2:30","nodeType":"YulLiteral","src":"3096:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3081:3:30","nodeType":"YulIdentifier","src":"3081:3:30"},"nativeSrc":"3081:18:30","nodeType":"YulFunctionCall","src":"3081:18:30"},{"name":"value1","nativeSrc":"3101:6:30","nodeType":"YulIdentifier","src":"3101:6:30"}],"functionName":{"name":"mstore","nativeSrc":"3074:6:30","nodeType":"YulIdentifier","src":"3074:6:30"},"nativeSrc":"3074:34:30","nodeType":"YulFunctionCall","src":"3074:34:30"},"nativeSrc":"3074:34:30","nodeType":"YulExpressionStatement","src":"3074:34:30"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nativeSrc":"3128:9:30","nodeType":"YulIdentifier","src":"3128:9:30"},{"kind":"number","nativeSrc":"3139:2:30","nodeType":"YulLiteral","src":"3139:2:30","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"3124:3:30","nodeType":"YulIdentifier","src":"3124:3:30"},"nativeSrc":"3124:18:30","nodeType":"YulFunctionCall","src":"3124:18:30"},{"name":"value2","nativeSrc":"3144:6:30","nodeType":"YulIdentifier","src":"3144:6:30"}],"functionName":{"name":"mstore","nativeSrc":"3117:6:30","nodeType":"YulIdentifier","src":"3117:6:30"},"nativeSrc":"3117:34:30","nodeType":"YulFunctionCall","src":"3117:34:30"},"nativeSrc":"3117:34:30","nodeType":"YulExpressionStatement","src":"3117:34:30"}]},"name":"abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed","nativeSrc":"2812:345:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"2922:9:30","nodeType":"YulTypedName","src":"2922:9:30","type":""},{"name":"value2","nativeSrc":"2933:6:30","nodeType":"YulTypedName","src":"2933:6:30","type":""},{"name":"value1","nativeSrc":"2941:6:30","nodeType":"YulTypedName","src":"2941:6:30","type":""},{"name":"value0","nativeSrc":"2949:6:30","nodeType":"YulTypedName","src":"2949:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"2960:4:30","nodeType":"YulTypedName","src":"2960:4:30","type":""}],"src":"2812:345:30"},{"body":{"nativeSrc":"3263:102:30","nodeType":"YulBlock","src":"3263:102:30","statements":[{"nativeSrc":"3273:26:30","nodeType":"YulAssignment","src":"3273:26:30","value":{"arguments":[{"name":"headStart","nativeSrc":"3285:9:30","nodeType":"YulIdentifier","src":"3285:9:30"},{"kind":"number","nativeSrc":"3296:2:30","nodeType":"YulLiteral","src":"3296:2:30","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3281:3:30","nodeType":"YulIdentifier","src":"3281:3:30"},"nativeSrc":"3281:18:30","nodeType":"YulFunctionCall","src":"3281:18:30"},"variableNames":[{"name":"tail","nativeSrc":"3273:4:30","nodeType":"YulIdentifier","src":"3273:4:30"}]},{"expression":{"arguments":[{"name":"headStart","nativeSrc":"3315:9:30","nodeType":"YulIdentifier","src":"3315:9:30"},{"arguments":[{"name":"value0","nativeSrc":"3330:6:30","nodeType":"YulIdentifier","src":"3330:6:30"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3346:3:30","nodeType":"YulLiteral","src":"3346:3:30","type":"","value":"160"},{"kind":"number","nativeSrc":"3351:1:30","nodeType":"YulLiteral","src":"3351:1:30","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"3342:3:30","nodeType":"YulIdentifier","src":"3342:3:30"},"nativeSrc":"3342:11:30","nodeType":"YulFunctionCall","src":"3342:11:30"},{"kind":"number","nativeSrc":"3355:1:30","nodeType":"YulLiteral","src":"3355:1:30","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"3338:3:30","nodeType":"YulIdentifier","src":"3338:3:30"},"nativeSrc":"3338:19:30","nodeType":"YulFunctionCall","src":"3338:19:30"}],"functionName":{"name":"and","nativeSrc":"3326:3:30","nodeType":"YulIdentifier","src":"3326:3:30"},"nativeSrc":"3326:32:30","nodeType":"YulFunctionCall","src":"3326:32:30"}],"functionName":{"name":"mstore","nativeSrc":"3308:6:30","nodeType":"YulIdentifier","src":"3308:6:30"},"nativeSrc":"3308:51:30","nodeType":"YulFunctionCall","src":"3308:51:30"},"nativeSrc":"3308:51:30","nodeType":"YulExpressionStatement","src":"3308:51:30"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nativeSrc":"3162:203:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nativeSrc":"3232:9:30","nodeType":"YulTypedName","src":"3232:9:30","type":""},{"name":"value0","nativeSrc":"3243:6:30","nodeType":"YulTypedName","src":"3243:6:30","type":""}],"returnVariables":[{"name":"tail","nativeSrc":"3254:4:30","nodeType":"YulTypedName","src":"3254:4:30","type":""}],"src":"3162:203:30"},{"body":{"nativeSrc":"3418:174:30","nodeType":"YulBlock","src":"3418:174:30","statements":[{"nativeSrc":"3428:16:30","nodeType":"YulAssignment","src":"3428:16:30","value":{"arguments":[{"name":"x","nativeSrc":"3439:1:30","nodeType":"YulIdentifier","src":"3439:1:30"},{"name":"y","nativeSrc":"3442:1:30","nodeType":"YulIdentifier","src":"3442:1:30"}],"functionName":{"name":"add","nativeSrc":"3435:3:30","nodeType":"YulIdentifier","src":"3435:3:30"},"nativeSrc":"3435:9:30","nodeType":"YulFunctionCall","src":"3435:9:30"},"variableNames":[{"name":"sum","nativeSrc":"3428:3:30","nodeType":"YulIdentifier","src":"3428:3:30"}]},{"body":{"nativeSrc":"3475:111:30","nodeType":"YulBlock","src":"3475:111:30","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3496:1:30","nodeType":"YulLiteral","src":"3496:1:30","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"3503:3:30","nodeType":"YulLiteral","src":"3503:3:30","type":"","value":"224"},{"kind":"number","nativeSrc":"3508:10:30","nodeType":"YulLiteral","src":"3508:10:30","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nativeSrc":"3499:3:30","nodeType":"YulIdentifier","src":"3499:3:30"},"nativeSrc":"3499:20:30","nodeType":"YulFunctionCall","src":"3499:20:30"}],"functionName":{"name":"mstore","nativeSrc":"3489:6:30","nodeType":"YulIdentifier","src":"3489:6:30"},"nativeSrc":"3489:31:30","nodeType":"YulFunctionCall","src":"3489:31:30"},"nativeSrc":"3489:31:30","nodeType":"YulExpressionStatement","src":"3489:31:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3540:1:30","nodeType":"YulLiteral","src":"3540:1:30","type":"","value":"4"},{"kind":"number","nativeSrc":"3543:4:30","nodeType":"YulLiteral","src":"3543:4:30","type":"","value":"0x11"}],"functionName":{"name":"mstore","nativeSrc":"3533:6:30","nodeType":"YulIdentifier","src":"3533:6:30"},"nativeSrc":"3533:15:30","nodeType":"YulFunctionCall","src":"3533:15:30"},"nativeSrc":"3533:15:30","nodeType":"YulExpressionStatement","src":"3533:15:30"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3568:1:30","nodeType":"YulLiteral","src":"3568:1:30","type":"","value":"0"},{"kind":"number","nativeSrc":"3571:4:30","nodeType":"YulLiteral","src":"3571:4:30","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"3561:6:30","nodeType":"YulIdentifier","src":"3561:6:30"},"nativeSrc":"3561:15:30","nodeType":"YulFunctionCall","src":"3561:15:30"},"nativeSrc":"3561:15:30","nodeType":"YulExpressionStatement","src":"3561:15:30"}]},"condition":{"arguments":[{"name":"x","nativeSrc":"3459:1:30","nodeType":"YulIdentifier","src":"3459:1:30"},{"name":"sum","nativeSrc":"3462:3:30","nodeType":"YulIdentifier","src":"3462:3:30"}],"functionName":{"name":"gt","nativeSrc":"3456:2:30","nodeType":"YulIdentifier","src":"3456:2:30"},"nativeSrc":"3456:10:30","nodeType":"YulFunctionCall","src":"3456:10:30"},"nativeSrc":"3453:133:30","nodeType":"YulIf","src":"3453:133:30"}]},"name":"checked_add_t_uint256","nativeSrc":"3370:222:30","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nativeSrc":"3401:1:30","nodeType":"YulTypedName","src":"3401:1:30","type":""},{"name":"y","nativeSrc":"3404:1:30","nodeType":"YulTypedName","src":"3404:1:30","type":""}],"returnVariables":[{"name":"sum","nativeSrc":"3410:3:30","nodeType":"YulTypedName","src":"3410:3:30","type":""}],"src":"3370:222:30"}]},"contents":"{\n    { }\n    function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        mstore(headStart, 32)\n        let length := mload(value0)\n        mstore(add(headStart, 32), length)\n        let i := 0\n        for { } lt(i, length) { i := add(i, 32) }\n        {\n            mstore(add(add(headStart, i), 64), mload(add(add(value0, i), 32)))\n        }\n        mstore(add(add(headStart, length), 64), 0)\n        tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n    }\n    function abi_decode_address(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        let value := 0\n        value := calldataload(add(headStart, 32))\n        value1 := value\n    }\n    function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, iszero(iszero(value0)))\n    }\n    function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        value1 := abi_decode_address(add(headStart, 32))\n        let value := 0\n        value := calldataload(add(headStart, 64))\n        value2 := value\n    }\n    function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xff))\n    }\n    function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n    }\n    function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        value1 := abi_decode_address(add(headStart, 32))\n    }\n    function extract_byte_array_length(data) -> length\n    {\n        length := shr(1, data)\n        let outOfPlaceEncoding := and(data, 1)\n        if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n        if eq(outOfPlaceEncoding, lt(length, 32))\n        {\n            mstore(0, shl(224, 0x4e487b71))\n            mstore(4, 0x22)\n            revert(0, 0x24)\n        }\n    }\n    function abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed(headStart, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 96)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n        mstore(add(headStart, 32), value1)\n        mstore(add(headStart, 64), value2)\n    }\n    function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n    }\n    function checked_add_t_uint256(x, y) -> sum\n    {\n        sum := add(x, y)\n        if gt(x, sum)\n        {\n            mstore(0, shl(224, 0x4e487b71))\n            mstore(4, 0x11)\n            revert(0, 0x24)\n        }\n    }\n}","id":30,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{"8300":[{"length":32,"start":261}]},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146100fe57806370a082311461012f57806395d89b4114610158578063a9059cbb14610160578063dd62ed3e1461017357600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100eb575b600080fd5b6100a06101ac565b6040516100ad919061058c565b60405180910390f35b6100c96100c43660046105f6565b61023e565b60405190151581526020016100ad565b6002545b6040519081526020016100ad565b6100c96100f9366004610620565b610258565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100ad565b6100dd61013d36600461065d565b6001600160a01b031660009081526020819052604090205490565b6100a061027c565b6100c961016e3660046105f6565b61028b565b6100dd61018136600461067f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101bb906106b2565b80601f01602080910402602001604051908101604052809291908181526020018280546101e7906106b2565b80156102345780601f1061020957610100808354040283529160200191610234565b820191906000526020600020905b81548152906001019060200180831161021757829003601f168201915b5050505050905090565b60003361024c818585610299565b60019150505b92915050565b6000336102668582856102ab565b61027185858561032e565b506001949350505050565b6060600480546101bb906106b2565b60003361024c81858561032e565b6102a6838383600161038d565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610328578181101561031957604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b6103288484848403600061038d565b50505050565b6001600160a01b03831661035857604051634b637e8f60e11b815260006004820152602401610310565b6001600160a01b0382166103825760405163ec442f0560e01b815260006004820152602401610310565b6102a6838383610462565b6001600160a01b0384166103b75760405163e602df0560e01b815260006004820152602401610310565b6001600160a01b0383166103e157604051634a1406b160e11b815260006004820152602401610310565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561032857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161045491815260200190565b60405180910390a350505050565b6001600160a01b03831661048d57806002600082825461048291906106ec565b909155506104ff9050565b6001600160a01b038316600090815260208190526040902054818110156104e05760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610310565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661051b5760028054829003905561053a565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161057f91815260200190565b60405180910390a3505050565b602081526000825180602084015260005b818110156105ba576020818601810151604086840101520161059d565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146105f157600080fd5b919050565b6000806040838503121561060957600080fd5b610612836105da565b946020939093013593505050565b60008060006060848603121561063557600080fd5b61063e846105da565b925061064c602085016105da565b929592945050506040919091013590565b60006020828403121561066f57600080fd5b610678826105da565b9392505050565b6000806040838503121561069257600080fd5b61069b836105da565b91506106a9602084016105da565b90509250929050565b600181811c908216806106c657607f821691505b6020821081036106e657634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561025257634e487b7160e01b600052601160045260246000fdfea26469706673582212203bced9cf5e982332d3c8f9ecc0a5eaf983b609a6b4d2fa5ff8bb2daa25c8c30864736f6c634300081c0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0xFE JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x12F JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x158 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x160 JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x173 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xEB JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x1AC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x58C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x5F6 JUMP JUMPDEST PUSH2 0x23E JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH1 0x2 SLOAD JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xF9 CALLDATASIZE PUSH1 0x4 PUSH2 0x620 JUMP JUMPDEST PUSH2 0x258 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF PUSH32 0x0 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xDD PUSH2 0x13D CALLDATASIZE PUSH1 0x4 PUSH2 0x65D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x27C JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x16E CALLDATASIZE PUSH1 0x4 PUSH2 0x5F6 JUMP JUMPDEST PUSH2 0x28B JUMP JUMPDEST PUSH2 0xDD PUSH2 0x181 CALLDATASIZE PUSH1 0x4 PUSH2 0x67F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x3 DUP1 SLOAD PUSH2 0x1BB SWAP1 PUSH2 0x6B2 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 0x1E7 SWAP1 PUSH2 0x6B2 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x234 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x209 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x234 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 0x217 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x24C DUP2 DUP6 DUP6 PUSH2 0x299 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x266 DUP6 DUP3 DUP6 PUSH2 0x2AB JUMP JUMPDEST PUSH2 0x271 DUP6 DUP6 DUP6 PUSH2 0x32E JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x4 DUP1 SLOAD PUSH2 0x1BB SWAP1 PUSH2 0x6B2 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x24C DUP2 DUP6 DUP6 PUSH2 0x32E JUMP JUMPDEST PUSH2 0x2A6 DUP4 DUP4 DUP4 PUSH1 0x1 PUSH2 0x38D JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP7 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD PUSH1 0x0 NOT DUP2 EQ PUSH2 0x328 JUMPI DUP2 DUP2 LT ISZERO PUSH2 0x319 JUMPI PUSH1 0x40 MLOAD PUSH4 0x7DC7A0D9 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x44 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x328 DUP5 DUP5 DUP5 DUP5 SUB PUSH1 0x0 PUSH2 0x38D JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x358 JUMPI PUSH1 0x40 MLOAD PUSH4 0x4B637E8F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x0 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x310 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x382 JUMPI PUSH1 0x40 MLOAD PUSH4 0xEC442F05 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x0 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x310 JUMP JUMPDEST PUSH2 0x2A6 DUP4 DUP4 DUP4 PUSH2 0x462 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x3B7 JUMPI PUSH1 0x40 MLOAD PUSH4 0xE602DF05 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x0 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x310 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x3E1 JUMPI PUSH1 0x40 MLOAD PUSH4 0x4A1406B1 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x0 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 ADD PUSH2 0x310 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP8 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 DUP3 SWAP1 SSTORE DUP1 ISZERO PUSH2 0x328 JUMPI DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 DUP5 PUSH1 0x40 MLOAD PUSH2 0x454 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x48D JUMPI DUP1 PUSH1 0x2 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x482 SWAP2 SWAP1 PUSH2 0x6EC JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP PUSH2 0x4FF SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 DUP2 LT ISZERO PUSH2 0x4E0 JUMPI PUSH1 0x40 MLOAD PUSH4 0x391434E3 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x44 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x64 ADD PUSH2 0x310 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 DUP3 SWAP1 SUB SWAP1 SSTORE JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x51B JUMPI PUSH1 0x2 DUP1 SLOAD DUP3 SWAP1 SUB SWAP1 SSTORE PUSH2 0x53A JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP3 ADD SWAP1 SSTORE JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP4 PUSH1 0x40 MLOAD PUSH2 0x57F SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x5BA JUMPI PUSH1 0x20 DUP2 DUP7 ADD DUP2 ADD MLOAD PUSH1 0x40 DUP7 DUP5 ADD ADD MSTORE ADD PUSH2 0x59D JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x40 DUP3 DUP6 ADD ADD MSTORE PUSH1 0x40 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND DUP5 ADD ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x5F1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x609 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x612 DUP4 PUSH2 0x5DA JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x635 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x63E DUP5 PUSH2 0x5DA JUMP JUMPDEST SWAP3 POP PUSH2 0x64C PUSH1 0x20 DUP6 ADD PUSH2 0x5DA JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x66F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x678 DUP3 PUSH2 0x5DA JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x692 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x69B DUP4 PUSH2 0x5DA JUMP JUMPDEST SWAP2 POP PUSH2 0x6A9 PUSH1 0x20 DUP5 ADD PUSH2 0x5DA JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x6C6 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x6E6 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 DUP3 ADD DUP1 DUP3 GT ISZERO PUSH2 0x252 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 EXTCODESIZE 0xCE 0xD9 0xCF MCOPY SWAP9 0x23 ORIGIN 0xD3 0xC8 0xF9 0xEC 0xC0 0xA5 0xEA 0xF9 DUP4 0xB6 MULMOD 0xA6 0xB4 0xD2 STATICCALL PUSH0 0xF8 0xBB 0x2D 0xAA 0x25 0xC8 0xC3 ADDMOD PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"133:431:28:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1779:89:6;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3998:186;;;;;;:::i;:::-;;:::i;:::-;;;1194:14:30;;1187:22;1169:41;;1157:2;1142:18;3998:186:6;1029:187:30;2849:97:6;2927:12;;2849:97;;;1367:25:30;;;1355:2;1340:18;2849:97:6;1221:177:30;4776:244:6;;;;;;:::i;:::-;;:::i;470:92:28:-;;;1954:4:30;548:9:28;1942:17:30;1924:36;;1912:2;1897:18;470:92:28;1782:184:30;3004:116:6;;;;;;:::i;:::-;-1:-1:-1;;;;;3095:18:6;3069:7;3095:18;;;;;;;;;;;;3004:116;1981:93;;;:::i;3315:178::-;;;;;;:::i;:::-;;:::i;3551:140::-;;;;;;:::i;:::-;-1:-1:-1;;;;;3657:18:6;;;3631:7;3657:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3551:140;1779:89;1824:13;1856:5;1849:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1779:89;:::o;3998:186::-;4071:4;735:10:11;4125:31:6;735:10:11;4141:7:6;4150:5;4125:8;:31::i;:::-;4173:4;4166:11;;;3998:186;;;;;:::o;4776:244::-;4863:4;735:10:11;4919:37:6;4935:4;735:10:11;4950:5:6;4919:15;:37::i;:::-;4966:26;4976:4;4982:2;4986:5;4966:9;:26::i;:::-;-1:-1:-1;5009:4:6;;4776:244;-1:-1:-1;;;;4776:244:6:o;1981:93::-;2028:13;2060:7;2053:14;;;;;:::i;3315:178::-;3384:4;735:10:11;3438:27:6;735:10:11;3455:2:6;3459:5;3438:9;:27::i;8726:128::-;8810:37;8819:5;8826:7;8835:5;8842:4;8810:8;:37::i;:::-;8726:128;;;:::o;10415:477::-;-1:-1:-1;;;;;3657:18:6;;;10514:24;3657:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;10580:37:6;;10576:310;;10656:5;10637:16;:24;10633:130;;;10688:60;;-1:-1:-1;;;10688:60:6;;-1:-1:-1;;;;;3032:32:30;;10688:60:6;;;3014:51:30;3081:18;;;3074:34;;;3124:18;;;3117:34;;;2987:18;;10688:60:6;;;;;;;;10633:130;10804:57;10813:5;10820:7;10848:5;10829:16;:24;10855:5;10804:8;:57::i;:::-;10504:388;10415:477;;;:::o;5393:300::-;-1:-1:-1;;;;;5476:18:6;;5472:86;;5517:30;;-1:-1:-1;;;5517:30:6;;5544:1;5517:30;;;3308:51:30;3281:18;;5517:30:6;3162:203:30;5472:86:6;-1:-1:-1;;;;;5571:16:6;;5567:86;;5610:32;;-1:-1:-1;;;5610:32:6;;5639:1;5610:32;;;3308:51:30;3281:18;;5610:32:6;3162:203:30;5567:86:6;5662:24;5670:4;5676:2;5680:5;5662:7;:24::i;9701:432::-;-1:-1:-1;;;;;9813:19:6;;9809:89;;9855:32;;-1:-1:-1;;;9855:32:6;;9884:1;9855:32;;;3308:51:30;3281:18;;9855:32:6;3162:203:30;9809:89:6;-1:-1:-1;;;;;9911:21:6;;9907:90;;9955:31;;-1:-1:-1;;;9955:31:6;;9983:1;9955:31;;;3308:51:30;3281:18;;9955:31:6;3162:203:30;9907:90:6;-1:-1:-1;;;;;10006:18:6;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;10051:76;;;;10101:7;-1:-1:-1;;;;;10085:31:6;10094:5;-1:-1:-1;;;;;10085:31:6;;10110:5;10085:31;;;;1367:25:30;;1355:2;1340:18;;1221:177;10085:31:6;;;;;;;;9701:432;;;;:::o;6008:1107::-;-1:-1:-1;;;;;6097:18:6;;6093:540;;6249:5;6233:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;6093:540:6;;-1:-1:-1;6093:540:6;;-1:-1:-1;;;;;6307:15:6;;6285:19;6307:15;;;;;;;;;;;6340:19;;;6336:115;;;6386:50;;-1:-1:-1;;;6386:50:6;;-1:-1:-1;;;;;3032:32:30;;6386:50:6;;;3014:51:30;3081:18;;;3074:34;;;3124:18;;;3117:34;;;2987:18;;6386:50:6;2812:345:30;6336:115:6;-1:-1:-1;;;;;6571:15:6;;:9;:15;;;;;;;;;;6589:19;;;;6571:37;;6093:540;-1:-1:-1;;;;;6647:16:6;;6643:425;;6810:12;:21;;;;;;;6643:425;;;-1:-1:-1;;;;;7021:13:6;;:9;:13;;;;;;;;;;:22;;;;;;6643:425;7098:2;-1:-1:-1;;;;;7083:25:6;7092:4;-1:-1:-1;;;;;7083:25:6;;7102:5;7083:25;;;;1367::30;;1355:2;1340:18;;1221:177;7083:25:6;;;;;;;;6008:1107;;;:::o;14:527:30:-;163:2;152:9;145:21;126:4;195:6;189:13;238:6;233:2;222:9;218:18;211:34;263:1;273:140;287:6;284:1;281:13;273:140;;;398:2;382:14;;;378:23;;372:30;367:2;348:17;;;344:26;337:66;302:10;273:140;;;277:3;462:1;457:2;448:6;437:9;433:22;429:31;422:42;532:2;525;521:7;516:2;508:6;504:15;500:29;489:9;485:45;481:54;473:62;;;14:527;;;;:::o;546:173::-;614:20;;-1:-1:-1;;;;;663:31:30;;653:42;;643:70;;709:1;706;699:12;643:70;546:173;;;:::o;724:300::-;792:6;800;853:2;841:9;832:7;828:23;824:32;821:52;;;869:1;866;859:12;821:52;892:29;911:9;892:29;:::i;:::-;882:39;990:2;975:18;;;;962:32;;-1:-1:-1;;;724:300:30:o;1403:374::-;1480:6;1488;1496;1549:2;1537:9;1528:7;1524:23;1520:32;1517:52;;;1565:1;1562;1555:12;1517:52;1588:29;1607:9;1588:29;:::i;:::-;1578:39;;1636:38;1670:2;1659:9;1655:18;1636:38;:::i;:::-;1403:374;;1626:48;;-1:-1:-1;;;1743:2:30;1728:18;;;;1715:32;;1403:374::o;1971:186::-;2030:6;2083:2;2071:9;2062:7;2058:23;2054:32;2051:52;;;2099:1;2096;2089:12;2051:52;2122:29;2141:9;2122:29;:::i;:::-;2112:39;1971:186;-1:-1:-1;;;1971:186:30:o;2162:260::-;2230:6;2238;2291:2;2279:9;2270:7;2266:23;2262:32;2259:52;;;2307:1;2304;2297:12;2259:52;2330:29;2349:9;2330:29;:::i;:::-;2320:39;;2378:38;2412:2;2401:9;2397:18;2378:38;:::i;:::-;2368:48;;2162:260;;;;;:::o;2427:380::-;2506:1;2502:12;;;;2549;;;2570:61;;2624:4;2616:6;2612:17;2602:27;;2570:61;2677:2;2669:6;2666:14;2646:18;2643:38;2640:161;;2723:10;2718:3;2714:20;2711:1;2704:31;2758:4;2755:1;2748:15;2786:4;2783:1;2776:15;2640:161;;2427:380;;;:::o;3370:222::-;3435:9;;;3456:10;;;3453:133;;;3508:10;3503:3;3499:20;3496:1;3489:31;3543:4;3540:1;3533:15;3571:4;3568:1;3561:15"},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","name()":"06fdde03","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"initialSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"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\":\"value\",\"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\":[],\"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\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`\\u2019s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}]},\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `value` 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 default value returned by this function, unless it's 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}.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. 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 `value`. - the caller must have allowance for ``from``'s tokens of at least `value`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/mocks/TestCurrency.sol\":\"TestCurrency\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09\",\"dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"contracts/mocks/TestCurrency.sol\":{\"keccak256\":\"0x1cd00e9b3a52cd1a2650b3b9b2262bbc848b1c811369df24352896e6254c9725\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://152d0c9ab34a64e282bf8491e6be522405fcb4eb335b190ecc13fee6541fb12a\",\"dweb:/ipfs/QmdDWmPYDD3ZuhTRmbN4wpTeMJzZ345dVQHW3yyBkwyFQH\"]}},\"version\":1}"}},"solidity-bytes-utils/contracts/BytesLib.sol":{"BytesLib":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220de3688aa9b61263b9db74329af5e7fe8dfdd7379da3528d90fbf14d8bc15b0d064736f6c634300081c0033","opcodes":"PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL 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 0xDE CALLDATASIZE DUP9 0xAA SWAP12 PUSH2 0x263B SWAP14 0xB7 NUMBER 0x29 0xAF MCOPY PUSH32 0xE8DFDD7379DA3528D90FBF14D8BC15B0D064736F6C634300081C003300000000 ","sourceMap":"370:18904:29:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;370:18904:29;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220de3688aa9b61263b9db74329af5e7fe8dfdd7379da3528d90fbf14d8bc15b0d064736f6c634300081c0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDE CALLDATASIZE DUP9 0xAA SWAP12 PUSH2 0x263B SWAP14 0xB7 NUMBER 0x29 0xAF MCOPY PUSH32 0xE8DFDD7379DA3528D90FBF14D8BC15B0D064736F6C634300081C003300000000 ","sourceMap":"370:18904:29:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solidity-bytes-utils/contracts/BytesLib.sol\":\"BytesLib\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"solidity-bytes-utils/contracts/BytesLib.sol\":{\"keccak256\":\"0xf75784dfc94ea43668eb195d5690a1dde1b6eda62017e73a3899721583821d29\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://ca16cef8b94f3ac75d376489a668618f6c4595a906b939d674a883f4bf426014\",\"dweb:/ipfs/QmceGU7qhyFLSejaj6i4dEtMzXDCSF3aYDtW1UeKjXQaRn\"]}},\"version\":1}"}}}}}