{"id":"f8f901eb1b8912529864feaafc590ed3","_format":"hh-sol-build-info-1","solcVersion":"0.8.15","solcLongVersion":"0.8.15+commit.e14f2714","input":{"language":"Solidity","sources":{"@openzeppelin/contracts/access/AccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IAccessControl.sol\";\nimport \"../utils/Context.sol\";\nimport \"../utils/Strings.sol\";\nimport \"../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 * ```\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 * ```\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.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n    struct RoleData {\n        mapping(address => bool) members;\n        bytes32 adminRole;\n    }\n\n    mapping(bytes32 => 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 a standardized message including the required role.\n     *\n     * The format of the revert reason is given by the following regular expression:\n     *\n     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n     *\n     * _Available since v4.1._\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 override returns (bool) {\n        return _roles[role].members[account];\n    }\n\n    /**\n     * @dev Revert with a standard message if `_msgSender()` is missing `role`.\n     * Overriding this function changes the behavior of the {onlyRole} modifier.\n     *\n     * Format of the revert message is described in {_checkRole}.\n     *\n     * _Available since v4.6._\n     */\n    function _checkRole(bytes32 role) internal view virtual {\n        _checkRole(role, _msgSender());\n    }\n\n    /**\n     * @dev Revert with a standard message if `account` is missing `role`.\n     *\n     * The format of the revert reason is given by the following regular expression:\n     *\n     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n     */\n    function _checkRole(bytes32 role, address account) internal view virtual {\n        if (!hasRole(role, account)) {\n            revert(\n                string(\n                    abi.encodePacked(\n                        \"AccessControl: account \",\n                        Strings.toHexString(account),\n                        \" is missing role \",\n                        Strings.toHexString(uint256(role), 32)\n                    )\n                )\n            );\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 override 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 override 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 override 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 `account`.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function renounceRole(bytes32 role, address account) public virtual override {\n        require(account == _msgSender(), \"AccessControl: can only renounce roles for self\");\n\n        _revokeRole(role, account);\n    }\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event. Note that unlike {grantRole}, this function doesn't perform any\n     * checks on the calling account.\n     *\n     * May emit a {RoleGranted} event.\n     *\n     * [WARNING]\n     * ====\n     * This function should only be called from the constructor when setting\n     * up the initial roles for the system.\n     *\n     * Using this function in any other way is effectively circumventing the admin\n     * system imposed by {AccessControl}.\n     * ====\n     *\n     * NOTE: This function is deprecated in favor of {_grantRole}.\n     */\n    function _setupRole(bytes32 role, address account) internal virtual {\n        _grantRole(role, account);\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 Grants `role` to `account`.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function _grantRole(bytes32 role, address account) internal virtual {\n        if (!hasRole(role, account)) {\n            _roles[role].members[account] = true;\n            emit RoleGranted(role, account, _msgSender());\n        }\n    }\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function _revokeRole(bytes32 role, address account) internal virtual {\n        if (hasRole(role, account)) {\n            _roles[role].members[account] = false;\n            emit RoleRevoked(role, account, _msgSender());\n        }\n    }\n}\n"},"@openzeppelin/contracts/access/AccessControlEnumerable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IAccessControlEnumerable.sol\";\nimport \"./AccessControl.sol\";\nimport \"../utils/structs/EnumerableSet.sol\";\n\n/**\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\n */\nabstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {\n    using EnumerableSet for EnumerableSet.AddressSet;\n\n    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n        return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev Returns one of the accounts that have `role`. `index` must be a\n     * value between 0 and {getRoleMemberCount}, non-inclusive.\n     *\n     * Role bearers are not sorted in any particular way, and their ordering may\n     * change at any point.\n     *\n     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n     * you perform all queries on the same block. See the following\n     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n     * for more information.\n     */\n    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {\n        return _roleMembers[role].at(index);\n    }\n\n    /**\n     * @dev Returns the number of accounts that have `role`. Can be used\n     * together with {getRoleMember} to enumerate all bearers of a role.\n     */\n    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {\n        return _roleMembers[role].length();\n    }\n\n    /**\n     * @dev Overload {_grantRole} to track enumerable memberships\n     */\n    function _grantRole(bytes32 role, address account) internal virtual override {\n        super._grantRole(role, account);\n        _roleMembers[role].add(account);\n    }\n\n    /**\n     * @dev Overload {_revokeRole} to track enumerable memberships\n     */\n    function _revokeRole(bytes32 role, address account) internal virtual override {\n        super._revokeRole(role, account);\n        _roleMembers[role].remove(account);\n    }\n}\n"},"@openzeppelin/contracts/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev External interface of AccessControl declared to support ERC165 detection.\n */\ninterface IAccessControl {\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     * _Available since v3.1._\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, an admin role\n     * bearer except when using {AccessControl-_setupRole}.\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 `account`.\n     */\n    function renounceRole(bytes32 role, address account) external;\n}\n"},"@openzeppelin/contracts/access/IAccessControlEnumerable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IAccessControl.sol\";\n\n/**\n * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.\n */\ninterface IAccessControlEnumerable is IAccessControl {\n    /**\n     * @dev Returns one of the accounts that have `role`. `index` must be a\n     * value between 0 and {getRoleMemberCount}, non-inclusive.\n     *\n     * Role bearers are not sorted in any particular way, and their ordering may\n     * change at any point.\n     *\n     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n     * you perform all queries on the same block. See the following\n     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n     * for more information.\n     */\n    function getRoleMember(bytes32 role, uint256 index) external view returns (address);\n\n    /**\n     * @dev Returns the number of accounts that have `role`. Can be used\n     * together with {getRoleMember} to enumerate all bearers of a role.\n     */\n    function getRoleMemberCount(bytes32 role) external view returns (uint256);\n}\n"},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\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 amount of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves `amount` 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 amount) 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 `amount` as the allowance of `spender` over the 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 amount) external returns (bool);\n\n    /**\n     * @dev Moves `amount` tokens from `from` to `to` using the\n     * allowance mechanism. `amount` 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(\n        address from,\n        address to,\n        uint256 amount\n    ) external returns (bool);\n}\n"},"@openzeppelin/contracts/token/ERC721/ERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IERC721.sol\";\nimport \"./IERC721Receiver.sol\";\nimport \"./extensions/IERC721Metadata.sol\";\nimport \"../../utils/Address.sol\";\nimport \"../../utils/Context.sol\";\nimport \"../../utils/Strings.sol\";\nimport \"../../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including\n * the Metadata extension, but not including the Enumerable extension, which is available separately as\n * {ERC721Enumerable}.\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata {\n    using Address for address;\n    using Strings for uint256;\n\n    // Token name\n    string private _name;\n\n    // Token symbol\n    string private _symbol;\n\n    // Mapping from token ID to owner address\n    mapping(uint256 => address) private _owners;\n\n    // Mapping owner address to token count\n    mapping(address => uint256) private _balances;\n\n    // Mapping from token ID to approved address\n    mapping(uint256 => address) private _tokenApprovals;\n\n    // Mapping from owner to operator approvals\n    mapping(address => mapping(address => bool)) private _operatorApprovals;\n\n    /**\n     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n        return\n            interfaceId == type(IERC721).interfaceId ||\n            interfaceId == type(IERC721Metadata).interfaceId ||\n            super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev See {IERC721-balanceOf}.\n     */\n    function balanceOf(address owner) public view virtual override returns (uint256) {\n        require(owner != address(0), \"ERC721: address zero is not a valid owner\");\n        return _balances[owner];\n    }\n\n    /**\n     * @dev See {IERC721-ownerOf}.\n     */\n    function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n        address owner = _ownerOf(tokenId);\n        require(owner != address(0), \"ERC721: invalid token ID\");\n        return owner;\n    }\n\n    /**\n     * @dev See {IERC721Metadata-name}.\n     */\n    function name() public view virtual override returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev See {IERC721Metadata-symbol}.\n     */\n    function symbol() public view virtual override returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev See {IERC721Metadata-tokenURI}.\n     */\n    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n        _requireMinted(tokenId);\n\n        string memory baseURI = _baseURI();\n        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : \"\";\n    }\n\n    /**\n     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each\n     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty\n     * by default, can be overridden in child contracts.\n     */\n    function _baseURI() internal view virtual returns (string memory) {\n        return \"\";\n    }\n\n    /**\n     * @dev See {IERC721-approve}.\n     */\n    function approve(address to, uint256 tokenId) public virtual override {\n        address owner = ERC721.ownerOf(tokenId);\n        require(to != owner, \"ERC721: approval to current owner\");\n\n        require(\n            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),\n            \"ERC721: approve caller is not token owner or approved for all\"\n        );\n\n        _approve(to, tokenId);\n    }\n\n    /**\n     * @dev See {IERC721-getApproved}.\n     */\n    function getApproved(uint256 tokenId) public view virtual override returns (address) {\n        _requireMinted(tokenId);\n\n        return _tokenApprovals[tokenId];\n    }\n\n    /**\n     * @dev See {IERC721-setApprovalForAll}.\n     */\n    function setApprovalForAll(address operator, bool approved) public virtual override {\n        _setApprovalForAll(_msgSender(), operator, approved);\n    }\n\n    /**\n     * @dev See {IERC721-isApprovedForAll}.\n     */\n    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n        return _operatorApprovals[owner][operator];\n    }\n\n    /**\n     * @dev See {IERC721-transferFrom}.\n     */\n    function transferFrom(\n        address from,\n        address to,\n        uint256 tokenId\n    ) public virtual override {\n        //solhint-disable-next-line max-line-length\n        require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: caller is not token owner or approved\");\n\n        _transfer(from, to, tokenId);\n    }\n\n    /**\n     * @dev See {IERC721-safeTransferFrom}.\n     */\n    function safeTransferFrom(\n        address from,\n        address to,\n        uint256 tokenId\n    ) public virtual override {\n        safeTransferFrom(from, to, tokenId, \"\");\n    }\n\n    /**\n     * @dev See {IERC721-safeTransferFrom}.\n     */\n    function safeTransferFrom(\n        address from,\n        address to,\n        uint256 tokenId,\n        bytes memory data\n    ) public virtual override {\n        require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: caller is not token owner or approved\");\n        _safeTransfer(from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n     *\n     * `data` is additional data, it has no specified format and it is sent in call to `to`.\n     *\n     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n     * implement alternative mechanisms to perform token transfer, such as signature-based.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeTransfer(\n        address from,\n        address to,\n        uint256 tokenId,\n        bytes memory data\n    ) internal virtual {\n        _transfer(from, to, tokenId);\n        require(_checkOnERC721Received(from, to, tokenId, data), \"ERC721: transfer to non ERC721Receiver implementer\");\n    }\n\n    /**\n     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist\n     */\n    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {\n        return _owners[tokenId];\n    }\n\n    /**\n     * @dev Returns whether `tokenId` exists.\n     *\n     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n     *\n     * Tokens start existing when they are minted (`_mint`),\n     * and stop existing when they are burned (`_burn`).\n     */\n    function _exists(uint256 tokenId) internal view virtual returns (bool) {\n        return _ownerOf(tokenId) != address(0);\n    }\n\n    /**\n     * @dev Returns whether `spender` is allowed to manage `tokenId`.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n        address owner = ERC721.ownerOf(tokenId);\n        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);\n    }\n\n    /**\n     * @dev Safely mints `tokenId` and transfers it to `to`.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeMint(address to, uint256 tokenId) internal virtual {\n        _safeMint(to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeMint(\n        address to,\n        uint256 tokenId,\n        bytes memory data\n    ) internal virtual {\n        _mint(to, tokenId);\n        require(\n            _checkOnERC721Received(address(0), to, tokenId, data),\n            \"ERC721: transfer to non ERC721Receiver implementer\"\n        );\n    }\n\n    /**\n     * @dev Mints `tokenId` and transfers it to `to`.\n     *\n     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - `to` cannot be the zero address.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _mint(address to, uint256 tokenId) internal virtual {\n        require(to != address(0), \"ERC721: mint to the zero address\");\n        require(!_exists(tokenId), \"ERC721: token already minted\");\n\n        _beforeTokenTransfer(address(0), to, tokenId, 1);\n\n        // Check that tokenId was not minted by `_beforeTokenTransfer` hook\n        require(!_exists(tokenId), \"ERC721: token already minted\");\n\n        unchecked {\n            // Will not overflow unless all 2**256 token ids are minted to the same owner.\n            // Given that tokens are minted one by one, it is impossible in practice that\n            // this ever happens. Might change if we allow batch minting.\n            // The ERC fails to describe this case.\n            _balances[to] += 1;\n        }\n\n        _owners[tokenId] = to;\n\n        emit Transfer(address(0), to, tokenId);\n\n        _afterTokenTransfer(address(0), to, tokenId, 1);\n    }\n\n    /**\n     * @dev Destroys `tokenId`.\n     * The approval is cleared when the token is burned.\n     * This is an internal function that does not check if the sender is authorized to operate on the token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _burn(uint256 tokenId) internal virtual {\n        address owner = ERC721.ownerOf(tokenId);\n\n        _beforeTokenTransfer(owner, address(0), tokenId, 1);\n\n        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook\n        owner = ERC721.ownerOf(tokenId);\n\n        // Clear approvals\n        delete _tokenApprovals[tokenId];\n\n        unchecked {\n            // Cannot overflow, as that would require more tokens to be burned/transferred\n            // out than the owner initially received through minting and transferring in.\n            _balances[owner] -= 1;\n        }\n        delete _owners[tokenId];\n\n        emit Transfer(owner, address(0), tokenId);\n\n        _afterTokenTransfer(owner, address(0), tokenId, 1);\n    }\n\n    /**\n     * @dev Transfers `tokenId` from `from` to `to`.\n     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _transfer(\n        address from,\n        address to,\n        uint256 tokenId\n    ) internal virtual {\n        require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer from incorrect owner\");\n        require(to != address(0), \"ERC721: transfer to the zero address\");\n\n        _beforeTokenTransfer(from, to, tokenId, 1);\n\n        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook\n        require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer from incorrect owner\");\n\n        // Clear approvals from the previous owner\n        delete _tokenApprovals[tokenId];\n\n        unchecked {\n            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:\n            // `from`'s balance is the number of token held, which is at least one before the current\n            // transfer.\n            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require\n            // all 2**256 token ids to be minted, which in practice is impossible.\n            _balances[from] -= 1;\n            _balances[to] += 1;\n        }\n        _owners[tokenId] = to;\n\n        emit Transfer(from, to, tokenId);\n\n        _afterTokenTransfer(from, to, tokenId, 1);\n    }\n\n    /**\n     * @dev Approve `to` to operate on `tokenId`\n     *\n     * Emits an {Approval} event.\n     */\n    function _approve(address to, uint256 tokenId) internal virtual {\n        _tokenApprovals[tokenId] = to;\n        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);\n    }\n\n    /**\n     * @dev Approve `operator` to operate on all of `owner` tokens\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function _setApprovalForAll(\n        address owner,\n        address operator,\n        bool approved\n    ) internal virtual {\n        require(owner != operator, \"ERC721: approve to caller\");\n        _operatorApprovals[owner][operator] = approved;\n        emit ApprovalForAll(owner, operator, approved);\n    }\n\n    /**\n     * @dev Reverts if the `tokenId` has not been minted yet.\n     */\n    function _requireMinted(uint256 tokenId) internal view virtual {\n        require(_exists(tokenId), \"ERC721: invalid token ID\");\n    }\n\n    /**\n     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n     * The call is not executed if the target address is not a contract.\n     *\n     * @param from address representing the previous owner of the given token ID\n     * @param to target address that will receive the tokens\n     * @param tokenId uint256 ID of the token to be transferred\n     * @param data bytes optional data to send along with the call\n     * @return bool whether the call correctly returned the expected magic value\n     */\n    function _checkOnERC721Received(\n        address from,\n        address to,\n        uint256 tokenId,\n        bytes memory data\n    ) private returns (bool) {\n        if (to.isContract()) {\n            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {\n                return retval == IERC721Receiver.onERC721Received.selector;\n            } catch (bytes memory reason) {\n                if (reason.length == 0) {\n                    revert(\"ERC721: transfer to non ERC721Receiver implementer\");\n                } else {\n                    /// @solidity memory-safe-assembly\n                    assembly {\n                        revert(add(32, reason), mload(reason))\n                    }\n                }\n            }\n        } else {\n            return true;\n        }\n    }\n\n    /**\n     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is\n     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.\n     *\n     * Calling conditions:\n     *\n     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.\n     * - When `from` is zero, the tokens will be minted for `to`.\n     * - When `to` is zero, ``from``'s tokens will be burned.\n     * - `from` and `to` are never both zero.\n     * - `batchSize` is non-zero.\n     *\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n     */\n    function _beforeTokenTransfer(\n        address from,\n        address to,\n        uint256, /* firstTokenId */\n        uint256 batchSize\n    ) internal virtual {\n        if (batchSize > 1) {\n            if (from != address(0)) {\n                _balances[from] -= batchSize;\n            }\n            if (to != address(0)) {\n                _balances[to] += batchSize;\n            }\n        }\n    }\n\n    /**\n     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is\n     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.\n     *\n     * Calling conditions:\n     *\n     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.\n     * - When `from` is zero, the tokens were minted for `to`.\n     * - When `to` is zero, ``from``'s tokens were burned.\n     * - `from` and `to` are never both zero.\n     * - `batchSize` is non-zero.\n     *\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n     */\n    function _afterTokenTransfer(\n        address from,\n        address to,\n        uint256 firstTokenId,\n        uint256 batchSize\n    ) internal virtual {}\n}\n"},"@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../ERC721.sol\";\nimport \"./IERC721Enumerable.sol\";\n\n/**\n * @dev This implements an optional extension of {ERC721} defined in the EIP that adds\n * enumerability of all the token ids in the contract as well as all token ids owned by each\n * account.\n */\nabstract contract ERC721Enumerable is ERC721, IERC721Enumerable {\n    // Mapping from owner to list of owned token IDs\n    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;\n\n    // Mapping from token ID to index of the owner tokens list\n    mapping(uint256 => uint256) private _ownedTokensIndex;\n\n    // Array with all token ids, used for enumeration\n    uint256[] private _allTokens;\n\n    // Mapping from token id to position in the allTokens array\n    mapping(uint256 => uint256) private _allTokensIndex;\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {\n        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n     */\n    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n        require(index < ERC721.balanceOf(owner), \"ERC721Enumerable: owner index out of bounds\");\n        return _ownedTokens[owner][index];\n    }\n\n    /**\n     * @dev See {IERC721Enumerable-totalSupply}.\n     */\n    function totalSupply() public view virtual override returns (uint256) {\n        return _allTokens.length;\n    }\n\n    /**\n     * @dev See {IERC721Enumerable-tokenByIndex}.\n     */\n    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n        require(index < ERC721Enumerable.totalSupply(), \"ERC721Enumerable: global index out of bounds\");\n        return _allTokens[index];\n    }\n\n    /**\n     * @dev See {ERC721-_beforeTokenTransfer}.\n     */\n    function _beforeTokenTransfer(\n        address from,\n        address to,\n        uint256 firstTokenId,\n        uint256 batchSize\n    ) internal virtual override {\n        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);\n\n        if (batchSize > 1) {\n            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.\n            revert(\"ERC721Enumerable: consecutive transfers not supported\");\n        }\n\n        uint256 tokenId = firstTokenId;\n\n        if (from == address(0)) {\n            _addTokenToAllTokensEnumeration(tokenId);\n        } else if (from != to) {\n            _removeTokenFromOwnerEnumeration(from, tokenId);\n        }\n        if (to == address(0)) {\n            _removeTokenFromAllTokensEnumeration(tokenId);\n        } else if (to != from) {\n            _addTokenToOwnerEnumeration(to, tokenId);\n        }\n    }\n\n    /**\n     * @dev Private function to add a token to this extension's ownership-tracking data structures.\n     * @param to address representing the new owner of the given token ID\n     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address\n     */\n    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {\n        uint256 length = ERC721.balanceOf(to);\n        _ownedTokens[to][length] = tokenId;\n        _ownedTokensIndex[tokenId] = length;\n    }\n\n    /**\n     * @dev Private function to add a token to this extension's token tracking data structures.\n     * @param tokenId uint256 ID of the token to be added to the tokens list\n     */\n    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {\n        _allTokensIndex[tokenId] = _allTokens.length;\n        _allTokens.push(tokenId);\n    }\n\n    /**\n     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that\n     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for\n     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).\n     * This has O(1) time complexity, but alters the order of the _ownedTokens array.\n     * @param from address representing the previous owner of the given token ID\n     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address\n     */\n    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {\n        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and\n        // then delete the last slot (swap and pop).\n\n        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;\n        uint256 tokenIndex = _ownedTokensIndex[tokenId];\n\n        // When the token to delete is the last token, the swap operation is unnecessary\n        if (tokenIndex != lastTokenIndex) {\n            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];\n\n            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token\n            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index\n        }\n\n        // This also deletes the contents at the last position of the array\n        delete _ownedTokensIndex[tokenId];\n        delete _ownedTokens[from][lastTokenIndex];\n    }\n\n    /**\n     * @dev Private function to remove a token from this extension's token tracking data structures.\n     * This has O(1) time complexity, but alters the order of the _allTokens array.\n     * @param tokenId uint256 ID of the token to be removed from the tokens list\n     */\n    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {\n        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and\n        // then delete the last slot (swap and pop).\n\n        uint256 lastTokenIndex = _allTokens.length - 1;\n        uint256 tokenIndex = _allTokensIndex[tokenId];\n\n        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so\n        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding\n        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)\n        uint256 lastTokenId = _allTokens[lastTokenIndex];\n\n        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token\n        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index\n\n        // This also deletes the contents at the last position of the array\n        delete _allTokensIndex[tokenId];\n        _allTokens.pop();\n    }\n}\n"},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n    /**\n     * @dev Returns the total amount of tokens stored by the contract.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n     */\n    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);\n\n    /**\n     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n     * Use along with {totalSupply} to enumerate all tokens.\n     */\n    function tokenByIndex(uint256 index) external view returns (uint256);\n}\n"},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n    /**\n     * @dev Returns the token collection name.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the token collection symbol.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n     */\n    function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n"},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(\n        address from,\n        address to,\n        uint256 tokenId,\n        bytes calldata data\n    ) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(\n        address from,\n        address to,\n        uint256 tokenId\n    ) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(\n        address from,\n        address to,\n        uint256 tokenId\n    ) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the caller.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool _approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n"},"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"},"@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\n\npragma solidity ^0.8.1;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev Returns true if `account` is a contract.\n     *\n     * [IMPORTANT]\n     * ====\n     * It is unsafe to assume that an address for which this function returns\n     * false is an externally-owned account (EOA) and not a contract.\n     *\n     * Among others, `isContract` will return false for the following\n     * types of addresses:\n     *\n     *  - an externally-owned account\n     *  - a contract in construction\n     *  - an address where a contract will be created\n     *  - an address where a contract lived, but was destroyed\n     * ====\n     *\n     * [IMPORTANT]\n     * ====\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\n     *\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n     * constructor.\n     * ====\n     */\n    function isContract(address account) internal view returns (bool) {\n        // This method relies on extcodesize/address.code.length, which returns 0\n        // for contracts in construction, since the code is only stored at the end\n        // of the constructor execution.\n\n        return account.code.length > 0;\n    }\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://diligence.consensys.net/posts/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.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        require(success, \"Address: unable to send value, recipient may have reverted\");\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, it is bubbled up by this\n     * function (like regular Solidity function calls).\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     * _Available since v3.1._\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0, \"Address: low-level call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n     * `errorMessage` as a fallback revert reason when `target` reverts.\n     *\n     * _Available since v3.1._\n     */\n    function functionCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0, errorMessage);\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     * _Available since v3.1._\n     */\n    function functionCallWithValue(\n        address target,\n        bytes memory data,\n        uint256 value\n    ) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\n     *\n     * _Available since v3.1._\n     */\n    function functionCallWithValue(\n        address target,\n        bytes memory data,\n        uint256 value,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        require(address(this).balance >= value, \"Address: insufficient balance for call\");\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     *\n     * _Available since v3.3._\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        return functionStaticCall(target, data, \"Address: low-level static call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a static call.\n     *\n     * _Available since v3.3._\n     */\n    function functionStaticCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n     *\n     * _Available since v4.8._\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        if (success) {\n            if (returndata.length == 0) {\n                // only check isContract if the call was successful and the return data is empty\n                // otherwise we already know that it was a contract\n                require(isContract(target), \"Address: call to non-contract\");\n            }\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n     * revert reason or using the provided one.\n     *\n     * _Available since v4.3._\n     */\n    function verifyCallResult(\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal pure returns (bytes memory) {\n        if (success) {\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    function _revert(bytes memory returndata, string memory errorMessage) 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            /// @solidity memory-safe-assembly\n            assembly {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert(errorMessage);\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\npragma solidity ^0.8.0;\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"},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 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 *\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\n */\nabstract contract ERC165 is IERC165 {\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override 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 v4.4.1 (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\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[EIP 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 v4.8.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Down, // Toward negative infinity\n        Up, // Toward infinity\n        Zero // Toward zero\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 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 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 up instead\n     * of rounding down.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b - 1) / b can overflow on addition, so we distribute.\n        return a == 0 ? 0 : (a - 1) / b + 1;\n    }\n\n    /**\n     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)\n     * with further edits by Uniswap Labs also under MIT license.\n     */\n    function mulDiv(\n        uint256 x,\n        uint256 y,\n        uint256 denominator\n    ) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\n            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2^256 + prod0.\n            uint256 prod0; // 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                prod0 := mul(x, y)\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                return prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2^256. Also prevents denominator == 0.\n            require(denominator > prod1);\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. Always >= 1.\n            // See https://cs.stackexchange.com/q/138556/92363.\n\n            // Does not overflow because the denominator cannot be zero at this stage in the function.\n            uint256 twos = denominator & (~denominator + 1);\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^256 / 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^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\n            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv = 1 mod 2^4.\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 works\n            // in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2^8\n            inverse *= 2 - denominator * inverse; // inverse mod 2^16\n            inverse *= 2 - denominator * inverse; // inverse mod 2^32\n            inverse *= 2 - denominator * inverse; // inverse mod 2^64\n            inverse *= 2 - denominator * inverse; // inverse mod 2^128\n            inverse *= 2 - denominator * inverse; // inverse mod 2^256\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^256. Since the preconditions guarantee that the outcome is\n            // less than 2^256, 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     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(\n        uint256 x,\n        uint256 y,\n        uint256 denominator,\n        Rounding rounding\n    ) internal pure returns (uint256) {\n        uint256 result = mulDiv(x, y, denominator);\n        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {\n            result += 1;\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.\n     *\n     * Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11).\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        if (a == 0) {\n            return 0;\n        }\n\n        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\n        //\n        // We know that the \"msb\" (most significant bit) of our target number `a` is a power of 2 such that we have\n        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\n        //\n        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\n        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\n        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\n        //\n        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\n        uint256 result = 1 << (log2(a) >> 1);\n\n        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\n        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\n        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\n        // into the expected uint128 result.\n        unchecked {\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            return min(result, a / result);\n        }\n    }\n\n    /**\n     * @notice 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2, rounded down, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 128;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 64;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 32;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 16;\n            }\n            if (value >> 8 > 0) {\n                value >>= 8;\n                result += 8;\n            }\n            if (value >> 4 > 0) {\n                value >>= 4;\n                result += 4;\n            }\n            if (value >> 2 > 0) {\n                value >>= 2;\n                result += 2;\n            }\n            if (value >> 1 > 0) {\n                result += 1;\n            }\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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10, rounded down, of a positive value.\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 + (rounding == Rounding.Up && 10**result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256, rounded down, of a positive value.\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        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 16;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 8;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 4;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 2;\n            }\n            if (value >> 8 > 0) {\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 log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./math/Math.sol\";\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n    bytes16 private constant _SYMBOLS = \"0123456789abcdef\";\n    uint8 private constant _ADDRESS_LENGTH = 20;\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n     */\n    function toString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            uint256 length = Math.log10(value) + 1;\n            string memory buffer = new string(length);\n            uint256 ptr;\n            /// @solidity memory-safe-assembly\n            assembly {\n                ptr := add(buffer, add(32, length))\n            }\n            while (true) {\n                ptr--;\n                /// @solidity memory-safe-assembly\n                assembly {\n                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))\n                }\n                value /= 10;\n                if (value == 0) break;\n            }\n            return buffer;\n        }\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            return toHexString(value, Math.log256(value) + 1);\n        }\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n     */\n    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\n        bytes memory buffer = new bytes(2 * length + 2);\n        buffer[0] = \"0\";\n        buffer[1] = \"x\";\n        for (uint256 i = 2 * length + 1; i > 1; --i) {\n            buffer[i] = _SYMBOLS[value & 0xf];\n            value >>= 4;\n        }\n        require(value == 0, \"Strings: hex length insufficient\");\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\n     */\n    function toHexString(address addr) internal pure returns (string memory) {\n        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\n    }\n}\n"},"@openzeppelin/contracts/utils/structs/EnumerableSet.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)\n// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n *     // Add the library methods\n *     using EnumerableSet for EnumerableSet.AddressSet;\n *\n *     // Declare a set state variable\n *     EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n *\n * [WARNING]\n * ====\n * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure\n * unusable.\n * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\n *\n * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an\n * array of EnumerableSet.\n * ====\n */\nlibrary EnumerableSet {\n    // To implement this library for multiple types with as little code\n    // repetition as possible, we write it in terms of a generic Set type with\n    // bytes32 values.\n    // The Set implementation uses private functions, and user-facing\n    // implementations (such as AddressSet) are just wrappers around the\n    // underlying Set.\n    // This means that we can only create new EnumerableSets for types that fit\n    // in bytes32.\n\n    struct Set {\n        // Storage of set values\n        bytes32[] _values;\n        // Position of the value in the `values` array, plus 1 because index 0\n        // means a value is not in the set.\n        mapping(bytes32 => uint256) _indexes;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function _add(Set storage set, bytes32 value) private returns (bool) {\n        if (!_contains(set, value)) {\n            set._values.push(value);\n            // The value is stored at length-1, but we add 1 to all indexes\n            // and use 0 as a sentinel value\n            set._indexes[value] = set._values.length;\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function _remove(Set storage set, bytes32 value) private returns (bool) {\n        // We read and store the value's index to prevent multiple reads from the same storage slot\n        uint256 valueIndex = set._indexes[value];\n\n        if (valueIndex != 0) {\n            // Equivalent to contains(set, value)\n            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n            // the array, and then remove the last element (sometimes called as 'swap and pop').\n            // This modifies the order of the array, as noted in {at}.\n\n            uint256 toDeleteIndex = valueIndex - 1;\n            uint256 lastIndex = set._values.length - 1;\n\n            if (lastIndex != toDeleteIndex) {\n                bytes32 lastValue = set._values[lastIndex];\n\n                // Move the last value to the index where the value to delete is\n                set._values[toDeleteIndex] = lastValue;\n                // Update the index for the moved value\n                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex\n            }\n\n            // Delete the slot where the moved value was stored\n            set._values.pop();\n\n            // Delete the index for the deleted slot\n            delete set._indexes[value];\n\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function _contains(Set storage set, bytes32 value) private view returns (bool) {\n        return set._indexes[value] != 0;\n    }\n\n    /**\n     * @dev Returns the number of values on the set. O(1).\n     */\n    function _length(Set storage set) private view returns (uint256) {\n        return set._values.length;\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function _at(Set storage set, uint256 index) private view returns (bytes32) {\n        return set._values[index];\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function _values(Set storage set) private view returns (bytes32[] memory) {\n        return set._values;\n    }\n\n    // Bytes32Set\n\n    struct Bytes32Set {\n        Set _inner;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n        return _add(set._inner, value);\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n        return _remove(set._inner, value);\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n        return _contains(set._inner, value);\n    }\n\n    /**\n     * @dev Returns the number of values in the set. O(1).\n     */\n    function length(Bytes32Set storage set) internal view returns (uint256) {\n        return _length(set._inner);\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n        return _at(set._inner, index);\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {\n        bytes32[] memory store = _values(set._inner);\n        bytes32[] memory result;\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            result := store\n        }\n\n        return result;\n    }\n\n    // AddressSet\n\n    struct AddressSet {\n        Set _inner;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function add(AddressSet storage set, address value) internal returns (bool) {\n        return _add(set._inner, bytes32(uint256(uint160(value))));\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function remove(AddressSet storage set, address value) internal returns (bool) {\n        return _remove(set._inner, bytes32(uint256(uint160(value))));\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function contains(AddressSet storage set, address value) internal view returns (bool) {\n        return _contains(set._inner, bytes32(uint256(uint160(value))));\n    }\n\n    /**\n     * @dev Returns the number of values in the set. O(1).\n     */\n    function length(AddressSet storage set) internal view returns (uint256) {\n        return _length(set._inner);\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function at(AddressSet storage set, uint256 index) internal view returns (address) {\n        return address(uint160(uint256(_at(set._inner, index))));\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function values(AddressSet storage set) internal view returns (address[] memory) {\n        bytes32[] memory store = _values(set._inner);\n        address[] memory result;\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            result := store\n        }\n\n        return result;\n    }\n\n    // UintSet\n\n    struct UintSet {\n        Set _inner;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function add(UintSet storage set, uint256 value) internal returns (bool) {\n        return _add(set._inner, bytes32(value));\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function remove(UintSet storage set, uint256 value) internal returns (bool) {\n        return _remove(set._inner, bytes32(value));\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n        return _contains(set._inner, bytes32(value));\n    }\n\n    /**\n     * @dev Returns the number of values in the set. O(1).\n     */\n    function length(UintSet storage set) internal view returns (uint256) {\n        return _length(set._inner);\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n        return uint256(_at(set._inner, index));\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function values(UintSet storage set) internal view returns (uint256[] memory) {\n        bytes32[] memory store = _values(set._inner);\n        uint256[] memory result;\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            result := store\n        }\n\n        return result;\n    }\n}\n"},"contracts/staking-positions/GenericErrors.sol":{"content":"// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.7;\r\n\r\ninterface GenericErrors {\r\n    error Locked();\r\n    error TooLate();\r\n    error TooEarly();\r\n    error Overflow();\r\n    error NoEffect();\r\n    error NullInput();\r\n    error Underflow();\r\n    error InvalidType();\r\n    error OutOfBounds();\r\n    error InvalidToken();\r\n    error HighSlippage();\r\n    error InvalidAmount();\r\n    error FailedTransfer();\r\n    error NonExistentToken();\r\n    error UnprivilegedCaller();\r\n    error InsufficientBalance();\r\n    error MismatchedArrayLengths();\r\n}\r\n"},"contracts/staking-positions/PangolinStakingPositions.sol":{"content":"// SPDX-License-Identifier: GPLv3\r\npragma solidity 0.8.15;\r\n\r\nimport \"@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol\";\r\nimport \"./PangolinStakingPositionsFunding.sol\";\r\n\r\ninterface ITokenMetadata {\r\n    function tokenURI(PangolinStakingPositions pangolinStakingPositions, uint256 tokenId)\r\n        external\r\n        view\r\n        returns (string memory);\r\n}\r\n\r\n/**\r\n * @title Pangolin Staking Positions\r\n * @author shung for Pangolin\r\n *\r\n * @notice Pangolin Staking Positions is a unique staking solution. It utilizes the Sunshine and\r\n *         Rainbows (SAR) algorithm, which distributes rewards as a function of balance and staking\r\n *         duration. See README and the Proofs paper to see how SAR works. In this implementation,\r\n *         the staking token is the same as the reward token, and staking information is recorded\r\n *         as positions where each position is an NFT.\r\n *\r\n * @dev SAR Algorithm:\r\n\r\n *      SAR allocates a user (or position) the following proportion of any given rewards:\r\n *\r\n *      `(balance_position / balance_total) * (stakingDuration_position /\r\n *      stakingDuration_average)`.\r\n *\r\n *      Staking duration is how long a token has been staked. The staking duration of a token\r\n *      starts when it is staked, restarts when its rewards are harvested, and ends when it is\r\n *      withdrawn.\r\n *\r\n *      We can refer to `balance * stakingDuration` as `value`. Based on this definition, the\r\n *      formula above can be simplified to `value_position / value_total`.\r\n *\r\n *      Although this looks similar to just `balance_position / balance_total`, unlike balance, the\r\n *      value of every position is constantly changing as a function of time. Therefore, we cannot\r\n *      simply use the standard staking algorithm (i.e.: Synthetix StakingRewards) for calculating\r\n *      rewards of users in constant time. A new algorithm had to be invented for this reason.\r\n *\r\n *      To understand the algorithm, one must read the Proofs. Then\r\n *      `_getRewardSummationsIncrementations()` and `_earned()` functions will make sense.\r\n *\r\n * @dev Assumptions (not checked to be true):\r\n *      - `rewardsToken` reverts or returns false on invalid transfers,\r\n *      - `block.timestamp * totalRewardAdded` fits 128 bits,\r\n *      - `block.timestamp` is never greater than `2**40 - 1 - 2**32`.\r\n *\r\n * @dev Limitations (checked to be true):\r\n *      - `totalStaked` fits 96 bits.\r\n *      - `totalRewardAdded` fits 96 bits.\r\n */\r\ncontract PangolinStakingPositions is ERC721Enumerable, PangolinStakingPositionsFunding {\r\n    struct ValueVariables {\r\n        // The amount of tokens staked in the position or the contract.\r\n        uint96 balance;\r\n        // The sum of each staked token in the position or contract multiplied by its update time.\r\n        uint160 sumOfEntryTimes;\r\n    }\r\n\r\n    struct RewardSummations {\r\n        // Imaginary rewards accrued by a position with `lastUpdate == 0 && balance == 1`. At the\r\n        // end of each interval, the ideal position has a staking duration of `block.timestamp`.\r\n        // Since its balance is one, its “value” equals its staking duration. So, its value\r\n        // is also `block.timestamp` , and for a given reward at an interval, the ideal position\r\n        // accrues `reward * block.timestamp / totalValue`. Refer to `Ideal Position` section of\r\n        // the Proofs on why we need this variable.\r\n        uint256 idealPosition;\r\n        // The sum of `reward/totalValue` of each interval. `totalValue` is the sum of all staked\r\n        // tokens multiplied by their respective staking durations.  On every update, the\r\n        // `rewardPerValue` is incremented by rewards given during that interval divided by the\r\n        // total value, which is average staking duration multiplied by total staked. See Proofs.\r\n        uint256 rewardPerValue;\r\n    }\r\n\r\n    struct Position {\r\n        // Two variables that determine the share of rewards a position receives.\r\n        ValueVariables valueVariables;\r\n        // Summations snapshotted on the last update of the position.\r\n        RewardSummations rewardSummationsPaid;\r\n        // The sum of values (`balance * (block.timestamp - lastUpdate)`) of previous intervals. It\r\n        // is only updated accordingly when more tokens are staked into an existing position. Other\r\n        // calls than staking (i.e.: harvest and withdraw) must reset the value to zero. Correctly\r\n        // updating this property allows for the staking duration of the existing balance of the\r\n        // position to not restart when staking more tokens to the position. So it allows combining\r\n        // together multiple positions with different staking durations. Refer to the `Combined\r\n        // Positions` section of the Proofs on why this works.\r\n        uint160 previousValues;\r\n        // The last time the position was updated.\r\n        uint48 lastUpdate;\r\n        // The last time the position’s staking duration was restarted (withdraw or harvest).\r\n        // This is used to prevent frontrunning when buying the NFT. It is not part of core algo.\r\n        uint48 lastDevaluation;\r\n    }\r\n\r\n    /** @notice The mapping of position identifiers to their properties. */\r\n    mapping(uint256 => Position) public positions;\r\n\r\n    /** @notice The contract that constructs and returns tokenURIs for position tokens. */\r\n    ITokenMetadata public tokenMetadata;\r\n\r\n    /** @notice The struct holding the totalStaked and sumOfEntryTimes. */\r\n    ValueVariables public totalValueVariables;\r\n\r\n    /** @notice The variables that govern the reward distribution. */\r\n    RewardSummations public rewardSummationsStored;\r\n\r\n    /**\r\n     * @notice The duration during NFT approvals are ignored after an update that devalues it.\r\n     * @dev This is a hacky solution to prevent frontrunning NFT sales. This is a general issue\r\n     *      with all NFTs with mutable state, because NFT marketplaces do not have a standard\r\n     *      method for “slippage control”. This allows a malicious actor utilizing MEV to\r\n     *      devalue the NFT token in the same block as someone buying the NFT. For example, if a\r\n     *      position has 5 PNG tokens, and someone makes a transaction to buy its NFT, the owner\r\n     *      of the position can withdraw all PNG in the position, resulting in buyer to buy a\r\n     *      position with 0 balance instead of 5. By using `approvalPauseDuration` we simply\r\n     *      disable transfers made by non-owners (i.e.: marketplace contract) for a period.\r\n     */\r\n    uint256 public approvalPauseDuration = 2 hours;\r\n\r\n    /**\r\n     * @notice The total number of positions ever opened.\r\n     * @dev This is simply a counter for determining the next position identifier.\r\n     */\r\n    uint256 private _positionsLength;\r\n\r\n    /** @notice The fixed denominator used for storing summations. */\r\n    uint256 private constant PRECISION = 2**128;\r\n\r\n    /** @notice The maximum approvalPauseDuration that can be set by the admin. */\r\n    uint256 private constant MAX_APPROVAL_PAUSE_DURATION = 2 days;\r\n\r\n    /** @notice The event emitted when withdrawing or harvesting from a position. */\r\n    event Withdrawn(uint256 indexed positionId, uint256 indexed amount, uint256 indexed reward);\r\n\r\n    /** @notice The event emitted when staking to, minting, or compounding a position. */\r\n    event Staked(uint256 indexed positionId, uint256 indexed amount, uint256 indexed reward);\r\n\r\n    /** @notice The event emitted when admin changes `approvalPauseDuration`. */\r\n    event PauseDurationSet(uint256 newApprovalPauseDuration);\r\n\r\n    /** @notice The event emitted when admin changes `tokenMetadata`. */\r\n    event TokenMetadataSet(ITokenMetadata newTokenMetadata);\r\n\r\n    modifier onlyOwner(uint256 positionId) {\r\n        if (ownerOf(positionId) != msg.sender) revert UnprivilegedCaller();\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @notice Constructor to create and initialize PangolinStakingPositions contract.\r\n     * @param newRewardsToken The token used for both for staking and reward.\r\n     * @param newAdmin The initial owner of the contract.\r\n     * @param newTokenMetadata The contract that constructs tokenURIs for position NFTs.\r\n     */\r\n    constructor(\r\n        address newRewardsToken,\r\n        address newAdmin,\r\n        ITokenMetadata newTokenMetadata\r\n    )\r\n        ERC721(\"Pangolin Staking Positions\", \"PNG-POS\")\r\n        PangolinStakingPositionsFunding(newRewardsToken, newAdmin)\r\n    {\r\n        tokenMetadata = newTokenMetadata;\r\n    }\r\n\r\n    /**\r\n     * @notice External function to open a new position to the caller.\r\n     * @param amount The amount of tokens to transfer from the caller to the position.\r\n     * @param positionId The identifier of the newly created position.\r\n     */\r\n    function mint(uint256 amount) external returns (uint256 positionId) {\r\n        // Update summations. Note that rewards accumulated when there is no one staking will\r\n        // be lost. But this is only a small risk of value loss when the contract first goes live.\r\n        _updateRewardSummations();\r\n\r\n        // Get the new positionId and mint the associated NFT.\r\n        positionId = ++_positionsLength;\r\n        _mint(msg.sender, positionId);\r\n\r\n        // Use a private function to handle the logic pertaining to depositing into a position.\r\n        _stake(positionId, amount);\r\n    }\r\n\r\n    /**\r\n     * @notice External function to deposit tokens to an existing position.\r\n     * @param amount The amount of tokens to deposit into the position.\r\n     * @param positionId The identifier of the position to deposit the funds into.\r\n     */\r\n    function stake(uint256 positionId, uint256 amount) external {\r\n        // Update summations. Note that rewards accumulated when there is no one staking will\r\n        // be lost. But this is only a small risk of value loss when the contract first goes live.\r\n        _updateRewardSummations();\r\n\r\n        // Use a private function to handle the logic pertaining to depositing into a position.\r\n        _stake(positionId, amount);\r\n    }\r\n\r\n    /**\r\n     * @notice External function to claim the accrued rewards of a position.\r\n     * @param positionId The identifier of the position to claim the rewards of.\r\n     */\r\n    function harvest(uint256 positionId) external {\r\n        // Update summations that govern the reward distribution.\r\n        _updateRewardSummations();\r\n\r\n        // Use a private function to handle the logic pertaining to harvesting rewards.\r\n        // `_withdraw` with zero input amount works as harvesting.\r\n        _withdraw(positionId, 0);\r\n    }\r\n\r\n    /**\r\n     * @notice External function to deposit the accrued rewards of a position back to itself.\r\n     * @param positionId The identifier of the position to compound the rewards of.\r\n     */\r\n    function compound(uint256 positionId) external {\r\n        // Update summations that govern the reward distribution.\r\n        _updateRewardSummations();\r\n\r\n        // Use a private function to handle the logic pertaining to compounding rewards.\r\n        // `_stake` with zero input amount works as compounding.\r\n        _stake(positionId, 0);\r\n    }\r\n\r\n    /**\r\n     * @notice External function to withdraw given amount of staked balance, plus all the accrued\r\n     *         rewards from the position.\r\n     * @param positionId The identifier of the position to withdraw the balance.\r\n     * @param amount The amount of staked tokens, excluding rewards, to withdraw from the position.\r\n     */\r\n    function withdraw(uint256 positionId, uint256 amount) external {\r\n        // Update summations that govern the reward distribution.\r\n        _updateRewardSummations();\r\n\r\n        // Use a private function to handle the logic pertaining to withdrawing the staked balance.\r\n        _withdraw(positionId, amount);\r\n    }\r\n\r\n    /**\r\n     * @notice External function to close a position by burning the associated NFT.\r\n     * @param positionId The identifier of the position to close.\r\n     */\r\n    function burn(uint256 positionId) external {\r\n        // To prevent mistakes, ensure only valueless positions can be burned.\r\n        if (positions[positionId].valueVariables.balance != 0) revert InvalidToken();\r\n\r\n        // Burn the associated NFT and delete all position properties.\r\n        _burn(positionId);\r\n    }\r\n\r\n    /**\r\n     * @notice External function to exit from a position by forgoing rewards.\r\n     * @param positionId The identifier of the position to exit.\r\n     */\r\n    function emergencyExit(uint256 positionId) external {\r\n        // Do not update summations, because a faulty rewarding algorithm might be the\r\n        // culprit locking the staked balance in the contract. Nonetheless, for consistency, use a\r\n        // private function to handle the logic pertaining to emergency exit.\r\n        _emergencyExit(positionId);\r\n    }\r\n\r\n    /**\r\n     * @notice External function to stake to or compound multiple positions.\r\n     * @dev This saves gas by updating summations only once.\r\n     * @param positionIds An array of identifiers of positions to stake to.\r\n     * @param amounts An array of amount of tokens to stake to the corresponding positions.\r\n     */\r\n    function multiStake(uint256[] calldata positionIds, uint256[] calldata amounts) external {\r\n        // Update summations only once. Note that rewards accumulated when there is no one\r\n        // staking will be lost. But this is only a small risk of value loss if a reward period\r\n        // during no one staking is followed by staking.\r\n        _updateRewardSummations();\r\n\r\n        // Ensure array lengths match.\r\n        uint256 length = positionIds.length;\r\n        if (length != amounts.length) revert MismatchedArrayLengths();\r\n\r\n        for (uint256 i = 0; i < length; ) {\r\n            _stake(positionIds[i], amounts[i]);\r\n\r\n            // Counter realistically cannot overflow.\r\n            unchecked {\r\n                ++i;\r\n            }\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @notice External function to withdraw or harvest from multiple positions.\r\n     * @dev This saves gas by updating summations only once.\r\n     * @param positionIds An array of identifiers of positions to withdraw from.\r\n     * @param amounts An array of amount of tokens to withdraw from corresponding positions.\r\n     */\r\n    function multiWithdraw(uint256[] calldata positionIds, uint256[] calldata amounts) external {\r\n        // Update summations only once.\r\n        _updateRewardSummations();\r\n\r\n        // Ensure array lengths match.\r\n        uint256 length = positionIds.length;\r\n        if (length != amounts.length) revert MismatchedArrayLengths();\r\n\r\n        for (uint256 i = 0; i < length; ) {\r\n            _withdraw(positionIds[i], amounts[i]);\r\n\r\n            // Counter realistically cannot overflow.\r\n            unchecked {\r\n                ++i;\r\n            }\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @notice External only-owner function to set how long the token approvals should be ignored.\r\n     * @param newApprovalPauseDuration The new duration during which token approvals are ignored.\r\n     */\r\n    function setApprovalPauseDuration(uint256 newApprovalPauseDuration)\r\n        external\r\n        onlyRole(DEFAULT_ADMIN_ROLE)\r\n    {\r\n        // Ensure new approvalPauseDuration is less than the max allowed.\r\n        if (newApprovalPauseDuration > MAX_APPROVAL_PAUSE_DURATION) revert OutOfBounds();\r\n\r\n        // Update the state variable and emit an event.\r\n        approvalPauseDuration = newApprovalPauseDuration;\r\n        emit PauseDurationSet(newApprovalPauseDuration);\r\n    }\r\n\r\n    /**\r\n     * @notice External only-owner function to change the contract that constructs tokenURIs.\r\n     * @param newTokenMetadata The addresses of the new contract address that constructs tokenURIs.\r\n     */\r\n    function setTokenMetadata(ITokenMetadata newTokenMetadata)\r\n        external\r\n        onlyRole(DEFAULT_ADMIN_ROLE)\r\n    {\r\n        tokenMetadata = newTokenMetadata;\r\n        emit TokenMetadataSet(newTokenMetadata);\r\n    }\r\n\r\n    /**\r\n     * @notice External view function to get the reward rate of a position.\r\n     * @dev In SAR, positions have different APRs, unlike other staking algorithms. This external\r\n     *      function clearly demonstrates how the SAR algorithm is supposed to distribute the\r\n     *      rewards based on “value”, which is balance times staking duration. This external\r\n     *      function can be considered as a specification.\r\n     * @param positionId The identifier of the position to check the reward rate of.\r\n     * @return The rewards per second of the position.\r\n     */\r\n    function positionRewardRate(uint256 positionId) external view returns (uint256) {\r\n        // Get totalValue and positionValue.\r\n        uint256 totalValue = _getValue(totalValueVariables);\r\n        uint256 positionValue = _getValue(positions[positionId].valueVariables);\r\n\r\n        // Return the rewardRate of the position. Do not revert if totalValue is zero.\r\n        return positionValue == 0 ? 0 : (rewardRate() * positionValue) / totalValue;\r\n    }\r\n\r\n    /**\r\n     * @notice External view function to get the accrued rewards of a position. It takes the\r\n     *         pending rewards since lastUpdate into consideration.\r\n     * @param positionId The identifier of the position to check the accrued rewards of.\r\n     * @return The amount of rewards that have been accrued in the position.\r\n     */\r\n    function positionPendingRewards(uint256 positionId) external view returns (uint256) {\r\n        // Create a storage pointer for the position.\r\n        Position storage position = positions[positionId];\r\n\r\n        // Get the delta of summations. Use incremented `rewardSummationsStored` based on the\r\n        // pending rewards.\r\n        RewardSummations memory deltaRewardSummations = _getDeltaRewardSummations(position, true);\r\n\r\n        // Return the pending rewards of the position based on the difference in rewardSummations.\r\n        return _earned(deltaRewardSummations, position);\r\n    }\r\n\r\n    /**\r\n     * @notice Private function to deposit tokens to an existing position.\r\n     * @param amount The amount of tokens to deposit into the position.\r\n     * @param positionId The identifier of the position to deposit the funds into.\r\n     * @dev Specifications:\r\n     *      - Deposit `amount` tokens to the position associated with `positionId`,\r\n     *      - Make the staking duration of `amount` restart,\r\n     *      - Claim accrued `reward` tokens of the position,\r\n     *      - Deposit `reward` tokens back into the position,\r\n     *      - Make the staking duration of `reward` tokens start from zero.\r\n     *      - Do not make the staking duration of the existing `balance` restart,\r\n     */\r\n    function _stake(uint256 positionId, uint256 amount) private onlyOwner(positionId) {\r\n        // Create a storage pointer for the position.\r\n        Position storage position = positions[positionId];\r\n\r\n        // Get rewards accrued in the position.\r\n        uint256 reward = _positionPendingRewards(position);\r\n\r\n        // Include reward amount in total amount to be staked.\r\n        uint256 totalAmount = amount + reward;\r\n        if (totalAmount == 0) revert NoEffect();\r\n\r\n        // Get the new total staked amount and ensure it fits 96 bits.\r\n        uint256 newTotalStaked = totalValueVariables.balance + totalAmount;\r\n        if (newTotalStaked > type(uint96).max) revert Overflow();\r\n\r\n        unchecked {\r\n            // Increment the state variables pertaining to total value calculation.\r\n            uint160 addedEntryTimes = uint160(block.timestamp * totalAmount);\r\n            totalValueVariables.sumOfEntryTimes += addedEntryTimes;\r\n            totalValueVariables.balance = uint96(newTotalStaked);\r\n\r\n            // Increment the position properties pertaining to position value calculation.\r\n            ValueVariables storage positionValueVariables = position.valueVariables;\r\n            uint256 oldBalance = positionValueVariables.balance;\r\n            positionValueVariables.balance = uint96(oldBalance + totalAmount);\r\n            positionValueVariables.sumOfEntryTimes += addedEntryTimes;\r\n\r\n            // Increment the previousValues.\r\n            position.previousValues += uint160(\r\n                oldBalance * (block.timestamp - position.lastUpdate)\r\n            );\r\n        }\r\n\r\n        // Snapshot the lastUpdate and summations.\r\n        _snapshotRewardSummations(position);\r\n\r\n        // Transfer amount tokens from user to the contract, and emit the associated event.\r\n        if (amount != 0) _transferFromCaller(amount);\r\n        emit Staked(positionId, amount, reward);\r\n    }\r\n\r\n    /**\r\n     * @notice Private function to withdraw given amount of staked balance, plus all the accrued\r\n     *         rewards from the position. Also acts as harvest when input amount is zero.\r\n     * @param positionId The identifier of the position to withdraw the balance.\r\n     * @param amount The amount of staked tokens, excluding rewards, to withdraw from the position.\r\n     * @dev Specifications:\r\n     *      - Claim accrued `reward` tokens of the position,\r\n     *      - Send `reward` tokens from the contract to the position owner,\r\n     *      - Send `amount` tokens from the contract to the position owner,\r\n     *      - Make the staking duration of the remaining `balance` restart,\r\n     *      - Ignore NFT spending approvals for a duration set by the admin.\r\n     */\r\n    function _withdraw(uint256 positionId, uint256 amount) private onlyOwner(positionId) {\r\n        // Create a storage pointer for the position.\r\n        Position storage position = positions[positionId];\r\n\r\n        // Get position balance and ensure sufficient balance exists.\r\n        uint256 oldBalance = position.valueVariables.balance;\r\n        if (amount > oldBalance) revert InsufficientBalance();\r\n\r\n        // Get accrued rewards of the position and get totalAmount to withdraw (incl. rewards).\r\n        uint256 reward = _positionPendingRewards(position);\r\n        uint256 totalAmount = amount + reward;\r\n        if (totalAmount == 0) revert NoEffect();\r\n\r\n        unchecked {\r\n            // Get the remaining balance in the position.\r\n            uint256 remaining = oldBalance - amount;\r\n\r\n            // Decrement the withdrawn amount from totalStaked.\r\n            totalValueVariables.balance -= uint96(amount);\r\n\r\n            // Update sumOfEntryTimes.\r\n            uint256 newEntryTimes = block.timestamp * remaining;\r\n            ValueVariables storage positionValueVariables = position.valueVariables;\r\n            totalValueVariables.sumOfEntryTimes = uint160(\r\n                totalValueVariables.sumOfEntryTimes +\r\n                    newEntryTimes -\r\n                    positionValueVariables.sumOfEntryTimes\r\n            );\r\n\r\n            // Decrement the withdrawn amount from position balance and update position entryTimes.\r\n            positionValueVariables.balance = uint96(remaining);\r\n            positionValueVariables.sumOfEntryTimes = uint160(newEntryTimes);\r\n        }\r\n\r\n        // Reset the previous values, as we have restarted the staking duration.\r\n        position.previousValues = 0;\r\n\r\n        // Update lastDevaluation, as resetting the staking duration devalues the position.\r\n        position.lastDevaluation = uint48(block.timestamp);\r\n\r\n        // Snapshot the lastUpdate and summations.\r\n        _snapshotRewardSummations(position);\r\n\r\n        // Transfer withdrawn amount and rewards to the user, and emit the associated event.\r\n        _transferToCaller(totalAmount);\r\n        emit Withdrawn(positionId, amount, reward);\r\n    }\r\n\r\n    /**\r\n     * @notice External function to exit from a position by forgoing rewards.\r\n     * @param positionId The identifier of the position to exit from.\r\n     * @dev Specifications:\r\n     *      - Burn the NFT associated with `positionId`,\r\n     *      - Close the position associated with `positionId`,\r\n     *      - Send `balance` tokens of the position to the user wallet,\r\n     *      - Ignore `reward` tokens, making them permanently irrecoverable.\r\n     */\r\n    function _emergencyExit(uint256 positionId) private onlyOwner(positionId) {\r\n        // Move the queried position to memory.\r\n        ValueVariables memory positionValueVariables = positions[positionId].valueVariables;\r\n\r\n        // Decrement the state variables pertaining to total value calculation.\r\n        uint96 balance = positionValueVariables.balance;\r\n        unchecked {\r\n            totalValueVariables.balance -= balance;\r\n            totalValueVariables.sumOfEntryTimes -= positionValueVariables.sumOfEntryTimes;\r\n        }\r\n\r\n        // Simply destroy the position.\r\n        _burn(positionId);\r\n\r\n        // Transfer only the staked balance from the contract to user.\r\n        _transferToCaller(balance);\r\n        emit Withdrawn(positionId, balance, 0);\r\n    }\r\n\r\n    /**\r\n     * @notice Private function to claim the total pending rewards, and based on the claimed amount\r\n     *         update the two variables that govern the reward distribution.\r\n     */\r\n    function _updateRewardSummations() private {\r\n        // Get rewards, in the process updating the last update time.\r\n        uint256 rewards = _claim();\r\n\r\n        // Get incrementations based on the reward amount.\r\n        (\r\n            uint256 idealPositionIncrementation,\r\n            uint256 rewardPerValueIncrementation\r\n        ) = _getRewardSummationsIncrementations(rewards);\r\n\r\n        // Increment the summations.\r\n        rewardSummationsStored.idealPosition += idealPositionIncrementation;\r\n        rewardSummationsStored.rewardPerValue += rewardPerValueIncrementation;\r\n    }\r\n\r\n    /**\r\n     * @notice Private function to snapshot two rewards variables and record the timestamp.\r\n     * @param position The storage pointer to the position to record the snapshot for.\r\n     */\r\n    function _snapshotRewardSummations(Position storage position) private {\r\n        position.lastUpdate = uint48(block.timestamp);\r\n        position.rewardSummationsPaid = rewardSummationsStored;\r\n    }\r\n\r\n    /**\r\n     * @notice Private view function to get the accrued rewards of a position.\r\n     * @dev The call to this function must only be made after the summations are updated\r\n     *      through `_updateRewardSummations()`.\r\n     * @param position The properties of the position.\r\n     * @return The accrued rewards of the position.\r\n     */\r\n    function _positionPendingRewards(Position storage position) private view returns (uint256) {\r\n        // Get the change in summations since the position was last updated. When calculating\r\n        // the delta, do not increment `rewardSummationsStored`, as they had to be updated anyways.\r\n        RewardSummations memory deltaRewardSummations = _getDeltaRewardSummations(position, false);\r\n\r\n        // Return the pending rewards of the position.\r\n        return _earned(deltaRewardSummations, position);\r\n    }\r\n\r\n    /**\r\n     * @notice Private view function to get the difference between a position’s summations\r\n     *         (‘paid’) and global summations (‘stored’).\r\n     * @param position The position for which to calculate the delta of summations.\r\n     * @param increment Whether to the incremented `rewardSummationsStored` based on the pending\r\n     *                  rewards of the contract.\r\n     * @return The difference between the `rewardSummationsStored` and `rewardSummationsPaid`.\r\n     */\r\n    function _getDeltaRewardSummations(Position storage position, bool increment)\r\n        private\r\n        view\r\n        returns (RewardSummations memory)\r\n    {\r\n        // If position had no update to its summations yet, return zero.\r\n        if (position.lastUpdate == 0) return RewardSummations(0, 0);\r\n\r\n        // Create storage pointer to the position’s summations.\r\n        RewardSummations storage rewardSummationsPaid = position.rewardSummationsPaid;\r\n\r\n        // If requested, return the incremented `rewardSummationsStored`.\r\n        if (increment) {\r\n            // Get pending rewards, without updating the `lastUpdate`.\r\n            uint256 rewards = _pendingRewards();\r\n\r\n            // Get incrementations based on the reward amount.\r\n            (\r\n                uint256 idealPositionIncrementation,\r\n                uint256 rewardPerValueIncrementation\r\n            ) = _getRewardSummationsIncrementations(rewards);\r\n\r\n            // Increment and return the incremented the summations.\r\n            return\r\n                RewardSummations(\r\n                    rewardSummationsStored.idealPosition +\r\n                        idealPositionIncrementation -\r\n                        rewardSummationsPaid.idealPosition,\r\n                    rewardSummationsStored.rewardPerValue +\r\n                        rewardPerValueIncrementation -\r\n                        rewardSummationsPaid.rewardPerValue\r\n                );\r\n        }\r\n\r\n        // Otherwise just return the the delta, ignoring any incrementation from pending rewards.\r\n        return\r\n            RewardSummations(\r\n                rewardSummationsStored.idealPosition - rewardSummationsPaid.idealPosition,\r\n                rewardSummationsStored.rewardPerValue - rewardSummationsPaid.rewardPerValue\r\n            );\r\n    }\r\n\r\n    /**\r\n     * @notice Private view function to calculate the `rewardSummationsStored` incrementations\r\n     *         based on the given reward amount.\r\n     * @param rewards The amount of rewards to use for calculating the incrementation.\r\n     * @return idealPositionIncrementation The incrementation to make to the idealPosition.\r\n     * @return rewardPerValueIncrementation The incrementation to make to the rewardPerValue.\r\n     */\r\n    function _getRewardSummationsIncrementations(uint256 rewards)\r\n        private\r\n        view\r\n        returns (uint256 idealPositionIncrementation, uint256 rewardPerValueIncrementation)\r\n    {\r\n        // Calculate the totalValue, then get the incrementations only if value is non-zero.\r\n        uint256 totalValue = _getValue(totalValueVariables);\r\n        if (totalValue != 0) {\r\n            idealPositionIncrementation = (rewards * block.timestamp * PRECISION) / totalValue;\r\n            rewardPerValueIncrementation = (rewards * PRECISION) / totalValue;\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @notice Private view function to get the position or contract value.\r\n     * @dev Value refers to the sum of each `wei` of tokens’ staking durations. So if there are\r\n     *      10 tokens staked in the contract, and each one of them has been staked for 10 seconds,\r\n     *      then the value is 100 (`10 * 10`). To calculate value we use sumOfEntryTimes, which is\r\n     *      the sum of each `wei` of tokens’ staking-duration-starting timestamp. The formula\r\n     *      below is intuitive and simple to derive. We will leave proving it to the reader.\r\n     * @return The total value of contract or a position.\r\n     */\r\n    function _getValue(ValueVariables storage valueVariables) private view returns (uint256) {\r\n        return block.timestamp * valueVariables.balance - valueVariables.sumOfEntryTimes;\r\n    }\r\n\r\n    /**\r\n     * @notice Low-level private view function to get the accrued rewards of a position.\r\n     * @param deltaRewardSummations The difference between the ‘stored’ and ‘paid’ summations.\r\n     * @param position The position to check the accrued rewards of.\r\n     * @return The accrued rewards of the position.\r\n     */\r\n    function _earned(RewardSummations memory deltaRewardSummations, Position storage position)\r\n        private\r\n        view\r\n        returns (uint256)\r\n    {\r\n        // Refer to the Combined Position section of the Proofs on why and how this formula works.\r\n        return\r\n            position.lastUpdate == 0\r\n                ? 0\r\n                : (((deltaRewardSummations.idealPosition -\r\n                    (deltaRewardSummations.rewardPerValue * position.lastUpdate)) *\r\n                    position.valueVariables.balance) +\r\n                    (deltaRewardSummations.rewardPerValue * position.previousValues)) / PRECISION;\r\n    }\r\n\r\n    /* *********************** */\r\n    /* OVERRIDES and NFT STUFF */\r\n    /* *********************** */\r\n\r\n    function tokensOfOwnerByIndex(\r\n        address owner,\r\n        uint256 from,\r\n        uint256 to\r\n    ) external view returns (uint256[] memory) {\r\n        if (from > to) revert OutOfBounds();\r\n\r\n        uint256 length = to - from + 1;\r\n        uint256[] memory tokens = new uint256[](length);\r\n        while (from <= to) {\r\n            tokens[from] = tokenOfOwnerByIndex(owner, from);\r\n            unchecked {\r\n                ++from;\r\n            }\r\n        }\r\n        return tokens;\r\n    }\r\n\r\n    function _burn(uint256 tokenId) internal override onlyOwner(tokenId) {\r\n        // Delete position when burning the NFT.\r\n        delete positions[tokenId];\r\n        super._burn(tokenId);\r\n    }\r\n\r\n    function _beforeTokenTransfer(\r\n        address from,\r\n        address to,\r\n        uint256 tokenId,\r\n        uint256 batchSize\r\n    ) internal override {\r\n        // Ignore approvals for a period following a destructive action.\r\n        if (msg.sender != from) {\r\n            uint256 pausedUntil = positions[tokenId].lastDevaluation + approvalPauseDuration;\r\n            if (block.timestamp <= pausedUntil) revert TooEarly();\r\n        }\r\n\r\n        super._beforeTokenTransfer(from, to, tokenId, batchSize);\r\n    }\r\n\r\n    function tokenURI(uint256 tokenId) public view override returns (string memory) {\r\n        ERC721._requireMinted(tokenId);\r\n\r\n        // Use external contract to handle token metadata.\r\n        return tokenMetadata.tokenURI(this, tokenId);\r\n    }\r\n\r\n    function supportsInterface(bytes4 interfaceId)\r\n        public\r\n        view\r\n        override(ERC721Enumerable, AccessControlEnumerable)\r\n        returns (bool)\r\n    {\r\n        return\r\n            AccessControlEnumerable.supportsInterface(interfaceId) ||\r\n            ERC721Enumerable.supportsInterface(interfaceId);\r\n    }\r\n}\r\n"},"contracts/staking-positions/PangolinStakingPositionsFunding.sol":{"content":"// SPDX-License-Identifier: GPLv3\r\npragma solidity 0.8.15;\r\n\r\nimport \"@openzeppelin/contracts/access/AccessControlEnumerable.sol\";\r\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\r\nimport \"./GenericErrors.sol\";\r\n\r\n/**\r\n * @title Pangolin Staking Positions Funding\r\n * @author Shung for Pangolin\r\n * @notice A contract that is only the rewards part of `StakingRewards`.\r\n * @dev The inheriting contract must call `_claim()` to check its reward since the last time the\r\n *      same call was made. Then, based on the reward amount, the inheriting contract shall\r\n *      determine the distribution to stakers. The purpose of this architecture is to separate the\r\n *      logic of funding from the staking and reward distribution.\r\n */\r\nabstract contract PangolinStakingPositionsFunding is AccessControlEnumerable, GenericErrors {\r\n    /** @notice The rewards given out per second during a reward period. */\r\n    uint80 private _rewardRate;\r\n\r\n    /** @notice The timestamp when the last time the rewards were claimed by the child contract. */\r\n    uint40 public lastUpdate;\r\n\r\n    /** @notice The timestamp when the current period will end or the latest period has ended. */\r\n    uint40 public periodFinish;\r\n\r\n    /** @notice The amount of total rewards added. */\r\n    uint96 public totalRewardAdded;\r\n\r\n    /** @notice The duration for how long the rewards will last after `addReward` is called. */\r\n    uint256 public periodDuration = 14 days;\r\n\r\n    /** @notice The reward token that is distributed to stakers. */\r\n    IERC20 public immutable rewardsToken;\r\n\r\n    /** @dev The minimum duration a period can last. */\r\n    uint256 private constant MIN_PERIOD_DURATION = 2**16 + 1;\r\n\r\n    /** @dev The maximum duration a period can last. */\r\n    uint256 private constant MAX_PERIOD_DURATION = 2**32;\r\n\r\n    /** @dev The maximum amount of rewards that can ever be distributed. */\r\n    uint256 private constant MAX_TOTAL_REWARD = type(uint96).max;\r\n\r\n    /** @dev The privileged role that can call `addReward` function */\r\n    bytes32 private constant FUNDER_ROLE = keccak256(\"FUNDER_ROLE\");\r\n\r\n    /** @notice The event emitted when a period is manually cut short. */\r\n    event PeriodEnded();\r\n\r\n    /** @notice The event emitted when a period is started or extended through funding. */\r\n    event RewardAdded(uint256 reward);\r\n\r\n    /** @notice The event emitted when the period duration is changed. */\r\n    event PeriodDurationUpdated(uint256 newDuration);\r\n\r\n    /**\r\n     * @notice Constructor to create PangolinStakingPositionsFunding contract.\r\n     * @param newRewardsToken The token used for both for staking and reward.\r\n     * @param newAdmin The initial owner of the contract.\r\n     */\r\n    constructor(address newRewardsToken, address newAdmin) {\r\n        if (newAdmin == address(0)) revert NullInput();\r\n        if (newRewardsToken.code.length == 0) revert InvalidToken();\r\n\r\n        rewardsToken = IERC20(newRewardsToken);\r\n        _grantRole(DEFAULT_ADMIN_ROLE, newAdmin);\r\n        _grantRole(FUNDER_ROLE, newAdmin);\r\n    }\r\n\r\n    /**\r\n     * @notice External restricted function to change the reward period duration.\r\n     * @param newDuration The duration the feature periods will last.\r\n     */\r\n    function setPeriodDuration(uint256 newDuration) external onlyRole(DEFAULT_ADMIN_ROLE) {\r\n        // Ensure there is no ongoing period.\r\n        if (periodFinish > block.timestamp) revert TooEarly();\r\n\r\n        // Ensure the new period is within the bounds.\r\n        if (newDuration < MIN_PERIOD_DURATION) revert OutOfBounds();\r\n        if (newDuration > MAX_PERIOD_DURATION) revert OutOfBounds();\r\n\r\n        // Assign the new duration to the state variable, and emit the associated event.\r\n        periodDuration = newDuration;\r\n        emit PeriodDurationUpdated(newDuration);\r\n    }\r\n\r\n    /** @notice External restricted function to end the period and withdraw leftover rewards. */\r\n    function endPeriod() external onlyRole(DEFAULT_ADMIN_ROLE) {\r\n        // For efficiency, move periodFinish to memory.\r\n        uint256 tmpPeriodFinish = periodFinish;\r\n\r\n        // Ensure period has not already ended.\r\n        if (block.timestamp >= tmpPeriodFinish) revert TooLate();\r\n\r\n        unchecked {\r\n            // Get the rewards remaining to be distributed.\r\n            uint256 leftover = (tmpPeriodFinish - block.timestamp) * _rewardRate;\r\n\r\n            // Decrement totalRewardAdded by the amount to be withdrawn.\r\n            totalRewardAdded -= uint96(leftover);\r\n\r\n            // Update periodFinish.\r\n            periodFinish = uint40(block.timestamp);\r\n\r\n            // Transfer leftover tokens from the contract to the caller.\r\n            _transferToCaller(leftover);\r\n            emit PeriodEnded();\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @notice External restricted function to fund the contract.\r\n     * @param amount The amount of reward tokens to add to the contract.\r\n     */\r\n    function addReward(uint256 amount) external onlyRole(FUNDER_ROLE) {\r\n        // For efficiency, move periodDuration to memory.\r\n        uint256 tmpPeriodDuration = periodDuration;\r\n\r\n        // Ensure amount fits 96 bits.\r\n        if (amount > MAX_TOTAL_REWARD) revert Overflow();\r\n\r\n        // Increment totalRewardAdded, reverting on overflow to ensure it fits 96 bits.\r\n        totalRewardAdded += uint96(amount);\r\n\r\n        // Update the _rewardRate, ensuring leftover rewards from the ongoing period are included.\r\n        // Note that we are using `lastUpdate` instead of `block.timestamp`, otherwise we would\r\n        // have to “stash” the rewards from `lastUpdate` to `block.timestamp` in storage. We\r\n        // do not want to stash the rewards to keep the cost low. However, using this method means\r\n        // that `_pendingRewards()` will change, hence a user might “lose” rewards earned since\r\n        // `lastUpdate`. It is not a very big deal as the `lastUpdate` is likely to be updated\r\n        // frequently, but just something to acknowledge.\r\n        uint256 newRewardRate;\r\n        if (lastUpdate >= periodFinish) {\r\n            // Use assembly because periodDuration can never be zero.\r\n            assembly {\r\n                newRewardRate := div(amount, tmpPeriodDuration)\r\n            }\r\n        } else {\r\n            unchecked {\r\n                uint256 leftover = (uint256(periodFinish) - lastUpdate) * _rewardRate;\r\n                assembly {\r\n                    newRewardRate := div(add(amount, leftover), tmpPeriodDuration)\r\n                }\r\n            }\r\n        }\r\n\r\n        // Ensure sufficient amount is supplied hence reward rate is non-zero.\r\n        if (newRewardRate == 0) revert NoEffect();\r\n\r\n        // Assign the newRewardRate back to storage.\r\n        // MAX_TOTAL_REWARD / MIN_PERIOD_DURATION fits 80 bits.\r\n        _rewardRate = uint80(newRewardRate);\r\n\r\n        // Update lastUpdate and periodFinish.\r\n        unchecked {\r\n            lastUpdate = uint40(block.timestamp);\r\n            periodFinish = uint40(block.timestamp + tmpPeriodDuration);\r\n        }\r\n\r\n        // Transfer reward tokens from the caller to the contract.\r\n        _transferFromCaller(amount);\r\n        emit RewardAdded(amount);\r\n    }\r\n\r\n    /**\r\n     * @notice Public view function to return the total rewards distributed per second.\r\n     * @return The reward per second being distributed.\r\n     */\r\n    function rewardRate() public view returns (uint256) {\r\n        return periodFinish < block.timestamp ? 0 : _rewardRate;\r\n    }\r\n\r\n    /**\r\n     * @notice Internal function to get the amount of reward tokens to distribute since last call\r\n     *         to this function.\r\n     * @return reward The amount of reward tokens that is marked for distribution.\r\n     */\r\n    function _claim() internal returns (uint256 reward) {\r\n        // Get the pending reward amount since last update was last updated.\r\n        reward = _pendingRewards();\r\n\r\n        // Update last update time.\r\n        lastUpdate = uint40(block.timestamp);\r\n    }\r\n\r\n    /**\r\n     * @notice Internal function to transfer `rewardsToken` from the contract to caller.\r\n     * @param amount The amount of tokens to transfer.\r\n     */\r\n    function _transferToCaller(uint256 amount) internal {\r\n        if (!rewardsToken.transfer(msg.sender, amount)) revert FailedTransfer();\r\n    }\r\n\r\n    /**\r\n     * @notice Internal function to transfer `rewardsToken` from caller to the contract.\r\n     * @param amount The amount of tokens to transfer.\r\n     */\r\n    function _transferFromCaller(uint256 amount) internal {\r\n        if (!rewardsToken.transferFrom(msg.sender, address(this), amount)) revert FailedTransfer();\r\n    }\r\n\r\n    /**\r\n     * @notice Internal view function to get the amount of accumulated reward tokens since last\r\n     *         update time.\r\n     * @return rewards The amount of reward tokens that has been accumulated since last update.\r\n     */\r\n    function _pendingRewards() internal view returns (uint256 rewards) {\r\n        // For efficiency, move periodFinish timestamp to memory.\r\n        uint256 tmpPeriodFinish = periodFinish;\r\n\r\n        // Get end of the reward distribution period or block timestamp, whichever is less.\r\n        // `lastTimeRewardApplicable` is the ending timestamp of the period we are calculating\r\n        // the total rewards for.\r\n        uint256 lastTimeRewardApplicable = tmpPeriodFinish < block.timestamp\r\n            ? tmpPeriodFinish\r\n            : block.timestamp;\r\n\r\n        // For efficiency, move lastUpdate timestamp to memory. `lastUpdate` is the beginning\r\n        // timestamp of the period we are calculating the total rewards for.\r\n        uint256 tmpLastUpdate = lastUpdate;\r\n\r\n        // If the reward period is a positive range, return the rewards by multiplying the duration\r\n        // by reward rate.\r\n        if (lastTimeRewardApplicable > tmpLastUpdate) {\r\n            unchecked {\r\n                rewards = (lastTimeRewardApplicable - tmpLastUpdate) * _rewardRate;\r\n            }\r\n        }\r\n\r\n        assert(rewards <= type(uint96).max);\r\n    }\r\n}\r\n"}},"settings":{"optimizer":{"enabled":true,"runs":2000},"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":[315],"Context":[2459],"ERC165":[2658],"IAccessControl":[513],"IERC165":[2670],"Math":[3535],"Strings":[2634]},"id":316,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"108:23:0"},{"absolutePath":"@openzeppelin/contracts/access/IAccessControl.sol","file":"./IAccessControl.sol","id":2,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":316,"sourceUnit":514,"src":"133:30:0","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","file":"../utils/Context.sol","id":3,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":316,"sourceUnit":2460,"src":"164:30:0","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Strings.sol","file":"../utils/Strings.sol","id":4,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":316,"sourceUnit":2635,"src":"195:30:0","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/introspection/ERC165.sol","file":"../utils/introspection/ERC165.sol","id":5,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":316,"sourceUnit":2659,"src":"226:43:0","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":7,"name":"Context","nodeType":"IdentifierPath","referencedDeclaration":2459,"src":"1841:7:0"},"id":8,"nodeType":"InheritanceSpecifier","src":"1841:7:0"},{"baseName":{"id":9,"name":"IAccessControl","nodeType":"IdentifierPath","referencedDeclaration":513,"src":"1850:14:0"},"id":10,"nodeType":"InheritanceSpecifier","src":"1850:14:0"},{"baseName":{"id":11,"name":"ERC165","nodeType":"IdentifierPath","referencedDeclaration":2658,"src":"1866:6:0"},"id":12,"nodeType":"InheritanceSpecifier","src":"1866:6:0"}],"canonicalName":"AccessControl","contractDependencies":[],"contractKind":"contract","documentation":{"id":6,"nodeType":"StructuredDocumentation","src":"271:1534: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 ```\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 ```\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."},"fullyImplemented":true,"id":315,"linearizedBaseContracts":[315,2658,2670,513,2459],"name":"AccessControl","nameLocation":"1824:13:0","nodeType":"ContractDefinition","nodes":[{"canonicalName":"AccessControl.RoleData","id":19,"members":[{"constant":false,"id":16,"mutability":"mutable","name":"members","nameLocation":"1930:7:0","nodeType":"VariableDeclaration","scope":19,"src":"1905:32:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"},"typeName":{"id":15,"keyType":{"id":13,"name":"address","nodeType":"ElementaryTypeName","src":"1913:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1905:24:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"},"valueType":{"id":14,"name":"bool","nodeType":"ElementaryTypeName","src":"1924:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}},"visibility":"internal"},{"constant":false,"id":18,"mutability":"mutable","name":"adminRole","nameLocation":"1955:9:0","nodeType":"VariableDeclaration","scope":19,"src":"1947:17:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":17,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1947:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"name":"RoleData","nameLocation":"1886:8:0","nodeType":"StructDefinition","scope":315,"src":"1879:92:0","visibility":"public"},{"constant":false,"id":24,"mutability":"mutable","name":"_roles","nameLocation":"2014:6:0","nodeType":"VariableDeclaration","scope":315,"src":"1977:43:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$19_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData)"},"typeName":{"id":23,"keyType":{"id":20,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1985:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"1977:28:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$19_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData)"},"valueType":{"id":22,"nodeType":"UserDefinedTypeName","pathNode":{"id":21,"name":"RoleData","nodeType":"IdentifierPath","referencedDeclaration":19,"src":"1996:8:0"},"referencedDeclaration":19,"src":"1996:8:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$19_storage_ptr","typeString":"struct AccessControl.RoleData"}}},"visibility":"private"},{"constant":true,"functionSelector":"a217fddf","id":27,"mutability":"constant","name":"DEFAULT_ADMIN_ROLE","nameLocation":"2051:18:0","nodeType":"VariableDeclaration","scope":315,"src":"2027:49:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":25,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2027:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"30783030","id":26,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2072:4:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0x00"},"visibility":"public"},{"body":{"id":37,"nodeType":"Block","src":"2495:44:0","statements":[{"expression":{"arguments":[{"id":33,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":30,"src":"2516:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":32,"name":"_checkRole","nodeType":"Identifier","overloadedDeclarations":[92,131],"referencedDeclaration":92,"src":"2505:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$__$","typeString":"function (bytes32) view"}},"id":34,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2505:16:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":35,"nodeType":"ExpressionStatement","src":"2505:16:0"},{"id":36,"nodeType":"PlaceholderStatement","src":"2531:1:0"}]},"documentation":{"id":28,"nodeType":"StructuredDocumentation","src":"2083:375:0","text":" @dev Modifier that checks that an account has a specific role. Reverts\n with a standardized message including the required role.\n The format of the revert reason is given by the following regular expression:\n  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n _Available since v4.1._"},"id":38,"name":"onlyRole","nameLocation":"2472:8:0","nodeType":"ModifierDefinition","parameters":{"id":31,"nodeType":"ParameterList","parameters":[{"constant":false,"id":30,"mutability":"mutable","name":"role","nameLocation":"2489:4:0","nodeType":"VariableDeclaration","scope":38,"src":"2481:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":29,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2481:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2480:14:0"},"src":"2463:76:0","virtual":false,"visibility":"internal"},{"baseFunctions":[2657],"body":{"id":59,"nodeType":"Block","src":"2697:111:0","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":57,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":52,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":47,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":41,"src":"2714:11:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":49,"name":"IAccessControl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":513,"src":"2734:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAccessControl_$513_$","typeString":"type(contract IAccessControl)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_contract$_IAccessControl_$513_$","typeString":"type(contract IAccessControl)"}],"id":48,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"2729:4:0","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":50,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2729:20:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_contract$_IAccessControl_$513","typeString":"type(contract IAccessControl)"}},"id":51,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"interfaceId","nodeType":"MemberAccess","src":"2729:32:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"2714:47:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":55,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":41,"src":"2789:11:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":53,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"2765:5:0","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_AccessControl_$315_$","typeString":"type(contract super AccessControl)"}},"id":54,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"supportsInterface","nodeType":"MemberAccess","referencedDeclaration":2657,"src":"2765:23:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) view returns (bool)"}},"id":56,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2765:36:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2714:87:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":46,"id":58,"nodeType":"Return","src":"2707:94:0"}]},"documentation":{"id":39,"nodeType":"StructuredDocumentation","src":"2545:56:0","text":" @dev See {IERC165-supportsInterface}."},"functionSelector":"01ffc9a7","id":60,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"2615:17:0","nodeType":"FunctionDefinition","overrides":{"id":43,"nodeType":"OverrideSpecifier","overrides":[],"src":"2673:8:0"},"parameters":{"id":42,"nodeType":"ParameterList","parameters":[{"constant":false,"id":41,"mutability":"mutable","name":"interfaceId","nameLocation":"2640:11:0","nodeType":"VariableDeclaration","scope":60,"src":"2633:18:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":40,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2633:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"2632:20:0"},"returnParameters":{"id":46,"nodeType":"ParameterList","parameters":[{"constant":false,"id":45,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":60,"src":"2691:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":44,"name":"bool","nodeType":"ElementaryTypeName","src":"2691:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2690:6:0"},"scope":315,"src":"2606:202:0","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[480],"body":{"id":78,"nodeType":"Block","src":"2987:53:0","statements":[{"expression":{"baseExpression":{"expression":{"baseExpression":{"id":71,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":24,"src":"3004:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$19_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":73,"indexExpression":{"id":72,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":63,"src":"3011:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3004:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$19_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":74,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"members","nodeType":"MemberAccess","referencedDeclaration":16,"src":"3004:20:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":76,"indexExpression":{"id":75,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":65,"src":"3025:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3004:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":70,"id":77,"nodeType":"Return","src":"2997:36:0"}]},"documentation":{"id":61,"nodeType":"StructuredDocumentation","src":"2814:76:0","text":" @dev Returns `true` if `account` has been granted `role`."},"functionSelector":"91d14854","id":79,"implemented":true,"kind":"function","modifiers":[],"name":"hasRole","nameLocation":"2904:7:0","nodeType":"FunctionDefinition","overrides":{"id":67,"nodeType":"OverrideSpecifier","overrides":[],"src":"2963:8:0"},"parameters":{"id":66,"nodeType":"ParameterList","parameters":[{"constant":false,"id":63,"mutability":"mutable","name":"role","nameLocation":"2920:4:0","nodeType":"VariableDeclaration","scope":79,"src":"2912:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":62,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2912:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":65,"mutability":"mutable","name":"account","nameLocation":"2934:7:0","nodeType":"VariableDeclaration","scope":79,"src":"2926:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":64,"name":"address","nodeType":"ElementaryTypeName","src":"2926:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2911:31:0"},"returnParameters":{"id":70,"nodeType":"ParameterList","parameters":[{"constant":false,"id":69,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":79,"src":"2981:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":68,"name":"bool","nodeType":"ElementaryTypeName","src":"2981:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2980:6:0"},"scope":315,"src":"2895:145:0","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":91,"nodeType":"Block","src":"3390:47:0","statements":[{"expression":{"arguments":[{"id":86,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":82,"src":"3411:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"arguments":[],"expression":{"argumentTypes":[],"id":87,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"3417:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":88,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3417:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":85,"name":"_checkRole","nodeType":"Identifier","overloadedDeclarations":[92,131],"referencedDeclaration":131,"src":"3400:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address) view"}},"id":89,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3400:30:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":90,"nodeType":"ExpressionStatement","src":"3400:30:0"}]},"documentation":{"id":80,"nodeType":"StructuredDocumentation","src":"3046:283:0","text":" @dev Revert with a standard message if `_msgSender()` is missing `role`.\n Overriding this function changes the behavior of the {onlyRole} modifier.\n Format of the revert message is described in {_checkRole}.\n _Available since v4.6._"},"id":92,"implemented":true,"kind":"function","modifiers":[],"name":"_checkRole","nameLocation":"3343:10:0","nodeType":"FunctionDefinition","parameters":{"id":83,"nodeType":"ParameterList","parameters":[{"constant":false,"id":82,"mutability":"mutable","name":"role","nameLocation":"3362:4:0","nodeType":"VariableDeclaration","scope":92,"src":"3354:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":81,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3354:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3353:14:0"},"returnParameters":{"id":84,"nodeType":"ParameterList","parameters":[],"src":"3390:0:0"},"scope":315,"src":"3334:103:0","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":130,"nodeType":"Block","src":"3791:406:0","statements":[{"condition":{"id":104,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"3805:23:0","subExpression":{"arguments":[{"id":101,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":95,"src":"3814:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":102,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":97,"src":"3820:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":100,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":79,"src":"3806:7:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":103,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3806:22:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":129,"nodeType":"IfStatement","src":"3801:390:0","trueBody":{"id":128,"nodeType":"Block","src":"3830:361:0","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"hexValue":"416363657373436f6e74726f6c3a206163636f756e7420","id":110,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3938:25:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874","typeString":"literal_string \"AccessControl: account \""},"value":"AccessControl: account "},{"arguments":[{"id":113,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":97,"src":"4009:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":111,"name":"Strings","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2634,"src":"3989:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Strings_$2634_$","typeString":"type(library Strings)"}},"id":112,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"toHexString","nodeType":"MemberAccess","referencedDeclaration":2633,"src":"3989:19:0","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$returns$_t_string_memory_ptr_$","typeString":"function (address) pure returns (string memory)"}},"id":114,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3989:28:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"hexValue":"206973206d697373696e6720726f6c6520","id":115,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4043:19:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69","typeString":"literal_string \" is missing role \""},"value":" is missing role "},{"arguments":[{"arguments":[{"id":120,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":95,"src":"4116:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":119,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4108:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":118,"name":"uint256","nodeType":"ElementaryTypeName","src":"4108:7:0","typeDescriptions":{}}},"id":121,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4108:13:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"3332","id":122,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4123:2:0","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"}],"expression":{"id":116,"name":"Strings","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2634,"src":"4088:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Strings_$2634_$","typeString":"type(library Strings)"}},"id":117,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"toHexString","nodeType":"MemberAccess","referencedDeclaration":2613,"src":"4088:19:0","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (uint256,uint256) pure returns (string memory)"}},"id":123,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4088:38:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874","typeString":"literal_string \"AccessControl: account \""},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69","typeString":"literal_string \" is missing role \""},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"expression":{"id":108,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"3896:3:0","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":109,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"encodePacked","nodeType":"MemberAccess","src":"3896:16:0","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":124,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3896:252:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":107,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3868:6:0","typeDescriptions":{"typeIdentifier":"t_type$_t_string_storage_ptr_$","typeString":"type(string storage pointer)"},"typeName":{"id":106,"name":"string","nodeType":"ElementaryTypeName","src":"3868:6:0","typeDescriptions":{}}},"id":125,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3868:298:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":105,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"3844:6:0","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":126,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3844:336:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":127,"nodeType":"ExpressionStatement","src":"3844:336:0"}]}}]},"documentation":{"id":93,"nodeType":"StructuredDocumentation","src":"3443:270:0","text":" @dev Revert with a standard message if `account` is missing `role`.\n The format of the revert reason is given by the following regular expression:\n  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/"},"id":131,"implemented":true,"kind":"function","modifiers":[],"name":"_checkRole","nameLocation":"3727:10:0","nodeType":"FunctionDefinition","parameters":{"id":98,"nodeType":"ParameterList","parameters":[{"constant":false,"id":95,"mutability":"mutable","name":"role","nameLocation":"3746:4:0","nodeType":"VariableDeclaration","scope":131,"src":"3738:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":94,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3738:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":97,"mutability":"mutable","name":"account","nameLocation":"3760:7:0","nodeType":"VariableDeclaration","scope":131,"src":"3752:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":96,"name":"address","nodeType":"ElementaryTypeName","src":"3752:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3737:31:0"},"returnParameters":{"id":99,"nodeType":"ParameterList","parameters":[],"src":"3791:0:0"},"scope":315,"src":"3718:479:0","stateMutability":"view","virtual":true,"visibility":"internal"},{"baseFunctions":[488],"body":{"id":145,"nodeType":"Block","src":"4461:46:0","statements":[{"expression":{"expression":{"baseExpression":{"id":140,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":24,"src":"4478:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$19_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":142,"indexExpression":{"id":141,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":134,"src":"4485:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4478:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$19_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":143,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"adminRole","nodeType":"MemberAccess","referencedDeclaration":18,"src":"4478:22:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":139,"id":144,"nodeType":"Return","src":"4471:29:0"}]},"documentation":{"id":132,"nodeType":"StructuredDocumentation","src":"4203: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":146,"implemented":true,"kind":"function","modifiers":[],"name":"getRoleAdmin","nameLocation":"4387:12:0","nodeType":"FunctionDefinition","overrides":{"id":136,"nodeType":"OverrideSpecifier","overrides":[],"src":"4434:8:0"},"parameters":{"id":135,"nodeType":"ParameterList","parameters":[{"constant":false,"id":134,"mutability":"mutable","name":"role","nameLocation":"4408:4:0","nodeType":"VariableDeclaration","scope":146,"src":"4400:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":133,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4400:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4399:14:0"},"returnParameters":{"id":139,"nodeType":"ParameterList","parameters":[{"constant":false,"id":138,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":146,"src":"4452:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":137,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4452:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4451:9:0"},"scope":315,"src":"4378:129:0","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[496],"body":{"id":165,"nodeType":"Block","src":"4906:42:0","statements":[{"expression":{"arguments":[{"id":161,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":149,"src":"4927:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":162,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":151,"src":"4933:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":160,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":283,"src":"4916:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":163,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4916:25:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":164,"nodeType":"ExpressionStatement","src":"4916:25:0"}]},"documentation":{"id":147,"nodeType":"StructuredDocumentation","src":"4513: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":166,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"arguments":[{"id":156,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":149,"src":"4899:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":155,"name":"getRoleAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":146,"src":"4886: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,"names":[],"nodeType":"FunctionCall","src":"4886:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":158,"kind":"modifierInvocation","modifierName":{"id":154,"name":"onlyRole","nodeType":"IdentifierPath","referencedDeclaration":38,"src":"4877:8:0"},"nodeType":"ModifierInvocation","src":"4877:28:0"}],"name":"grantRole","nameLocation":"4812:9:0","nodeType":"FunctionDefinition","overrides":{"id":153,"nodeType":"OverrideSpecifier","overrides":[],"src":"4868:8:0"},"parameters":{"id":152,"nodeType":"ParameterList","parameters":[{"constant":false,"id":149,"mutability":"mutable","name":"role","nameLocation":"4830:4:0","nodeType":"VariableDeclaration","scope":166,"src":"4822:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":148,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4822:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":151,"mutability":"mutable","name":"account","nameLocation":"4844:7:0","nodeType":"VariableDeclaration","scope":166,"src":"4836:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":150,"name":"address","nodeType":"ElementaryTypeName","src":"4836:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4821:31:0"},"returnParameters":{"id":159,"nodeType":"ParameterList","parameters":[],"src":"4906:0:0"},"scope":315,"src":"4803:145:0","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[504],"body":{"id":185,"nodeType":"Block","src":"5332:43:0","statements":[{"expression":{"arguments":[{"id":181,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":169,"src":"5354:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":182,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":171,"src":"5360:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":180,"name":"_revokeRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":314,"src":"5342:11:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":183,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5342:26:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":184,"nodeType":"ExpressionStatement","src":"5342:26:0"}]},"documentation":{"id":167,"nodeType":"StructuredDocumentation","src":"4954: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":186,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"arguments":[{"id":176,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":169,"src":"5325:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":175,"name":"getRoleAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":146,"src":"5312:12:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view returns (bytes32)"}},"id":177,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5312:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":178,"kind":"modifierInvocation","modifierName":{"id":174,"name":"onlyRole","nodeType":"IdentifierPath","referencedDeclaration":38,"src":"5303:8:0"},"nodeType":"ModifierInvocation","src":"5303:28:0"}],"name":"revokeRole","nameLocation":"5237:10:0","nodeType":"FunctionDefinition","overrides":{"id":173,"nodeType":"OverrideSpecifier","overrides":[],"src":"5294:8:0"},"parameters":{"id":172,"nodeType":"ParameterList","parameters":[{"constant":false,"id":169,"mutability":"mutable","name":"role","nameLocation":"5256:4:0","nodeType":"VariableDeclaration","scope":186,"src":"5248:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":168,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5248:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":171,"mutability":"mutable","name":"account","nameLocation":"5270:7:0","nodeType":"VariableDeclaration","scope":186,"src":"5262:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":170,"name":"address","nodeType":"ElementaryTypeName","src":"5262:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5247:31:0"},"returnParameters":{"id":179,"nodeType":"ParameterList","parameters":[],"src":"5332:0:0"},"scope":315,"src":"5228:147:0","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[512],"body":{"id":208,"nodeType":"Block","src":"5989:137:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":199,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":196,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":191,"src":"6007:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":197,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"6018:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":198,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6018:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6007:23:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66","id":200,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6032:49:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b","typeString":"literal_string \"AccessControl: can only renounce roles for self\""},"value":"AccessControl: can only renounce roles for self"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b","typeString":"literal_string \"AccessControl: can only renounce roles for self\""}],"id":195,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5999:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":201,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5999:83:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":202,"nodeType":"ExpressionStatement","src":"5999:83:0"},{"expression":{"arguments":[{"id":204,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":189,"src":"6105:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":205,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":191,"src":"6111:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":203,"name":"_revokeRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":314,"src":"6093:11:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":206,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6093:26:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":207,"nodeType":"ExpressionStatement","src":"6093:26:0"}]},"documentation":{"id":187,"nodeType":"StructuredDocumentation","src":"5381:526: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 `account`.\n May emit a {RoleRevoked} event."},"functionSelector":"36568abe","id":209,"implemented":true,"kind":"function","modifiers":[],"name":"renounceRole","nameLocation":"5921:12:0","nodeType":"FunctionDefinition","overrides":{"id":193,"nodeType":"OverrideSpecifier","overrides":[],"src":"5980:8:0"},"parameters":{"id":192,"nodeType":"ParameterList","parameters":[{"constant":false,"id":189,"mutability":"mutable","name":"role","nameLocation":"5942:4:0","nodeType":"VariableDeclaration","scope":209,"src":"5934:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":188,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5934:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":191,"mutability":"mutable","name":"account","nameLocation":"5956:7:0","nodeType":"VariableDeclaration","scope":209,"src":"5948:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":190,"name":"address","nodeType":"ElementaryTypeName","src":"5948:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5933:31:0"},"returnParameters":{"id":194,"nodeType":"ParameterList","parameters":[],"src":"5989:0:0"},"scope":315,"src":"5912:214:0","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":222,"nodeType":"Block","src":"6879:42:0","statements":[{"expression":{"arguments":[{"id":218,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":212,"src":"6900:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":219,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":214,"src":"6906:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":217,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":283,"src":"6889:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":220,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6889:25:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":221,"nodeType":"ExpressionStatement","src":"6889:25:0"}]},"documentation":{"id":210,"nodeType":"StructuredDocumentation","src":"6132:674:0","text":" @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event. Note that unlike {grantRole}, this function doesn't perform any\n checks on the calling account.\n May emit a {RoleGranted} event.\n [WARNING]\n ====\n This function should only be called from the constructor when setting\n up the initial roles for the system.\n Using this function in any other way is effectively circumventing the admin\n system imposed by {AccessControl}.\n ====\n NOTE: This function is deprecated in favor of {_grantRole}."},"id":223,"implemented":true,"kind":"function","modifiers":[],"name":"_setupRole","nameLocation":"6820:10:0","nodeType":"FunctionDefinition","parameters":{"id":215,"nodeType":"ParameterList","parameters":[{"constant":false,"id":212,"mutability":"mutable","name":"role","nameLocation":"6839:4:0","nodeType":"VariableDeclaration","scope":223,"src":"6831:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":211,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6831:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":214,"mutability":"mutable","name":"account","nameLocation":"6853:7:0","nodeType":"VariableDeclaration","scope":223,"src":"6845:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":213,"name":"address","nodeType":"ElementaryTypeName","src":"6845:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6830:31:0"},"returnParameters":{"id":216,"nodeType":"ParameterList","parameters":[],"src":"6879:0:0"},"scope":315,"src":"6811:110:0","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":250,"nodeType":"Block","src":"7119:174:0","statements":[{"assignments":[232],"declarations":[{"constant":false,"id":232,"mutability":"mutable","name":"previousAdminRole","nameLocation":"7137:17:0","nodeType":"VariableDeclaration","scope":250,"src":"7129:25:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":231,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7129:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":236,"initialValue":{"arguments":[{"id":234,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":226,"src":"7170:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":233,"name":"getRoleAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":146,"src":"7157:12:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view returns (bytes32)"}},"id":235,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7157:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"7129:46:0"},{"expression":{"id":242,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":237,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":24,"src":"7185:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$19_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":239,"indexExpression":{"id":238,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":226,"src":"7192:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7185:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$19_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":240,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"adminRole","nodeType":"MemberAccess","referencedDeclaration":18,"src":"7185:22:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":241,"name":"adminRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":228,"src":"7210:9:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7185:34:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":243,"nodeType":"ExpressionStatement","src":"7185:34:0"},{"eventCall":{"arguments":[{"id":245,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":226,"src":"7251:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":246,"name":"previousAdminRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":232,"src":"7257:17:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":247,"name":"adminRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":228,"src":"7276: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":244,"name":"RoleAdminChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":452,"src":"7234:16:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$__$","typeString":"function (bytes32,bytes32,bytes32)"}},"id":248,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7234:52:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":249,"nodeType":"EmitStatement","src":"7229:57:0"}]},"documentation":{"id":224,"nodeType":"StructuredDocumentation","src":"6927:114:0","text":" @dev Sets `adminRole` as ``role``'s admin role.\n Emits a {RoleAdminChanged} event."},"id":251,"implemented":true,"kind":"function","modifiers":[],"name":"_setRoleAdmin","nameLocation":"7055:13:0","nodeType":"FunctionDefinition","parameters":{"id":229,"nodeType":"ParameterList","parameters":[{"constant":false,"id":226,"mutability":"mutable","name":"role","nameLocation":"7077:4:0","nodeType":"VariableDeclaration","scope":251,"src":"7069:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":225,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7069:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":228,"mutability":"mutable","name":"adminRole","nameLocation":"7091:9:0","nodeType":"VariableDeclaration","scope":251,"src":"7083:17:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":227,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7083:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"7068:33:0"},"returnParameters":{"id":230,"nodeType":"ParameterList","parameters":[],"src":"7119:0:0"},"scope":315,"src":"7046:247:0","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":282,"nodeType":"Block","src":"7529:165:0","statements":[{"condition":{"id":263,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"7543:23:0","subExpression":{"arguments":[{"id":260,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":254,"src":"7552:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":261,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"7558:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":259,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":79,"src":"7544:7:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":262,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7544:22:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":281,"nodeType":"IfStatement","src":"7539:149:0","trueBody":{"id":280,"nodeType":"Block","src":"7568:120:0","statements":[{"expression":{"id":271,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"baseExpression":{"id":264,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":24,"src":"7582:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$19_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":266,"indexExpression":{"id":265,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":254,"src":"7589:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7582:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$19_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":267,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"members","nodeType":"MemberAccess","referencedDeclaration":16,"src":"7582:20:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":269,"indexExpression":{"id":268,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"7603:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7582:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":270,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"7614:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"7582:36:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":272,"nodeType":"ExpressionStatement","src":"7582:36:0"},{"eventCall":{"arguments":[{"id":274,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":254,"src":"7649:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":275,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"7655:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"id":276,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"7664:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":277,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7664: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":273,"name":"RoleGranted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":461,"src":"7637:11:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$","typeString":"function (bytes32,address,address)"}},"id":278,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7637:40:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":279,"nodeType":"EmitStatement","src":"7632:45:0"}]}}]},"documentation":{"id":252,"nodeType":"StructuredDocumentation","src":"7299:157:0","text":" @dev Grants `role` to `account`.\n Internal function without access restriction.\n May emit a {RoleGranted} event."},"id":283,"implemented":true,"kind":"function","modifiers":[],"name":"_grantRole","nameLocation":"7470:10:0","nodeType":"FunctionDefinition","parameters":{"id":257,"nodeType":"ParameterList","parameters":[{"constant":false,"id":254,"mutability":"mutable","name":"role","nameLocation":"7489:4:0","nodeType":"VariableDeclaration","scope":283,"src":"7481:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":253,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7481:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":256,"mutability":"mutable","name":"account","nameLocation":"7503:7:0","nodeType":"VariableDeclaration","scope":283,"src":"7495:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":255,"name":"address","nodeType":"ElementaryTypeName","src":"7495:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"7480:31:0"},"returnParameters":{"id":258,"nodeType":"ParameterList","parameters":[],"src":"7529:0:0"},"scope":315,"src":"7461:233:0","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":313,"nodeType":"Block","src":"7934:165:0","statements":[{"condition":{"arguments":[{"id":292,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":286,"src":"7956:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":293,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":288,"src":"7962:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":291,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":79,"src":"7948:7:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":294,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7948:22:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":312,"nodeType":"IfStatement","src":"7944:149:0","trueBody":{"id":311,"nodeType":"Block","src":"7972:121:0","statements":[{"expression":{"id":302,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"baseExpression":{"id":295,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":24,"src":"7986:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$19_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":297,"indexExpression":{"id":296,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":286,"src":"7993:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7986:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$19_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":298,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"members","nodeType":"MemberAccess","referencedDeclaration":16,"src":"7986:20:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":300,"indexExpression":{"id":299,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":288,"src":"8007:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7986:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":301,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"8018:5:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"7986:37:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":303,"nodeType":"ExpressionStatement","src":"7986:37:0"},{"eventCall":{"arguments":[{"id":305,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":286,"src":"8054:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":306,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":288,"src":"8060:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"id":307,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"8069:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":308,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8069: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":304,"name":"RoleRevoked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":470,"src":"8042:11:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$","typeString":"function (bytes32,address,address)"}},"id":309,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8042:40:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":310,"nodeType":"EmitStatement","src":"8037:45:0"}]}}]},"documentation":{"id":284,"nodeType":"StructuredDocumentation","src":"7700:160:0","text":" @dev Revokes `role` from `account`.\n Internal function without access restriction.\n May emit a {RoleRevoked} event."},"id":314,"implemented":true,"kind":"function","modifiers":[],"name":"_revokeRole","nameLocation":"7874:11:0","nodeType":"FunctionDefinition","parameters":{"id":289,"nodeType":"ParameterList","parameters":[{"constant":false,"id":286,"mutability":"mutable","name":"role","nameLocation":"7894:4:0","nodeType":"VariableDeclaration","scope":314,"src":"7886:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":285,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7886:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":288,"mutability":"mutable","name":"account","nameLocation":"7908:7:0","nodeType":"VariableDeclaration","scope":314,"src":"7900:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":287,"name":"address","nodeType":"ElementaryTypeName","src":"7900:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"7885:31:0"},"returnParameters":{"id":290,"nodeType":"ParameterList","parameters":[],"src":"7934:0:0"},"scope":315,"src":"7865:234:0","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":316,"src":"1806:6295:0","usedErrors":[]}],"src":"108:7994:0"},"id":0},"@openzeppelin/contracts/access/AccessControlEnumerable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/access/AccessControlEnumerable.sol","exportedSymbols":{"AccessControl":[315],"AccessControlEnumerable":[440],"Context":[2459],"ERC165":[2658],"EnumerableSet":[4148],"IAccessControl":[513],"IAccessControlEnumerable":[538],"IERC165":[2670],"Math":[3535],"Strings":[2634]},"id":441,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":317,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"118:23:1"},{"absolutePath":"@openzeppelin/contracts/access/IAccessControlEnumerable.sol","file":"./IAccessControlEnumerable.sol","id":318,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":441,"sourceUnit":539,"src":"143:40:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/access/AccessControl.sol","file":"./AccessControl.sol","id":319,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":441,"sourceUnit":316,"src":"184:29:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/structs/EnumerableSet.sol","file":"../utils/structs/EnumerableSet.sol","id":320,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":441,"sourceUnit":4149,"src":"214:44:1","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":322,"name":"IAccessControlEnumerable","nodeType":"IdentifierPath","referencedDeclaration":538,"src":"400:24:1"},"id":323,"nodeType":"InheritanceSpecifier","src":"400:24:1"},{"baseName":{"id":324,"name":"AccessControl","nodeType":"IdentifierPath","referencedDeclaration":315,"src":"426:13:1"},"id":325,"nodeType":"InheritanceSpecifier","src":"426:13:1"}],"canonicalName":"AccessControlEnumerable","contractDependencies":[],"contractKind":"contract","documentation":{"id":321,"nodeType":"StructuredDocumentation","src":"260:94:1","text":" @dev Extension of {AccessControl} that allows enumerating the members of each role."},"fullyImplemented":true,"id":440,"linearizedBaseContracts":[440,315,2658,2670,538,513,2459],"name":"AccessControlEnumerable","nameLocation":"373:23:1","nodeType":"ContractDefinition","nodes":[{"global":false,"id":329,"libraryName":{"id":326,"name":"EnumerableSet","nodeType":"IdentifierPath","referencedDeclaration":4148,"src":"452:13:1"},"nodeType":"UsingForDirective","src":"446:49:1","typeName":{"id":328,"nodeType":"UserDefinedTypeName","pathNode":{"id":327,"name":"EnumerableSet.AddressSet","nodeType":"IdentifierPath","referencedDeclaration":3861,"src":"470:24:1"},"referencedDeclaration":3861,"src":"470:24:1","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"}}},{"constant":false,"id":334,"mutability":"mutable","name":"_roleMembers","nameLocation":"554:12:1","nodeType":"VariableDeclaration","scope":440,"src":"501:65:1","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_AddressSet_$3861_storage_$","typeString":"mapping(bytes32 => struct EnumerableSet.AddressSet)"},"typeName":{"id":333,"keyType":{"id":330,"name":"bytes32","nodeType":"ElementaryTypeName","src":"509:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"501:44:1","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_AddressSet_$3861_storage_$","typeString":"mapping(bytes32 => struct EnumerableSet.AddressSet)"},"valueType":{"id":332,"nodeType":"UserDefinedTypeName","pathNode":{"id":331,"name":"EnumerableSet.AddressSet","nodeType":"IdentifierPath","referencedDeclaration":3861,"src":"520:24:1"},"referencedDeclaration":3861,"src":"520:24:1","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"}}},"visibility":"private"},{"baseFunctions":[60],"body":{"id":355,"nodeType":"Block","src":"725:121:1","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":353,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":348,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":343,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":337,"src":"742:11:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":345,"name":"IAccessControlEnumerable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":538,"src":"762:24:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAccessControlEnumerable_$538_$","typeString":"type(contract IAccessControlEnumerable)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_contract$_IAccessControlEnumerable_$538_$","typeString":"type(contract IAccessControlEnumerable)"}],"id":344,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"757:4:1","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":346,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"757:30:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_contract$_IAccessControlEnumerable_$538","typeString":"type(contract IAccessControlEnumerable)"}},"id":347,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"interfaceId","nodeType":"MemberAccess","src":"757:42:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"742:57:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":351,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":337,"src":"827:11:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":349,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"803:5:1","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_AccessControlEnumerable_$440_$","typeString":"type(contract super AccessControlEnumerable)"}},"id":350,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"supportsInterface","nodeType":"MemberAccess","referencedDeclaration":60,"src":"803:23:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) view returns (bool)"}},"id":352,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"803:36:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"742:97:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":342,"id":354,"nodeType":"Return","src":"735:104:1"}]},"documentation":{"id":335,"nodeType":"StructuredDocumentation","src":"573:56:1","text":" @dev See {IERC165-supportsInterface}."},"functionSelector":"01ffc9a7","id":356,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"643:17:1","nodeType":"FunctionDefinition","overrides":{"id":339,"nodeType":"OverrideSpecifier","overrides":[],"src":"701:8:1"},"parameters":{"id":338,"nodeType":"ParameterList","parameters":[{"constant":false,"id":337,"mutability":"mutable","name":"interfaceId","nameLocation":"668:11:1","nodeType":"VariableDeclaration","scope":356,"src":"661:18:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":336,"name":"bytes4","nodeType":"ElementaryTypeName","src":"661:6:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"660:20:1"},"returnParameters":{"id":342,"nodeType":"ParameterList","parameters":[{"constant":false,"id":341,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":356,"src":"719:4:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":340,"name":"bool","nodeType":"ElementaryTypeName","src":"719:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"718:6:1"},"scope":440,"src":"634:212:1","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[529],"body":{"id":374,"nodeType":"Block","src":"1530:52:1","statements":[{"expression":{"arguments":[{"id":371,"name":"index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":361,"src":"1569:5:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"baseExpression":{"id":367,"name":"_roleMembers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":334,"src":"1547:12:1","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_AddressSet_$3861_storage_$","typeString":"mapping(bytes32 => struct EnumerableSet.AddressSet storage ref)"}},"id":369,"indexExpression":{"id":368,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":359,"src":"1560:4:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1547:18:1","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage","typeString":"struct EnumerableSet.AddressSet storage ref"}},"id":370,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"at","nodeType":"MemberAccess","referencedDeclaration":3984,"src":"1547:21:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_AddressSet_$3861_storage_ptr_$_t_uint256_$returns$_t_address_$bound_to$_t_struct$_AddressSet_$3861_storage_ptr_$","typeString":"function (struct EnumerableSet.AddressSet storage pointer,uint256) view returns (address)"}},"id":372,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1547:28:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":366,"id":373,"nodeType":"Return","src":"1540:35:1"}]},"documentation":{"id":357,"nodeType":"StructuredDocumentation","src":"852:574:1","text":" @dev Returns one of the accounts that have `role`. `index` must be a\n value between 0 and {getRoleMemberCount}, non-inclusive.\n Role bearers are not sorted in any particular way, and their ordering may\n change at any point.\n WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n you perform all queries on the same block. See the following\n https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n for more information."},"functionSelector":"9010d07c","id":375,"implemented":true,"kind":"function","modifiers":[],"name":"getRoleMember","nameLocation":"1440:13:1","nodeType":"FunctionDefinition","overrides":{"id":363,"nodeType":"OverrideSpecifier","overrides":[],"src":"1503:8:1"},"parameters":{"id":362,"nodeType":"ParameterList","parameters":[{"constant":false,"id":359,"mutability":"mutable","name":"role","nameLocation":"1462:4:1","nodeType":"VariableDeclaration","scope":375,"src":"1454:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":358,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1454:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":361,"mutability":"mutable","name":"index","nameLocation":"1476:5:1","nodeType":"VariableDeclaration","scope":375,"src":"1468:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":360,"name":"uint256","nodeType":"ElementaryTypeName","src":"1468:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1453:29:1"},"returnParameters":{"id":366,"nodeType":"ParameterList","parameters":[{"constant":false,"id":365,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":375,"src":"1521:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":364,"name":"address","nodeType":"ElementaryTypeName","src":"1521:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1520:9:1"},"scope":440,"src":"1431:151:1","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[537],"body":{"id":390,"nodeType":"Block","src":"1839:51:1","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"baseExpression":{"id":384,"name":"_roleMembers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":334,"src":"1856:12:1","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_AddressSet_$3861_storage_$","typeString":"mapping(bytes32 => struct EnumerableSet.AddressSet storage ref)"}},"id":386,"indexExpression":{"id":385,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":378,"src":"1869:4:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1856:18:1","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage","typeString":"struct EnumerableSet.AddressSet storage ref"}},"id":387,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","referencedDeclaration":3957,"src":"1856:25:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_AddressSet_$3861_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_AddressSet_$3861_storage_ptr_$","typeString":"function (struct EnumerableSet.AddressSet storage pointer) view returns (uint256)"}},"id":388,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1856:27:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":383,"id":389,"nodeType":"Return","src":"1849:34:1"}]},"documentation":{"id":376,"nodeType":"StructuredDocumentation","src":"1588:157:1","text":" @dev Returns the number of accounts that have `role`. Can be used\n together with {getRoleMember} to enumerate all bearers of a role."},"functionSelector":"ca15c873","id":391,"implemented":true,"kind":"function","modifiers":[],"name":"getRoleMemberCount","nameLocation":"1759:18:1","nodeType":"FunctionDefinition","overrides":{"id":380,"nodeType":"OverrideSpecifier","overrides":[],"src":"1812:8:1"},"parameters":{"id":379,"nodeType":"ParameterList","parameters":[{"constant":false,"id":378,"mutability":"mutable","name":"role","nameLocation":"1786:4:1","nodeType":"VariableDeclaration","scope":391,"src":"1778:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":377,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1778:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1777:14:1"},"returnParameters":{"id":383,"nodeType":"ParameterList","parameters":[{"constant":false,"id":382,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":391,"src":"1830:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":381,"name":"uint256","nodeType":"ElementaryTypeName","src":"1830:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1829:9:1"},"scope":440,"src":"1750:140:1","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[283],"body":{"id":414,"nodeType":"Block","src":"2055:89:1","statements":[{"expression":{"arguments":[{"id":403,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":394,"src":"2082:4:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":404,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":396,"src":"2088:7:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":400,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"2065:5:1","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_AccessControlEnumerable_$440_$","typeString":"type(contract super AccessControlEnumerable)"}},"id":402,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"_grantRole","nodeType":"MemberAccess","referencedDeclaration":283,"src":"2065:16:1","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":405,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2065:31:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":406,"nodeType":"ExpressionStatement","src":"2065:31:1"},{"expression":{"arguments":[{"id":411,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":396,"src":"2129:7:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"baseExpression":{"id":407,"name":"_roleMembers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":334,"src":"2106:12:1","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_AddressSet_$3861_storage_$","typeString":"mapping(bytes32 => struct EnumerableSet.AddressSet storage ref)"}},"id":409,"indexExpression":{"id":408,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":394,"src":"2119:4:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2106:18:1","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage","typeString":"struct EnumerableSet.AddressSet storage ref"}},"id":410,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"add","nodeType":"MemberAccess","referencedDeclaration":3888,"src":"2106:22:1","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_AddressSet_$3861_storage_ptr_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_AddressSet_$3861_storage_ptr_$","typeString":"function (struct EnumerableSet.AddressSet storage pointer,address) returns (bool)"}},"id":412,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2106:31:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":413,"nodeType":"ExpressionStatement","src":"2106:31:1"}]},"documentation":{"id":392,"nodeType":"StructuredDocumentation","src":"1896:77:1","text":" @dev Overload {_grantRole} to track enumerable memberships"},"id":415,"implemented":true,"kind":"function","modifiers":[],"name":"_grantRole","nameLocation":"1987:10:1","nodeType":"FunctionDefinition","overrides":{"id":398,"nodeType":"OverrideSpecifier","overrides":[],"src":"2046:8:1"},"parameters":{"id":397,"nodeType":"ParameterList","parameters":[{"constant":false,"id":394,"mutability":"mutable","name":"role","nameLocation":"2006:4:1","nodeType":"VariableDeclaration","scope":415,"src":"1998:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":393,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1998:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":396,"mutability":"mutable","name":"account","nameLocation":"2020:7:1","nodeType":"VariableDeclaration","scope":415,"src":"2012:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":395,"name":"address","nodeType":"ElementaryTypeName","src":"2012:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1997:31:1"},"returnParameters":{"id":399,"nodeType":"ParameterList","parameters":[],"src":"2055:0:1"},"scope":440,"src":"1978:166:1","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"baseFunctions":[314],"body":{"id":438,"nodeType":"Block","src":"2311:93:1","statements":[{"expression":{"arguments":[{"id":427,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":418,"src":"2339:4:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":428,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":420,"src":"2345:7:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":424,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"2321:5:1","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_AccessControlEnumerable_$440_$","typeString":"type(contract super AccessControlEnumerable)"}},"id":426,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"_revokeRole","nodeType":"MemberAccess","referencedDeclaration":314,"src":"2321:17:1","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":429,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2321:32:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":430,"nodeType":"ExpressionStatement","src":"2321:32:1"},{"expression":{"arguments":[{"id":435,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":420,"src":"2389:7:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"baseExpression":{"id":431,"name":"_roleMembers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":334,"src":"2363:12:1","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_AddressSet_$3861_storage_$","typeString":"mapping(bytes32 => struct EnumerableSet.AddressSet storage ref)"}},"id":433,"indexExpression":{"id":432,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":418,"src":"2376:4:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2363:18:1","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage","typeString":"struct EnumerableSet.AddressSet storage ref"}},"id":434,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"remove","nodeType":"MemberAccess","referencedDeclaration":3915,"src":"2363:25:1","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_AddressSet_$3861_storage_ptr_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_AddressSet_$3861_storage_ptr_$","typeString":"function (struct EnumerableSet.AddressSet storage pointer,address) returns (bool)"}},"id":436,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2363:34:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":437,"nodeType":"ExpressionStatement","src":"2363:34:1"}]},"documentation":{"id":416,"nodeType":"StructuredDocumentation","src":"2150:78:1","text":" @dev Overload {_revokeRole} to track enumerable memberships"},"id":439,"implemented":true,"kind":"function","modifiers":[],"name":"_revokeRole","nameLocation":"2242:11:1","nodeType":"FunctionDefinition","overrides":{"id":422,"nodeType":"OverrideSpecifier","overrides":[],"src":"2302:8:1"},"parameters":{"id":421,"nodeType":"ParameterList","parameters":[{"constant":false,"id":418,"mutability":"mutable","name":"role","nameLocation":"2262:4:1","nodeType":"VariableDeclaration","scope":439,"src":"2254:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":417,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2254:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":420,"mutability":"mutable","name":"account","nameLocation":"2276:7:1","nodeType":"VariableDeclaration","scope":439,"src":"2268:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":419,"name":"address","nodeType":"ElementaryTypeName","src":"2268:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2253:31:1"},"returnParameters":{"id":423,"nodeType":"ParameterList","parameters":[],"src":"2311:0:1"},"scope":440,"src":"2233:171:1","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":441,"src":"355:2051:1","usedErrors":[]}],"src":"118:2289:1"},"id":1},"@openzeppelin/contracts/access/IAccessControl.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/access/IAccessControl.sol","exportedSymbols":{"IAccessControl":[513]},"id":514,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":442,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"94:23:2"},{"abstract":false,"baseContracts":[],"canonicalName":"IAccessControl","contractDependencies":[],"contractKind":"interface","documentation":{"id":443,"nodeType":"StructuredDocumentation","src":"119:89:2","text":" @dev External interface of AccessControl declared to support ERC165 detection."},"fullyImplemented":false,"id":513,"linearizedBaseContracts":[513],"name":"IAccessControl","nameLocation":"219:14:2","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":444,"nodeType":"StructuredDocumentation","src":"240:292:2","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.\n _Available since v3.1._"},"eventSelector":"bd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff","id":452,"name":"RoleAdminChanged","nameLocation":"543:16:2","nodeType":"EventDefinition","parameters":{"id":451,"nodeType":"ParameterList","parameters":[{"constant":false,"id":446,"indexed":true,"mutability":"mutable","name":"role","nameLocation":"576:4:2","nodeType":"VariableDeclaration","scope":452,"src":"560:20:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":445,"name":"bytes32","nodeType":"ElementaryTypeName","src":"560:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":448,"indexed":true,"mutability":"mutable","name":"previousAdminRole","nameLocation":"598:17:2","nodeType":"VariableDeclaration","scope":452,"src":"582:33:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":447,"name":"bytes32","nodeType":"ElementaryTypeName","src":"582:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":450,"indexed":true,"mutability":"mutable","name":"newAdminRole","nameLocation":"633:12:2","nodeType":"VariableDeclaration","scope":452,"src":"617:28:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":449,"name":"bytes32","nodeType":"ElementaryTypeName","src":"617:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"559:87:2"},"src":"537:110:2"},{"anonymous":false,"documentation":{"id":453,"nodeType":"StructuredDocumentation","src":"653:212:2","text":" @dev Emitted when `account` is granted `role`.\n `sender` is the account that originated the contract call, an admin role\n bearer except when using {AccessControl-_setupRole}."},"eventSelector":"2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d","id":461,"name":"RoleGranted","nameLocation":"876:11:2","nodeType":"EventDefinition","parameters":{"id":460,"nodeType":"ParameterList","parameters":[{"constant":false,"id":455,"indexed":true,"mutability":"mutable","name":"role","nameLocation":"904:4:2","nodeType":"VariableDeclaration","scope":461,"src":"888:20:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":454,"name":"bytes32","nodeType":"ElementaryTypeName","src":"888:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":457,"indexed":true,"mutability":"mutable","name":"account","nameLocation":"926:7:2","nodeType":"VariableDeclaration","scope":461,"src":"910:23:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":456,"name":"address","nodeType":"ElementaryTypeName","src":"910:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":459,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"951:6:2","nodeType":"VariableDeclaration","scope":461,"src":"935:22:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":458,"name":"address","nodeType":"ElementaryTypeName","src":"935:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"887:71:2"},"src":"870:89:2"},{"anonymous":false,"documentation":{"id":462,"nodeType":"StructuredDocumentation","src":"965:275:2","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":470,"name":"RoleRevoked","nameLocation":"1251:11:2","nodeType":"EventDefinition","parameters":{"id":469,"nodeType":"ParameterList","parameters":[{"constant":false,"id":464,"indexed":true,"mutability":"mutable","name":"role","nameLocation":"1279:4:2","nodeType":"VariableDeclaration","scope":470,"src":"1263:20:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":463,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1263:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":466,"indexed":true,"mutability":"mutable","name":"account","nameLocation":"1301:7:2","nodeType":"VariableDeclaration","scope":470,"src":"1285:23:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":465,"name":"address","nodeType":"ElementaryTypeName","src":"1285:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":468,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"1326:6:2","nodeType":"VariableDeclaration","scope":470,"src":"1310:22:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":467,"name":"address","nodeType":"ElementaryTypeName","src":"1310:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1262:71:2"},"src":"1245:89:2"},{"documentation":{"id":471,"nodeType":"StructuredDocumentation","src":"1340:76:2","text":" @dev Returns `true` if `account` has been granted `role`."},"functionSelector":"91d14854","id":480,"implemented":false,"kind":"function","modifiers":[],"name":"hasRole","nameLocation":"1430:7:2","nodeType":"FunctionDefinition","parameters":{"id":476,"nodeType":"ParameterList","parameters":[{"constant":false,"id":473,"mutability":"mutable","name":"role","nameLocation":"1446:4:2","nodeType":"VariableDeclaration","scope":480,"src":"1438:12:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":472,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1438:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":475,"mutability":"mutable","name":"account","nameLocation":"1460:7:2","nodeType":"VariableDeclaration","scope":480,"src":"1452:15:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":474,"name":"address","nodeType":"ElementaryTypeName","src":"1452:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1437:31:2"},"returnParameters":{"id":479,"nodeType":"ParameterList","parameters":[{"constant":false,"id":478,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":480,"src":"1492:4:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":477,"name":"bool","nodeType":"ElementaryTypeName","src":"1492:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1491:6:2"},"scope":513,"src":"1421:77:2","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":481,"nodeType":"StructuredDocumentation","src":"1504:184:2","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":488,"implemented":false,"kind":"function","modifiers":[],"name":"getRoleAdmin","nameLocation":"1702:12:2","nodeType":"FunctionDefinition","parameters":{"id":484,"nodeType":"ParameterList","parameters":[{"constant":false,"id":483,"mutability":"mutable","name":"role","nameLocation":"1723:4:2","nodeType":"VariableDeclaration","scope":488,"src":"1715:12:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":482,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1715:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1714:14:2"},"returnParameters":{"id":487,"nodeType":"ParameterList","parameters":[{"constant":false,"id":486,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":488,"src":"1752:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":485,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1752:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1751:9:2"},"scope":513,"src":"1693:68:2","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":489,"nodeType":"StructuredDocumentation","src":"1767:239:2","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":496,"implemented":false,"kind":"function","modifiers":[],"name":"grantRole","nameLocation":"2020:9:2","nodeType":"FunctionDefinition","parameters":{"id":494,"nodeType":"ParameterList","parameters":[{"constant":false,"id":491,"mutability":"mutable","name":"role","nameLocation":"2038:4:2","nodeType":"VariableDeclaration","scope":496,"src":"2030:12:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":490,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2030:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":493,"mutability":"mutable","name":"account","nameLocation":"2052:7:2","nodeType":"VariableDeclaration","scope":496,"src":"2044:15:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":492,"name":"address","nodeType":"ElementaryTypeName","src":"2044:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2029:31:2"},"returnParameters":{"id":495,"nodeType":"ParameterList","parameters":[],"src":"2069:0:2"},"scope":513,"src":"2011:59:2","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":497,"nodeType":"StructuredDocumentation","src":"2076:223:2","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":504,"implemented":false,"kind":"function","modifiers":[],"name":"revokeRole","nameLocation":"2313:10:2","nodeType":"FunctionDefinition","parameters":{"id":502,"nodeType":"ParameterList","parameters":[{"constant":false,"id":499,"mutability":"mutable","name":"role","nameLocation":"2332:4:2","nodeType":"VariableDeclaration","scope":504,"src":"2324:12:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":498,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2324:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":501,"mutability":"mutable","name":"account","nameLocation":"2346:7:2","nodeType":"VariableDeclaration","scope":504,"src":"2338:15:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":500,"name":"address","nodeType":"ElementaryTypeName","src":"2338:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2323:31:2"},"returnParameters":{"id":503,"nodeType":"ParameterList","parameters":[],"src":"2363:0:2"},"scope":513,"src":"2304:60:2","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":505,"nodeType":"StructuredDocumentation","src":"2370:480:2","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 `account`."},"functionSelector":"36568abe","id":512,"implemented":false,"kind":"function","modifiers":[],"name":"renounceRole","nameLocation":"2864:12:2","nodeType":"FunctionDefinition","parameters":{"id":510,"nodeType":"ParameterList","parameters":[{"constant":false,"id":507,"mutability":"mutable","name":"role","nameLocation":"2885:4:2","nodeType":"VariableDeclaration","scope":512,"src":"2877:12:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":506,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2877:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":509,"mutability":"mutable","name":"account","nameLocation":"2899:7:2","nodeType":"VariableDeclaration","scope":512,"src":"2891:15:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":508,"name":"address","nodeType":"ElementaryTypeName","src":"2891:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2876:31:2"},"returnParameters":{"id":511,"nodeType":"ParameterList","parameters":[],"src":"2916:0:2"},"scope":513,"src":"2855:62:2","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":514,"src":"209:2710:2","usedErrors":[]}],"src":"94:2826:2"},"id":2},"@openzeppelin/contracts/access/IAccessControlEnumerable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/access/IAccessControlEnumerable.sol","exportedSymbols":{"IAccessControl":[513],"IAccessControlEnumerable":[538]},"id":539,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":515,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"104:23:3"},{"absolutePath":"@openzeppelin/contracts/access/IAccessControl.sol","file":"./IAccessControl.sol","id":516,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":539,"sourceUnit":514,"src":"129:30:3","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":518,"name":"IAccessControl","nodeType":"IdentifierPath","referencedDeclaration":513,"src":"299:14:3"},"id":519,"nodeType":"InheritanceSpecifier","src":"299:14:3"}],"canonicalName":"IAccessControlEnumerable","contractDependencies":[],"contractKind":"interface","documentation":{"id":517,"nodeType":"StructuredDocumentation","src":"161:99:3","text":" @dev External interface of AccessControlEnumerable declared to support ERC165 detection."},"fullyImplemented":false,"id":538,"linearizedBaseContracts":[538,513],"name":"IAccessControlEnumerable","nameLocation":"271:24:3","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":520,"nodeType":"StructuredDocumentation","src":"320:574:3","text":" @dev Returns one of the accounts that have `role`. `index` must be a\n value between 0 and {getRoleMemberCount}, non-inclusive.\n Role bearers are not sorted in any particular way, and their ordering may\n change at any point.\n WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n you perform all queries on the same block. See the following\n https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n for more information."},"functionSelector":"9010d07c","id":529,"implemented":false,"kind":"function","modifiers":[],"name":"getRoleMember","nameLocation":"908:13:3","nodeType":"FunctionDefinition","parameters":{"id":525,"nodeType":"ParameterList","parameters":[{"constant":false,"id":522,"mutability":"mutable","name":"role","nameLocation":"930:4:3","nodeType":"VariableDeclaration","scope":529,"src":"922:12:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":521,"name":"bytes32","nodeType":"ElementaryTypeName","src":"922:7:3","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":524,"mutability":"mutable","name":"index","nameLocation":"944:5:3","nodeType":"VariableDeclaration","scope":529,"src":"936:13:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":523,"name":"uint256","nodeType":"ElementaryTypeName","src":"936:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"921:29:3"},"returnParameters":{"id":528,"nodeType":"ParameterList","parameters":[{"constant":false,"id":527,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":529,"src":"974:7:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":526,"name":"address","nodeType":"ElementaryTypeName","src":"974:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"973:9:3"},"scope":538,"src":"899:84:3","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":530,"nodeType":"StructuredDocumentation","src":"989:157:3","text":" @dev Returns the number of accounts that have `role`. Can be used\n together with {getRoleMember} to enumerate all bearers of a role."},"functionSelector":"ca15c873","id":537,"implemented":false,"kind":"function","modifiers":[],"name":"getRoleMemberCount","nameLocation":"1160:18:3","nodeType":"FunctionDefinition","parameters":{"id":533,"nodeType":"ParameterList","parameters":[{"constant":false,"id":532,"mutability":"mutable","name":"role","nameLocation":"1187:4:3","nodeType":"VariableDeclaration","scope":537,"src":"1179:12:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":531,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1179:7:3","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1178:14:3"},"returnParameters":{"id":536,"nodeType":"ParameterList","parameters":[{"constant":false,"id":535,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":537,"src":"1216:7:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":534,"name":"uint256","nodeType":"ElementaryTypeName","src":"1216:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1215:9:3"},"scope":538,"src":"1151:74:3","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":539,"src":"261:966:3","usedErrors":[]}],"src":"104:1124:3"},"id":3},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","exportedSymbols":{"IERC20":[616]},"id":617,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":540,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"106:23:4"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC20","contractDependencies":[],"contractKind":"interface","documentation":{"id":541,"nodeType":"StructuredDocumentation","src":"131:70:4","text":" @dev Interface of the ERC20 standard as defined in the EIP."},"fullyImplemented":false,"id":616,"linearizedBaseContracts":[616],"name":"IERC20","nameLocation":"212:6:4","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":542,"nodeType":"StructuredDocumentation","src":"225:158:4","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":550,"name":"Transfer","nameLocation":"394:8:4","nodeType":"EventDefinition","parameters":{"id":549,"nodeType":"ParameterList","parameters":[{"constant":false,"id":544,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"419:4:4","nodeType":"VariableDeclaration","scope":550,"src":"403:20:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":543,"name":"address","nodeType":"ElementaryTypeName","src":"403:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":546,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"441:2:4","nodeType":"VariableDeclaration","scope":550,"src":"425:18:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":545,"name":"address","nodeType":"ElementaryTypeName","src":"425:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":548,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"453:5:4","nodeType":"VariableDeclaration","scope":550,"src":"445:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":547,"name":"uint256","nodeType":"ElementaryTypeName","src":"445:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"402:57:4"},"src":"388:72:4"},{"anonymous":false,"documentation":{"id":551,"nodeType":"StructuredDocumentation","src":"466:148:4","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":559,"name":"Approval","nameLocation":"625:8:4","nodeType":"EventDefinition","parameters":{"id":558,"nodeType":"ParameterList","parameters":[{"constant":false,"id":553,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"650:5:4","nodeType":"VariableDeclaration","scope":559,"src":"634:21:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":552,"name":"address","nodeType":"ElementaryTypeName","src":"634:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":555,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"673:7:4","nodeType":"VariableDeclaration","scope":559,"src":"657:23:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":554,"name":"address","nodeType":"ElementaryTypeName","src":"657:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":557,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"690:5:4","nodeType":"VariableDeclaration","scope":559,"src":"682:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":556,"name":"uint256","nodeType":"ElementaryTypeName","src":"682:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"633:63:4"},"src":"619:78:4"},{"documentation":{"id":560,"nodeType":"StructuredDocumentation","src":"703:66:4","text":" @dev Returns the amount of tokens in existence."},"functionSelector":"18160ddd","id":565,"implemented":false,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"783:11:4","nodeType":"FunctionDefinition","parameters":{"id":561,"nodeType":"ParameterList","parameters":[],"src":"794:2:4"},"returnParameters":{"id":564,"nodeType":"ParameterList","parameters":[{"constant":false,"id":563,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":565,"src":"820:7:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":562,"name":"uint256","nodeType":"ElementaryTypeName","src":"820:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"819:9:4"},"scope":616,"src":"774:55:4","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":566,"nodeType":"StructuredDocumentation","src":"835:72:4","text":" @dev Returns the amount of tokens owned by `account`."},"functionSelector":"70a08231","id":573,"implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"921:9:4","nodeType":"FunctionDefinition","parameters":{"id":569,"nodeType":"ParameterList","parameters":[{"constant":false,"id":568,"mutability":"mutable","name":"account","nameLocation":"939:7:4","nodeType":"VariableDeclaration","scope":573,"src":"931:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":567,"name":"address","nodeType":"ElementaryTypeName","src":"931:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"930:17:4"},"returnParameters":{"id":572,"nodeType":"ParameterList","parameters":[{"constant":false,"id":571,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":573,"src":"971:7:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":570,"name":"uint256","nodeType":"ElementaryTypeName","src":"971:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"970:9:4"},"scope":616,"src":"912:68:4","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":574,"nodeType":"StructuredDocumentation","src":"986:202:4","text":" @dev Moves `amount` 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":583,"implemented":false,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"1202:8:4","nodeType":"FunctionDefinition","parameters":{"id":579,"nodeType":"ParameterList","parameters":[{"constant":false,"id":576,"mutability":"mutable","name":"to","nameLocation":"1219:2:4","nodeType":"VariableDeclaration","scope":583,"src":"1211:10:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":575,"name":"address","nodeType":"ElementaryTypeName","src":"1211:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":578,"mutability":"mutable","name":"amount","nameLocation":"1231:6:4","nodeType":"VariableDeclaration","scope":583,"src":"1223:14:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":577,"name":"uint256","nodeType":"ElementaryTypeName","src":"1223:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1210:28:4"},"returnParameters":{"id":582,"nodeType":"ParameterList","parameters":[{"constant":false,"id":581,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":583,"src":"1257:4:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":580,"name":"bool","nodeType":"ElementaryTypeName","src":"1257:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1256:6:4"},"scope":616,"src":"1193:70:4","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":584,"nodeType":"StructuredDocumentation","src":"1269:264:4","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":593,"implemented":false,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"1547:9:4","nodeType":"FunctionDefinition","parameters":{"id":589,"nodeType":"ParameterList","parameters":[{"constant":false,"id":586,"mutability":"mutable","name":"owner","nameLocation":"1565:5:4","nodeType":"VariableDeclaration","scope":593,"src":"1557:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":585,"name":"address","nodeType":"ElementaryTypeName","src":"1557:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":588,"mutability":"mutable","name":"spender","nameLocation":"1580:7:4","nodeType":"VariableDeclaration","scope":593,"src":"1572:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":587,"name":"address","nodeType":"ElementaryTypeName","src":"1572:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1556:32:4"},"returnParameters":{"id":592,"nodeType":"ParameterList","parameters":[{"constant":false,"id":591,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":593,"src":"1612:7:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":590,"name":"uint256","nodeType":"ElementaryTypeName","src":"1612:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1611:9:4"},"scope":616,"src":"1538:83:4","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":594,"nodeType":"StructuredDocumentation","src":"1627:642:4","text":" @dev Sets `amount` as the allowance of `spender` over the 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":603,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"2283:7:4","nodeType":"FunctionDefinition","parameters":{"id":599,"nodeType":"ParameterList","parameters":[{"constant":false,"id":596,"mutability":"mutable","name":"spender","nameLocation":"2299:7:4","nodeType":"VariableDeclaration","scope":603,"src":"2291:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":595,"name":"address","nodeType":"ElementaryTypeName","src":"2291:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":598,"mutability":"mutable","name":"amount","nameLocation":"2316:6:4","nodeType":"VariableDeclaration","scope":603,"src":"2308:14:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":597,"name":"uint256","nodeType":"ElementaryTypeName","src":"2308:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2290:33:4"},"returnParameters":{"id":602,"nodeType":"ParameterList","parameters":[{"constant":false,"id":601,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":603,"src":"2342:4:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":600,"name":"bool","nodeType":"ElementaryTypeName","src":"2342:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2341:6:4"},"scope":616,"src":"2274:74:4","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":604,"nodeType":"StructuredDocumentation","src":"2354:287:4","text":" @dev Moves `amount` tokens from `from` to `to` using the\n allowance mechanism. `amount` 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":615,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"2655:12:4","nodeType":"FunctionDefinition","parameters":{"id":611,"nodeType":"ParameterList","parameters":[{"constant":false,"id":606,"mutability":"mutable","name":"from","nameLocation":"2685:4:4","nodeType":"VariableDeclaration","scope":615,"src":"2677:12:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":605,"name":"address","nodeType":"ElementaryTypeName","src":"2677:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":608,"mutability":"mutable","name":"to","nameLocation":"2707:2:4","nodeType":"VariableDeclaration","scope":615,"src":"2699:10:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":607,"name":"address","nodeType":"ElementaryTypeName","src":"2699:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":610,"mutability":"mutable","name":"amount","nameLocation":"2727:6:4","nodeType":"VariableDeclaration","scope":615,"src":"2719:14:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":609,"name":"uint256","nodeType":"ElementaryTypeName","src":"2719:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2667:72:4"},"returnParameters":{"id":614,"nodeType":"ParameterList","parameters":[{"constant":false,"id":613,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":615,"src":"2758:4:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":612,"name":"bool","nodeType":"ElementaryTypeName","src":"2758:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2757:6:4"},"scope":616,"src":"2646:118:4","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":617,"src":"202:2564:4","usedErrors":[]}],"src":"106:2661:4"},"id":4},"@openzeppelin/contracts/token/ERC721/ERC721.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/ERC721.sol","exportedSymbols":{"Address":[2437],"Context":[2459],"ERC165":[2658],"ERC721":[1561],"IERC165":[2670],"IERC721":[1677],"IERC721Metadata":[2107],"IERC721Receiver":[1695],"Math":[3535],"Strings":[2634]},"id":1562,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":618,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"107:23:5"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721.sol","file":"./IERC721.sol","id":619,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1562,"sourceUnit":1678,"src":"132:23:5","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol","file":"./IERC721Receiver.sol","id":620,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1562,"sourceUnit":1696,"src":"156:31:5","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol","file":"./extensions/IERC721Metadata.sol","id":621,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1562,"sourceUnit":2108,"src":"188:42:5","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Address.sol","file":"../../utils/Address.sol","id":622,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1562,"sourceUnit":2438,"src":"231:33:5","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","file":"../../utils/Context.sol","id":623,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1562,"sourceUnit":2460,"src":"265:33:5","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Strings.sol","file":"../../utils/Strings.sol","id":624,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1562,"sourceUnit":2635,"src":"299:33:5","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/introspection/ERC165.sol","file":"../../utils/introspection/ERC165.sol","id":625,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1562,"sourceUnit":2659,"src":"333:46:5","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":627,"name":"Context","nodeType":"IdentifierPath","referencedDeclaration":2459,"src":"647:7:5"},"id":628,"nodeType":"InheritanceSpecifier","src":"647:7:5"},{"baseName":{"id":629,"name":"ERC165","nodeType":"IdentifierPath","referencedDeclaration":2658,"src":"656:6:5"},"id":630,"nodeType":"InheritanceSpecifier","src":"656:6:5"},{"baseName":{"id":631,"name":"IERC721","nodeType":"IdentifierPath","referencedDeclaration":1677,"src":"664:7:5"},"id":632,"nodeType":"InheritanceSpecifier","src":"664:7:5"},{"baseName":{"id":633,"name":"IERC721Metadata","nodeType":"IdentifierPath","referencedDeclaration":2107,"src":"673:15:5"},"id":634,"nodeType":"InheritanceSpecifier","src":"673:15:5"}],"canonicalName":"ERC721","contractDependencies":[],"contractKind":"contract","documentation":{"id":626,"nodeType":"StructuredDocumentation","src":"381:246:5","text":" @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including\n the Metadata extension, but not including the Enumerable extension, which is available separately as\n {ERC721Enumerable}."},"fullyImplemented":true,"id":1561,"linearizedBaseContracts":[1561,2107,1677,2658,2670,2459],"name":"ERC721","nameLocation":"637:6:5","nodeType":"ContractDefinition","nodes":[{"global":false,"id":637,"libraryName":{"id":635,"name":"Address","nodeType":"IdentifierPath","referencedDeclaration":2437,"src":"701:7:5"},"nodeType":"UsingForDirective","src":"695:26:5","typeName":{"id":636,"name":"address","nodeType":"ElementaryTypeName","src":"713:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}},{"global":false,"id":640,"libraryName":{"id":638,"name":"Strings","nodeType":"IdentifierPath","referencedDeclaration":2634,"src":"732:7:5"},"nodeType":"UsingForDirective","src":"726:26:5","typeName":{"id":639,"name":"uint256","nodeType":"ElementaryTypeName","src":"744:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"constant":false,"id":642,"mutability":"mutable","name":"_name","nameLocation":"791:5:5","nodeType":"VariableDeclaration","scope":1561,"src":"776:20:5","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":641,"name":"string","nodeType":"ElementaryTypeName","src":"776:6:5","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"private"},{"constant":false,"id":644,"mutability":"mutable","name":"_symbol","nameLocation":"838:7:5","nodeType":"VariableDeclaration","scope":1561,"src":"823:22:5","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":643,"name":"string","nodeType":"ElementaryTypeName","src":"823:6:5","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"private"},{"constant":false,"id":648,"mutability":"mutable","name":"_owners","nameLocation":"934:7:5","nodeType":"VariableDeclaration","scope":1561,"src":"898:43:5","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"typeName":{"id":647,"keyType":{"id":645,"name":"uint256","nodeType":"ElementaryTypeName","src":"906:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"898:27:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"valueType":{"id":646,"name":"address","nodeType":"ElementaryTypeName","src":"917:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}},"visibility":"private"},{"constant":false,"id":652,"mutability":"mutable","name":"_balances","nameLocation":"1028:9:5","nodeType":"VariableDeclaration","scope":1561,"src":"992:45:5","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":651,"keyType":{"id":649,"name":"address","nodeType":"ElementaryTypeName","src":"1000:7:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"992:27:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueType":{"id":650,"name":"uint256","nodeType":"ElementaryTypeName","src":"1011:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"private"},{"constant":false,"id":656,"mutability":"mutable","name":"_tokenApprovals","nameLocation":"1129:15:5","nodeType":"VariableDeclaration","scope":1561,"src":"1093:51:5","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"typeName":{"id":655,"keyType":{"id":653,"name":"uint256","nodeType":"ElementaryTypeName","src":"1101:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"1093:27:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"valueType":{"id":654,"name":"address","nodeType":"ElementaryTypeName","src":"1112:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}},"visibility":"private"},{"constant":false,"id":662,"mutability":"mutable","name":"_operatorApprovals","nameLocation":"1252:18:5","nodeType":"VariableDeclaration","scope":1561,"src":"1199:71:5","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"},"typeName":{"id":661,"keyType":{"id":657,"name":"address","nodeType":"ElementaryTypeName","src":"1207:7:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1199:44:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"},"valueType":{"id":660,"keyType":{"id":658,"name":"address","nodeType":"ElementaryTypeName","src":"1226:7:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1218:24:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"},"valueType":{"id":659,"name":"bool","nodeType":"ElementaryTypeName","src":"1237:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}}},"visibility":"private"},{"body":{"id":678,"nodeType":"Block","src":"1446:57:5","statements":[{"expression":{"id":672,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":670,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":642,"src":"1456:5:5","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":671,"name":"name_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":665,"src":"1464:5:5","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"1456:13:5","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":673,"nodeType":"ExpressionStatement","src":"1456:13:5"},{"expression":{"id":676,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":674,"name":"_symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":644,"src":"1479:7:5","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":675,"name":"symbol_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":667,"src":"1489:7:5","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"1479:17:5","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":677,"nodeType":"ExpressionStatement","src":"1479:17:5"}]},"documentation":{"id":663,"nodeType":"StructuredDocumentation","src":"1277:108:5","text":" @dev Initializes the contract by setting a `name` and a `symbol` to the token collection."},"id":679,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":668,"nodeType":"ParameterList","parameters":[{"constant":false,"id":665,"mutability":"mutable","name":"name_","nameLocation":"1416:5:5","nodeType":"VariableDeclaration","scope":679,"src":"1402:19:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":664,"name":"string","nodeType":"ElementaryTypeName","src":"1402:6:5","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":667,"mutability":"mutable","name":"symbol_","nameLocation":"1437:7:5","nodeType":"VariableDeclaration","scope":679,"src":"1423:21:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":666,"name":"string","nodeType":"ElementaryTypeName","src":"1423:6:5","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1401:44:5"},"returnParameters":{"id":669,"nodeType":"ParameterList","parameters":[],"src":"1446:0:5"},"scope":1561,"src":"1390:113:5","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[2657,2669],"body":{"id":709,"nodeType":"Block","src":"1678:192:5","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":707,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":702,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":695,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":690,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":682,"src":"1707:11:5","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":692,"name":"IERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1677,"src":"1727:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC721_$1677_$","typeString":"type(contract IERC721)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_contract$_IERC721_$1677_$","typeString":"type(contract IERC721)"}],"id":691,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"1722:4:5","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":693,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1722:13:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_contract$_IERC721_$1677","typeString":"type(contract IERC721)"}},"id":694,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"interfaceId","nodeType":"MemberAccess","src":"1722:25:5","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"1707:40:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":701,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":696,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":682,"src":"1763:11:5","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":698,"name":"IERC721Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2107,"src":"1783:15:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC721Metadata_$2107_$","typeString":"type(contract IERC721Metadata)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_contract$_IERC721Metadata_$2107_$","typeString":"type(contract IERC721Metadata)"}],"id":697,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"1778:4:5","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":699,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1778:21:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_contract$_IERC721Metadata_$2107","typeString":"type(contract IERC721Metadata)"}},"id":700,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"interfaceId","nodeType":"MemberAccess","src":"1778:33:5","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"1763:48:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1707:104:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":705,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":682,"src":"1851:11:5","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":703,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"1827:5:5","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_ERC721_$1561_$","typeString":"type(contract super ERC721)"}},"id":704,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"supportsInterface","nodeType":"MemberAccess","referencedDeclaration":2657,"src":"1827:23:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) view returns (bool)"}},"id":706,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1827:36:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1707:156:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":689,"id":708,"nodeType":"Return","src":"1688:175:5"}]},"documentation":{"id":680,"nodeType":"StructuredDocumentation","src":"1509:56:5","text":" @dev See {IERC165-supportsInterface}."},"functionSelector":"01ffc9a7","id":710,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"1579:17:5","nodeType":"FunctionDefinition","overrides":{"id":686,"nodeType":"OverrideSpecifier","overrides":[{"id":684,"name":"ERC165","nodeType":"IdentifierPath","referencedDeclaration":2658,"src":"1646:6:5"},{"id":685,"name":"IERC165","nodeType":"IdentifierPath","referencedDeclaration":2670,"src":"1654:7:5"}],"src":"1637:25:5"},"parameters":{"id":683,"nodeType":"ParameterList","parameters":[{"constant":false,"id":682,"mutability":"mutable","name":"interfaceId","nameLocation":"1604:11:5","nodeType":"VariableDeclaration","scope":710,"src":"1597:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":681,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1597:6:5","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1596:20:5"},"returnParameters":{"id":689,"nodeType":"ParameterList","parameters":[{"constant":false,"id":688,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":710,"src":"1672:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":687,"name":"bool","nodeType":"ElementaryTypeName","src":"1672:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1671:6:5"},"scope":1561,"src":"1570:300:5","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1602],"body":{"id":733,"nodeType":"Block","src":"2010:123:5","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":725,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":720,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":713,"src":"2028:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":723,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2045:1:5","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":722,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2037:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":721,"name":"address","nodeType":"ElementaryTypeName","src":"2037:7:5","typeDescriptions":{}}},"id":724,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2037:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2028:19:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a2061646472657373207a65726f206973206e6f7420612076616c6964206f776e6572","id":726,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2049:43:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_6d05c90094f31cfeb8f0eb86f0a513af3f7f8992991fbde41b08aa7960677159","typeString":"literal_string \"ERC721: address zero is not a valid owner\""},"value":"ERC721: address zero is not a valid owner"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_6d05c90094f31cfeb8f0eb86f0a513af3f7f8992991fbde41b08aa7960677159","typeString":"literal_string \"ERC721: address zero is not a valid owner\""}],"id":719,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2020:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":727,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2020:73:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":728,"nodeType":"ExpressionStatement","src":"2020:73:5"},{"expression":{"baseExpression":{"id":729,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":652,"src":"2110:9:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":731,"indexExpression":{"id":730,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":713,"src":"2120:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2110:16:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":718,"id":732,"nodeType":"Return","src":"2103:23:5"}]},"documentation":{"id":711,"nodeType":"StructuredDocumentation","src":"1876:48:5","text":" @dev See {IERC721-balanceOf}."},"functionSelector":"70a08231","id":734,"implemented":true,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"1938:9:5","nodeType":"FunctionDefinition","overrides":{"id":715,"nodeType":"OverrideSpecifier","overrides":[],"src":"1983:8:5"},"parameters":{"id":714,"nodeType":"ParameterList","parameters":[{"constant":false,"id":713,"mutability":"mutable","name":"owner","nameLocation":"1956:5:5","nodeType":"VariableDeclaration","scope":734,"src":"1948:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":712,"name":"address","nodeType":"ElementaryTypeName","src":"1948:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1947:15:5"},"returnParameters":{"id":718,"nodeType":"ParameterList","parameters":[{"constant":false,"id":717,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":734,"src":"2001:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":716,"name":"uint256","nodeType":"ElementaryTypeName","src":"2001:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2000:9:5"},"scope":1561,"src":"1929:204:5","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1610],"body":{"id":761,"nodeType":"Block","src":"2271:138:5","statements":[{"assignments":[744],"declarations":[{"constant":false,"id":744,"mutability":"mutable","name":"owner","nameLocation":"2289:5:5","nodeType":"VariableDeclaration","scope":761,"src":"2281:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":743,"name":"address","nodeType":"ElementaryTypeName","src":"2281:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":748,"initialValue":{"arguments":[{"id":746,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":737,"src":"2306:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":745,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1044,"src":"2297:8:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":747,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2297:17:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"2281:33:5"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":755,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":750,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":744,"src":"2332:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":753,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2349:1:5","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":752,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2341:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":751,"name":"address","nodeType":"ElementaryTypeName","src":"2341:7:5","typeDescriptions":{}}},"id":754,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2341:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2332:19:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a20696e76616c696420746f6b656e204944","id":756,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2353:26:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f","typeString":"literal_string \"ERC721: invalid token ID\""},"value":"ERC721: invalid token ID"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f","typeString":"literal_string \"ERC721: invalid token ID\""}],"id":749,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2324:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":757,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2324:56:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":758,"nodeType":"ExpressionStatement","src":"2324:56:5"},{"expression":{"id":759,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":744,"src":"2397:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":742,"id":760,"nodeType":"Return","src":"2390:12:5"}]},"documentation":{"id":735,"nodeType":"StructuredDocumentation","src":"2139:46:5","text":" @dev See {IERC721-ownerOf}."},"functionSelector":"6352211e","id":762,"implemented":true,"kind":"function","modifiers":[],"name":"ownerOf","nameLocation":"2199:7:5","nodeType":"FunctionDefinition","overrides":{"id":739,"nodeType":"OverrideSpecifier","overrides":[],"src":"2244:8:5"},"parameters":{"id":738,"nodeType":"ParameterList","parameters":[{"constant":false,"id":737,"mutability":"mutable","name":"tokenId","nameLocation":"2215:7:5","nodeType":"VariableDeclaration","scope":762,"src":"2207:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":736,"name":"uint256","nodeType":"ElementaryTypeName","src":"2207:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2206:17:5"},"returnParameters":{"id":742,"nodeType":"ParameterList","parameters":[{"constant":false,"id":741,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":762,"src":"2262:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":740,"name":"address","nodeType":"ElementaryTypeName","src":"2262:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2261:9:5"},"scope":1561,"src":"2190:219:5","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2092],"body":{"id":771,"nodeType":"Block","src":"2540:29:5","statements":[{"expression":{"id":769,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":642,"src":"2557:5:5","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"functionReturnParameters":768,"id":770,"nodeType":"Return","src":"2550:12:5"}]},"documentation":{"id":763,"nodeType":"StructuredDocumentation","src":"2415:51:5","text":" @dev See {IERC721Metadata-name}."},"functionSelector":"06fdde03","id":772,"implemented":true,"kind":"function","modifiers":[],"name":"name","nameLocation":"2480:4:5","nodeType":"FunctionDefinition","overrides":{"id":765,"nodeType":"OverrideSpecifier","overrides":[],"src":"2507:8:5"},"parameters":{"id":764,"nodeType":"ParameterList","parameters":[],"src":"2484:2:5"},"returnParameters":{"id":768,"nodeType":"ParameterList","parameters":[{"constant":false,"id":767,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":772,"src":"2525:13:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":766,"name":"string","nodeType":"ElementaryTypeName","src":"2525:6:5","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2524:15:5"},"scope":1561,"src":"2471:98:5","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2098],"body":{"id":781,"nodeType":"Block","src":"2704:31:5","statements":[{"expression":{"id":779,"name":"_symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":644,"src":"2721:7:5","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"functionReturnParameters":778,"id":780,"nodeType":"Return","src":"2714:14:5"}]},"documentation":{"id":773,"nodeType":"StructuredDocumentation","src":"2575:53:5","text":" @dev See {IERC721Metadata-symbol}."},"functionSelector":"95d89b41","id":782,"implemented":true,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"2642:6:5","nodeType":"FunctionDefinition","overrides":{"id":775,"nodeType":"OverrideSpecifier","overrides":[],"src":"2671:8:5"},"parameters":{"id":774,"nodeType":"ParameterList","parameters":[],"src":"2648:2:5"},"returnParameters":{"id":778,"nodeType":"ParameterList","parameters":[{"constant":false,"id":777,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":782,"src":"2689:13:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":776,"name":"string","nodeType":"ElementaryTypeName","src":"2689:6:5","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2688:15:5"},"scope":1561,"src":"2633:102:5","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2106],"body":{"id":820,"nodeType":"Block","src":"2889:188:5","statements":[{"expression":{"arguments":[{"id":792,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":785,"src":"2914:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":791,"name":"_requireMinted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1439,"src":"2899:14:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$__$","typeString":"function (uint256) view"}},"id":793,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2899:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":794,"nodeType":"ExpressionStatement","src":"2899:23:5"},{"assignments":[796],"declarations":[{"constant":false,"id":796,"mutability":"mutable","name":"baseURI","nameLocation":"2947:7:5","nodeType":"VariableDeclaration","scope":820,"src":"2933:21:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":795,"name":"string","nodeType":"ElementaryTypeName","src":"2933:6:5","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"id":799,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":797,"name":"_baseURI","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":830,"src":"2957:8:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_string_memory_ptr_$","typeString":"function () view returns (string memory)"}},"id":798,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2957:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"VariableDeclarationStatement","src":"2933:34:5"},{"expression":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":806,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":802,"name":"baseURI","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":796,"src":"2990:7:5","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":801,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2984:5:5","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":800,"name":"bytes","nodeType":"ElementaryTypeName","src":"2984:5:5","typeDescriptions":{}}},"id":803,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2984:14:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":804,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"2984:21:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":805,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3008:1:5","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2984:25:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"hexValue":"","id":817,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3068:2:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""},"id":818,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"2984:86:5","trueExpression":{"arguments":[{"arguments":[{"id":811,"name":"baseURI","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":796,"src":"3036:7:5","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":812,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":785,"src":"3045:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":813,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"toString","nodeType":"MemberAccess","referencedDeclaration":2517,"src":"3045:16:5","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$","typeString":"function (uint256) pure returns (string memory)"}},"id":814,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3045:18:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"expression":{"id":809,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"3019:3:5","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":810,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"encodePacked","nodeType":"MemberAccess","src":"3019:16:5","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":815,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3019:45:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":808,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3012:6:5","typeDescriptions":{"typeIdentifier":"t_type$_t_string_storage_ptr_$","typeString":"type(string storage pointer)"},"typeName":{"id":807,"name":"string","nodeType":"ElementaryTypeName","src":"3012:6:5","typeDescriptions":{}}},"id":816,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3012:53:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":790,"id":819,"nodeType":"Return","src":"2977:93:5"}]},"documentation":{"id":783,"nodeType":"StructuredDocumentation","src":"2741:55:5","text":" @dev See {IERC721Metadata-tokenURI}."},"functionSelector":"c87b56dd","id":821,"implemented":true,"kind":"function","modifiers":[],"name":"tokenURI","nameLocation":"2810:8:5","nodeType":"FunctionDefinition","overrides":{"id":787,"nodeType":"OverrideSpecifier","overrides":[],"src":"2856:8:5"},"parameters":{"id":786,"nodeType":"ParameterList","parameters":[{"constant":false,"id":785,"mutability":"mutable","name":"tokenId","nameLocation":"2827:7:5","nodeType":"VariableDeclaration","scope":821,"src":"2819:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":784,"name":"uint256","nodeType":"ElementaryTypeName","src":"2819:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2818:17:5"},"returnParameters":{"id":790,"nodeType":"ParameterList","parameters":[{"constant":false,"id":789,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":821,"src":"2874:13:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":788,"name":"string","nodeType":"ElementaryTypeName","src":"2874:6:5","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2873:15:5"},"scope":1561,"src":"2801:276:5","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":829,"nodeType":"Block","src":"3385:26:5","statements":[{"expression":{"hexValue":"","id":827,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3402:2:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""},"functionReturnParameters":826,"id":828,"nodeType":"Return","src":"3395:9:5"}]},"documentation":{"id":822,"nodeType":"StructuredDocumentation","src":"3083:231:5","text":" @dev Base URI for computing {tokenURI}. If set, the resulting URI for each\n token will be the concatenation of the `baseURI` and the `tokenId`. Empty\n by default, can be overridden in child contracts."},"id":830,"implemented":true,"kind":"function","modifiers":[],"name":"_baseURI","nameLocation":"3328:8:5","nodeType":"FunctionDefinition","parameters":{"id":823,"nodeType":"ParameterList","parameters":[],"src":"3336:2:5"},"returnParameters":{"id":826,"nodeType":"ParameterList","parameters":[{"constant":false,"id":825,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":830,"src":"3370:13:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":824,"name":"string","nodeType":"ElementaryTypeName","src":"3370:6:5","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"3369:15:5"},"scope":1561,"src":"3319:92:5","stateMutability":"view","virtual":true,"visibility":"internal"},{"baseFunctions":[1650],"body":{"id":872,"nodeType":"Block","src":"3538:336:5","statements":[{"assignments":[840],"declarations":[{"constant":false,"id":840,"mutability":"mutable","name":"owner","nameLocation":"3556:5:5","nodeType":"VariableDeclaration","scope":872,"src":"3548:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":839,"name":"address","nodeType":"ElementaryTypeName","src":"3548:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":845,"initialValue":{"arguments":[{"id":843,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":835,"src":"3579:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":841,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1561,"src":"3564:6:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721_$1561_$","typeString":"type(contract ERC721)"}},"id":842,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"ownerOf","nodeType":"MemberAccess","referencedDeclaration":762,"src":"3564:14:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":844,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3564:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"3548:39:5"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":849,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":847,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":833,"src":"3605:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":848,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":840,"src":"3611:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3605:11:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572","id":850,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3618:35:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942","typeString":"literal_string \"ERC721: approval to current owner\""},"value":"ERC721: approval to current owner"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942","typeString":"literal_string \"ERC721: approval to current owner\""}],"id":846,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"3597:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":851,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3597:57:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":852,"nodeType":"ExpressionStatement","src":"3597:57:5"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":863,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":857,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":854,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"3686:10:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":855,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3686:12:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":856,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":840,"src":"3702:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3686:21:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":859,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":840,"src":"3728:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"id":860,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"3735:10:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":861,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3735:12:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":858,"name":"isApprovedForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":926,"src":"3711:16:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$","typeString":"function (address,address) view returns (bool)"}},"id":862,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3711:37:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3686:62:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c","id":864,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3762:63:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_c6e14a63ffb144eeef7cce6988e5dce07c60a7e0a7b1ef25dbe18c61483e0a83","typeString":"literal_string \"ERC721: approve caller is not token owner or approved for all\""},"value":"ERC721: approve caller is not token owner or approved for all"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c6e14a63ffb144eeef7cce6988e5dce07c60a7e0a7b1ef25dbe18c61483e0a83","typeString":"literal_string \"ERC721: approve caller is not token owner or approved for all\""}],"id":853,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"3665:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":865,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3665:170:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":866,"nodeType":"ExpressionStatement","src":"3665:170:5"},{"expression":{"arguments":[{"id":868,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":833,"src":"3855:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":869,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":835,"src":"3859:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":867,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1393,"src":"3846:8:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":870,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3846:21:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":871,"nodeType":"ExpressionStatement","src":"3846:21:5"}]},"documentation":{"id":831,"nodeType":"StructuredDocumentation","src":"3417:46:5","text":" @dev See {IERC721-approve}."},"functionSelector":"095ea7b3","id":873,"implemented":true,"kind":"function","modifiers":[],"name":"approve","nameLocation":"3477:7:5","nodeType":"FunctionDefinition","overrides":{"id":837,"nodeType":"OverrideSpecifier","overrides":[],"src":"3529:8:5"},"parameters":{"id":836,"nodeType":"ParameterList","parameters":[{"constant":false,"id":833,"mutability":"mutable","name":"to","nameLocation":"3493:2:5","nodeType":"VariableDeclaration","scope":873,"src":"3485:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":832,"name":"address","nodeType":"ElementaryTypeName","src":"3485:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":835,"mutability":"mutable","name":"tokenId","nameLocation":"3505:7:5","nodeType":"VariableDeclaration","scope":873,"src":"3497:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":834,"name":"uint256","nodeType":"ElementaryTypeName","src":"3497:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3484:29:5"},"returnParameters":{"id":838,"nodeType":"ParameterList","parameters":[],"src":"3538:0:5"},"scope":1561,"src":"3468:406:5","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[1666],"body":{"id":890,"nodeType":"Block","src":"4020:82:5","statements":[{"expression":{"arguments":[{"id":883,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":876,"src":"4045:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":882,"name":"_requireMinted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1439,"src":"4030:14:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$__$","typeString":"function (uint256) view"}},"id":884,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4030:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":885,"nodeType":"ExpressionStatement","src":"4030:23:5"},{"expression":{"baseExpression":{"id":886,"name":"_tokenApprovals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":656,"src":"4071:15:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":888,"indexExpression":{"id":887,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":876,"src":"4087:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4071:24:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":881,"id":889,"nodeType":"Return","src":"4064:31:5"}]},"documentation":{"id":874,"nodeType":"StructuredDocumentation","src":"3880:50:5","text":" @dev See {IERC721-getApproved}."},"functionSelector":"081812fc","id":891,"implemented":true,"kind":"function","modifiers":[],"name":"getApproved","nameLocation":"3944:11:5","nodeType":"FunctionDefinition","overrides":{"id":878,"nodeType":"OverrideSpecifier","overrides":[],"src":"3993:8:5"},"parameters":{"id":877,"nodeType":"ParameterList","parameters":[{"constant":false,"id":876,"mutability":"mutable","name":"tokenId","nameLocation":"3964:7:5","nodeType":"VariableDeclaration","scope":891,"src":"3956:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":875,"name":"uint256","nodeType":"ElementaryTypeName","src":"3956:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3955:17:5"},"returnParameters":{"id":881,"nodeType":"ParameterList","parameters":[{"constant":false,"id":880,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":891,"src":"4011:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":879,"name":"address","nodeType":"ElementaryTypeName","src":"4011:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4010:9:5"},"scope":1561,"src":"3935:167:5","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1658],"body":{"id":907,"nodeType":"Block","src":"4253:69:5","statements":[{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":901,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"4282:10:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":902,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4282:12:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":903,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":894,"src":"4296:8:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":904,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":896,"src":"4306:8:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":900,"name":"_setApprovalForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1425,"src":"4263:18:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,address,bool)"}},"id":905,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4263:52:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":906,"nodeType":"ExpressionStatement","src":"4263:52:5"}]},"documentation":{"id":892,"nodeType":"StructuredDocumentation","src":"4108:56:5","text":" @dev See {IERC721-setApprovalForAll}."},"functionSelector":"a22cb465","id":908,"implemented":true,"kind":"function","modifiers":[],"name":"setApprovalForAll","nameLocation":"4178:17:5","nodeType":"FunctionDefinition","overrides":{"id":898,"nodeType":"OverrideSpecifier","overrides":[],"src":"4244:8:5"},"parameters":{"id":897,"nodeType":"ParameterList","parameters":[{"constant":false,"id":894,"mutability":"mutable","name":"operator","nameLocation":"4204:8:5","nodeType":"VariableDeclaration","scope":908,"src":"4196:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":893,"name":"address","nodeType":"ElementaryTypeName","src":"4196:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":896,"mutability":"mutable","name":"approved","nameLocation":"4219:8:5","nodeType":"VariableDeclaration","scope":908,"src":"4214:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":895,"name":"bool","nodeType":"ElementaryTypeName","src":"4214:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4195:33:5"},"returnParameters":{"id":899,"nodeType":"ParameterList","parameters":[],"src":"4253:0:5"},"scope":1561,"src":"4169:153:5","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[1676],"body":{"id":925,"nodeType":"Block","src":"4491:59:5","statements":[{"expression":{"baseExpression":{"baseExpression":{"id":919,"name":"_operatorApprovals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":662,"src":"4508:18:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":921,"indexExpression":{"id":920,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":911,"src":"4527:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4508:25:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":923,"indexExpression":{"id":922,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":913,"src":"4534:8:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4508:35:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":918,"id":924,"nodeType":"Return","src":"4501:42:5"}]},"documentation":{"id":909,"nodeType":"StructuredDocumentation","src":"4328:55:5","text":" @dev See {IERC721-isApprovedForAll}."},"functionSelector":"e985e9c5","id":926,"implemented":true,"kind":"function","modifiers":[],"name":"isApprovedForAll","nameLocation":"4397:16:5","nodeType":"FunctionDefinition","overrides":{"id":915,"nodeType":"OverrideSpecifier","overrides":[],"src":"4467:8:5"},"parameters":{"id":914,"nodeType":"ParameterList","parameters":[{"constant":false,"id":911,"mutability":"mutable","name":"owner","nameLocation":"4422:5:5","nodeType":"VariableDeclaration","scope":926,"src":"4414:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":910,"name":"address","nodeType":"ElementaryTypeName","src":"4414:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":913,"mutability":"mutable","name":"operator","nameLocation":"4437:8:5","nodeType":"VariableDeclaration","scope":926,"src":"4429:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":912,"name":"address","nodeType":"ElementaryTypeName","src":"4429:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4413:33:5"},"returnParameters":{"id":918,"nodeType":"ParameterList","parameters":[{"constant":false,"id":917,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":926,"src":"4485:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":916,"name":"bool","nodeType":"ElementaryTypeName","src":"4485:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4484:6:5"},"scope":1561,"src":"4388:162:5","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1642],"body":{"id":952,"nodeType":"Block","src":"4731:207:5","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":939,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"4820:10:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":940,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4820:12:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":941,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":933,"src":"4834:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":938,"name":"_isApprovedOrOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1096,"src":"4801:18:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) view returns (bool)"}},"id":942,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4801:41:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6572206f7220617070726f766564","id":943,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4844:47:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af","typeString":"literal_string \"ERC721: caller is not token owner or approved\""},"value":"ERC721: caller is not token owner or approved"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af","typeString":"literal_string \"ERC721: caller is not token owner or approved\""}],"id":937,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"4793:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":944,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4793:99:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":945,"nodeType":"ExpressionStatement","src":"4793:99:5"},{"expression":{"arguments":[{"id":947,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":929,"src":"4913:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":948,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":931,"src":"4919:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":949,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":933,"src":"4923:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":946,"name":"_transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1369,"src":"4903:9:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":950,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4903:28:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":951,"nodeType":"ExpressionStatement","src":"4903:28:5"}]},"documentation":{"id":927,"nodeType":"StructuredDocumentation","src":"4556:51:5","text":" @dev See {IERC721-transferFrom}."},"functionSelector":"23b872dd","id":953,"implemented":true,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"4621:12:5","nodeType":"FunctionDefinition","overrides":{"id":935,"nodeType":"OverrideSpecifier","overrides":[],"src":"4722:8:5"},"parameters":{"id":934,"nodeType":"ParameterList","parameters":[{"constant":false,"id":929,"mutability":"mutable","name":"from","nameLocation":"4651:4:5","nodeType":"VariableDeclaration","scope":953,"src":"4643:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":928,"name":"address","nodeType":"ElementaryTypeName","src":"4643:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":931,"mutability":"mutable","name":"to","nameLocation":"4673:2:5","nodeType":"VariableDeclaration","scope":953,"src":"4665:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":930,"name":"address","nodeType":"ElementaryTypeName","src":"4665:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":933,"mutability":"mutable","name":"tokenId","nameLocation":"4693:7:5","nodeType":"VariableDeclaration","scope":953,"src":"4685:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":932,"name":"uint256","nodeType":"ElementaryTypeName","src":"4685:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4633:73:5"},"returnParameters":{"id":936,"nodeType":"ParameterList","parameters":[],"src":"4731:0:5"},"scope":1561,"src":"4612:326:5","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[1632],"body":{"id":971,"nodeType":"Block","src":"5127:56:5","statements":[{"expression":{"arguments":[{"id":965,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":956,"src":"5154:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":966,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":958,"src":"5160:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":967,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":960,"src":"5164:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"","id":968,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5173:2:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"id":964,"name":"safeTransferFrom","nodeType":"Identifier","overloadedDeclarations":[972,1002],"referencedDeclaration":1002,"src":"5137:16:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (address,address,uint256,bytes memory)"}},"id":969,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5137:39:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":970,"nodeType":"ExpressionStatement","src":"5137:39:5"}]},"documentation":{"id":954,"nodeType":"StructuredDocumentation","src":"4944:55:5","text":" @dev See {IERC721-safeTransferFrom}."},"functionSelector":"42842e0e","id":972,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"5013:16:5","nodeType":"FunctionDefinition","overrides":{"id":962,"nodeType":"OverrideSpecifier","overrides":[],"src":"5118:8:5"},"parameters":{"id":961,"nodeType":"ParameterList","parameters":[{"constant":false,"id":956,"mutability":"mutable","name":"from","nameLocation":"5047:4:5","nodeType":"VariableDeclaration","scope":972,"src":"5039:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":955,"name":"address","nodeType":"ElementaryTypeName","src":"5039:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":958,"mutability":"mutable","name":"to","nameLocation":"5069:2:5","nodeType":"VariableDeclaration","scope":972,"src":"5061:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":957,"name":"address","nodeType":"ElementaryTypeName","src":"5061:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":960,"mutability":"mutable","name":"tokenId","nameLocation":"5089:7:5","nodeType":"VariableDeclaration","scope":972,"src":"5081:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":959,"name":"uint256","nodeType":"ElementaryTypeName","src":"5081:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5029:73:5"},"returnParameters":{"id":963,"nodeType":"ParameterList","parameters":[],"src":"5127:0:5"},"scope":1561,"src":"5004:179:5","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[1622],"body":{"id":1001,"nodeType":"Block","src":"5399:164:5","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":987,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"5436:10:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":988,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5436:12:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":989,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":979,"src":"5450:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":986,"name":"_isApprovedOrOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1096,"src":"5417:18:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) view returns (bool)"}},"id":990,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5417:41:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6572206f7220617070726f766564","id":991,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5460:47:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af","typeString":"literal_string \"ERC721: caller is not token owner or approved\""},"value":"ERC721: caller is not token owner or approved"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af","typeString":"literal_string \"ERC721: caller is not token owner or approved\""}],"id":985,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5409:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":992,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5409:99:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":993,"nodeType":"ExpressionStatement","src":"5409:99:5"},{"expression":{"arguments":[{"id":995,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":975,"src":"5532:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":996,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":977,"src":"5538:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":997,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":979,"src":"5542:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":998,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":981,"src":"5551:4:5","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"}],"id":994,"name":"_safeTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1031,"src":"5518:13:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (address,address,uint256,bytes memory)"}},"id":999,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5518:38:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1000,"nodeType":"ExpressionStatement","src":"5518:38:5"}]},"documentation":{"id":973,"nodeType":"StructuredDocumentation","src":"5189:55:5","text":" @dev See {IERC721-safeTransferFrom}."},"functionSelector":"b88d4fde","id":1002,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"5258:16:5","nodeType":"FunctionDefinition","overrides":{"id":983,"nodeType":"OverrideSpecifier","overrides":[],"src":"5390:8:5"},"parameters":{"id":982,"nodeType":"ParameterList","parameters":[{"constant":false,"id":975,"mutability":"mutable","name":"from","nameLocation":"5292:4:5","nodeType":"VariableDeclaration","scope":1002,"src":"5284:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":974,"name":"address","nodeType":"ElementaryTypeName","src":"5284:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":977,"mutability":"mutable","name":"to","nameLocation":"5314:2:5","nodeType":"VariableDeclaration","scope":1002,"src":"5306:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":976,"name":"address","nodeType":"ElementaryTypeName","src":"5306:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":979,"mutability":"mutable","name":"tokenId","nameLocation":"5334:7:5","nodeType":"VariableDeclaration","scope":1002,"src":"5326:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":978,"name":"uint256","nodeType":"ElementaryTypeName","src":"5326:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":981,"mutability":"mutable","name":"data","nameLocation":"5364:4:5","nodeType":"VariableDeclaration","scope":1002,"src":"5351:17:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":980,"name":"bytes","nodeType":"ElementaryTypeName","src":"5351:5:5","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5274:100:5"},"returnParameters":{"id":984,"nodeType":"ParameterList","parameters":[],"src":"5399:0:5"},"scope":1561,"src":"5249:314:5","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":1030,"nodeType":"Block","src":"6564:165:5","statements":[{"expression":{"arguments":[{"id":1015,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1005,"src":"6584:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1016,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1007,"src":"6590:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1017,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1009,"src":"6594:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1014,"name":"_transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1369,"src":"6574:9:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":1018,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6574:28:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1019,"nodeType":"ExpressionStatement","src":"6574:28:5"},{"expression":{"arguments":[{"arguments":[{"id":1022,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1005,"src":"6643:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1023,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1007,"src":"6649:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1024,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1009,"src":"6653:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1025,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1011,"src":"6662:4:5","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"}],"id":1021,"name":"_checkOnERC721Received","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1501,"src":"6620:22:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$","typeString":"function (address,address,uint256,bytes memory) returns (bool)"}},"id":1026,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6620:47:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572","id":1027,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6669:52:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e","typeString":"literal_string \"ERC721: transfer to non ERC721Receiver implementer\""},"value":"ERC721: transfer to non ERC721Receiver implementer"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e","typeString":"literal_string \"ERC721: transfer to non ERC721Receiver implementer\""}],"id":1020,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"6612:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1028,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6612:110:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1029,"nodeType":"ExpressionStatement","src":"6612:110:5"}]},"documentation":{"id":1003,"nodeType":"StructuredDocumentation","src":"5569:850:5","text":" @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event."},"id":1031,"implemented":true,"kind":"function","modifiers":[],"name":"_safeTransfer","nameLocation":"6433:13:5","nodeType":"FunctionDefinition","parameters":{"id":1012,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1005,"mutability":"mutable","name":"from","nameLocation":"6464:4:5","nodeType":"VariableDeclaration","scope":1031,"src":"6456:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1004,"name":"address","nodeType":"ElementaryTypeName","src":"6456:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1007,"mutability":"mutable","name":"to","nameLocation":"6486:2:5","nodeType":"VariableDeclaration","scope":1031,"src":"6478:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1006,"name":"address","nodeType":"ElementaryTypeName","src":"6478:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1009,"mutability":"mutable","name":"tokenId","nameLocation":"6506:7:5","nodeType":"VariableDeclaration","scope":1031,"src":"6498:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1008,"name":"uint256","nodeType":"ElementaryTypeName","src":"6498:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1011,"mutability":"mutable","name":"data","nameLocation":"6536:4:5","nodeType":"VariableDeclaration","scope":1031,"src":"6523:17:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1010,"name":"bytes","nodeType":"ElementaryTypeName","src":"6523:5:5","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6446:100:5"},"returnParameters":{"id":1013,"nodeType":"ParameterList","parameters":[],"src":"6564:0:5"},"scope":1561,"src":"6424:305:5","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1043,"nodeType":"Block","src":"6913:40:5","statements":[{"expression":{"baseExpression":{"id":1039,"name":"_owners","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":648,"src":"6930:7:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":1041,"indexExpression":{"id":1040,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1034,"src":"6938:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6930:16:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":1038,"id":1042,"nodeType":"Return","src":"6923:23:5"}]},"documentation":{"id":1032,"nodeType":"StructuredDocumentation","src":"6735:98:5","text":" @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist"},"id":1044,"implemented":true,"kind":"function","modifiers":[],"name":"_ownerOf","nameLocation":"6847:8:5","nodeType":"FunctionDefinition","parameters":{"id":1035,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1034,"mutability":"mutable","name":"tokenId","nameLocation":"6864:7:5","nodeType":"VariableDeclaration","scope":1044,"src":"6856:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1033,"name":"uint256","nodeType":"ElementaryTypeName","src":"6856:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6855:17:5"},"returnParameters":{"id":1038,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1037,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1044,"src":"6904:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1036,"name":"address","nodeType":"ElementaryTypeName","src":"6904:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6903:9:5"},"scope":1561,"src":"6838:115:5","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":1061,"nodeType":"Block","src":"7327:55:5","statements":[{"expression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1059,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":1053,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1047,"src":"7353:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1052,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1044,"src":"7344:8:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1054,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7344:17:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1057,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7373:1:5","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":1056,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7365:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1055,"name":"address","nodeType":"ElementaryTypeName","src":"7365:7:5","typeDescriptions":{}}},"id":1058,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7365:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7344:31:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":1051,"id":1060,"nodeType":"Return","src":"7337:38:5"}]},"documentation":{"id":1045,"nodeType":"StructuredDocumentation","src":"6959:292:5","text":" @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)."},"id":1062,"implemented":true,"kind":"function","modifiers":[],"name":"_exists","nameLocation":"7265:7:5","nodeType":"FunctionDefinition","parameters":{"id":1048,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1047,"mutability":"mutable","name":"tokenId","nameLocation":"7281:7:5","nodeType":"VariableDeclaration","scope":1062,"src":"7273:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1046,"name":"uint256","nodeType":"ElementaryTypeName","src":"7273:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7272:17:5"},"returnParameters":{"id":1051,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1050,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1062,"src":"7321:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1049,"name":"bool","nodeType":"ElementaryTypeName","src":"7321:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"7320:6:5"},"scope":1561,"src":"7256:126:5","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":1095,"nodeType":"Block","src":"7639:162:5","statements":[{"assignments":[1073],"declarations":[{"constant":false,"id":1073,"mutability":"mutable","name":"owner","nameLocation":"7657:5:5","nodeType":"VariableDeclaration","scope":1095,"src":"7649:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1072,"name":"address","nodeType":"ElementaryTypeName","src":"7649:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":1078,"initialValue":{"arguments":[{"id":1076,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1067,"src":"7680:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1074,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1561,"src":"7665:6:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721_$1561_$","typeString":"type(contract ERC721)"}},"id":1075,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"ownerOf","nodeType":"MemberAccess","referencedDeclaration":762,"src":"7665:14:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1077,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7665:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"7649:39:5"},{"expression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1092,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1086,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1081,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1079,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1065,"src":"7706:7:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":1080,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1073,"src":"7717:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7706:16:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":1083,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1073,"src":"7743:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1084,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1065,"src":"7750:7:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":1082,"name":"isApprovedForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":926,"src":"7726:16:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$","typeString":"function (address,address) view returns (bool)"}},"id":1085,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7726:32:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"7706:52:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1091,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":1088,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1067,"src":"7774:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1087,"name":"getApproved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":891,"src":"7762:11:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1089,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7762:20:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":1090,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1065,"src":"7786:7:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7762:31:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"7706:87:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":1093,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7705:89:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":1071,"id":1094,"nodeType":"Return","src":"7698:96:5"}]},"documentation":{"id":1063,"nodeType":"StructuredDocumentation","src":"7388:147:5","text":" @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist."},"id":1096,"implemented":true,"kind":"function","modifiers":[],"name":"_isApprovedOrOwner","nameLocation":"7549:18:5","nodeType":"FunctionDefinition","parameters":{"id":1068,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1065,"mutability":"mutable","name":"spender","nameLocation":"7576:7:5","nodeType":"VariableDeclaration","scope":1096,"src":"7568:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1064,"name":"address","nodeType":"ElementaryTypeName","src":"7568:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1067,"mutability":"mutable","name":"tokenId","nameLocation":"7593:7:5","nodeType":"VariableDeclaration","scope":1096,"src":"7585:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1066,"name":"uint256","nodeType":"ElementaryTypeName","src":"7585:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7567:34:5"},"returnParameters":{"id":1071,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1070,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1096,"src":"7633:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1069,"name":"bool","nodeType":"ElementaryTypeName","src":"7633:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"7632:6:5"},"scope":1561,"src":"7540:261:5","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":1110,"nodeType":"Block","src":"8196:43:5","statements":[{"expression":{"arguments":[{"id":1105,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1099,"src":"8216:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1106,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1101,"src":"8220:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"","id":1107,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"8229:2:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"id":1104,"name":"_safeMint","nodeType":"Identifier","overloadedDeclarations":[1111,1140],"referencedDeclaration":1140,"src":"8206:9:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (address,uint256,bytes memory)"}},"id":1108,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8206:26:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1109,"nodeType":"ExpressionStatement","src":"8206:26:5"}]},"documentation":{"id":1097,"nodeType":"StructuredDocumentation","src":"7807:319:5","text":" @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event."},"id":1111,"implemented":true,"kind":"function","modifiers":[],"name":"_safeMint","nameLocation":"8140:9:5","nodeType":"FunctionDefinition","parameters":{"id":1102,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1099,"mutability":"mutable","name":"to","nameLocation":"8158:2:5","nodeType":"VariableDeclaration","scope":1111,"src":"8150:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1098,"name":"address","nodeType":"ElementaryTypeName","src":"8150:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1101,"mutability":"mutable","name":"tokenId","nameLocation":"8170:7:5","nodeType":"VariableDeclaration","scope":1111,"src":"8162:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1100,"name":"uint256","nodeType":"ElementaryTypeName","src":"8162:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8149:29:5"},"returnParameters":{"id":1103,"nodeType":"ParameterList","parameters":[],"src":"8196:0:5"},"scope":1561,"src":"8131:108:5","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1139,"nodeType":"Block","src":"8574:195:5","statements":[{"expression":{"arguments":[{"id":1122,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1114,"src":"8590:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1123,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1116,"src":"8594:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1121,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1217,"src":"8584:5:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":1124,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8584:18:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1125,"nodeType":"ExpressionStatement","src":"8584:18:5"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"hexValue":"30","id":1130,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8664:1:5","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":1129,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8656:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1128,"name":"address","nodeType":"ElementaryTypeName","src":"8656:7:5","typeDescriptions":{}}},"id":1131,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8656:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1132,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1114,"src":"8668:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1133,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1116,"src":"8672:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1134,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1118,"src":"8681:4:5","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"}],"id":1127,"name":"_checkOnERC721Received","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1501,"src":"8633:22:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$","typeString":"function (address,address,uint256,bytes memory) returns (bool)"}},"id":1135,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8633:53:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572","id":1136,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"8700:52:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e","typeString":"literal_string \"ERC721: transfer to non ERC721Receiver implementer\""},"value":"ERC721: transfer to non ERC721Receiver implementer"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e","typeString":"literal_string \"ERC721: transfer to non ERC721Receiver implementer\""}],"id":1126,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"8612:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1137,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8612:150:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1138,"nodeType":"ExpressionStatement","src":"8612:150:5"}]},"documentation":{"id":1112,"nodeType":"StructuredDocumentation","src":"8245:210:5","text":" @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients."},"id":1140,"implemented":true,"kind":"function","modifiers":[],"name":"_safeMint","nameLocation":"8469:9:5","nodeType":"FunctionDefinition","parameters":{"id":1119,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1114,"mutability":"mutable","name":"to","nameLocation":"8496:2:5","nodeType":"VariableDeclaration","scope":1140,"src":"8488:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1113,"name":"address","nodeType":"ElementaryTypeName","src":"8488:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1116,"mutability":"mutable","name":"tokenId","nameLocation":"8516:7:5","nodeType":"VariableDeclaration","scope":1140,"src":"8508:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1115,"name":"uint256","nodeType":"ElementaryTypeName","src":"8508:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1118,"mutability":"mutable","name":"data","nameLocation":"8546:4:5","nodeType":"VariableDeclaration","scope":1140,"src":"8533:17:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1117,"name":"bytes","nodeType":"ElementaryTypeName","src":"8533:5:5","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8478:78:5"},"returnParameters":{"id":1120,"nodeType":"ParameterList","parameters":[],"src":"8574:0:5"},"scope":1561,"src":"8460:309:5","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1216,"nodeType":"Block","src":"9152:859:5","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1154,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1149,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1143,"src":"9170:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1152,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9184:1:5","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":1151,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9176:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1150,"name":"address","nodeType":"ElementaryTypeName","src":"9176:7:5","typeDescriptions":{}}},"id":1153,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9176:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9170:16:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a206d696e7420746f20746865207a65726f2061646472657373","id":1155,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9188:34:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6","typeString":"literal_string \"ERC721: mint to the zero address\""},"value":"ERC721: mint to the zero address"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6","typeString":"literal_string \"ERC721: mint to the zero address\""}],"id":1148,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"9162:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1156,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9162:61:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1157,"nodeType":"ExpressionStatement","src":"9162:61:5"},{"expression":{"arguments":[{"id":1162,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"9241:17:5","subExpression":{"arguments":[{"id":1160,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1145,"src":"9250:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1159,"name":"_exists","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1062,"src":"9242:7:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_bool_$","typeString":"function (uint256) view returns (bool)"}},"id":1161,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9242:16:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a20746f6b656e20616c7265616479206d696e746564","id":1163,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9260:30:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57","typeString":"literal_string \"ERC721: token already minted\""},"value":"ERC721: token already minted"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57","typeString":"literal_string \"ERC721: token already minted\""}],"id":1158,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"9233:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1164,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9233:58:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1165,"nodeType":"ExpressionStatement","src":"9233:58:5"},{"expression":{"arguments":[{"arguments":[{"hexValue":"30","id":1169,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9331:1:5","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":1168,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9323:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1167,"name":"address","nodeType":"ElementaryTypeName","src":"9323:7:5","typeDescriptions":{}}},"id":1170,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9323:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1171,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1143,"src":"9335:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1172,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1145,"src":"9339:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"31","id":1173,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9348:1:5","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":1166,"name":"_beforeTokenTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1547,"src":"9302:20:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256,uint256)"}},"id":1174,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9302:48:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1175,"nodeType":"ExpressionStatement","src":"9302:48:5"},{"expression":{"arguments":[{"id":1180,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"9445:17:5","subExpression":{"arguments":[{"id":1178,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1145,"src":"9454:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1177,"name":"_exists","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1062,"src":"9446:7:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_bool_$","typeString":"function (uint256) view returns (bool)"}},"id":1179,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9446:16:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a20746f6b656e20616c7265616479206d696e746564","id":1181,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9464:30:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57","typeString":"literal_string \"ERC721: token already minted\""},"value":"ERC721: token already minted"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57","typeString":"literal_string \"ERC721: token already minted\""}],"id":1176,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"9437:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1182,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9437:58:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1183,"nodeType":"ExpressionStatement","src":"9437:58:5"},{"id":1190,"nodeType":"UncheckedBlock","src":"9506:360:5","statements":[{"expression":{"id":1188,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1184,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":652,"src":"9837:9:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":1186,"indexExpression":{"id":1185,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1143,"src":"9847:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9837:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":1187,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9854:1:5","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"9837:18:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1189,"nodeType":"ExpressionStatement","src":"9837:18:5"}]},{"expression":{"id":1195,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1191,"name":"_owners","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":648,"src":"9876:7:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":1193,"indexExpression":{"id":1192,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1145,"src":"9884:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9876:16:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1194,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1143,"src":"9895:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9876:21:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1196,"nodeType":"ExpressionStatement","src":"9876:21:5"},{"eventCall":{"arguments":[{"arguments":[{"hexValue":"30","id":1200,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9930:1:5","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":1199,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9922:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1198,"name":"address","nodeType":"ElementaryTypeName","src":"9922:7:5","typeDescriptions":{}}},"id":1201,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9922:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1202,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1143,"src":"9934:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1203,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1145,"src":"9938:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1197,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1576,"src":"9913:8:5","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":1204,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9913:33:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1205,"nodeType":"EmitStatement","src":"9908:38:5"},{"expression":{"arguments":[{"arguments":[{"hexValue":"30","id":1209,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9985:1:5","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":1208,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9977:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1207,"name":"address","nodeType":"ElementaryTypeName","src":"9977:7:5","typeDescriptions":{}}},"id":1210,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9977:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1211,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1143,"src":"9989:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1212,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1145,"src":"9993:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"31","id":1213,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10002:1:5","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":1206,"name":"_afterTokenTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1560,"src":"9957:19:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256,uint256)"}},"id":1214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9957:47:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1215,"nodeType":"ExpressionStatement","src":"9957:47:5"}]},"documentation":{"id":1141,"nodeType":"StructuredDocumentation","src":"8775:311:5","text":" @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event."},"id":1217,"implemented":true,"kind":"function","modifiers":[],"name":"_mint","nameLocation":"9100:5:5","nodeType":"FunctionDefinition","parameters":{"id":1146,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1143,"mutability":"mutable","name":"to","nameLocation":"9114:2:5","nodeType":"VariableDeclaration","scope":1217,"src":"9106:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1142,"name":"address","nodeType":"ElementaryTypeName","src":"9106:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1145,"mutability":"mutable","name":"tokenId","nameLocation":"9126:7:5","nodeType":"VariableDeclaration","scope":1217,"src":"9118:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1144,"name":"uint256","nodeType":"ElementaryTypeName","src":"9118:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9105:29:5"},"returnParameters":{"id":1147,"nodeType":"ParameterList","parameters":[],"src":"9152:0:5"},"scope":1561,"src":"9091:920:5","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1283,"nodeType":"Block","src":"10386:713:5","statements":[{"assignments":[1224],"declarations":[{"constant":false,"id":1224,"mutability":"mutable","name":"owner","nameLocation":"10404:5:5","nodeType":"VariableDeclaration","scope":1283,"src":"10396:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1223,"name":"address","nodeType":"ElementaryTypeName","src":"10396:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":1229,"initialValue":{"arguments":[{"id":1227,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1220,"src":"10427:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1225,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1561,"src":"10412:6:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721_$1561_$","typeString":"type(contract ERC721)"}},"id":1226,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"ownerOf","nodeType":"MemberAccess","referencedDeclaration":762,"src":"10412:14:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1228,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10412:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"10396:39:5"},{"expression":{"arguments":[{"id":1231,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"10467:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":1234,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10482:1:5","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":1233,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10474:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1232,"name":"address","nodeType":"ElementaryTypeName","src":"10474:7:5","typeDescriptions":{}}},"id":1235,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10474:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1236,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1220,"src":"10486:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"31","id":1237,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10495:1:5","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":1230,"name":"_beforeTokenTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1547,"src":"10446:20:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256,uint256)"}},"id":1238,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10446:51:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1239,"nodeType":"ExpressionStatement","src":"10446:51:5"},{"expression":{"id":1245,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1240,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"10599:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":1243,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1220,"src":"10622:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1241,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1561,"src":"10607:6:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721_$1561_$","typeString":"type(contract ERC721)"}},"id":1242,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"ownerOf","nodeType":"MemberAccess","referencedDeclaration":762,"src":"10607:14:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1244,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10607:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"10599:31:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1246,"nodeType":"ExpressionStatement","src":"10599:31:5"},{"expression":{"id":1250,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"10668:31:5","subExpression":{"baseExpression":{"id":1247,"name":"_tokenApprovals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":656,"src":"10675:15:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":1249,"indexExpression":{"id":1248,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1220,"src":"10691:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10675:24:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1251,"nodeType":"ExpressionStatement","src":"10668:31:5"},{"id":1258,"nodeType":"UncheckedBlock","src":"10710:237:5","statements":[{"expression":{"id":1256,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1252,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":652,"src":"10915:9:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":1254,"indexExpression":{"id":1253,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"10925:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10915:16:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"hexValue":"31","id":1255,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10935:1:5","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"10915:21:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1257,"nodeType":"ExpressionStatement","src":"10915:21:5"}]},{"expression":{"id":1262,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"10956:23:5","subExpression":{"baseExpression":{"id":1259,"name":"_owners","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":648,"src":"10963:7:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":1261,"indexExpression":{"id":1260,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1220,"src":"10971:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10963:16:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1263,"nodeType":"ExpressionStatement","src":"10956:23:5"},{"eventCall":{"arguments":[{"id":1265,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"11004:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":1268,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11019:1:5","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":1267,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11011:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1266,"name":"address","nodeType":"ElementaryTypeName","src":"11011:7:5","typeDescriptions":{}}},"id":1269,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11011:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1270,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1220,"src":"11023:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1264,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1576,"src":"10995:8:5","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":1271,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10995:36:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1272,"nodeType":"EmitStatement","src":"10990:41:5"},{"expression":{"arguments":[{"id":1274,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1224,"src":"11062:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":1277,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11077:1:5","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":1276,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11069:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1275,"name":"address","nodeType":"ElementaryTypeName","src":"11069:7:5","typeDescriptions":{}}},"id":1278,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11069:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1279,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1220,"src":"11081:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"31","id":1280,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11090:1:5","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":1273,"name":"_afterTokenTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1560,"src":"11042:19:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256,uint256)"}},"id":1281,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11042:50:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1282,"nodeType":"ExpressionStatement","src":"11042:50:5"}]},"documentation":{"id":1218,"nodeType":"StructuredDocumentation","src":"10017:315:5","text":" @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n This is an internal function that does not check if the sender is authorized to operate on the token.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event."},"id":1284,"implemented":true,"kind":"function","modifiers":[],"name":"_burn","nameLocation":"10346:5:5","nodeType":"FunctionDefinition","parameters":{"id":1221,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1220,"mutability":"mutable","name":"tokenId","nameLocation":"10360:7:5","nodeType":"VariableDeclaration","scope":1284,"src":"10352:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1219,"name":"uint256","nodeType":"ElementaryTypeName","src":"10352:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10351:17:5"},"returnParameters":{"id":1222,"nodeType":"ParameterList","parameters":[],"src":"10386:0:5"},"scope":1561,"src":"10337:762:5","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1368,"nodeType":"Block","src":"11532:1124:5","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1300,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":1297,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1291,"src":"11565:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1295,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1561,"src":"11550:6:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721_$1561_$","typeString":"type(contract ERC721)"}},"id":1296,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"ownerOf","nodeType":"MemberAccess","referencedDeclaration":762,"src":"11550:14:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1298,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11550:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":1299,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1287,"src":"11577:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"11550:31:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a207472616e736665722066726f6d20696e636f7272656374206f776e6572","id":1301,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"11583:39:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48","typeString":"literal_string \"ERC721: transfer from incorrect owner\""},"value":"ERC721: transfer from incorrect owner"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48","typeString":"literal_string \"ERC721: transfer from incorrect owner\""}],"id":1294,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"11542:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1302,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11542:81:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1303,"nodeType":"ExpressionStatement","src":"11542:81:5"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1310,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1305,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1289,"src":"11641:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1308,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11655:1:5","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":1307,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11647:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1306,"name":"address","nodeType":"ElementaryTypeName","src":"11647:7:5","typeDescriptions":{}}},"id":1309,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11647:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"11641:16:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373","id":1311,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"11659:38:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4","typeString":"literal_string \"ERC721: transfer to the zero address\""},"value":"ERC721: transfer to the zero address"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4","typeString":"literal_string \"ERC721: transfer to the zero address\""}],"id":1304,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"11633:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1312,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11633:65:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1313,"nodeType":"ExpressionStatement","src":"11633:65:5"},{"expression":{"arguments":[{"id":1315,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1287,"src":"11730:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1316,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1289,"src":"11736:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1317,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1291,"src":"11740:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"31","id":1318,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11749:1:5","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":1314,"name":"_beforeTokenTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1547,"src":"11709:20:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256,uint256)"}},"id":1319,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11709:42:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1320,"nodeType":"ExpressionStatement","src":"11709:42:5"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1327,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":1324,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1291,"src":"11866:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1322,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1561,"src":"11851:6:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721_$1561_$","typeString":"type(contract ERC721)"}},"id":1323,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"ownerOf","nodeType":"MemberAccess","referencedDeclaration":762,"src":"11851:14:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1325,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11851:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":1326,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1287,"src":"11878:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"11851:31:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a207472616e736665722066726f6d20696e636f7272656374206f776e6572","id":1328,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"11884:39:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48","typeString":"literal_string \"ERC721: transfer from incorrect owner\""},"value":"ERC721: transfer from incorrect owner"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48","typeString":"literal_string \"ERC721: transfer from incorrect owner\""}],"id":1321,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"11843:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1329,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11843:81:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1330,"nodeType":"ExpressionStatement","src":"11843:81:5"},{"expression":{"id":1334,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"11986:31:5","subExpression":{"baseExpression":{"id":1331,"name":"_tokenApprovals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":656,"src":"11993:15:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":1333,"indexExpression":{"id":1332,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1291,"src":"12009:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11993:24:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1335,"nodeType":"ExpressionStatement","src":"11986:31:5"},{"id":1348,"nodeType":"UncheckedBlock","src":"12028:496:5","statements":[{"expression":{"id":1340,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1336,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":652,"src":"12461:9:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":1338,"indexExpression":{"id":1337,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1287,"src":"12471:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12461:15:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"hexValue":"31","id":1339,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12480:1:5","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"12461:20:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1341,"nodeType":"ExpressionStatement","src":"12461:20:5"},{"expression":{"id":1346,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1342,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":652,"src":"12495:9:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":1344,"indexExpression":{"id":1343,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1289,"src":"12505:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12495:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":1345,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12512:1:5","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"12495:18:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1347,"nodeType":"ExpressionStatement","src":"12495:18:5"}]},{"expression":{"id":1353,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1349,"name":"_owners","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":648,"src":"12533:7:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":1351,"indexExpression":{"id":1350,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1291,"src":"12541:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12533:16:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1352,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1289,"src":"12552:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"12533:21:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1354,"nodeType":"ExpressionStatement","src":"12533:21:5"},{"eventCall":{"arguments":[{"id":1356,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1287,"src":"12579:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1357,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1289,"src":"12585:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1358,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1291,"src":"12589:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1355,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1576,"src":"12570:8:5","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":1359,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"12570:27:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1360,"nodeType":"EmitStatement","src":"12565:32:5"},{"expression":{"arguments":[{"id":1362,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1287,"src":"12628:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1363,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1289,"src":"12634:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1364,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1291,"src":"12638:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"31","id":1365,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12647:1:5","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":1361,"name":"_afterTokenTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1560,"src":"12608:19:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256,uint256)"}},"id":1366,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"12608:41:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1367,"nodeType":"ExpressionStatement","src":"12608:41:5"}]},"documentation":{"id":1285,"nodeType":"StructuredDocumentation","src":"11105:313:5","text":" @dev Transfers `tokenId` from `from` to `to`.\n  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event."},"id":1369,"implemented":true,"kind":"function","modifiers":[],"name":"_transfer","nameLocation":"11432:9:5","nodeType":"FunctionDefinition","parameters":{"id":1292,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1287,"mutability":"mutable","name":"from","nameLocation":"11459:4:5","nodeType":"VariableDeclaration","scope":1369,"src":"11451:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1286,"name":"address","nodeType":"ElementaryTypeName","src":"11451:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1289,"mutability":"mutable","name":"to","nameLocation":"11481:2:5","nodeType":"VariableDeclaration","scope":1369,"src":"11473:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1288,"name":"address","nodeType":"ElementaryTypeName","src":"11473:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1291,"mutability":"mutable","name":"tokenId","nameLocation":"11501:7:5","nodeType":"VariableDeclaration","scope":1369,"src":"11493:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1290,"name":"uint256","nodeType":"ElementaryTypeName","src":"11493:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11441:73:5"},"returnParameters":{"id":1293,"nodeType":"ParameterList","parameters":[],"src":"11532:0:5"},"scope":1561,"src":"11423:1233:5","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1392,"nodeType":"Block","src":"12832:107:5","statements":[{"expression":{"id":1381,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1377,"name":"_tokenApprovals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":656,"src":"12842:15:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":1379,"indexExpression":{"id":1378,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1374,"src":"12858:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12842:24:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1380,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1372,"src":"12869:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"12842:29:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1382,"nodeType":"ExpressionStatement","src":"12842:29:5"},{"eventCall":{"arguments":[{"arguments":[{"id":1386,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1374,"src":"12910:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1384,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1561,"src":"12895:6:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721_$1561_$","typeString":"type(contract ERC721)"}},"id":1385,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"ownerOf","nodeType":"MemberAccess","referencedDeclaration":762,"src":"12895:14:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1387,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"12895:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1388,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1372,"src":"12920:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1389,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1374,"src":"12924:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1383,"name":"Approval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1585,"src":"12886:8:5","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":1390,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"12886:46:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1391,"nodeType":"EmitStatement","src":"12881:51:5"}]},"documentation":{"id":1370,"nodeType":"StructuredDocumentation","src":"12662:101:5","text":" @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event."},"id":1393,"implemented":true,"kind":"function","modifiers":[],"name":"_approve","nameLocation":"12777:8:5","nodeType":"FunctionDefinition","parameters":{"id":1375,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1372,"mutability":"mutable","name":"to","nameLocation":"12794:2:5","nodeType":"VariableDeclaration","scope":1393,"src":"12786:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1371,"name":"address","nodeType":"ElementaryTypeName","src":"12786:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1374,"mutability":"mutable","name":"tokenId","nameLocation":"12806:7:5","nodeType":"VariableDeclaration","scope":1393,"src":"12798:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1373,"name":"uint256","nodeType":"ElementaryTypeName","src":"12798:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12785:29:5"},"returnParameters":{"id":1376,"nodeType":"ParameterList","parameters":[],"src":"12832:0:5"},"scope":1561,"src":"12768:171:5","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1424,"nodeType":"Block","src":"13198:184:5","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1406,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1404,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1396,"src":"13216:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1405,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1398,"src":"13225:8:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"13216:17:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a20617070726f766520746f2063616c6c6572","id":1407,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13235:27:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05","typeString":"literal_string \"ERC721: approve to caller\""},"value":"ERC721: approve to caller"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05","typeString":"literal_string \"ERC721: approve to caller\""}],"id":1403,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"13208:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1408,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"13208:55:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1409,"nodeType":"ExpressionStatement","src":"13208:55:5"},{"expression":{"id":1416,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":1410,"name":"_operatorApprovals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":662,"src":"13273:18:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":1413,"indexExpression":{"id":1411,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1396,"src":"13292:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"13273:25:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":1414,"indexExpression":{"id":1412,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1398,"src":"13299:8:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13273:35:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1415,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1400,"src":"13311:8:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"13273:46:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1417,"nodeType":"ExpressionStatement","src":"13273:46:5"},{"eventCall":{"arguments":[{"id":1419,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1396,"src":"13349:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1420,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1398,"src":"13356:8:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1421,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1400,"src":"13366:8:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":1418,"name":"ApprovalForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1594,"src":"13334:14:5","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,address,bool)"}},"id":1422,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"13334:41:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1423,"nodeType":"EmitStatement","src":"13329:46:5"}]},"documentation":{"id":1394,"nodeType":"StructuredDocumentation","src":"12945:125:5","text":" @dev Approve `operator` to operate on all of `owner` tokens\n Emits an {ApprovalForAll} event."},"id":1425,"implemented":true,"kind":"function","modifiers":[],"name":"_setApprovalForAll","nameLocation":"13084:18:5","nodeType":"FunctionDefinition","parameters":{"id":1401,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1396,"mutability":"mutable","name":"owner","nameLocation":"13120:5:5","nodeType":"VariableDeclaration","scope":1425,"src":"13112:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1395,"name":"address","nodeType":"ElementaryTypeName","src":"13112:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1398,"mutability":"mutable","name":"operator","nameLocation":"13143:8:5","nodeType":"VariableDeclaration","scope":1425,"src":"13135:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1397,"name":"address","nodeType":"ElementaryTypeName","src":"13135:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1400,"mutability":"mutable","name":"approved","nameLocation":"13166:8:5","nodeType":"VariableDeclaration","scope":1425,"src":"13161:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1399,"name":"bool","nodeType":"ElementaryTypeName","src":"13161:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"13102:78:5"},"returnParameters":{"id":1402,"nodeType":"ParameterList","parameters":[],"src":"13198:0:5"},"scope":1561,"src":"13075:307:5","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1438,"nodeType":"Block","src":"13529:70:5","statements":[{"expression":{"arguments":[{"arguments":[{"id":1433,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1428,"src":"13555:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1432,"name":"_exists","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1062,"src":"13547:7:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_bool_$","typeString":"function (uint256) view returns (bool)"}},"id":1434,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"13547:16:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4552433732313a20696e76616c696420746f6b656e204944","id":1435,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13565:26:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f","typeString":"literal_string \"ERC721: invalid token ID\""},"value":"ERC721: invalid token ID"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f","typeString":"literal_string \"ERC721: invalid token ID\""}],"id":1431,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"13539:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1436,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"13539:53:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1437,"nodeType":"ExpressionStatement","src":"13539:53:5"}]},"documentation":{"id":1426,"nodeType":"StructuredDocumentation","src":"13388:73:5","text":" @dev Reverts if the `tokenId` has not been minted yet."},"id":1439,"implemented":true,"kind":"function","modifiers":[],"name":"_requireMinted","nameLocation":"13475:14:5","nodeType":"FunctionDefinition","parameters":{"id":1429,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1428,"mutability":"mutable","name":"tokenId","nameLocation":"13498:7:5","nodeType":"VariableDeclaration","scope":1439,"src":"13490:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1427,"name":"uint256","nodeType":"ElementaryTypeName","src":"13490:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13489:17:5"},"returnParameters":{"id":1430,"nodeType":"ParameterList","parameters":[],"src":"13529:0:5"},"scope":1561,"src":"13466:133:5","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":1500,"nodeType":"Block","src":"14306:676:5","statements":[{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":1453,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1444,"src":"14320:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1454,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"isContract","nodeType":"MemberAccess","referencedDeclaration":2125,"src":"14320:13:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$","typeString":"function (address) view returns (bool)"}},"id":1455,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"14320:15:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":1498,"nodeType":"Block","src":"14940:36:5","statements":[{"expression":{"hexValue":"74727565","id":1496,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"14961:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":1452,"id":1497,"nodeType":"Return","src":"14954:11:5"}]},"id":1499,"nodeType":"IfStatement","src":"14316:660:5","trueBody":{"id":1495,"nodeType":"Block","src":"14337:597:5","statements":[{"clauses":[{"block":{"id":1475,"nodeType":"Block","src":"14451:91:5","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":1473,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1469,"name":"retval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1467,"src":"14476:6:5","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"expression":{"id":1470,"name":"IERC721Receiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1695,"src":"14486:15:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC721Receiver_$1695_$","typeString":"type(contract IERC721Receiver)"}},"id":1471,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":1694,"src":"14486:32:5","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IERC721Receiver.onERC721Received(address,address,uint256,bytes calldata) returns (bytes4)"}},"id":1472,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"selector","nodeType":"MemberAccess","src":"14486:41:5","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"14476:51:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":1452,"id":1474,"nodeType":"Return","src":"14469:58:5"}]},"errorName":"","id":1476,"nodeType":"TryCatchClause","parameters":{"id":1468,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1467,"mutability":"mutable","name":"retval","nameLocation":"14443:6:5","nodeType":"VariableDeclaration","scope":1476,"src":"14436:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1466,"name":"bytes4","nodeType":"ElementaryTypeName","src":"14436:6:5","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"14435:15:5"},"src":"14427:115:5"},{"block":{"id":1492,"nodeType":"Block","src":"14571:353:5","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1483,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":1480,"name":"reason","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1478,"src":"14593:6:5","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":1481,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"14593:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":1482,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14610:1:5","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"14593:18:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":1490,"nodeType":"Block","src":"14720:190:5","statements":[{"AST":{"nodeType":"YulBlock","src":"14806:86:5","statements":[{"expression":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14843:2:5","type":"","value":"32"},{"name":"reason","nodeType":"YulIdentifier","src":"14847:6:5"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14839:3:5"},"nodeType":"YulFunctionCall","src":"14839:15:5"},{"arguments":[{"name":"reason","nodeType":"YulIdentifier","src":"14862:6:5"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"14856:5:5"},"nodeType":"YulFunctionCall","src":"14856:13:5"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"14832:6:5"},"nodeType":"YulFunctionCall","src":"14832:38:5"},"nodeType":"YulExpressionStatement","src":"14832:38:5"}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"london","externalReferences":[{"declaration":1478,"isOffset":false,"isSlot":false,"src":"14847:6:5","valueSize":1},{"declaration":1478,"isOffset":false,"isSlot":false,"src":"14862:6:5","valueSize":1}],"id":1489,"nodeType":"InlineAssembly","src":"14797:95:5"}]},"id":1491,"nodeType":"IfStatement","src":"14589:321:5","trueBody":{"id":1488,"nodeType":"Block","src":"14613:101:5","statements":[{"expression":{"arguments":[{"hexValue":"4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572","id":1485,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"14642:52:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e","typeString":"literal_string \"ERC721: transfer to non ERC721Receiver implementer\""},"value":"ERC721: transfer to non ERC721Receiver implementer"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e","typeString":"literal_string \"ERC721: transfer to non ERC721Receiver implementer\""}],"id":1484,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"14635:6:5","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":1486,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"14635:60:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1487,"nodeType":"ExpressionStatement","src":"14635:60:5"}]}}]},"errorName":"","id":1493,"nodeType":"TryCatchClause","parameters":{"id":1479,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1478,"mutability":"mutable","name":"reason","nameLocation":"14563:6:5","nodeType":"VariableDeclaration","scope":1493,"src":"14550:19:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1477,"name":"bytes","nodeType":"ElementaryTypeName","src":"14550:5:5","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"14549:21:5"},"src":"14543:381:5"}],"externalCall":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":1460,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"14392:10:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":1461,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"14392:12:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1462,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1442,"src":"14406:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1463,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1446,"src":"14412:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1464,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1448,"src":"14421:4:5","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":{"arguments":[{"id":1457,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1444,"src":"14371:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1456,"name":"IERC721Receiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1695,"src":"14355:15:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC721Receiver_$1695_$","typeString":"type(contract IERC721Receiver)"}},"id":1458,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"14355:19:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC721Receiver_$1695","typeString":"contract IERC721Receiver"}},"id":1459,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":1694,"src":"14355:36:5","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function (address,address,uint256,bytes memory) external returns (bytes4)"}},"id":1465,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"14355:71:5","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":1494,"nodeType":"TryStatement","src":"14351:573:5"}]}}]},"documentation":{"id":1440,"nodeType":"StructuredDocumentation","src":"13605:541:5","text":" @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value"},"id":1501,"implemented":true,"kind":"function","modifiers":[],"name":"_checkOnERC721Received","nameLocation":"14160:22:5","nodeType":"FunctionDefinition","parameters":{"id":1449,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1442,"mutability":"mutable","name":"from","nameLocation":"14200:4:5","nodeType":"VariableDeclaration","scope":1501,"src":"14192:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1441,"name":"address","nodeType":"ElementaryTypeName","src":"14192:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1444,"mutability":"mutable","name":"to","nameLocation":"14222:2:5","nodeType":"VariableDeclaration","scope":1501,"src":"14214:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1443,"name":"address","nodeType":"ElementaryTypeName","src":"14214:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1446,"mutability":"mutable","name":"tokenId","nameLocation":"14242:7:5","nodeType":"VariableDeclaration","scope":1501,"src":"14234:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1445,"name":"uint256","nodeType":"ElementaryTypeName","src":"14234:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1448,"mutability":"mutable","name":"data","nameLocation":"14272:4:5","nodeType":"VariableDeclaration","scope":1501,"src":"14259:17:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1447,"name":"bytes","nodeType":"ElementaryTypeName","src":"14259:5:5","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"14182:100:5"},"returnParameters":{"id":1452,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1451,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1501,"src":"14300:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1450,"name":"bool","nodeType":"ElementaryTypeName","src":"14300:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"14299:6:5"},"scope":1561,"src":"14151:831:5","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":1546,"nodeType":"Block","src":"15856:238:5","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1515,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1513,"name":"batchSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1510,"src":"15870:9:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"31","id":1514,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15882:1:5","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"15870:13:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1545,"nodeType":"IfStatement","src":"15866:222:5","trueBody":{"id":1544,"nodeType":"Block","src":"15885:203:5","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1521,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1516,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1504,"src":"15903:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1519,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15919:1:5","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":1518,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15911:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1517,"name":"address","nodeType":"ElementaryTypeName","src":"15911:7:5","typeDescriptions":{}}},"id":1520,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"15911:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"15903:18:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1529,"nodeType":"IfStatement","src":"15899:85:5","trueBody":{"id":1528,"nodeType":"Block","src":"15923:61:5","statements":[{"expression":{"id":1526,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1522,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":652,"src":"15941:9:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":1524,"indexExpression":{"id":1523,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1504,"src":"15951:4:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15941:15:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":1525,"name":"batchSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1510,"src":"15960:9:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15941:28:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1527,"nodeType":"ExpressionStatement","src":"15941:28:5"}]}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1535,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1530,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1506,"src":"16001:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1533,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16015:1:5","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":1532,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16007:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1531,"name":"address","nodeType":"ElementaryTypeName","src":"16007:7:5","typeDescriptions":{}}},"id":1534,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"16007:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"16001:16:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1543,"nodeType":"IfStatement","src":"15997:81:5","trueBody":{"id":1542,"nodeType":"Block","src":"16019:59:5","statements":[{"expression":{"id":1540,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1536,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":652,"src":"16037:9:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":1538,"indexExpression":{"id":1537,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1506,"src":"16047:2:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16037:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":1539,"name":"batchSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1510,"src":"16054:9:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"16037:26:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1541,"nodeType":"ExpressionStatement","src":"16037:26:5"}]}}]}}]},"documentation":{"id":1502,"nodeType":"StructuredDocumentation","src":"14988:705:5","text":" @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is\n used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.\n - When `from` is zero, the tokens will be minted for `to`.\n - When `to` is zero, ``from``'s tokens will be burned.\n - `from` and `to` are never both zero.\n - `batchSize` is non-zero.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]."},"id":1547,"implemented":true,"kind":"function","modifiers":[],"name":"_beforeTokenTransfer","nameLocation":"15707:20:5","nodeType":"FunctionDefinition","parameters":{"id":1511,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1504,"mutability":"mutable","name":"from","nameLocation":"15745:4:5","nodeType":"VariableDeclaration","scope":1547,"src":"15737:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1503,"name":"address","nodeType":"ElementaryTypeName","src":"15737:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1506,"mutability":"mutable","name":"to","nameLocation":"15767:2:5","nodeType":"VariableDeclaration","scope":1547,"src":"15759:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1505,"name":"address","nodeType":"ElementaryTypeName","src":"15759:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1508,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1547,"src":"15779:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1507,"name":"uint256","nodeType":"ElementaryTypeName","src":"15779:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1510,"mutability":"mutable","name":"batchSize","nameLocation":"15823:9:5","nodeType":"VariableDeclaration","scope":1547,"src":"15815:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1509,"name":"uint256","nodeType":"ElementaryTypeName","src":"15815:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15727:111:5"},"returnParameters":{"id":1512,"nodeType":"ParameterList","parameters":[],"src":"15856:0:5"},"scope":1561,"src":"15698:396:5","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1559,"nodeType":"Block","src":"16951:2:5","statements":[]},"documentation":{"id":1548,"nodeType":"StructuredDocumentation","src":"16100:695:5","text":" @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is\n used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.\n - When `from` is zero, the tokens were minted for `to`.\n - When `to` is zero, ``from``'s tokens were burned.\n - `from` and `to` are never both zero.\n - `batchSize` is non-zero.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]."},"id":1560,"implemented":true,"kind":"function","modifiers":[],"name":"_afterTokenTransfer","nameLocation":"16809:19:5","nodeType":"FunctionDefinition","parameters":{"id":1557,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1550,"mutability":"mutable","name":"from","nameLocation":"16846:4:5","nodeType":"VariableDeclaration","scope":1560,"src":"16838:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1549,"name":"address","nodeType":"ElementaryTypeName","src":"16838:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1552,"mutability":"mutable","name":"to","nameLocation":"16868:2:5","nodeType":"VariableDeclaration","scope":1560,"src":"16860:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1551,"name":"address","nodeType":"ElementaryTypeName","src":"16860:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1554,"mutability":"mutable","name":"firstTokenId","nameLocation":"16888:12:5","nodeType":"VariableDeclaration","scope":1560,"src":"16880:20:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1553,"name":"uint256","nodeType":"ElementaryTypeName","src":"16880:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1556,"mutability":"mutable","name":"batchSize","nameLocation":"16918:9:5","nodeType":"VariableDeclaration","scope":1560,"src":"16910:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1555,"name":"uint256","nodeType":"ElementaryTypeName","src":"16910:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"16828:105:5"},"returnParameters":{"id":1558,"nodeType":"ParameterList","parameters":[],"src":"16951:0:5"},"scope":1561,"src":"16800:153:5","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":1562,"src":"628:16327:5","usedErrors":[]}],"src":"107:16849:5"},"id":5},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721.sol","exportedSymbols":{"IERC165":[2670],"IERC721":[1677]},"id":1678,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1563,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"108:23:6"},{"absolutePath":"@openzeppelin/contracts/utils/introspection/IERC165.sol","file":"../../utils/introspection/IERC165.sol","id":1564,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1678,"sourceUnit":2671,"src":"133:47:6","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":1566,"name":"IERC165","nodeType":"IdentifierPath","referencedDeclaration":2670,"src":"271:7:6"},"id":1567,"nodeType":"InheritanceSpecifier","src":"271:7:6"}],"canonicalName":"IERC721","contractDependencies":[],"contractKind":"interface","documentation":{"id":1565,"nodeType":"StructuredDocumentation","src":"182:67:6","text":" @dev Required interface of an ERC721 compliant contract."},"fullyImplemented":false,"id":1677,"linearizedBaseContracts":[1677,2670],"name":"IERC721","nameLocation":"260:7:6","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":1568,"nodeType":"StructuredDocumentation","src":"285:88:6","text":" @dev Emitted when `tokenId` token is transferred from `from` to `to`."},"eventSelector":"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","id":1576,"name":"Transfer","nameLocation":"384:8:6","nodeType":"EventDefinition","parameters":{"id":1575,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1570,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"409:4:6","nodeType":"VariableDeclaration","scope":1576,"src":"393:20:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1569,"name":"address","nodeType":"ElementaryTypeName","src":"393:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1572,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"431:2:6","nodeType":"VariableDeclaration","scope":1576,"src":"415:18:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1571,"name":"address","nodeType":"ElementaryTypeName","src":"415:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1574,"indexed":true,"mutability":"mutable","name":"tokenId","nameLocation":"451:7:6","nodeType":"VariableDeclaration","scope":1576,"src":"435:23:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1573,"name":"uint256","nodeType":"ElementaryTypeName","src":"435:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"392:67:6"},"src":"378:82:6"},{"anonymous":false,"documentation":{"id":1577,"nodeType":"StructuredDocumentation","src":"466:94:6","text":" @dev Emitted when `owner` enables `approved` to manage the `tokenId` token."},"eventSelector":"8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","id":1585,"name":"Approval","nameLocation":"571:8:6","nodeType":"EventDefinition","parameters":{"id":1584,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1579,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"596:5:6","nodeType":"VariableDeclaration","scope":1585,"src":"580:21:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1578,"name":"address","nodeType":"ElementaryTypeName","src":"580:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1581,"indexed":true,"mutability":"mutable","name":"approved","nameLocation":"619:8:6","nodeType":"VariableDeclaration","scope":1585,"src":"603:24:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1580,"name":"address","nodeType":"ElementaryTypeName","src":"603:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1583,"indexed":true,"mutability":"mutable","name":"tokenId","nameLocation":"645:7:6","nodeType":"VariableDeclaration","scope":1585,"src":"629:23:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1582,"name":"uint256","nodeType":"ElementaryTypeName","src":"629:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"579:74:6"},"src":"565:89:6"},{"anonymous":false,"documentation":{"id":1586,"nodeType":"StructuredDocumentation","src":"660:117:6","text":" @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets."},"eventSelector":"17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31","id":1594,"name":"ApprovalForAll","nameLocation":"788:14:6","nodeType":"EventDefinition","parameters":{"id":1593,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1588,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"819:5:6","nodeType":"VariableDeclaration","scope":1594,"src":"803:21:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1587,"name":"address","nodeType":"ElementaryTypeName","src":"803:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1590,"indexed":true,"mutability":"mutable","name":"operator","nameLocation":"842:8:6","nodeType":"VariableDeclaration","scope":1594,"src":"826:24:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1589,"name":"address","nodeType":"ElementaryTypeName","src":"826:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1592,"indexed":false,"mutability":"mutable","name":"approved","nameLocation":"857:8:6","nodeType":"VariableDeclaration","scope":1594,"src":"852:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1591,"name":"bool","nodeType":"ElementaryTypeName","src":"852:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"802:64:6"},"src":"782:85:6"},{"documentation":{"id":1595,"nodeType":"StructuredDocumentation","src":"873:76:6","text":" @dev Returns the number of tokens in ``owner``'s account."},"functionSelector":"70a08231","id":1602,"implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"963:9:6","nodeType":"FunctionDefinition","parameters":{"id":1598,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1597,"mutability":"mutable","name":"owner","nameLocation":"981:5:6","nodeType":"VariableDeclaration","scope":1602,"src":"973:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1596,"name":"address","nodeType":"ElementaryTypeName","src":"973:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"972:15:6"},"returnParameters":{"id":1601,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1600,"mutability":"mutable","name":"balance","nameLocation":"1019:7:6","nodeType":"VariableDeclaration","scope":1602,"src":"1011:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1599,"name":"uint256","nodeType":"ElementaryTypeName","src":"1011:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1010:17:6"},"scope":1677,"src":"954:74:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1603,"nodeType":"StructuredDocumentation","src":"1034:131:6","text":" @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist."},"functionSelector":"6352211e","id":1610,"implemented":false,"kind":"function","modifiers":[],"name":"ownerOf","nameLocation":"1179:7:6","nodeType":"FunctionDefinition","parameters":{"id":1606,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1605,"mutability":"mutable","name":"tokenId","nameLocation":"1195:7:6","nodeType":"VariableDeclaration","scope":1610,"src":"1187:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1604,"name":"uint256","nodeType":"ElementaryTypeName","src":"1187:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1186:17:6"},"returnParameters":{"id":1609,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1608,"mutability":"mutable","name":"owner","nameLocation":"1235:5:6","nodeType":"VariableDeclaration","scope":1610,"src":"1227:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1607,"name":"address","nodeType":"ElementaryTypeName","src":"1227:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1226:15:6"},"scope":1677,"src":"1170:72:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1611,"nodeType":"StructuredDocumentation","src":"1248:556:6","text":" @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event."},"functionSelector":"b88d4fde","id":1622,"implemented":false,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"1818:16:6","nodeType":"FunctionDefinition","parameters":{"id":1620,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1613,"mutability":"mutable","name":"from","nameLocation":"1852:4:6","nodeType":"VariableDeclaration","scope":1622,"src":"1844:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1612,"name":"address","nodeType":"ElementaryTypeName","src":"1844:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1615,"mutability":"mutable","name":"to","nameLocation":"1874:2:6","nodeType":"VariableDeclaration","scope":1622,"src":"1866:10:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1614,"name":"address","nodeType":"ElementaryTypeName","src":"1866:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1617,"mutability":"mutable","name":"tokenId","nameLocation":"1894:7:6","nodeType":"VariableDeclaration","scope":1622,"src":"1886:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1616,"name":"uint256","nodeType":"ElementaryTypeName","src":"1886:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1619,"mutability":"mutable","name":"data","nameLocation":"1926:4:6","nodeType":"VariableDeclaration","scope":1622,"src":"1911:19:6","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1618,"name":"bytes","nodeType":"ElementaryTypeName","src":"1911:5:6","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1834:102:6"},"returnParameters":{"id":1621,"nodeType":"ParameterList","parameters":[],"src":"1945:0:6"},"scope":1677,"src":"1809:137:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1623,"nodeType":"StructuredDocumentation","src":"1952:687:6","text":" @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event."},"functionSelector":"42842e0e","id":1632,"implemented":false,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"2653:16:6","nodeType":"FunctionDefinition","parameters":{"id":1630,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1625,"mutability":"mutable","name":"from","nameLocation":"2687:4:6","nodeType":"VariableDeclaration","scope":1632,"src":"2679:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1624,"name":"address","nodeType":"ElementaryTypeName","src":"2679:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1627,"mutability":"mutable","name":"to","nameLocation":"2709:2:6","nodeType":"VariableDeclaration","scope":1632,"src":"2701:10:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1626,"name":"address","nodeType":"ElementaryTypeName","src":"2701:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1629,"mutability":"mutable","name":"tokenId","nameLocation":"2729:7:6","nodeType":"VariableDeclaration","scope":1632,"src":"2721:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1628,"name":"uint256","nodeType":"ElementaryTypeName","src":"2721:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2669:73:6"},"returnParameters":{"id":1631,"nodeType":"ParameterList","parameters":[],"src":"2751:0:6"},"scope":1677,"src":"2644:108:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1633,"nodeType":"StructuredDocumentation","src":"2758:732:6","text":" @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\n or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n understand this adds an external call which potentially creates a reentrancy vulnerability.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event."},"functionSelector":"23b872dd","id":1642,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"3504:12:6","nodeType":"FunctionDefinition","parameters":{"id":1640,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1635,"mutability":"mutable","name":"from","nameLocation":"3534:4:6","nodeType":"VariableDeclaration","scope":1642,"src":"3526:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1634,"name":"address","nodeType":"ElementaryTypeName","src":"3526:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1637,"mutability":"mutable","name":"to","nameLocation":"3556:2:6","nodeType":"VariableDeclaration","scope":1642,"src":"3548:10:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1636,"name":"address","nodeType":"ElementaryTypeName","src":"3548:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1639,"mutability":"mutable","name":"tokenId","nameLocation":"3576:7:6","nodeType":"VariableDeclaration","scope":1642,"src":"3568:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1638,"name":"uint256","nodeType":"ElementaryTypeName","src":"3568:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3516:73:6"},"returnParameters":{"id":1641,"nodeType":"ParameterList","parameters":[],"src":"3598:0:6"},"scope":1677,"src":"3495:104:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1643,"nodeType":"StructuredDocumentation","src":"3605:452:6","text":" @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event."},"functionSelector":"095ea7b3","id":1650,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"4071:7:6","nodeType":"FunctionDefinition","parameters":{"id":1648,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1645,"mutability":"mutable","name":"to","nameLocation":"4087:2:6","nodeType":"VariableDeclaration","scope":1650,"src":"4079:10:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1644,"name":"address","nodeType":"ElementaryTypeName","src":"4079:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1647,"mutability":"mutable","name":"tokenId","nameLocation":"4099:7:6","nodeType":"VariableDeclaration","scope":1650,"src":"4091:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1646,"name":"uint256","nodeType":"ElementaryTypeName","src":"4091:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4078:29:6"},"returnParameters":{"id":1649,"nodeType":"ParameterList","parameters":[],"src":"4116:0:6"},"scope":1677,"src":"4062:55:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1651,"nodeType":"StructuredDocumentation","src":"4123:309:6","text":" @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event."},"functionSelector":"a22cb465","id":1658,"implemented":false,"kind":"function","modifiers":[],"name":"setApprovalForAll","nameLocation":"4446:17:6","nodeType":"FunctionDefinition","parameters":{"id":1656,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1653,"mutability":"mutable","name":"operator","nameLocation":"4472:8:6","nodeType":"VariableDeclaration","scope":1658,"src":"4464:16:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1652,"name":"address","nodeType":"ElementaryTypeName","src":"4464:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1655,"mutability":"mutable","name":"_approved","nameLocation":"4487:9:6","nodeType":"VariableDeclaration","scope":1658,"src":"4482:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1654,"name":"bool","nodeType":"ElementaryTypeName","src":"4482:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4463:34:6"},"returnParameters":{"id":1657,"nodeType":"ParameterList","parameters":[],"src":"4506:0:6"},"scope":1677,"src":"4437:70:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1659,"nodeType":"StructuredDocumentation","src":"4513:139:6","text":" @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist."},"functionSelector":"081812fc","id":1666,"implemented":false,"kind":"function","modifiers":[],"name":"getApproved","nameLocation":"4666:11:6","nodeType":"FunctionDefinition","parameters":{"id":1662,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1661,"mutability":"mutable","name":"tokenId","nameLocation":"4686:7:6","nodeType":"VariableDeclaration","scope":1666,"src":"4678:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1660,"name":"uint256","nodeType":"ElementaryTypeName","src":"4678:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4677:17:6"},"returnParameters":{"id":1665,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1664,"mutability":"mutable","name":"operator","nameLocation":"4726:8:6","nodeType":"VariableDeclaration","scope":1666,"src":"4718:16:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1663,"name":"address","nodeType":"ElementaryTypeName","src":"4718:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4717:18:6"},"scope":1677,"src":"4657:79:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1667,"nodeType":"StructuredDocumentation","src":"4742:138:6","text":" @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}"},"functionSelector":"e985e9c5","id":1676,"implemented":false,"kind":"function","modifiers":[],"name":"isApprovedForAll","nameLocation":"4894:16:6","nodeType":"FunctionDefinition","parameters":{"id":1672,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1669,"mutability":"mutable","name":"owner","nameLocation":"4919:5:6","nodeType":"VariableDeclaration","scope":1676,"src":"4911:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1668,"name":"address","nodeType":"ElementaryTypeName","src":"4911:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1671,"mutability":"mutable","name":"operator","nameLocation":"4934:8:6","nodeType":"VariableDeclaration","scope":1676,"src":"4926:16:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1670,"name":"address","nodeType":"ElementaryTypeName","src":"4926:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4910:33:6"},"returnParameters":{"id":1675,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1674,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1676,"src":"4967:4:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1673,"name":"bool","nodeType":"ElementaryTypeName","src":"4967:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4966:6:6"},"scope":1677,"src":"4885:88:6","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1678,"src":"250:4725:6","usedErrors":[]}],"src":"108:4868:6"},"id":6},"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol","exportedSymbols":{"IERC721Receiver":[1695]},"id":1696,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1679,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"116:23:7"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC721Receiver","contractDependencies":[],"contractKind":"interface","documentation":{"id":1680,"nodeType":"StructuredDocumentation","src":"141:152:7","text":" @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts."},"fullyImplemented":false,"id":1695,"linearizedBaseContracts":[1695],"name":"IERC721Receiver","nameLocation":"304:15:7","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1681,"nodeType":"StructuredDocumentation","src":"326:493:7","text":" @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`."},"functionSelector":"150b7a02","id":1694,"implemented":false,"kind":"function","modifiers":[],"name":"onERC721Received","nameLocation":"833:16:7","nodeType":"FunctionDefinition","parameters":{"id":1690,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1683,"mutability":"mutable","name":"operator","nameLocation":"867:8:7","nodeType":"VariableDeclaration","scope":1694,"src":"859:16:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1682,"name":"address","nodeType":"ElementaryTypeName","src":"859:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1685,"mutability":"mutable","name":"from","nameLocation":"893:4:7","nodeType":"VariableDeclaration","scope":1694,"src":"885:12:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1684,"name":"address","nodeType":"ElementaryTypeName","src":"885:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1687,"mutability":"mutable","name":"tokenId","nameLocation":"915:7:7","nodeType":"VariableDeclaration","scope":1694,"src":"907:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1686,"name":"uint256","nodeType":"ElementaryTypeName","src":"907:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1689,"mutability":"mutable","name":"data","nameLocation":"947:4:7","nodeType":"VariableDeclaration","scope":1694,"src":"932:19:7","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1688,"name":"bytes","nodeType":"ElementaryTypeName","src":"932:5:7","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"849:108:7"},"returnParameters":{"id":1693,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1692,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1694,"src":"976:6:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1691,"name":"bytes4","nodeType":"ElementaryTypeName","src":"976:6:7","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"975:8:7"},"scope":1695,"src":"824:160:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1696,"src":"294:692:7","usedErrors":[]}],"src":"116:871:7"},"id":7},"@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol","exportedSymbols":{"Address":[2437],"Context":[2459],"ERC165":[2658],"ERC721":[1561],"ERC721Enumerable":[2049],"IERC165":[2670],"IERC721":[1677],"IERC721Enumerable":[2080],"IERC721Metadata":[2107],"IERC721Receiver":[1695],"Math":[3535],"Strings":[2634]},"id":2050,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1697,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"128:23:8"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/ERC721.sol","file":"../ERC721.sol","id":1698,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2050,"sourceUnit":1562,"src":"153:23:8","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol","file":"./IERC721Enumerable.sol","id":1699,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2050,"sourceUnit":2081,"src":"177:33:8","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":1701,"name":"ERC721","nodeType":"IdentifierPath","referencedDeclaration":1561,"src":"450:6:8"},"id":1702,"nodeType":"InheritanceSpecifier","src":"450:6:8"},{"baseName":{"id":1703,"name":"IERC721Enumerable","nodeType":"IdentifierPath","referencedDeclaration":2080,"src":"458:17:8"},"id":1704,"nodeType":"InheritanceSpecifier","src":"458:17:8"}],"canonicalName":"ERC721Enumerable","contractDependencies":[],"contractKind":"contract","documentation":{"id":1700,"nodeType":"StructuredDocumentation","src":"212:199:8","text":" @dev This implements an optional extension of {ERC721} defined in the EIP that adds\n enumerability of all the token ids in the contract as well as all token ids owned by each\n account."},"fullyImplemented":false,"id":2049,"linearizedBaseContracts":[2049,2080,1561,2107,1677,2658,2670,2459],"name":"ERC721Enumerable","nameLocation":"430:16:8","nodeType":"ContractDefinition","nodes":[{"constant":false,"id":1710,"mutability":"mutable","name":"_ownedTokens","nameLocation":"591:12:8","nodeType":"VariableDeclaration","scope":2049,"src":"535:68:8","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"},"typeName":{"id":1709,"keyType":{"id":1705,"name":"address","nodeType":"ElementaryTypeName","src":"543:7:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"535:47:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"},"valueType":{"id":1708,"keyType":{"id":1706,"name":"uint256","nodeType":"ElementaryTypeName","src":"562:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"554:27:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"},"valueType":{"id":1707,"name":"uint256","nodeType":"ElementaryTypeName","src":"573:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}}},"visibility":"private"},{"constant":false,"id":1714,"mutability":"mutable","name":"_ownedTokensIndex","nameLocation":"709:17:8","nodeType":"VariableDeclaration","scope":2049,"src":"673:53:8","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"},"typeName":{"id":1713,"keyType":{"id":1711,"name":"uint256","nodeType":"ElementaryTypeName","src":"681:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"673:27:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"},"valueType":{"id":1712,"name":"uint256","nodeType":"ElementaryTypeName","src":"692:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"private"},{"constant":false,"id":1717,"mutability":"mutable","name":"_allTokens","nameLocation":"805:10:8","nodeType":"VariableDeclaration","scope":2049,"src":"787:28:8","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[]"},"typeName":{"baseType":{"id":1715,"name":"uint256","nodeType":"ElementaryTypeName","src":"787:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1716,"nodeType":"ArrayTypeName","src":"787:9:8","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"private"},{"constant":false,"id":1721,"mutability":"mutable","name":"_allTokensIndex","nameLocation":"922:15:8","nodeType":"VariableDeclaration","scope":2049,"src":"886:51:8","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"},"typeName":{"id":1720,"keyType":{"id":1718,"name":"uint256","nodeType":"ElementaryTypeName","src":"894:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"886:27:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"},"valueType":{"id":1719,"name":"uint256","nodeType":"ElementaryTypeName","src":"905:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"private"},{"baseFunctions":[710,2669],"body":{"id":1744,"nodeType":"Block","src":"1113:114:8","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1742,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":1737,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1732,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1724,"src":"1130:11:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":1734,"name":"IERC721Enumerable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2080,"src":"1150:17:8","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC721Enumerable_$2080_$","typeString":"type(contract IERC721Enumerable)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_contract$_IERC721Enumerable_$2080_$","typeString":"type(contract IERC721Enumerable)"}],"id":1733,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"1145:4:8","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":1735,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1145:23:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_contract$_IERC721Enumerable_$2080","typeString":"type(contract IERC721Enumerable)"}},"id":1736,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"interfaceId","nodeType":"MemberAccess","src":"1145:35:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"1130:50:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":1740,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1724,"src":"1208:11:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":1738,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"1184:5:8","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_ERC721Enumerable_$2049_$","typeString":"type(contract super ERC721Enumerable)"}},"id":1739,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"supportsInterface","nodeType":"MemberAccess","referencedDeclaration":710,"src":"1184:23:8","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) view returns (bool)"}},"id":1741,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1184:36:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1130:90:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":1731,"id":1743,"nodeType":"Return","src":"1123:97:8"}]},"documentation":{"id":1722,"nodeType":"StructuredDocumentation","src":"944:56:8","text":" @dev See {IERC165-supportsInterface}."},"functionSelector":"01ffc9a7","id":1745,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"1014:17:8","nodeType":"FunctionDefinition","overrides":{"id":1728,"nodeType":"OverrideSpecifier","overrides":[{"id":1726,"name":"IERC165","nodeType":"IdentifierPath","referencedDeclaration":2670,"src":"1081:7:8"},{"id":1727,"name":"ERC721","nodeType":"IdentifierPath","referencedDeclaration":1561,"src":"1090:6:8"}],"src":"1072:25:8"},"parameters":{"id":1725,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1724,"mutability":"mutable","name":"interfaceId","nameLocation":"1039:11:8","nodeType":"VariableDeclaration","scope":1745,"src":"1032:18:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1723,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1032:6:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1031:20:8"},"returnParameters":{"id":1731,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1730,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1745,"src":"1107:4:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1729,"name":"bool","nodeType":"ElementaryTypeName","src":"1107:4:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1106:6:8"},"scope":2049,"src":"1005:222:8","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2071],"body":{"id":1772,"nodeType":"Block","src":"1412:147:8","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1762,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1757,"name":"index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1750,"src":"1430:5:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"arguments":[{"id":1760,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1748,"src":"1455:5:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":1758,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1561,"src":"1438:6:8","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721_$1561_$","typeString":"type(contract ERC721)"}},"id":1759,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":734,"src":"1438:16:8","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":1761,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1438:23:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1430:31:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e6473","id":1763,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1463:45:8","typeDescriptions":{"typeIdentifier":"t_stringliteral_1d7f5dcf03a65f41ee49b0ab593e3851cfbe3fd7da53b6cf4eddd83c7df5734c","typeString":"literal_string \"ERC721Enumerable: owner index out of bounds\""},"value":"ERC721Enumerable: owner index out of bounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_1d7f5dcf03a65f41ee49b0ab593e3851cfbe3fd7da53b6cf4eddd83c7df5734c","typeString":"literal_string \"ERC721Enumerable: owner index out of bounds\""}],"id":1756,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1422:7:8","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1764,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1422:87:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1765,"nodeType":"ExpressionStatement","src":"1422:87:8"},{"expression":{"baseExpression":{"baseExpression":{"id":1766,"name":"_ownedTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1710,"src":"1526:12:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1768,"indexExpression":{"id":1767,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1748,"src":"1539:5:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1526:19:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1770,"indexExpression":{"id":1769,"name":"index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1750,"src":"1546:5:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1526:26:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":1755,"id":1771,"nodeType":"Return","src":"1519:33:8"}]},"documentation":{"id":1746,"nodeType":"StructuredDocumentation","src":"1233:68:8","text":" @dev See {IERC721Enumerable-tokenOfOwnerByIndex}."},"functionSelector":"2f745c59","id":1773,"implemented":true,"kind":"function","modifiers":[],"name":"tokenOfOwnerByIndex","nameLocation":"1315:19:8","nodeType":"FunctionDefinition","overrides":{"id":1752,"nodeType":"OverrideSpecifier","overrides":[],"src":"1385:8:8"},"parameters":{"id":1751,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1748,"mutability":"mutable","name":"owner","nameLocation":"1343:5:8","nodeType":"VariableDeclaration","scope":1773,"src":"1335:13:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1747,"name":"address","nodeType":"ElementaryTypeName","src":"1335:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1750,"mutability":"mutable","name":"index","nameLocation":"1358:5:8","nodeType":"VariableDeclaration","scope":1773,"src":"1350:13:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1749,"name":"uint256","nodeType":"ElementaryTypeName","src":"1350:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1334:30:8"},"returnParameters":{"id":1755,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1754,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1773,"src":"1403:7:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1753,"name":"uint256","nodeType":"ElementaryTypeName","src":"1403:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1402:9:8"},"scope":2049,"src":"1306:253:8","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2061],"body":{"id":1783,"nodeType":"Block","src":"1700:41:8","statements":[{"expression":{"expression":{"id":1780,"name":"_allTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1717,"src":"1717:10:8","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":1781,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"1717:17:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":1779,"id":1782,"nodeType":"Return","src":"1710:24:8"}]},"documentation":{"id":1774,"nodeType":"StructuredDocumentation","src":"1565:60:8","text":" @dev See {IERC721Enumerable-totalSupply}."},"functionSelector":"18160ddd","id":1784,"implemented":true,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"1639:11:8","nodeType":"FunctionDefinition","overrides":{"id":1776,"nodeType":"OverrideSpecifier","overrides":[],"src":"1673:8:8"},"parameters":{"id":1775,"nodeType":"ParameterList","parameters":[],"src":"1650:2:8"},"returnParameters":{"id":1779,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1778,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1784,"src":"1691:7:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1777,"name":"uint256","nodeType":"ElementaryTypeName","src":"1691:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1690:9:8"},"scope":2049,"src":"1630:111:8","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2079],"body":{"id":1806,"nodeType":"Block","src":"1897:146:8","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1798,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1794,"name":"index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1787,"src":"1915:5:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":1795,"name":"ERC721Enumerable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2049,"src":"1923:16:8","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721Enumerable_$2049_$","typeString":"type(contract ERC721Enumerable)"}},"id":1796,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"totalSupply","nodeType":"MemberAccess","referencedDeclaration":1784,"src":"1923:28:8","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint256_$","typeString":"function () view returns (uint256)"}},"id":1797,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1923:30:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1915:38:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e6473","id":1799,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1955:46:8","typeDescriptions":{"typeIdentifier":"t_stringliteral_d269a4e9f5820dcdb69ea21f528512eb9b927c8d846d48aa51c9219f461d4dcc","typeString":"literal_string \"ERC721Enumerable: global index out of bounds\""},"value":"ERC721Enumerable: global index out of bounds"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_d269a4e9f5820dcdb69ea21f528512eb9b927c8d846d48aa51c9219f461d4dcc","typeString":"literal_string \"ERC721Enumerable: global index out of bounds\""}],"id":1793,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1907:7:8","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1800,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1907:95:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1801,"nodeType":"ExpressionStatement","src":"1907:95:8"},{"expression":{"baseExpression":{"id":1802,"name":"_allTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1717,"src":"2019:10:8","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":1804,"indexExpression":{"id":1803,"name":"index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1787,"src":"2030:5:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2019:17:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":1792,"id":1805,"nodeType":"Return","src":"2012:24:8"}]},"documentation":{"id":1785,"nodeType":"StructuredDocumentation","src":"1747:61:8","text":" @dev See {IERC721Enumerable-tokenByIndex}."},"functionSelector":"4f6ccce7","id":1807,"implemented":true,"kind":"function","modifiers":[],"name":"tokenByIndex","nameLocation":"1822:12:8","nodeType":"FunctionDefinition","overrides":{"id":1789,"nodeType":"OverrideSpecifier","overrides":[],"src":"1870:8:8"},"parameters":{"id":1788,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1787,"mutability":"mutable","name":"index","nameLocation":"1843:5:8","nodeType":"VariableDeclaration","scope":1807,"src":"1835:13:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1786,"name":"uint256","nodeType":"ElementaryTypeName","src":"1835:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1834:15:8"},"returnParameters":{"id":1792,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1791,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1807,"src":"1888:7:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1790,"name":"uint256","nodeType":"ElementaryTypeName","src":"1888:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1887:9:8"},"scope":2049,"src":"1813:230:8","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1547],"body":{"id":1886,"nodeType":"Block","src":"2273:729:8","statements":[{"expression":{"arguments":[{"id":1823,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1810,"src":"2310:4:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1824,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1812,"src":"2316:2:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1825,"name":"firstTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1814,"src":"2320:12:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1826,"name":"batchSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1816,"src":"2334:9:8","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":1820,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"2283:5:8","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_ERC721Enumerable_$2049_$","typeString":"type(contract super ERC721Enumerable)"}},"id":1822,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"_beforeTokenTransfer","nodeType":"MemberAccess","referencedDeclaration":1547,"src":"2283:26:8","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256,uint256)"}},"id":1827,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2283:61:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1828,"nodeType":"ExpressionStatement","src":"2283:61:8"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1831,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1829,"name":"batchSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1816,"src":"2359:9:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"31","id":1830,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2371:1:8","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"2359:13:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1837,"nodeType":"IfStatement","src":"2355:219:8","trueBody":{"id":1836,"nodeType":"Block","src":"2374:200:8","statements":[{"expression":{"arguments":[{"hexValue":"455243373231456e756d657261626c653a20636f6e7365637574697665207472616e7366657273206e6f7420737570706f72746564","id":1833,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2507:55:8","typeDescriptions":{"typeIdentifier":"t_stringliteral_da49291af84b6a1e37ed9eacd9a67360593e4a0e561cb261a6a738f621783314","typeString":"literal_string \"ERC721Enumerable: consecutive transfers not supported\""},"value":"ERC721Enumerable: consecutive transfers not supported"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_da49291af84b6a1e37ed9eacd9a67360593e4a0e561cb261a6a738f621783314","typeString":"literal_string \"ERC721Enumerable: consecutive transfers not supported\""}],"id":1832,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"2500:6:8","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":1834,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2500:63:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1835,"nodeType":"ExpressionStatement","src":"2500:63:8"}]}},{"assignments":[1839],"declarations":[{"constant":false,"id":1839,"mutability":"mutable","name":"tokenId","nameLocation":"2592:7:8","nodeType":"VariableDeclaration","scope":1886,"src":"2584:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1838,"name":"uint256","nodeType":"ElementaryTypeName","src":"2584:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1841,"initialValue":{"id":1840,"name":"firstTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1814,"src":"2602:12:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2584:30:8"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1847,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1842,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1810,"src":"2629:4:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":1845,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2645:1:8","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":1844,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2637:7:8","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1843,"name":"address","nodeType":"ElementaryTypeName","src":"2637:7:8","typeDescriptions":{}}},"id":1846,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2637:10:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2629:18:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1855,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1853,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1810,"src":"2724:4:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1854,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1812,"src":"2732:2:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2724:10:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1862,"nodeType":"IfStatement","src":"2720:88:8","trueBody":{"id":1861,"nodeType":"Block","src":"2736:72:8","statements":[{"expression":{"arguments":[{"id":1857,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1810,"src":"2783:4:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1858,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1839,"src":"2789:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1856,"name":"_removeTokenFromOwnerEnumeration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2000,"src":"2750:32:8","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":1859,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2750:47:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1860,"nodeType":"ExpressionStatement","src":"2750:47:8"}]}},"id":1863,"nodeType":"IfStatement","src":"2625:183:8","trueBody":{"id":1852,"nodeType":"Block","src":"2649:65:8","statements":[{"expression":{"arguments":[{"id":1849,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1839,"src":"2695:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1848,"name":"_addTokenToAllTokensEnumeration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1937,"src":"2663:31:8","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":1850,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2663:40:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1851,"nodeType":"ExpressionStatement","src":"2663:40:8"}]}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1869,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1864,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1812,"src":"2821:2:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":1867,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2835:1:8","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":1866,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2827:7:8","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1865,"name":"address","nodeType":"ElementaryTypeName","src":"2827:7:8","typeDescriptions":{}}},"id":1868,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2827:10:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2821:16:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1877,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1875,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1812,"src":"2919:2:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1876,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1810,"src":"2925:4:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2919:10:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1884,"nodeType":"IfStatement","src":"2915:81:8","trueBody":{"id":1883,"nodeType":"Block","src":"2931:65:8","statements":[{"expression":{"arguments":[{"id":1879,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1812,"src":"2973:2:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1880,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1839,"src":"2977:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1878,"name":"_addTokenToOwnerEnumeration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1917,"src":"2945:27:8","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":1881,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2945:40:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1882,"nodeType":"ExpressionStatement","src":"2945:40:8"}]}},"id":1885,"nodeType":"IfStatement","src":"2817:179:8","trueBody":{"id":1874,"nodeType":"Block","src":"2839:70:8","statements":[{"expression":{"arguments":[{"id":1871,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1839,"src":"2890:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1870,"name":"_removeTokenFromAllTokensEnumeration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2048,"src":"2853:36:8","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":1872,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2853:45:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1873,"nodeType":"ExpressionStatement","src":"2853:45:8"}]}}]},"documentation":{"id":1808,"nodeType":"StructuredDocumentation","src":"2049:58:8","text":" @dev See {ERC721-_beforeTokenTransfer}."},"id":1887,"implemented":true,"kind":"function","modifiers":[],"name":"_beforeTokenTransfer","nameLocation":"2121:20:8","nodeType":"FunctionDefinition","overrides":{"id":1818,"nodeType":"OverrideSpecifier","overrides":[],"src":"2264:8:8"},"parameters":{"id":1817,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1810,"mutability":"mutable","name":"from","nameLocation":"2159:4:8","nodeType":"VariableDeclaration","scope":1887,"src":"2151:12:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1809,"name":"address","nodeType":"ElementaryTypeName","src":"2151:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1812,"mutability":"mutable","name":"to","nameLocation":"2181:2:8","nodeType":"VariableDeclaration","scope":1887,"src":"2173:10:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1811,"name":"address","nodeType":"ElementaryTypeName","src":"2173:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1814,"mutability":"mutable","name":"firstTokenId","nameLocation":"2201:12:8","nodeType":"VariableDeclaration","scope":1887,"src":"2193:20:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1813,"name":"uint256","nodeType":"ElementaryTypeName","src":"2193:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1816,"mutability":"mutable","name":"batchSize","nameLocation":"2231:9:8","nodeType":"VariableDeclaration","scope":1887,"src":"2223:17:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1815,"name":"uint256","nodeType":"ElementaryTypeName","src":"2223:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2141:105:8"},"returnParameters":{"id":1819,"nodeType":"ParameterList","parameters":[],"src":"2273:0:8"},"scope":2049,"src":"2112:890:8","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1916,"nodeType":"Block","src":"3370:143:8","statements":[{"assignments":[1896],"declarations":[{"constant":false,"id":1896,"mutability":"mutable","name":"length","nameLocation":"3388:6:8","nodeType":"VariableDeclaration","scope":1916,"src":"3380:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1895,"name":"uint256","nodeType":"ElementaryTypeName","src":"3380:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1901,"initialValue":{"arguments":[{"id":1899,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1890,"src":"3414:2:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":1897,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1561,"src":"3397:6:8","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721_$1561_$","typeString":"type(contract ERC721)"}},"id":1898,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":734,"src":"3397:16:8","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":1900,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3397:20:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3380:37:8"},{"expression":{"id":1908,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":1902,"name":"_ownedTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1710,"src":"3427:12:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1905,"indexExpression":{"id":1903,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1890,"src":"3440:2:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3427:16:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1906,"indexExpression":{"id":1904,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1896,"src":"3444:6:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3427:24:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1907,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1892,"src":"3454:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3427:34:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1909,"nodeType":"ExpressionStatement","src":"3427:34:8"},{"expression":{"id":1914,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1910,"name":"_ownedTokensIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1714,"src":"3471:17:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1912,"indexExpression":{"id":1911,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1892,"src":"3489:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3471:26:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1913,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1896,"src":"3500:6:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3471:35:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1915,"nodeType":"ExpressionStatement","src":"3471:35:8"}]},"documentation":{"id":1888,"nodeType":"StructuredDocumentation","src":"3008:283:8","text":" @dev Private function to add a token to this extension's ownership-tracking data structures.\n @param to address representing the new owner of the given token ID\n @param tokenId uint256 ID of the token to be added to the tokens list of the given address"},"id":1917,"implemented":true,"kind":"function","modifiers":[],"name":"_addTokenToOwnerEnumeration","nameLocation":"3305:27:8","nodeType":"FunctionDefinition","parameters":{"id":1893,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1890,"mutability":"mutable","name":"to","nameLocation":"3341:2:8","nodeType":"VariableDeclaration","scope":1917,"src":"3333:10:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1889,"name":"address","nodeType":"ElementaryTypeName","src":"3333:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1892,"mutability":"mutable","name":"tokenId","nameLocation":"3353:7:8","nodeType":"VariableDeclaration","scope":1917,"src":"3345:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1891,"name":"uint256","nodeType":"ElementaryTypeName","src":"3345:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3332:29:8"},"returnParameters":{"id":1894,"nodeType":"ParameterList","parameters":[],"src":"3370:0:8"},"scope":2049,"src":"3296:217:8","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":1936,"nodeType":"Block","src":"3774:95:8","statements":[{"expression":{"id":1928,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1923,"name":"_allTokensIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1721,"src":"3784:15:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1925,"indexExpression":{"id":1924,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1920,"src":"3800:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3784:24:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":1926,"name":"_allTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1717,"src":"3811:10:8","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":1927,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"3811:17:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3784:44:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1929,"nodeType":"ExpressionStatement","src":"3784:44:8"},{"expression":{"arguments":[{"id":1933,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1920,"src":"3854:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1930,"name":"_allTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1717,"src":"3838:10:8","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":1932,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"push","nodeType":"MemberAccess","src":"3838:15:8","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_array$_t_uint256_$dyn_storage_ptr_$","typeString":"function (uint256[] storage pointer,uint256)"}},"id":1934,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3838:24:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1935,"nodeType":"ExpressionStatement","src":"3838:24:8"}]},"documentation":{"id":1918,"nodeType":"StructuredDocumentation","src":"3519:184:8","text":" @dev Private function to add a token to this extension's token tracking data structures.\n @param tokenId uint256 ID of the token to be added to the tokens list"},"id":1937,"implemented":true,"kind":"function","modifiers":[],"name":"_addTokenToAllTokensEnumeration","nameLocation":"3717:31:8","nodeType":"FunctionDefinition","parameters":{"id":1921,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1920,"mutability":"mutable","name":"tokenId","nameLocation":"3757:7:8","nodeType":"VariableDeclaration","scope":1937,"src":"3749:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1919,"name":"uint256","nodeType":"ElementaryTypeName","src":"3749:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3748:17:8"},"returnParameters":{"id":1922,"nodeType":"ParameterList","parameters":[],"src":"3774:0:8"},"scope":2049,"src":"3708:161:8","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":1999,"nodeType":"Block","src":"4567:889:8","statements":[{"assignments":[1946],"declarations":[{"constant":false,"id":1946,"mutability":"mutable","name":"lastTokenIndex","nameLocation":"4756:14:8","nodeType":"VariableDeclaration","scope":1999,"src":"4748:22:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1945,"name":"uint256","nodeType":"ElementaryTypeName","src":"4748:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1953,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1952,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":1949,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1940,"src":"4790:4:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":1947,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1561,"src":"4773:6:8","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721_$1561_$","typeString":"type(contract ERC721)"}},"id":1948,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":734,"src":"4773:16:8","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":1950,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4773:22:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":1951,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4798:1:8","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"4773:26:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4748:51:8"},{"assignments":[1955],"declarations":[{"constant":false,"id":1955,"mutability":"mutable","name":"tokenIndex","nameLocation":"4817:10:8","nodeType":"VariableDeclaration","scope":1999,"src":"4809:18:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1954,"name":"uint256","nodeType":"ElementaryTypeName","src":"4809:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1959,"initialValue":{"baseExpression":{"id":1956,"name":"_ownedTokensIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1714,"src":"4830:17:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1958,"indexExpression":{"id":1957,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1942,"src":"4848:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4830:26:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4809:47:8"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1962,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1960,"name":"tokenIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1955,"src":"4960:10:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1961,"name":"lastTokenIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1946,"src":"4974:14:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4960:28:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1986,"nodeType":"IfStatement","src":"4956:323:8","trueBody":{"id":1985,"nodeType":"Block","src":"4990:289:8","statements":[{"assignments":[1964],"declarations":[{"constant":false,"id":1964,"mutability":"mutable","name":"lastTokenId","nameLocation":"5012:11:8","nodeType":"VariableDeclaration","scope":1985,"src":"5004:19:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1963,"name":"uint256","nodeType":"ElementaryTypeName","src":"5004:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1970,"initialValue":{"baseExpression":{"baseExpression":{"id":1965,"name":"_ownedTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1710,"src":"5026:12:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1967,"indexExpression":{"id":1966,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1940,"src":"5039:4:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5026:18:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1969,"indexExpression":{"id":1968,"name":"lastTokenIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1946,"src":"5045:14:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5026:34:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5004:56:8"},{"expression":{"id":1977,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":1971,"name":"_ownedTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1710,"src":"5075:12:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1974,"indexExpression":{"id":1972,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1940,"src":"5088:4:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5075:18:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1975,"indexExpression":{"id":1973,"name":"tokenIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1955,"src":"5094:10:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5075:30:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1976,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1964,"src":"5108:11:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5075:44:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1978,"nodeType":"ExpressionStatement","src":"5075:44:8"},{"expression":{"id":1983,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1979,"name":"_ownedTokensIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1714,"src":"5191:17:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1981,"indexExpression":{"id":1980,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1964,"src":"5209:11:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5191:30:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1982,"name":"tokenIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1955,"src":"5224:10:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5191:43:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1984,"nodeType":"ExpressionStatement","src":"5191:43:8"}]}},{"expression":{"id":1990,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"5365:33:8","subExpression":{"baseExpression":{"id":1987,"name":"_ownedTokensIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1714,"src":"5372:17:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1989,"indexExpression":{"id":1988,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1942,"src":"5390:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5372:26:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1991,"nodeType":"ExpressionStatement","src":"5365:33:8"},{"expression":{"id":1997,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"5408:41:8","subExpression":{"baseExpression":{"baseExpression":{"id":1992,"name":"_ownedTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1710,"src":"5415:12:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1994,"indexExpression":{"id":1993,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1940,"src":"5428:4:8","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5415:18:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1996,"indexExpression":{"id":1995,"name":"lastTokenIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1946,"src":"5434:14:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5415:34:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1998,"nodeType":"ExpressionStatement","src":"5408:41:8"}]},"documentation":{"id":1938,"nodeType":"StructuredDocumentation","src":"3875:606:8","text":" @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that\n while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for\n gas optimizations e.g. when performing a transfer operation (avoiding double writes).\n This has O(1) time complexity, but alters the order of the _ownedTokens array.\n @param from address representing the previous owner of the given token ID\n @param tokenId uint256 ID of the token to be removed from the tokens list of the given address"},"id":2000,"implemented":true,"kind":"function","modifiers":[],"name":"_removeTokenFromOwnerEnumeration","nameLocation":"4495:32:8","nodeType":"FunctionDefinition","parameters":{"id":1943,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1940,"mutability":"mutable","name":"from","nameLocation":"4536:4:8","nodeType":"VariableDeclaration","scope":2000,"src":"4528:12:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1939,"name":"address","nodeType":"ElementaryTypeName","src":"4528:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1942,"mutability":"mutable","name":"tokenId","nameLocation":"4550:7:8","nodeType":"VariableDeclaration","scope":2000,"src":"4542:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1941,"name":"uint256","nodeType":"ElementaryTypeName","src":"4542:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4527:31:8"},"returnParameters":{"id":1944,"nodeType":"ParameterList","parameters":[],"src":"4567:0:8"},"scope":2049,"src":"4486:970:8","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":2047,"nodeType":"Block","src":"5815:990:8","statements":[{"assignments":[2007],"declarations":[{"constant":false,"id":2007,"mutability":"mutable","name":"lastTokenIndex","nameLocation":"6001:14:8","nodeType":"VariableDeclaration","scope":2047,"src":"5993:22:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2006,"name":"uint256","nodeType":"ElementaryTypeName","src":"5993:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2012,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2011,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2008,"name":"_allTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1717,"src":"6018:10:8","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":2009,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"6018:17:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":2010,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6038:1:8","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6018:21:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5993:46:8"},{"assignments":[2014],"declarations":[{"constant":false,"id":2014,"mutability":"mutable","name":"tokenIndex","nameLocation":"6057:10:8","nodeType":"VariableDeclaration","scope":2047,"src":"6049:18:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2013,"name":"uint256","nodeType":"ElementaryTypeName","src":"6049:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2018,"initialValue":{"baseExpression":{"id":2015,"name":"_allTokensIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1721,"src":"6070:15:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":2017,"indexExpression":{"id":2016,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2003,"src":"6086:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6070:24:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6049:45:8"},{"assignments":[2020],"declarations":[{"constant":false,"id":2020,"mutability":"mutable","name":"lastTokenId","nameLocation":"6424:11:8","nodeType":"VariableDeclaration","scope":2047,"src":"6416:19:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2019,"name":"uint256","nodeType":"ElementaryTypeName","src":"6416:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2024,"initialValue":{"baseExpression":{"id":2021,"name":"_allTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1717,"src":"6438:10:8","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":2023,"indexExpression":{"id":2022,"name":"lastTokenIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2007,"src":"6449:14:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6438:26:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6416:48:8"},{"expression":{"id":2029,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":2025,"name":"_allTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1717,"src":"6475:10:8","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":2027,"indexExpression":{"id":2026,"name":"tokenIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2014,"src":"6486:10:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6475:22:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":2028,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2020,"src":"6500:11:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6475:36:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2030,"nodeType":"ExpressionStatement","src":"6475:36:8"},{"expression":{"id":2035,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":2031,"name":"_allTokensIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1721,"src":"6579:15:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":2033,"indexExpression":{"id":2032,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2020,"src":"6595:11:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6579:28:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":2034,"name":"tokenIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2014,"src":"6610:10:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6579:41:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2036,"nodeType":"ExpressionStatement","src":"6579:41:8"},{"expression":{"id":2040,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"6741:31:8","subExpression":{"baseExpression":{"id":2037,"name":"_allTokensIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1721,"src":"6748:15:8","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":2039,"indexExpression":{"id":2038,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2003,"src":"6764:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6748:24:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2041,"nodeType":"ExpressionStatement","src":"6741:31:8"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2042,"name":"_allTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1717,"src":"6782:10:8","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":2044,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"pop","nodeType":"MemberAccess","src":"6782:14:8","typeDescriptions":{"typeIdentifier":"t_function_arraypop_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$returns$__$bound_to$_t_array$_t_uint256_$dyn_storage_ptr_$","typeString":"function (uint256[] storage pointer)"}},"id":2045,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6782:16:8","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2046,"nodeType":"ExpressionStatement","src":"6782:16:8"}]},"documentation":{"id":2001,"nodeType":"StructuredDocumentation","src":"5462:277:8","text":" @dev Private function to remove a token from this extension's token tracking data structures.\n This has O(1) time complexity, but alters the order of the _allTokens array.\n @param tokenId uint256 ID of the token to be removed from the tokens list"},"id":2048,"implemented":true,"kind":"function","modifiers":[],"name":"_removeTokenFromAllTokensEnumeration","nameLocation":"5753:36:8","nodeType":"FunctionDefinition","parameters":{"id":2004,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2003,"mutability":"mutable","name":"tokenId","nameLocation":"5798:7:8","nodeType":"VariableDeclaration","scope":2048,"src":"5790:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2002,"name":"uint256","nodeType":"ElementaryTypeName","src":"5790:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5789:17:8"},"returnParameters":{"id":2005,"nodeType":"ParameterList","parameters":[],"src":"5815:0:8"},"scope":2049,"src":"5744:1061:8","stateMutability":"nonpayable","virtual":false,"visibility":"private"}],"scope":2050,"src":"412:6395:8","usedErrors":[]}],"src":"128:6680:8"},"id":8},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol","exportedSymbols":{"IERC165":[2670],"IERC721":[1677],"IERC721Enumerable":[2080]},"id":2081,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2051,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"129:23:9"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721.sol","file":"../IERC721.sol","id":2052,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2081,"sourceUnit":1678,"src":"154:24:9","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":2054,"name":"IERC721","nodeType":"IdentifierPath","referencedDeclaration":1677,"src":"348:7:9"},"id":2055,"nodeType":"InheritanceSpecifier","src":"348:7:9"}],"canonicalName":"IERC721Enumerable","contractDependencies":[],"contractKind":"interface","documentation":{"id":2053,"nodeType":"StructuredDocumentation","src":"180:136:9","text":" @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721"},"fullyImplemented":false,"id":2080,"linearizedBaseContracts":[2080,1677,2670],"name":"IERC721Enumerable","nameLocation":"327:17:9","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":2056,"nodeType":"StructuredDocumentation","src":"362:82:9","text":" @dev Returns the total amount of tokens stored by the contract."},"functionSelector":"18160ddd","id":2061,"implemented":false,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"458:11:9","nodeType":"FunctionDefinition","parameters":{"id":2057,"nodeType":"ParameterList","parameters":[],"src":"469:2:9"},"returnParameters":{"id":2060,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2059,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2061,"src":"495:7:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2058,"name":"uint256","nodeType":"ElementaryTypeName","src":"495:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"494:9:9"},"scope":2080,"src":"449:55:9","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2062,"nodeType":"StructuredDocumentation","src":"510:171:9","text":" @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens."},"functionSelector":"2f745c59","id":2071,"implemented":false,"kind":"function","modifiers":[],"name":"tokenOfOwnerByIndex","nameLocation":"695:19:9","nodeType":"FunctionDefinition","parameters":{"id":2067,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2064,"mutability":"mutable","name":"owner","nameLocation":"723:5:9","nodeType":"VariableDeclaration","scope":2071,"src":"715:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2063,"name":"address","nodeType":"ElementaryTypeName","src":"715:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2066,"mutability":"mutable","name":"index","nameLocation":"738:5:9","nodeType":"VariableDeclaration","scope":2071,"src":"730:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2065,"name":"uint256","nodeType":"ElementaryTypeName","src":"730:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"714:30:9"},"returnParameters":{"id":2070,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2069,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2071,"src":"768:7:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2068,"name":"uint256","nodeType":"ElementaryTypeName","src":"768:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"767:9:9"},"scope":2080,"src":"686:91:9","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2072,"nodeType":"StructuredDocumentation","src":"783:164:9","text":" @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens."},"functionSelector":"4f6ccce7","id":2079,"implemented":false,"kind":"function","modifiers":[],"name":"tokenByIndex","nameLocation":"961:12:9","nodeType":"FunctionDefinition","parameters":{"id":2075,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2074,"mutability":"mutable","name":"index","nameLocation":"982:5:9","nodeType":"VariableDeclaration","scope":2079,"src":"974:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2073,"name":"uint256","nodeType":"ElementaryTypeName","src":"974:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"973:15:9"},"returnParameters":{"id":2078,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2077,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2079,"src":"1012:7:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2076,"name":"uint256","nodeType":"ElementaryTypeName","src":"1012:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1011:9:9"},"scope":2080,"src":"952:69:9","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":2081,"src":"317:706:9","usedErrors":[]}],"src":"129:895:9"},"id":9},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol","exportedSymbols":{"IERC165":[2670],"IERC721":[1677],"IERC721Metadata":[2107]},"id":2108,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2082,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"112:23:10"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721.sol","file":"../IERC721.sol","id":2083,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2108,"sourceUnit":1678,"src":"137:24:10","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":2085,"name":"IERC721","nodeType":"IdentifierPath","referencedDeclaration":1677,"src":"326:7:10"},"id":2086,"nodeType":"InheritanceSpecifier","src":"326:7:10"}],"canonicalName":"IERC721Metadata","contractDependencies":[],"contractKind":"interface","documentation":{"id":2084,"nodeType":"StructuredDocumentation","src":"163:133:10","text":" @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721"},"fullyImplemented":false,"id":2107,"linearizedBaseContracts":[2107,1677,2670],"name":"IERC721Metadata","nameLocation":"307:15:10","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":2087,"nodeType":"StructuredDocumentation","src":"340:58:10","text":" @dev Returns the token collection name."},"functionSelector":"06fdde03","id":2092,"implemented":false,"kind":"function","modifiers":[],"name":"name","nameLocation":"412:4:10","nodeType":"FunctionDefinition","parameters":{"id":2088,"nodeType":"ParameterList","parameters":[],"src":"416:2:10"},"returnParameters":{"id":2091,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2090,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2092,"src":"442:13:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2089,"name":"string","nodeType":"ElementaryTypeName","src":"442:6:10","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"441:15:10"},"scope":2107,"src":"403:54:10","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2093,"nodeType":"StructuredDocumentation","src":"463:60:10","text":" @dev Returns the token collection symbol."},"functionSelector":"95d89b41","id":2098,"implemented":false,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"537:6:10","nodeType":"FunctionDefinition","parameters":{"id":2094,"nodeType":"ParameterList","parameters":[],"src":"543:2:10"},"returnParameters":{"id":2097,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2096,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2098,"src":"569:13:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2095,"name":"string","nodeType":"ElementaryTypeName","src":"569:6:10","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"568:15:10"},"scope":2107,"src":"528:56:10","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2099,"nodeType":"StructuredDocumentation","src":"590:90:10","text":" @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token."},"functionSelector":"c87b56dd","id":2106,"implemented":false,"kind":"function","modifiers":[],"name":"tokenURI","nameLocation":"694:8:10","nodeType":"FunctionDefinition","parameters":{"id":2102,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2101,"mutability":"mutable","name":"tokenId","nameLocation":"711:7:10","nodeType":"VariableDeclaration","scope":2106,"src":"703:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2100,"name":"uint256","nodeType":"ElementaryTypeName","src":"703:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"702:17:10"},"returnParameters":{"id":2105,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2104,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2106,"src":"743:13:10","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2103,"name":"string","nodeType":"ElementaryTypeName","src":"743:6:10","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"742:15:10"},"scope":2107,"src":"685:73:10","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":2108,"src":"297:463:10","usedErrors":[]}],"src":"112:649:10"},"id":10},"@openzeppelin/contracts/utils/Address.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Address.sol","exportedSymbols":{"Address":[2437]},"id":2438,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2109,"literals":["solidity","^","0.8",".1"],"nodeType":"PragmaDirective","src":"101:23:11"},{"abstract":false,"baseContracts":[],"canonicalName":"Address","contractDependencies":[],"contractKind":"library","documentation":{"id":2110,"nodeType":"StructuredDocumentation","src":"126:67:11","text":" @dev Collection of functions related to the address type"},"fullyImplemented":true,"id":2437,"linearizedBaseContracts":[2437],"name":"Address","nameLocation":"202:7:11","nodeType":"ContractDefinition","nodes":[{"body":{"id":2124,"nodeType":"Block","src":"1241:254:11","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2122,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":2118,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2113,"src":"1465:7:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2119,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"code","nodeType":"MemberAccess","src":"1465:12:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2120,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"1465:19:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2121,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1487:1:11","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1465:23:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":2117,"id":2123,"nodeType":"Return","src":"1458:30:11"}]},"documentation":{"id":2111,"nodeType":"StructuredDocumentation","src":"216:954:11","text":" @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n  - an externally-owned account\n  - a contract in construction\n  - an address where a contract will be created\n  - an address where a contract lived, but was destroyed\n ====\n [IMPORTANT]\n ====\n You shouldn't rely on `isContract` to protect against flash loan attacks!\n Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n constructor.\n ===="},"id":2125,"implemented":true,"kind":"function","modifiers":[],"name":"isContract","nameLocation":"1184:10:11","nodeType":"FunctionDefinition","parameters":{"id":2114,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2113,"mutability":"mutable","name":"account","nameLocation":"1203:7:11","nodeType":"VariableDeclaration","scope":2125,"src":"1195:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2112,"name":"address","nodeType":"ElementaryTypeName","src":"1195:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1194:17:11"},"returnParameters":{"id":2117,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2116,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2125,"src":"1235:4:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2115,"name":"bool","nodeType":"ElementaryTypeName","src":"1235:4:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1234:6:11"},"scope":2437,"src":"1175:320:11","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2158,"nodeType":"Block","src":"2483:241:11","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2140,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":2136,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2509:4:11","typeDescriptions":{"typeIdentifier":"t_contract$_Address_$2437","typeString":"library Address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Address_$2437","typeString":"library Address"}],"id":2135,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2501:7:11","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2134,"name":"address","nodeType":"ElementaryTypeName","src":"2501:7:11","typeDescriptions":{}}},"id":2137,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2501:13:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2138,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"balance","nodeType":"MemberAccess","src":"2501:21:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":2139,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2130,"src":"2526:6:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2501:31:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20696e73756666696369656e742062616c616e6365","id":2141,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2534:31:11","typeDescriptions":{"typeIdentifier":"t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9","typeString":"literal_string \"Address: insufficient balance\""},"value":"Address: insufficient balance"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9","typeString":"literal_string \"Address: insufficient balance\""}],"id":2133,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2493:7:11","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2142,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2493:73:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2143,"nodeType":"ExpressionStatement","src":"2493:73:11"},{"assignments":[2145,null],"declarations":[{"constant":false,"id":2145,"mutability":"mutable","name":"success","nameLocation":"2583:7:11","nodeType":"VariableDeclaration","scope":2158,"src":"2578:12:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2144,"name":"bool","nodeType":"ElementaryTypeName","src":"2578:4:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},null],"id":2152,"initialValue":{"arguments":[{"hexValue":"","id":2150,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2626:2:11","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":2146,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2128,"src":"2596:9:11","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":2147,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"call","nodeType":"MemberAccess","src":"2596:14:11","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":2149,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":2148,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2130,"src":"2618:6:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"2596:29:11","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":2151,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2596:33:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"2577:52:11"},{"expression":{"arguments":[{"id":2154,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2145,"src":"2647:7:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564","id":2155,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2656:60:11","typeDescriptions":{"typeIdentifier":"t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae","typeString":"literal_string \"Address: unable to send value, recipient may have reverted\""},"value":"Address: unable to send value, recipient may have reverted"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae","typeString":"literal_string \"Address: unable to send value, recipient may have reverted\""}],"id":2153,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2639:7:11","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2156,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2639:78:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2157,"nodeType":"ExpressionStatement","src":"2639:78:11"}]},"documentation":{"id":2126,"nodeType":"StructuredDocumentation","src":"1501:906:11","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://diligence.consensys.net/posts/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.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]."},"id":2159,"implemented":true,"kind":"function","modifiers":[],"name":"sendValue","nameLocation":"2421:9:11","nodeType":"FunctionDefinition","parameters":{"id":2131,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2128,"mutability":"mutable","name":"recipient","nameLocation":"2447:9:11","nodeType":"VariableDeclaration","scope":2159,"src":"2431:25:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"},"typeName":{"id":2127,"name":"address","nodeType":"ElementaryTypeName","src":"2431:15:11","stateMutability":"payable","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"visibility":"internal"},{"constant":false,"id":2130,"mutability":"mutable","name":"amount","nameLocation":"2466:6:11","nodeType":"VariableDeclaration","scope":2159,"src":"2458:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2129,"name":"uint256","nodeType":"ElementaryTypeName","src":"2458:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2430:43:11"},"returnParameters":{"id":2132,"nodeType":"ParameterList","parameters":[],"src":"2483:0:11"},"scope":2437,"src":"2412:312:11","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2176,"nodeType":"Block","src":"3555:96:11","statements":[{"expression":{"arguments":[{"id":2170,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2162,"src":"3594:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2171,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2164,"src":"3602:4:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":2172,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3608:1:11","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564","id":2173,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3611:32:11","typeDescriptions":{"typeIdentifier":"t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df","typeString":"literal_string \"Address: low-level call failed\""},"value":"Address: low-level call failed"}],"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"},{"typeIdentifier":"t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df","typeString":"literal_string \"Address: low-level call failed\""}],"id":2169,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[2217,2261],"referencedDeclaration":2261,"src":"3572:21:11","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory,uint256,string memory) returns (bytes memory)"}},"id":2174,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3572:72:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2168,"id":2175,"nodeType":"Return","src":"3565:79:11"}]},"documentation":{"id":2160,"nodeType":"StructuredDocumentation","src":"2730:731:11","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, it is bubbled up by this\n function (like regular Solidity function calls).\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.\n _Available since v3.1._"},"id":2177,"implemented":true,"kind":"function","modifiers":[],"name":"functionCall","nameLocation":"3475:12:11","nodeType":"FunctionDefinition","parameters":{"id":2165,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2162,"mutability":"mutable","name":"target","nameLocation":"3496:6:11","nodeType":"VariableDeclaration","scope":2177,"src":"3488:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2161,"name":"address","nodeType":"ElementaryTypeName","src":"3488:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2164,"mutability":"mutable","name":"data","nameLocation":"3517:4:11","nodeType":"VariableDeclaration","scope":2177,"src":"3504:17:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2163,"name":"bytes","nodeType":"ElementaryTypeName","src":"3504:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3487:35:11"},"returnParameters":{"id":2168,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2167,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2177,"src":"3541:12:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2166,"name":"bytes","nodeType":"ElementaryTypeName","src":"3541:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3540:14:11"},"scope":2437,"src":"3466:185:11","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2196,"nodeType":"Block","src":"4020:76:11","statements":[{"expression":{"arguments":[{"id":2190,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2180,"src":"4059:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2191,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2182,"src":"4067:4:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":2192,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4073:1:11","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":2193,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2184,"src":"4076:12:11","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"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"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2189,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[2217,2261],"referencedDeclaration":2261,"src":"4037:21:11","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory,uint256,string memory) returns (bytes memory)"}},"id":2194,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4037:52:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2188,"id":2195,"nodeType":"Return","src":"4030:59:11"}]},"documentation":{"id":2178,"nodeType":"StructuredDocumentation","src":"3657:211:11","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._"},"id":2197,"implemented":true,"kind":"function","modifiers":[],"name":"functionCall","nameLocation":"3882:12:11","nodeType":"FunctionDefinition","parameters":{"id":2185,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2180,"mutability":"mutable","name":"target","nameLocation":"3912:6:11","nodeType":"VariableDeclaration","scope":2197,"src":"3904:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2179,"name":"address","nodeType":"ElementaryTypeName","src":"3904:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2182,"mutability":"mutable","name":"data","nameLocation":"3941:4:11","nodeType":"VariableDeclaration","scope":2197,"src":"3928:17:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2181,"name":"bytes","nodeType":"ElementaryTypeName","src":"3928:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2184,"mutability":"mutable","name":"errorMessage","nameLocation":"3969:12:11","nodeType":"VariableDeclaration","scope":2197,"src":"3955:26:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2183,"name":"string","nodeType":"ElementaryTypeName","src":"3955:6:11","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"3894:93:11"},"returnParameters":{"id":2188,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2187,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2197,"src":"4006:12:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2186,"name":"bytes","nodeType":"ElementaryTypeName","src":"4006:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4005:14:11"},"scope":2437,"src":"3873:223:11","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2216,"nodeType":"Block","src":"4601:111:11","statements":[{"expression":{"arguments":[{"id":2210,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2200,"src":"4640:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2211,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2202,"src":"4648:4:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2212,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2204,"src":"4654:5:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564","id":2213,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4661:43:11","typeDescriptions":{"typeIdentifier":"t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc","typeString":"literal_string \"Address: low-level call with value failed\""},"value":"Address: low-level call with value failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc","typeString":"literal_string \"Address: low-level call with value failed\""}],"id":2209,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[2217,2261],"referencedDeclaration":2261,"src":"4618:21:11","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory,uint256,string memory) returns (bytes memory)"}},"id":2214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4618:87:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2208,"id":2215,"nodeType":"Return","src":"4611:94:11"}]},"documentation":{"id":2198,"nodeType":"StructuredDocumentation","src":"4102:351:11","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`.\n _Available since v3.1._"},"id":2217,"implemented":true,"kind":"function","modifiers":[],"name":"functionCallWithValue","nameLocation":"4467:21:11","nodeType":"FunctionDefinition","parameters":{"id":2205,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2200,"mutability":"mutable","name":"target","nameLocation":"4506:6:11","nodeType":"VariableDeclaration","scope":2217,"src":"4498:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2199,"name":"address","nodeType":"ElementaryTypeName","src":"4498:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2202,"mutability":"mutable","name":"data","nameLocation":"4535:4:11","nodeType":"VariableDeclaration","scope":2217,"src":"4522:17:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2201,"name":"bytes","nodeType":"ElementaryTypeName","src":"4522:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2204,"mutability":"mutable","name":"value","nameLocation":"4557:5:11","nodeType":"VariableDeclaration","scope":2217,"src":"4549:13:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2203,"name":"uint256","nodeType":"ElementaryTypeName","src":"4549:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4488:80:11"},"returnParameters":{"id":2208,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2207,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2217,"src":"4587:12:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2206,"name":"bytes","nodeType":"ElementaryTypeName","src":"4587:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4586:14:11"},"scope":2437,"src":"4458:254:11","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2260,"nodeType":"Block","src":"5139:267:11","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2238,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":2234,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"5165:4:11","typeDescriptions":{"typeIdentifier":"t_contract$_Address_$2437","typeString":"library Address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Address_$2437","typeString":"library Address"}],"id":2233,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5157:7:11","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2232,"name":"address","nodeType":"ElementaryTypeName","src":"5157:7:11","typeDescriptions":{}}},"id":2235,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5157:13:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2236,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"balance","nodeType":"MemberAccess","src":"5157:21:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":2237,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2224,"src":"5182:5:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5157:30:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c","id":2239,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5189:40:11","typeDescriptions":{"typeIdentifier":"t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c","typeString":"literal_string \"Address: insufficient balance for call\""},"value":"Address: insufficient balance for call"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c","typeString":"literal_string \"Address: insufficient balance for call\""}],"id":2231,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5149:7:11","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2240,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5149:81:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2241,"nodeType":"ExpressionStatement","src":"5149:81:11"},{"assignments":[2243,2245],"declarations":[{"constant":false,"id":2243,"mutability":"mutable","name":"success","nameLocation":"5246:7:11","nodeType":"VariableDeclaration","scope":2260,"src":"5241:12:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2242,"name":"bool","nodeType":"ElementaryTypeName","src":"5241:4:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2245,"mutability":"mutable","name":"returndata","nameLocation":"5268:10:11","nodeType":"VariableDeclaration","scope":2260,"src":"5255:23:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2244,"name":"bytes","nodeType":"ElementaryTypeName","src":"5255:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":2252,"initialValue":{"arguments":[{"id":2250,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2222,"src":"5308:4:11","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":2246,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2220,"src":"5282:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2247,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"call","nodeType":"MemberAccess","src":"5282:11:11","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":2249,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":2248,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2224,"src":"5301:5:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"5282:25:11","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":2251,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5282:31:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"5240:73:11"},{"expression":{"arguments":[{"id":2254,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2220,"src":"5357:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2255,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2243,"src":"5365:7:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":2256,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2245,"src":"5374:10:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2257,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2226,"src":"5386:12:11","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2253,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2392,"src":"5330:26:11","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory,string memory) view returns (bytes memory)"}},"id":2258,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5330:69:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2230,"id":2259,"nodeType":"Return","src":"5323:76:11"}]},"documentation":{"id":2218,"nodeType":"StructuredDocumentation","src":"4718:237:11","text":" @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._"},"id":2261,"implemented":true,"kind":"function","modifiers":[],"name":"functionCallWithValue","nameLocation":"4969:21:11","nodeType":"FunctionDefinition","parameters":{"id":2227,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2220,"mutability":"mutable","name":"target","nameLocation":"5008:6:11","nodeType":"VariableDeclaration","scope":2261,"src":"5000:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2219,"name":"address","nodeType":"ElementaryTypeName","src":"5000:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2222,"mutability":"mutable","name":"data","nameLocation":"5037:4:11","nodeType":"VariableDeclaration","scope":2261,"src":"5024:17:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2221,"name":"bytes","nodeType":"ElementaryTypeName","src":"5024:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2224,"mutability":"mutable","name":"value","nameLocation":"5059:5:11","nodeType":"VariableDeclaration","scope":2261,"src":"5051:13:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2223,"name":"uint256","nodeType":"ElementaryTypeName","src":"5051:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2226,"mutability":"mutable","name":"errorMessage","nameLocation":"5088:12:11","nodeType":"VariableDeclaration","scope":2261,"src":"5074:26:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2225,"name":"string","nodeType":"ElementaryTypeName","src":"5074:6:11","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"4990:116:11"},"returnParameters":{"id":2230,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2229,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2261,"src":"5125:12:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2228,"name":"bytes","nodeType":"ElementaryTypeName","src":"5125:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5124:14:11"},"scope":2437,"src":"4960:446:11","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2277,"nodeType":"Block","src":"5683:97:11","statements":[{"expression":{"arguments":[{"id":2272,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2264,"src":"5719:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2273,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2266,"src":"5727:4:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564","id":2274,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5733:39:11","typeDescriptions":{"typeIdentifier":"t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0","typeString":"literal_string \"Address: low-level static call failed\""},"value":"Address: low-level static call failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0","typeString":"literal_string \"Address: low-level static call failed\""}],"id":2271,"name":"functionStaticCall","nodeType":"Identifier","overloadedDeclarations":[2278,2307],"referencedDeclaration":2307,"src":"5700:18:11","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory,string memory) view returns (bytes memory)"}},"id":2275,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5700:73:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2270,"id":2276,"nodeType":"Return","src":"5693:80:11"}]},"documentation":{"id":2262,"nodeType":"StructuredDocumentation","src":"5412:166:11","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"},"id":2278,"implemented":true,"kind":"function","modifiers":[],"name":"functionStaticCall","nameLocation":"5592:18:11","nodeType":"FunctionDefinition","parameters":{"id":2267,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2264,"mutability":"mutable","name":"target","nameLocation":"5619:6:11","nodeType":"VariableDeclaration","scope":2278,"src":"5611:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2263,"name":"address","nodeType":"ElementaryTypeName","src":"5611:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2266,"mutability":"mutable","name":"data","nameLocation":"5640:4:11","nodeType":"VariableDeclaration","scope":2278,"src":"5627:17:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2265,"name":"bytes","nodeType":"ElementaryTypeName","src":"5627:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5610:35:11"},"returnParameters":{"id":2270,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2269,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2278,"src":"5669:12:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2268,"name":"bytes","nodeType":"ElementaryTypeName","src":"5669:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5668:14:11"},"scope":2437,"src":"5583:197:11","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2306,"nodeType":"Block","src":"6122:168:11","statements":[{"assignments":[2291,2293],"declarations":[{"constant":false,"id":2291,"mutability":"mutable","name":"success","nameLocation":"6138:7:11","nodeType":"VariableDeclaration","scope":2306,"src":"6133:12:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2290,"name":"bool","nodeType":"ElementaryTypeName","src":"6133:4:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2293,"mutability":"mutable","name":"returndata","nameLocation":"6160:10:11","nodeType":"VariableDeclaration","scope":2306,"src":"6147:23:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2292,"name":"bytes","nodeType":"ElementaryTypeName","src":"6147:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":2298,"initialValue":{"arguments":[{"id":2296,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2283,"src":"6192:4:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":2294,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2281,"src":"6174:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2295,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"staticcall","nodeType":"MemberAccess","src":"6174:17:11","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":2297,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6174:23:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"6132:65:11"},{"expression":{"arguments":[{"id":2300,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2281,"src":"6241:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2301,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2291,"src":"6249:7:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":2302,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2293,"src":"6258:10:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2303,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2285,"src":"6270:12:11","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2299,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2392,"src":"6214:26:11","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory,string memory) view returns (bytes memory)"}},"id":2304,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6214:69:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2289,"id":2305,"nodeType":"Return","src":"6207:76:11"}]},"documentation":{"id":2279,"nodeType":"StructuredDocumentation","src":"5786:173:11","text":" @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"},"id":2307,"implemented":true,"kind":"function","modifiers":[],"name":"functionStaticCall","nameLocation":"5973:18:11","nodeType":"FunctionDefinition","parameters":{"id":2286,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2281,"mutability":"mutable","name":"target","nameLocation":"6009:6:11","nodeType":"VariableDeclaration","scope":2307,"src":"6001:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2280,"name":"address","nodeType":"ElementaryTypeName","src":"6001:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2283,"mutability":"mutable","name":"data","nameLocation":"6038:4:11","nodeType":"VariableDeclaration","scope":2307,"src":"6025:17:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2282,"name":"bytes","nodeType":"ElementaryTypeName","src":"6025:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2285,"mutability":"mutable","name":"errorMessage","nameLocation":"6066:12:11","nodeType":"VariableDeclaration","scope":2307,"src":"6052:26:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2284,"name":"string","nodeType":"ElementaryTypeName","src":"6052:6:11","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"5991:93:11"},"returnParameters":{"id":2289,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2288,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2307,"src":"6108:12:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2287,"name":"bytes","nodeType":"ElementaryTypeName","src":"6108:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6107:14:11"},"scope":2437,"src":"5964:326:11","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2323,"nodeType":"Block","src":"6566:101:11","statements":[{"expression":{"arguments":[{"id":2318,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2310,"src":"6604:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2319,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2312,"src":"6612:4:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564","id":2320,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6618:41:11","typeDescriptions":{"typeIdentifier":"t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398","typeString":"literal_string \"Address: low-level delegate call failed\""},"value":"Address: low-level delegate call failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398","typeString":"literal_string \"Address: low-level delegate call failed\""}],"id":2317,"name":"functionDelegateCall","nodeType":"Identifier","overloadedDeclarations":[2324,2353],"referencedDeclaration":2353,"src":"6583:20:11","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory,string memory) returns (bytes memory)"}},"id":2321,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6583:77:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2316,"id":2322,"nodeType":"Return","src":"6576:84:11"}]},"documentation":{"id":2308,"nodeType":"StructuredDocumentation","src":"6296:168:11","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._"},"id":2324,"implemented":true,"kind":"function","modifiers":[],"name":"functionDelegateCall","nameLocation":"6478:20:11","nodeType":"FunctionDefinition","parameters":{"id":2313,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2310,"mutability":"mutable","name":"target","nameLocation":"6507:6:11","nodeType":"VariableDeclaration","scope":2324,"src":"6499:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2309,"name":"address","nodeType":"ElementaryTypeName","src":"6499:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2312,"mutability":"mutable","name":"data","nameLocation":"6528:4:11","nodeType":"VariableDeclaration","scope":2324,"src":"6515:17:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2311,"name":"bytes","nodeType":"ElementaryTypeName","src":"6515:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6498:35:11"},"returnParameters":{"id":2316,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2315,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2324,"src":"6552:12:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2314,"name":"bytes","nodeType":"ElementaryTypeName","src":"6552:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6551:14:11"},"scope":2437,"src":"6469:198:11","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2352,"nodeType":"Block","src":"7008:170:11","statements":[{"assignments":[2337,2339],"declarations":[{"constant":false,"id":2337,"mutability":"mutable","name":"success","nameLocation":"7024:7:11","nodeType":"VariableDeclaration","scope":2352,"src":"7019:12:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2336,"name":"bool","nodeType":"ElementaryTypeName","src":"7019:4:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2339,"mutability":"mutable","name":"returndata","nameLocation":"7046:10:11","nodeType":"VariableDeclaration","scope":2352,"src":"7033:23:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2338,"name":"bytes","nodeType":"ElementaryTypeName","src":"7033:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":2344,"initialValue":{"arguments":[{"id":2342,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2329,"src":"7080:4:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":2340,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2327,"src":"7060:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2341,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"delegatecall","nodeType":"MemberAccess","src":"7060:19:11","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":2343,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7060:25:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"7018:67:11"},{"expression":{"arguments":[{"id":2346,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2327,"src":"7129:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2347,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2337,"src":"7137:7:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":2348,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2339,"src":"7146:10:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2349,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2331,"src":"7158:12:11","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2345,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2392,"src":"7102:26:11","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory,string memory) view returns (bytes memory)"}},"id":2350,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7102:69:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2335,"id":2351,"nodeType":"Return","src":"7095:76:11"}]},"documentation":{"id":2325,"nodeType":"StructuredDocumentation","src":"6673:175:11","text":" @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._"},"id":2353,"implemented":true,"kind":"function","modifiers":[],"name":"functionDelegateCall","nameLocation":"6862:20:11","nodeType":"FunctionDefinition","parameters":{"id":2332,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2327,"mutability":"mutable","name":"target","nameLocation":"6900:6:11","nodeType":"VariableDeclaration","scope":2353,"src":"6892:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2326,"name":"address","nodeType":"ElementaryTypeName","src":"6892:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2329,"mutability":"mutable","name":"data","nameLocation":"6929:4:11","nodeType":"VariableDeclaration","scope":2353,"src":"6916:17:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2328,"name":"bytes","nodeType":"ElementaryTypeName","src":"6916:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2331,"mutability":"mutable","name":"errorMessage","nameLocation":"6957:12:11","nodeType":"VariableDeclaration","scope":2353,"src":"6943:26:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2330,"name":"string","nodeType":"ElementaryTypeName","src":"6943:6:11","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"6882:93:11"},"returnParameters":{"id":2335,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2334,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2353,"src":"6994:12:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2333,"name":"bytes","nodeType":"ElementaryTypeName","src":"6994:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6993:14:11"},"scope":2437,"src":"6853:325:11","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2391,"nodeType":"Block","src":"7660:434:11","statements":[{"condition":{"id":2367,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2358,"src":"7674:7:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2389,"nodeType":"Block","src":"8030:58:11","statements":[{"expression":{"arguments":[{"id":2385,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2360,"src":"8052:10:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2386,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2362,"src":"8064:12:11","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2384,"name":"_revert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2436,"src":"8044:7:11","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$","typeString":"function (bytes memory,string memory) pure"}},"id":2387,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8044:33:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2388,"nodeType":"ExpressionStatement","src":"8044:33:11"}]},"id":2390,"nodeType":"IfStatement","src":"7670:418:11","trueBody":{"id":2383,"nodeType":"Block","src":"7683:341:11","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2371,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2368,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2360,"src":"7701:10:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2369,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"7701:17:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2370,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7722:1:11","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7701:22:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2380,"nodeType":"IfStatement","src":"7697:286:11","trueBody":{"id":2379,"nodeType":"Block","src":"7725:258:11","statements":[{"expression":{"arguments":[{"arguments":[{"id":2374,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2356,"src":"7927:6:11","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2373,"name":"isContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2125,"src":"7916:10:11","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":2375,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7916:18:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374","id":2376,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"7936:31:11","typeDescriptions":{"typeIdentifier":"t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad","typeString":"literal_string \"Address: call to non-contract\""},"value":"Address: call to non-contract"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad","typeString":"literal_string \"Address: call to non-contract\""}],"id":2372,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"7908:7:11","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2377,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7908:60:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2378,"nodeType":"ExpressionStatement","src":"7908:60:11"}]}},{"expression":{"id":2381,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2360,"src":"8003:10:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2366,"id":2382,"nodeType":"Return","src":"7996:17:11"}]}}]},"documentation":{"id":2354,"nodeType":"StructuredDocumentation","src":"7184:277:11","text":" @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n _Available since v4.8._"},"id":2392,"implemented":true,"kind":"function","modifiers":[],"name":"verifyCallResultFromTarget","nameLocation":"7475:26:11","nodeType":"FunctionDefinition","parameters":{"id":2363,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2356,"mutability":"mutable","name":"target","nameLocation":"7519:6:11","nodeType":"VariableDeclaration","scope":2392,"src":"7511:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2355,"name":"address","nodeType":"ElementaryTypeName","src":"7511:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2358,"mutability":"mutable","name":"success","nameLocation":"7540:7:11","nodeType":"VariableDeclaration","scope":2392,"src":"7535:12:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2357,"name":"bool","nodeType":"ElementaryTypeName","src":"7535:4:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2360,"mutability":"mutable","name":"returndata","nameLocation":"7570:10:11","nodeType":"VariableDeclaration","scope":2392,"src":"7557:23:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2359,"name":"bytes","nodeType":"ElementaryTypeName","src":"7557:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2362,"mutability":"mutable","name":"errorMessage","nameLocation":"7604:12:11","nodeType":"VariableDeclaration","scope":2392,"src":"7590:26:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2361,"name":"string","nodeType":"ElementaryTypeName","src":"7590:6:11","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"7501:121:11"},"returnParameters":{"id":2366,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2365,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2392,"src":"7646:12:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2364,"name":"bytes","nodeType":"ElementaryTypeName","src":"7646:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7645:14:11"},"scope":2437,"src":"7466:628:11","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2415,"nodeType":"Block","src":"8475:135:11","statements":[{"condition":{"id":2404,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2395,"src":"8489:7:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2413,"nodeType":"Block","src":"8546:58:11","statements":[{"expression":{"arguments":[{"id":2409,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2397,"src":"8568:10:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2410,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2399,"src":"8580:12:11","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2408,"name":"_revert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2436,"src":"8560:7:11","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$","typeString":"function (bytes memory,string memory) pure"}},"id":2411,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8560:33:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2412,"nodeType":"ExpressionStatement","src":"8560:33:11"}]},"id":2414,"nodeType":"IfStatement","src":"8485:119:11","trueBody":{"id":2407,"nodeType":"Block","src":"8498:42:11","statements":[{"expression":{"id":2405,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2397,"src":"8519:10:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2403,"id":2406,"nodeType":"Return","src":"8512:17:11"}]}}]},"documentation":{"id":2393,"nodeType":"StructuredDocumentation","src":"8100:210:11","text":" @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n revert reason or using the provided one.\n _Available since v4.3._"},"id":2416,"implemented":true,"kind":"function","modifiers":[],"name":"verifyCallResult","nameLocation":"8324:16:11","nodeType":"FunctionDefinition","parameters":{"id":2400,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2395,"mutability":"mutable","name":"success","nameLocation":"8355:7:11","nodeType":"VariableDeclaration","scope":2416,"src":"8350:12:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2394,"name":"bool","nodeType":"ElementaryTypeName","src":"8350:4:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2397,"mutability":"mutable","name":"returndata","nameLocation":"8385:10:11","nodeType":"VariableDeclaration","scope":2416,"src":"8372:23:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2396,"name":"bytes","nodeType":"ElementaryTypeName","src":"8372:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2399,"mutability":"mutable","name":"errorMessage","nameLocation":"8419:12:11","nodeType":"VariableDeclaration","scope":2416,"src":"8405:26:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2398,"name":"string","nodeType":"ElementaryTypeName","src":"8405:6:11","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"8340:97:11"},"returnParameters":{"id":2403,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2402,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2416,"src":"8461:12:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2401,"name":"bytes","nodeType":"ElementaryTypeName","src":"8461:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8460:14:11"},"scope":2437,"src":"8315:295:11","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2435,"nodeType":"Block","src":"8699:457:11","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2426,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2423,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2418,"src":"8775:10:11","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2424,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"8775:17:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2425,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8795:1:11","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8775:21:11","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2433,"nodeType":"Block","src":"9105:45:11","statements":[{"expression":{"arguments":[{"id":2430,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2420,"src":"9126:12:11","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2429,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"9119:6:11","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":2431,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9119:20:11","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2432,"nodeType":"ExpressionStatement","src":"9119:20:11"}]},"id":2434,"nodeType":"IfStatement","src":"8771:379:11","trueBody":{"id":2428,"nodeType":"Block","src":"8798:301:11","statements":[{"AST":{"nodeType":"YulBlock","src":"8956:133:11","statements":[{"nodeType":"YulVariableDeclaration","src":"8974:40:11","value":{"arguments":[{"name":"returndata","nodeType":"YulIdentifier","src":"9003:10:11"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"8997:5:11"},"nodeType":"YulFunctionCall","src":"8997:17:11"},"variables":[{"name":"returndata_size","nodeType":"YulTypedName","src":"8978:15:11","type":""}]},{"expression":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9042:2:11","type":"","value":"32"},{"name":"returndata","nodeType":"YulIdentifier","src":"9046:10:11"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9038:3:11"},"nodeType":"YulFunctionCall","src":"9038:19:11"},{"name":"returndata_size","nodeType":"YulIdentifier","src":"9059:15:11"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9031:6:11"},"nodeType":"YulFunctionCall","src":"9031:44:11"},"nodeType":"YulExpressionStatement","src":"9031:44:11"}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"london","externalReferences":[{"declaration":2418,"isOffset":false,"isSlot":false,"src":"9003:10:11","valueSize":1},{"declaration":2418,"isOffset":false,"isSlot":false,"src":"9046:10:11","valueSize":1}],"id":2427,"nodeType":"InlineAssembly","src":"8947:142:11"}]}}]},"id":2436,"implemented":true,"kind":"function","modifiers":[],"name":"_revert","nameLocation":"8625:7:11","nodeType":"FunctionDefinition","parameters":{"id":2421,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2418,"mutability":"mutable","name":"returndata","nameLocation":"8646:10:11","nodeType":"VariableDeclaration","scope":2436,"src":"8633:23:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2417,"name":"bytes","nodeType":"ElementaryTypeName","src":"8633:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2420,"mutability":"mutable","name":"errorMessage","nameLocation":"8672:12:11","nodeType":"VariableDeclaration","scope":2436,"src":"8658:26:11","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2419,"name":"string","nodeType":"ElementaryTypeName","src":"8658:6:11","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"8632:53:11"},"returnParameters":{"id":2422,"nodeType":"ParameterList","parameters":[],"src":"8699:0:11"},"scope":2437,"src":"8616:540:11","stateMutability":"pure","virtual":false,"visibility":"private"}],"scope":2438,"src":"194:8964:11","usedErrors":[]}],"src":"101:9058:11"},"id":11},"@openzeppelin/contracts/utils/Context.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","exportedSymbols":{"Context":[2459]},"id":2460,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2439,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"86:23:12"},{"abstract":true,"baseContracts":[],"canonicalName":"Context","contractDependencies":[],"contractKind":"contract","documentation":{"id":2440,"nodeType":"StructuredDocumentation","src":"111:496:12","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":2459,"linearizedBaseContracts":[2459],"name":"Context","nameLocation":"626:7:12","nodeType":"ContractDefinition","nodes":[{"body":{"id":2448,"nodeType":"Block","src":"702:34:12","statements":[{"expression":{"expression":{"id":2445,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"719:3:12","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2446,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"sender","nodeType":"MemberAccess","src":"719:10:12","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":2444,"id":2447,"nodeType":"Return","src":"712:17:12"}]},"id":2449,"implemented":true,"kind":"function","modifiers":[],"name":"_msgSender","nameLocation":"649:10:12","nodeType":"FunctionDefinition","parameters":{"id":2441,"nodeType":"ParameterList","parameters":[],"src":"659:2:12"},"returnParameters":{"id":2444,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2443,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2449,"src":"693:7:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2442,"name":"address","nodeType":"ElementaryTypeName","src":"693:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"692:9:12"},"scope":2459,"src":"640:96:12","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":2457,"nodeType":"Block","src":"809:32:12","statements":[{"expression":{"expression":{"id":2454,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"826:3:12","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2455,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"data","nodeType":"MemberAccess","src":"826:8:12","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"functionReturnParameters":2453,"id":2456,"nodeType":"Return","src":"819:15:12"}]},"id":2458,"implemented":true,"kind":"function","modifiers":[],"name":"_msgData","nameLocation":"751:8:12","nodeType":"FunctionDefinition","parameters":{"id":2450,"nodeType":"ParameterList","parameters":[],"src":"759:2:12"},"returnParameters":{"id":2453,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2452,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2458,"src":"793:14:12","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":2451,"name":"bytes","nodeType":"ElementaryTypeName","src":"793:5:12","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"792:16:12"},"scope":2459,"src":"742:99:12","stateMutability":"view","virtual":true,"visibility":"internal"}],"scope":2460,"src":"608:235:12","usedErrors":[]}],"src":"86:758:12"},"id":12},"@openzeppelin/contracts/utils/Strings.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Strings.sol","exportedSymbols":{"Math":[3535],"Strings":[2634]},"id":2635,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2461,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"101:23:13"},{"absolutePath":"@openzeppelin/contracts/utils/math/Math.sol","file":"./math/Math.sol","id":2462,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2635,"sourceUnit":3536,"src":"126:25:13","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"Strings","contractDependencies":[],"contractKind":"library","documentation":{"id":2463,"nodeType":"StructuredDocumentation","src":"153:34:13","text":" @dev String operations."},"fullyImplemented":true,"id":2634,"linearizedBaseContracts":[2634],"name":"Strings","nameLocation":"196:7:13","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":2466,"mutability":"constant","name":"_SYMBOLS","nameLocation":"235:8:13","nodeType":"VariableDeclaration","scope":2634,"src":"210:54:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes16","typeString":"bytes16"},"typeName":{"id":2464,"name":"bytes16","nodeType":"ElementaryTypeName","src":"210:7:13","typeDescriptions":{"typeIdentifier":"t_bytes16","typeString":"bytes16"}},"value":{"hexValue":"30313233343536373839616263646566","id":2465,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"246:18:13","typeDescriptions":{"typeIdentifier":"t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f","typeString":"literal_string \"0123456789abcdef\""},"value":"0123456789abcdef"},"visibility":"private"},{"constant":true,"id":2469,"mutability":"constant","name":"_ADDRESS_LENGTH","nameLocation":"293:15:13","nodeType":"VariableDeclaration","scope":2634,"src":"270:43:13","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":2467,"name":"uint8","nodeType":"ElementaryTypeName","src":"270:5:13","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"hexValue":"3230","id":2468,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"311:2:13","typeDescriptions":{"typeIdentifier":"t_rational_20_by_1","typeString":"int_const 20"},"value":"20"},"visibility":"private"},{"body":{"id":2516,"nodeType":"Block","src":"486:625:13","statements":[{"id":2515,"nodeType":"UncheckedBlock","src":"496:609:13","statements":[{"assignments":[2478],"declarations":[{"constant":false,"id":2478,"mutability":"mutable","name":"length","nameLocation":"528:6:13","nodeType":"VariableDeclaration","scope":2515,"src":"520:14:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2477,"name":"uint256","nodeType":"ElementaryTypeName","src":"520:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2485,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2484,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":2481,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2472,"src":"548:5:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2479,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3535,"src":"537:4:13","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Math_$3535_$","typeString":"type(library Math)"}},"id":2480,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"log10","nodeType":"MemberAccess","referencedDeclaration":3372,"src":"537:10:13","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":2482,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"537:17:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":2483,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"557:1:13","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"537:21:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"520:38:13"},{"assignments":[2487],"declarations":[{"constant":false,"id":2487,"mutability":"mutable","name":"buffer","nameLocation":"586:6:13","nodeType":"VariableDeclaration","scope":2515,"src":"572:20:13","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2486,"name":"string","nodeType":"ElementaryTypeName","src":"572:6:13","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"id":2492,"initialValue":{"arguments":[{"id":2490,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2478,"src":"606:6:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2489,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"595:10:13","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (uint256) pure returns (string memory)"},"typeName":{"id":2488,"name":"string","nodeType":"ElementaryTypeName","src":"599:6:13","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}}},"id":2491,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"595:18:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"VariableDeclarationStatement","src":"572:41:13"},{"assignments":[2494],"declarations":[{"constant":false,"id":2494,"mutability":"mutable","name":"ptr","nameLocation":"635:3:13","nodeType":"VariableDeclaration","scope":2515,"src":"627:11:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2493,"name":"uint256","nodeType":"ElementaryTypeName","src":"627:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2495,"nodeType":"VariableDeclarationStatement","src":"627:11:13"},{"AST":{"nodeType":"YulBlock","src":"708:67:13","statements":[{"nodeType":"YulAssignment","src":"726:35:13","value":{"arguments":[{"name":"buffer","nodeType":"YulIdentifier","src":"737:6:13"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"749:2:13","type":"","value":"32"},{"name":"length","nodeType":"YulIdentifier","src":"753:6:13"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"745:3:13"},"nodeType":"YulFunctionCall","src":"745:15:13"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"733:3:13"},"nodeType":"YulFunctionCall","src":"733:28:13"},"variableNames":[{"name":"ptr","nodeType":"YulIdentifier","src":"726:3:13"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"london","externalReferences":[{"declaration":2487,"isOffset":false,"isSlot":false,"src":"737:6:13","valueSize":1},{"declaration":2478,"isOffset":false,"isSlot":false,"src":"753:6:13","valueSize":1},{"declaration":2494,"isOffset":false,"isSlot":false,"src":"726:3:13","valueSize":1}],"id":2496,"nodeType":"InlineAssembly","src":"699:76:13"},{"body":{"id":2511,"nodeType":"Block","src":"801:267:13","statements":[{"expression":{"id":2499,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"--","prefix":false,"src":"819:5:13","subExpression":{"id":2498,"name":"ptr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2494,"src":"819:3:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2500,"nodeType":"ExpressionStatement","src":"819:5:13"},{"AST":{"nodeType":"YulBlock","src":"902:84:13","statements":[{"expression":{"arguments":[{"name":"ptr","nodeType":"YulIdentifier","src":"932:3:13"},{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"946:5:13"},{"kind":"number","nodeType":"YulLiteral","src":"953:2:13","type":"","value":"10"}],"functionName":{"name":"mod","nodeType":"YulIdentifier","src":"942:3:13"},"nodeType":"YulFunctionCall","src":"942:14:13"},{"name":"_SYMBOLS","nodeType":"YulIdentifier","src":"958:8:13"}],"functionName":{"name":"byte","nodeType":"YulIdentifier","src":"937:4:13"},"nodeType":"YulFunctionCall","src":"937:30:13"}],"functionName":{"name":"mstore8","nodeType":"YulIdentifier","src":"924:7:13"},"nodeType":"YulFunctionCall","src":"924:44:13"},"nodeType":"YulExpressionStatement","src":"924:44:13"}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"london","externalReferences":[{"declaration":2466,"isOffset":false,"isSlot":false,"src":"958:8:13","valueSize":1},{"declaration":2494,"isOffset":false,"isSlot":false,"src":"932:3:13","valueSize":1},{"declaration":2472,"isOffset":false,"isSlot":false,"src":"946:5:13","valueSize":1}],"id":2501,"nodeType":"InlineAssembly","src":"893:93:13"},{"expression":{"id":2504,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2502,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2472,"src":"1003:5:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"hexValue":"3130","id":2503,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1012:2:13","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"src":"1003:11:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2505,"nodeType":"ExpressionStatement","src":"1003:11:13"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2508,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2506,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2472,"src":"1036:5:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2507,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1045:1:13","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1036:10:13","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2510,"nodeType":"IfStatement","src":"1032:21:13","trueBody":{"id":2509,"nodeType":"Break","src":"1048:5:13"}}]},"condition":{"hexValue":"74727565","id":2497,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"795:4:13","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"id":2512,"nodeType":"WhileStatement","src":"788:280:13"},{"expression":{"id":2513,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2487,"src":"1088:6:13","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":2476,"id":2514,"nodeType":"Return","src":"1081:13:13"}]}]},"documentation":{"id":2470,"nodeType":"StructuredDocumentation","src":"320:90:13","text":" @dev Converts a `uint256` to its ASCII `string` decimal representation."},"id":2517,"implemented":true,"kind":"function","modifiers":[],"name":"toString","nameLocation":"424:8:13","nodeType":"FunctionDefinition","parameters":{"id":2473,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2472,"mutability":"mutable","name":"value","nameLocation":"441:5:13","nodeType":"VariableDeclaration","scope":2517,"src":"433:13:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2471,"name":"uint256","nodeType":"ElementaryTypeName","src":"433:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"432:15:13"},"returnParameters":{"id":2476,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2475,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2517,"src":"471:13:13","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2474,"name":"string","nodeType":"ElementaryTypeName","src":"471:6:13","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"470:15:13"},"scope":2634,"src":"415:696:13","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2536,"nodeType":"Block","src":"1290:100:13","statements":[{"id":2535,"nodeType":"UncheckedBlock","src":"1300:84:13","statements":[{"expression":{"arguments":[{"id":2526,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2520,"src":"1343:5:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2532,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":2529,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2520,"src":"1362:5:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2527,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3535,"src":"1350:4:13","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Math_$3535_$","typeString":"type(library Math)"}},"id":2528,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"log256","nodeType":"MemberAccess","referencedDeclaration":3495,"src":"1350:11:13","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":2530,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1350:18:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":2531,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1371:1:13","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1350:22:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2525,"name":"toHexString","nodeType":"Identifier","overloadedDeclarations":[2537,2613,2633],"referencedDeclaration":2613,"src":"1331:11:13","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (uint256,uint256) pure returns (string memory)"}},"id":2533,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1331:42:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":2524,"id":2534,"nodeType":"Return","src":"1324:49:13"}]}]},"documentation":{"id":2518,"nodeType":"StructuredDocumentation","src":"1117:94:13","text":" @dev Converts a `uint256` to its ASCII `string` hexadecimal representation."},"id":2537,"implemented":true,"kind":"function","modifiers":[],"name":"toHexString","nameLocation":"1225:11:13","nodeType":"FunctionDefinition","parameters":{"id":2521,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2520,"mutability":"mutable","name":"value","nameLocation":"1245:5:13","nodeType":"VariableDeclaration","scope":2537,"src":"1237:13:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2519,"name":"uint256","nodeType":"ElementaryTypeName","src":"1237:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1236:15:13"},"returnParameters":{"id":2524,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2523,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2537,"src":"1275:13:13","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2522,"name":"string","nodeType":"ElementaryTypeName","src":"1275:6:13","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1274:15:13"},"scope":2634,"src":"1216:174:13","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2612,"nodeType":"Block","src":"1603:347:13","statements":[{"assignments":[2548],"declarations":[{"constant":false,"id":2548,"mutability":"mutable","name":"buffer","nameLocation":"1626:6:13","nodeType":"VariableDeclaration","scope":2612,"src":"1613:19:13","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2547,"name":"bytes","nodeType":"ElementaryTypeName","src":"1613:5:13","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":2557,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2555,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2553,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2551,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1645:1:13","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2552,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2542,"src":"1649:6:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1645:10:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"32","id":2554,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1658:1:13","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"1645:14:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2550,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"1635:9:13","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"},"typeName":{"id":2549,"name":"bytes","nodeType":"ElementaryTypeName","src":"1639:5:13","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},"id":2556,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1635:25:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"1613:47:13"},{"expression":{"id":2562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":2558,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2548,"src":"1670:6:13","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2560,"indexExpression":{"hexValue":"30","id":2559,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1677:1:13","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1670:9:13","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"30","id":2561,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1682:3:13","typeDescriptions":{"typeIdentifier":"t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d","typeString":"literal_string \"0\""},"value":"0"},"src":"1670:15:13","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":2563,"nodeType":"ExpressionStatement","src":"1670:15:13"},{"expression":{"id":2568,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":2564,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2548,"src":"1695:6:13","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2566,"indexExpression":{"hexValue":"31","id":2565,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1702:1:13","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1695:9:13","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"78","id":2567,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1707:3:13","typeDescriptions":{"typeIdentifier":"t_stringliteral_7521d1cadbcfa91eec65aa16715b94ffc1c9654ba57ea2ef1a2127bca1127a83","typeString":"literal_string \"x\""},"value":"x"},"src":"1695:15:13","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":2569,"nodeType":"ExpressionStatement","src":"1695:15:13"},{"body":{"id":2598,"nodeType":"Block","src":"1765:83:13","statements":[{"expression":{"id":2592,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":2584,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2548,"src":"1779:6:13","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2586,"indexExpression":{"id":2585,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2571,"src":"1786:1:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1779:9:13","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":2587,"name":"_SYMBOLS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2466,"src":"1791:8:13","typeDescriptions":{"typeIdentifier":"t_bytes16","typeString":"bytes16"}},"id":2591,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2590,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2588,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2540,"src":"1800:5:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307866","id":2589,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1808:3:13","typeDescriptions":{"typeIdentifier":"t_rational_15_by_1","typeString":"int_const 15"},"value":"0xf"},"src":"1800:11:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1791:21:13","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"1779:33:13","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":2593,"nodeType":"ExpressionStatement","src":"1779:33:13"},{"expression":{"id":2596,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2594,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2540,"src":"1826:5:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"34","id":2595,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1836:1:13","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"1826:11:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2597,"nodeType":"ExpressionStatement","src":"1826:11:13"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2580,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2578,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2571,"src":"1753:1:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"31","id":2579,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1757:1:13","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1753:5:13","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2599,"initializationExpression":{"assignments":[2571],"declarations":[{"constant":false,"id":2571,"mutability":"mutable","name":"i","nameLocation":"1733:1:13","nodeType":"VariableDeclaration","scope":2599,"src":"1725:9:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2570,"name":"uint256","nodeType":"ElementaryTypeName","src":"1725:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2577,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2576,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2574,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2572,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1737:1:13","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2573,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2542,"src":"1741:6:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1737:10:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":2575,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1750:1:13","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1737:14:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1725:26:13"},"loopExpression":{"expression":{"id":2582,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"--","prefix":true,"src":"1760:3:13","subExpression":{"id":2581,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2571,"src":"1762:1:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2583,"nodeType":"ExpressionStatement","src":"1760:3:13"},"nodeType":"ForStatement","src":"1720:128:13"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2603,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2601,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2540,"src":"1865:5:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2602,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1874:1:13","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1865:10:13","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"537472696e67733a20686578206c656e67746820696e73756666696369656e74","id":2604,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1877:34:13","typeDescriptions":{"typeIdentifier":"t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2","typeString":"literal_string \"Strings: hex length insufficient\""},"value":"Strings: hex length insufficient"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2","typeString":"literal_string \"Strings: hex length insufficient\""}],"id":2600,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1857:7:13","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2605,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1857:55:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2606,"nodeType":"ExpressionStatement","src":"1857:55:13"},{"expression":{"arguments":[{"id":2609,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2548,"src":"1936:6:13","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":2608,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1929:6:13","typeDescriptions":{"typeIdentifier":"t_type$_t_string_storage_ptr_$","typeString":"type(string storage pointer)"},"typeName":{"id":2607,"name":"string","nodeType":"ElementaryTypeName","src":"1929:6:13","typeDescriptions":{}}},"id":2610,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1929:14:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":2546,"id":2611,"nodeType":"Return","src":"1922:21:13"}]},"documentation":{"id":2538,"nodeType":"StructuredDocumentation","src":"1396:112:13","text":" @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length."},"id":2613,"implemented":true,"kind":"function","modifiers":[],"name":"toHexString","nameLocation":"1522:11:13","nodeType":"FunctionDefinition","parameters":{"id":2543,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2540,"mutability":"mutable","name":"value","nameLocation":"1542:5:13","nodeType":"VariableDeclaration","scope":2613,"src":"1534:13:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2539,"name":"uint256","nodeType":"ElementaryTypeName","src":"1534:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2542,"mutability":"mutable","name":"length","nameLocation":"1557:6:13","nodeType":"VariableDeclaration","scope":2613,"src":"1549:14:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2541,"name":"uint256","nodeType":"ElementaryTypeName","src":"1549:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1533:31:13"},"returnParameters":{"id":2546,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2545,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2613,"src":"1588:13:13","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2544,"name":"string","nodeType":"ElementaryTypeName","src":"1588:6:13","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1587:15:13"},"scope":2634,"src":"1513:437:13","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2632,"nodeType":"Block","src":"2175:76:13","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"id":2626,"name":"addr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2616,"src":"2220:4:13","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2625,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2212:7:13","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":2624,"name":"uint160","nodeType":"ElementaryTypeName","src":"2212:7:13","typeDescriptions":{}}},"id":2627,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2212:13:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":2623,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2204:7:13","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":2622,"name":"uint256","nodeType":"ElementaryTypeName","src":"2204:7:13","typeDescriptions":{}}},"id":2628,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2204:22:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2629,"name":"_ADDRESS_LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2469,"src":"2228:15:13","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":2621,"name":"toHexString","nodeType":"Identifier","overloadedDeclarations":[2537,2613,2633],"referencedDeclaration":2613,"src":"2192:11:13","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (uint256,uint256) pure returns (string memory)"}},"id":2630,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2192:52:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":2620,"id":2631,"nodeType":"Return","src":"2185:59:13"}]},"documentation":{"id":2614,"nodeType":"StructuredDocumentation","src":"1956:141:13","text":" @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation."},"id":2633,"implemented":true,"kind":"function","modifiers":[],"name":"toHexString","nameLocation":"2111:11:13","nodeType":"FunctionDefinition","parameters":{"id":2617,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2616,"mutability":"mutable","name":"addr","nameLocation":"2131:4:13","nodeType":"VariableDeclaration","scope":2633,"src":"2123:12:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2615,"name":"address","nodeType":"ElementaryTypeName","src":"2123:7:13","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2122:14:13"},"returnParameters":{"id":2620,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2619,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2633,"src":"2160:13:13","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2618,"name":"string","nodeType":"ElementaryTypeName","src":"2160:6:13","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2159:15:13"},"scope":2634,"src":"2102:149:13","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":2635,"src":"188:2065:13","usedErrors":[]}],"src":"101:2153:13"},"id":13},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/introspection/ERC165.sol","exportedSymbols":{"ERC165":[2658],"IERC165":[2670]},"id":2659,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2636,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"99:23:14"},{"absolutePath":"@openzeppelin/contracts/utils/introspection/IERC165.sol","file":"./IERC165.sol","id":2637,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2659,"sourceUnit":2671,"src":"124:23:14","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":2639,"name":"IERC165","nodeType":"IdentifierPath","referencedDeclaration":2670,"src":"754:7:14"},"id":2640,"nodeType":"InheritanceSpecifier","src":"754:7:14"}],"canonicalName":"ERC165","contractDependencies":[],"contractKind":"contract","documentation":{"id":2638,"nodeType":"StructuredDocumentation","src":"149:576:14","text":" @dev Implementation of the {IERC165} interface.\n Contracts that want to implement ERC165 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 ```\n Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation."},"fullyImplemented":true,"id":2658,"linearizedBaseContracts":[2658,2670],"name":"ERC165","nameLocation":"744:6:14","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[2669],"body":{"id":2656,"nodeType":"Block","src":"920:64:14","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":2654,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2649,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2643,"src":"937:11:14","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":2651,"name":"IERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2670,"src":"957:7:14","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC165_$2670_$","typeString":"type(contract IERC165)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_contract$_IERC165_$2670_$","typeString":"type(contract IERC165)"}],"id":2650,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"952:4:14","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":2652,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"952:13:14","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_contract$_IERC165_$2670","typeString":"type(contract IERC165)"}},"id":2653,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"interfaceId","nodeType":"MemberAccess","src":"952:25:14","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"937:40:14","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":2648,"id":2655,"nodeType":"Return","src":"930:47:14"}]},"documentation":{"id":2641,"nodeType":"StructuredDocumentation","src":"768:56:14","text":" @dev See {IERC165-supportsInterface}."},"functionSelector":"01ffc9a7","id":2657,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"838:17:14","nodeType":"FunctionDefinition","overrides":{"id":2645,"nodeType":"OverrideSpecifier","overrides":[],"src":"896:8:14"},"parameters":{"id":2644,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2643,"mutability":"mutable","name":"interfaceId","nameLocation":"863:11:14","nodeType":"VariableDeclaration","scope":2657,"src":"856:18:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":2642,"name":"bytes4","nodeType":"ElementaryTypeName","src":"856:6:14","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"855:20:14"},"returnParameters":{"id":2648,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2647,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2657,"src":"914:4:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2646,"name":"bool","nodeType":"ElementaryTypeName","src":"914:4:14","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"913:6:14"},"scope":2658,"src":"829:155:14","stateMutability":"view","virtual":true,"visibility":"public"}],"scope":2659,"src":"726:260:14","usedErrors":[]}],"src":"99:888:14"},"id":14},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/introspection/IERC165.sol","exportedSymbols":{"IERC165":[2670]},"id":2671,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2660,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"100:23:15"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC165","contractDependencies":[],"contractKind":"interface","documentation":{"id":2661,"nodeType":"StructuredDocumentation","src":"125:279:15","text":" @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\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":2670,"linearizedBaseContracts":[2670],"name":"IERC165","nameLocation":"415:7:15","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":2662,"nodeType":"StructuredDocumentation","src":"429: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[EIP 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":2669,"implemented":false,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"783:17:15","nodeType":"FunctionDefinition","parameters":{"id":2665,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2664,"mutability":"mutable","name":"interfaceId","nameLocation":"808:11:15","nodeType":"VariableDeclaration","scope":2669,"src":"801:18:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":2663,"name":"bytes4","nodeType":"ElementaryTypeName","src":"801:6:15","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"800:20:15"},"returnParameters":{"id":2668,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2667,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2669,"src":"844:4:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2666,"name":"bool","nodeType":"ElementaryTypeName","src":"844:4:15","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"843:6:15"},"scope":2670,"src":"774:76:15","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":2671,"src":"405:447:15","usedErrors":[]}],"src":"100:753:15"},"id":15},"@openzeppelin/contracts/utils/math/Math.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/math/Math.sol","exportedSymbols":{"Math":[3535]},"id":3536,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2672,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"103:23:16"},{"abstract":false,"baseContracts":[],"canonicalName":"Math","contractDependencies":[],"contractKind":"library","documentation":{"id":2673,"nodeType":"StructuredDocumentation","src":"128:73:16","text":" @dev Standard math utilities missing in the Solidity language."},"fullyImplemented":true,"id":3535,"linearizedBaseContracts":[3535],"name":"Math","nameLocation":"210:4:16","nodeType":"ContractDefinition","nodes":[{"canonicalName":"Math.Rounding","id":2677,"members":[{"id":2674,"name":"Down","nameLocation":"245:4:16","nodeType":"EnumValue","src":"245:4:16"},{"id":2675,"name":"Up","nameLocation":"287:2:16","nodeType":"EnumValue","src":"287:2:16"},{"id":2676,"name":"Zero","nameLocation":"318:4:16","nodeType":"EnumValue","src":"318:4:16"}],"name":"Rounding","nameLocation":"226:8:16","nodeType":"EnumDefinition","src":"221:122:16"},{"body":{"id":2694,"nodeType":"Block","src":"480:37:16","statements":[{"expression":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2689,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2687,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2680,"src":"497:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":2688,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2682,"src":"501:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"497:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":2691,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2682,"src":"509:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2692,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"497:13:16","trueExpression":{"id":2690,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2680,"src":"505:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2686,"id":2693,"nodeType":"Return","src":"490:20:16"}]},"documentation":{"id":2678,"nodeType":"StructuredDocumentation","src":"349:59:16","text":" @dev Returns the largest of two numbers."},"id":2695,"implemented":true,"kind":"function","modifiers":[],"name":"max","nameLocation":"422:3:16","nodeType":"FunctionDefinition","parameters":{"id":2683,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2680,"mutability":"mutable","name":"a","nameLocation":"434:1:16","nodeType":"VariableDeclaration","scope":2695,"src":"426:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2679,"name":"uint256","nodeType":"ElementaryTypeName","src":"426:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2682,"mutability":"mutable","name":"b","nameLocation":"445:1:16","nodeType":"VariableDeclaration","scope":2695,"src":"437:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2681,"name":"uint256","nodeType":"ElementaryTypeName","src":"437:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"425:22:16"},"returnParameters":{"id":2686,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2685,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2695,"src":"471:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2684,"name":"uint256","nodeType":"ElementaryTypeName","src":"471:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"470:9:16"},"scope":3535,"src":"413:104:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2712,"nodeType":"Block","src":"655:37:16","statements":[{"expression":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2707,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2705,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2698,"src":"672:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":2706,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2700,"src":"676:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"672:5:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":2709,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2700,"src":"684:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2710,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"672:13:16","trueExpression":{"id":2708,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2698,"src":"680:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2704,"id":2711,"nodeType":"Return","src":"665:20:16"}]},"documentation":{"id":2696,"nodeType":"StructuredDocumentation","src":"523:60:16","text":" @dev Returns the smallest of two numbers."},"id":2713,"implemented":true,"kind":"function","modifiers":[],"name":"min","nameLocation":"597:3:16","nodeType":"FunctionDefinition","parameters":{"id":2701,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2698,"mutability":"mutable","name":"a","nameLocation":"609:1:16","nodeType":"VariableDeclaration","scope":2713,"src":"601:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2697,"name":"uint256","nodeType":"ElementaryTypeName","src":"601:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2700,"mutability":"mutable","name":"b","nameLocation":"620:1:16","nodeType":"VariableDeclaration","scope":2713,"src":"612:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2699,"name":"uint256","nodeType":"ElementaryTypeName","src":"612:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"600:22:16"},"returnParameters":{"id":2704,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2703,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2713,"src":"646:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2702,"name":"uint256","nodeType":"ElementaryTypeName","src":"646:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"645:9:16"},"scope":3535,"src":"588:104:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2735,"nodeType":"Block","src":"876:82:16","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2733,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2725,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2723,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2716,"src":"931:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":2724,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2718,"src":"935:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"931:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2726,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"930:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2732,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2729,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2727,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2716,"src":"941:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"id":2728,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2718,"src":"945:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"941:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2730,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"940:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"32","id":2731,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"950:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"940:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"930:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2722,"id":2734,"nodeType":"Return","src":"923:28:16"}]},"documentation":{"id":2714,"nodeType":"StructuredDocumentation","src":"698:102:16","text":" @dev Returns the average of two numbers. The result is rounded towards\n zero."},"id":2736,"implemented":true,"kind":"function","modifiers":[],"name":"average","nameLocation":"814:7:16","nodeType":"FunctionDefinition","parameters":{"id":2719,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2716,"mutability":"mutable","name":"a","nameLocation":"830:1:16","nodeType":"VariableDeclaration","scope":2736,"src":"822:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2715,"name":"uint256","nodeType":"ElementaryTypeName","src":"822:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2718,"mutability":"mutable","name":"b","nameLocation":"841:1:16","nodeType":"VariableDeclaration","scope":2736,"src":"833:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2717,"name":"uint256","nodeType":"ElementaryTypeName","src":"833:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"821:22:16"},"returnParameters":{"id":2722,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2721,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2736,"src":"867:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2720,"name":"uint256","nodeType":"ElementaryTypeName","src":"867:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"866:9:16"},"scope":3535,"src":"805:153:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2760,"nodeType":"Block","src":"1228:123:16","statements":[{"expression":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2748,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2746,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2739,"src":"1316:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2747,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1321:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1316:6:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2757,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2755,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2752,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2750,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2739,"src":"1330:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":2751,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1334:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1330:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2753,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1329:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2754,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2741,"src":"1339:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1329:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":2756,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1343:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1329:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2758,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"1316:28:16","trueExpression":{"hexValue":"30","id":2749,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1325:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2745,"id":2759,"nodeType":"Return","src":"1309:35:16"}]},"documentation":{"id":2737,"nodeType":"StructuredDocumentation","src":"964:188:16","text":" @dev Returns the ceiling of the division of two numbers.\n This differs from standard division with `/` in that it rounds up instead\n of rounding down."},"id":2761,"implemented":true,"kind":"function","modifiers":[],"name":"ceilDiv","nameLocation":"1166:7:16","nodeType":"FunctionDefinition","parameters":{"id":2742,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2739,"mutability":"mutable","name":"a","nameLocation":"1182:1:16","nodeType":"VariableDeclaration","scope":2761,"src":"1174:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2738,"name":"uint256","nodeType":"ElementaryTypeName","src":"1174:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2741,"mutability":"mutable","name":"b","nameLocation":"1193:1:16","nodeType":"VariableDeclaration","scope":2761,"src":"1185:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2740,"name":"uint256","nodeType":"ElementaryTypeName","src":"1185:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1173:22:16"},"returnParameters":{"id":2745,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2744,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2761,"src":"1219:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2743,"name":"uint256","nodeType":"ElementaryTypeName","src":"1219:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1218:9:16"},"scope":3535,"src":"1157:194:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2882,"nodeType":"Block","src":"1795:3797:16","statements":[{"id":2881,"nodeType":"UncheckedBlock","src":"1805:3781:16","statements":[{"assignments":[2774],"declarations":[{"constant":false,"id":2774,"mutability":"mutable","name":"prod0","nameLocation":"2134:5:16","nodeType":"VariableDeclaration","scope":2881,"src":"2126:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2773,"name":"uint256","nodeType":"ElementaryTypeName","src":"2126:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2775,"nodeType":"VariableDeclarationStatement","src":"2126:13:16"},{"assignments":[2777],"declarations":[{"constant":false,"id":2777,"mutability":"mutable","name":"prod1","nameLocation":"2206:5:16","nodeType":"VariableDeclaration","scope":2881,"src":"2198:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2776,"name":"uint256","nodeType":"ElementaryTypeName","src":"2198:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2778,"nodeType":"VariableDeclarationStatement","src":"2198:13:16"},{"AST":{"nodeType":"YulBlock","src":"2278:157:16","statements":[{"nodeType":"YulVariableDeclaration","src":"2296:30:16","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"2313:1:16"},{"name":"y","nodeType":"YulIdentifier","src":"2316:1:16"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2323:1:16","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"2319:3:16"},"nodeType":"YulFunctionCall","src":"2319:6:16"}],"functionName":{"name":"mulmod","nodeType":"YulIdentifier","src":"2306:6:16"},"nodeType":"YulFunctionCall","src":"2306:20:16"},"variables":[{"name":"mm","nodeType":"YulTypedName","src":"2300:2:16","type":""}]},{"nodeType":"YulAssignment","src":"2343:18:16","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"2356:1:16"},{"name":"y","nodeType":"YulIdentifier","src":"2359:1:16"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"2352:3:16"},"nodeType":"YulFunctionCall","src":"2352:9:16"},"variableNames":[{"name":"prod0","nodeType":"YulIdentifier","src":"2343:5:16"}]},{"nodeType":"YulAssignment","src":"2378:43:16","value":{"arguments":[{"arguments":[{"name":"mm","nodeType":"YulIdentifier","src":"2395:2:16"},{"name":"prod0","nodeType":"YulIdentifier","src":"2399:5:16"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2391:3:16"},"nodeType":"YulFunctionCall","src":"2391:14:16"},{"arguments":[{"name":"mm","nodeType":"YulIdentifier","src":"2410:2:16"},{"name":"prod0","nodeType":"YulIdentifier","src":"2414:5:16"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"2407:2:16"},"nodeType":"YulFunctionCall","src":"2407:13:16"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2387:3:16"},"nodeType":"YulFunctionCall","src":"2387:34:16"},"variableNames":[{"name":"prod1","nodeType":"YulIdentifier","src":"2378:5:16"}]}]},"evmVersion":"london","externalReferences":[{"declaration":2774,"isOffset":false,"isSlot":false,"src":"2343:5:16","valueSize":1},{"declaration":2774,"isOffset":false,"isSlot":false,"src":"2399:5:16","valueSize":1},{"declaration":2774,"isOffset":false,"isSlot":false,"src":"2414:5:16","valueSize":1},{"declaration":2777,"isOffset":false,"isSlot":false,"src":"2378:5:16","valueSize":1},{"declaration":2764,"isOffset":false,"isSlot":false,"src":"2313:1:16","valueSize":1},{"declaration":2764,"isOffset":false,"isSlot":false,"src":"2356:1:16","valueSize":1},{"declaration":2766,"isOffset":false,"isSlot":false,"src":"2316:1:16","valueSize":1},{"declaration":2766,"isOffset":false,"isSlot":false,"src":"2359:1:16","valueSize":1}],"id":2779,"nodeType":"InlineAssembly","src":"2269:166:16"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2782,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2780,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2777,"src":"2516:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2781,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2525:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2516:10:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2788,"nodeType":"IfStatement","src":"2512:75:16","trueBody":{"id":2787,"nodeType":"Block","src":"2528:59:16","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2785,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2783,"name":"prod0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2774,"src":"2553:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2784,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2768,"src":"2561:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2553:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2772,"id":2786,"nodeType":"Return","src":"2546:26:16"}]}},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2792,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2790,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2768,"src":"2697:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":2791,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2777,"src":"2711:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2697:19:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":2789,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2689:7:16","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":2793,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2689:28:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2794,"nodeType":"ExpressionStatement","src":"2689:28:16"},{"assignments":[2796],"declarations":[{"constant":false,"id":2796,"mutability":"mutable","name":"remainder","nameLocation":"2981:9:16","nodeType":"VariableDeclaration","scope":2881,"src":"2973:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2795,"name":"uint256","nodeType":"ElementaryTypeName","src":"2973:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2797,"nodeType":"VariableDeclarationStatement","src":"2973:17:16"},{"AST":{"nodeType":"YulBlock","src":"3013:291:16","statements":[{"nodeType":"YulAssignment","src":"3082:38:16","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"3102:1:16"},{"name":"y","nodeType":"YulIdentifier","src":"3105:1:16"},{"name":"denominator","nodeType":"YulIdentifier","src":"3108:11:16"}],"functionName":{"name":"mulmod","nodeType":"YulIdentifier","src":"3095:6:16"},"nodeType":"YulFunctionCall","src":"3095:25:16"},"variableNames":[{"name":"remainder","nodeType":"YulIdentifier","src":"3082:9:16"}]},{"nodeType":"YulAssignment","src":"3202:41:16","value":{"arguments":[{"name":"prod1","nodeType":"YulIdentifier","src":"3215:5:16"},{"arguments":[{"name":"remainder","nodeType":"YulIdentifier","src":"3225:9:16"},{"name":"prod0","nodeType":"YulIdentifier","src":"3236:5:16"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"3222:2:16"},"nodeType":"YulFunctionCall","src":"3222:20:16"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3211:3:16"},"nodeType":"YulFunctionCall","src":"3211:32:16"},"variableNames":[{"name":"prod1","nodeType":"YulIdentifier","src":"3202:5:16"}]},{"nodeType":"YulAssignment","src":"3260:30:16","value":{"arguments":[{"name":"prod0","nodeType":"YulIdentifier","src":"3273:5:16"},{"name":"remainder","nodeType":"YulIdentifier","src":"3280:9:16"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3269:3:16"},"nodeType":"YulFunctionCall","src":"3269:21:16"},"variableNames":[{"name":"prod0","nodeType":"YulIdentifier","src":"3260:5:16"}]}]},"evmVersion":"london","externalReferences":[{"declaration":2768,"isOffset":false,"isSlot":false,"src":"3108:11:16","valueSize":1},{"declaration":2774,"isOffset":false,"isSlot":false,"src":"3236:5:16","valueSize":1},{"declaration":2774,"isOffset":false,"isSlot":false,"src":"3260:5:16","valueSize":1},{"declaration":2774,"isOffset":false,"isSlot":false,"src":"3273:5:16","valueSize":1},{"declaration":2777,"isOffset":false,"isSlot":false,"src":"3202:5:16","valueSize":1},{"declaration":2777,"isOffset":false,"isSlot":false,"src":"3215:5:16","valueSize":1},{"declaration":2796,"isOffset":false,"isSlot":false,"src":"3082:9:16","valueSize":1},{"declaration":2796,"isOffset":false,"isSlot":false,"src":"3225:9:16","valueSize":1},{"declaration":2796,"isOffset":false,"isSlot":false,"src":"3280:9:16","valueSize":1},{"declaration":2764,"isOffset":false,"isSlot":false,"src":"3102:1:16","valueSize":1},{"declaration":2766,"isOffset":false,"isSlot":false,"src":"3105:1:16","valueSize":1}],"id":2798,"nodeType":"InlineAssembly","src":"3004:300:16"},{"assignments":[2800],"declarations":[{"constant":false,"id":2800,"mutability":"mutable","name":"twos","nameLocation":"3619:4:16","nodeType":"VariableDeclaration","scope":2881,"src":"3611:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2799,"name":"uint256","nodeType":"ElementaryTypeName","src":"3611:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2808,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2807,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2801,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2768,"src":"3626:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2805,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2803,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"~","prefix":true,"src":"3641:12:16","subExpression":{"id":2802,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2768,"src":"3642:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":2804,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3656:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3641:16:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2806,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3640:18:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3626:32:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3611:47:16"},{"AST":{"nodeType":"YulBlock","src":"3681:362:16","statements":[{"nodeType":"YulAssignment","src":"3746:37:16","value":{"arguments":[{"name":"denominator","nodeType":"YulIdentifier","src":"3765:11:16"},{"name":"twos","nodeType":"YulIdentifier","src":"3778:4:16"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"3761:3:16"},"nodeType":"YulFunctionCall","src":"3761:22:16"},"variableNames":[{"name":"denominator","nodeType":"YulIdentifier","src":"3746:11:16"}]},{"nodeType":"YulAssignment","src":"3850:25:16","value":{"arguments":[{"name":"prod0","nodeType":"YulIdentifier","src":"3863:5:16"},{"name":"twos","nodeType":"YulIdentifier","src":"3870:4:16"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"3859:3:16"},"nodeType":"YulFunctionCall","src":"3859:16:16"},"variableNames":[{"name":"prod0","nodeType":"YulIdentifier","src":"3850:5:16"}]},{"nodeType":"YulAssignment","src":"3990:39:16","value":{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4010:1:16","type":"","value":"0"},{"name":"twos","nodeType":"YulIdentifier","src":"4013:4:16"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"4006:3:16"},"nodeType":"YulFunctionCall","src":"4006:12:16"},{"name":"twos","nodeType":"YulIdentifier","src":"4020:4:16"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"4002:3:16"},"nodeType":"YulFunctionCall","src":"4002:23:16"},{"kind":"number","nodeType":"YulLiteral","src":"4027:1:16","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3998:3:16"},"nodeType":"YulFunctionCall","src":"3998:31:16"},"variableNames":[{"name":"twos","nodeType":"YulIdentifier","src":"3990:4:16"}]}]},"evmVersion":"london","externalReferences":[{"declaration":2768,"isOffset":false,"isSlot":false,"src":"3746:11:16","valueSize":1},{"declaration":2768,"isOffset":false,"isSlot":false,"src":"3765:11:16","valueSize":1},{"declaration":2774,"isOffset":false,"isSlot":false,"src":"3850:5:16","valueSize":1},{"declaration":2774,"isOffset":false,"isSlot":false,"src":"3863:5:16","valueSize":1},{"declaration":2800,"isOffset":false,"isSlot":false,"src":"3778:4:16","valueSize":1},{"declaration":2800,"isOffset":false,"isSlot":false,"src":"3870:4:16","valueSize":1},{"declaration":2800,"isOffset":false,"isSlot":false,"src":"3990:4:16","valueSize":1},{"declaration":2800,"isOffset":false,"isSlot":false,"src":"4013:4:16","valueSize":1},{"declaration":2800,"isOffset":false,"isSlot":false,"src":"4020:4:16","valueSize":1}],"id":2809,"nodeType":"InlineAssembly","src":"3672:371:16"},{"expression":{"id":2814,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2810,"name":"prod0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2774,"src":"4109:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2813,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2811,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2777,"src":"4118:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2812,"name":"twos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2800,"src":"4126:4:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4118:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4109:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2815,"nodeType":"ExpressionStatement","src":"4109:21:16"},{"assignments":[2817],"declarations":[{"constant":false,"id":2817,"mutability":"mutable","name":"inverse","nameLocation":"4456:7:16","nodeType":"VariableDeclaration","scope":2881,"src":"4448:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2816,"name":"uint256","nodeType":"ElementaryTypeName","src":"4448:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2824,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2823,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2820,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"33","id":2818,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4467:1:16","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2819,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2768,"src":"4471:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4467:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2821,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4466:17:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"hexValue":"32","id":2822,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4486:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"4466:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4448:39:16"},{"expression":{"id":2831,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2825,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"4704:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2830,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2826,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4715: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":2829,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2827,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2768,"src":"4719:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2828,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"4733:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4719:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4715:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4704:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2832,"nodeType":"ExpressionStatement","src":"4704:36:16"},{"expression":{"id":2839,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2833,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"4773:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2838,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2834,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4784: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":2837,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2835,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2768,"src":"4788:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2836,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"4802:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4788:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4784:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4773:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2840,"nodeType":"ExpressionStatement","src":"4773:36:16"},{"expression":{"id":2847,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2841,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"4843:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2846,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2842,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4854: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":2845,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2843,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2768,"src":"4858:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2844,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"4872:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4858:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4854:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4843:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2848,"nodeType":"ExpressionStatement","src":"4843:36:16"},{"expression":{"id":2855,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2849,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"4913:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2854,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2850,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4924: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":2853,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2851,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2768,"src":"4928:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2852,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"4942:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4928:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4924:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4913:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2856,"nodeType":"ExpressionStatement","src":"4913:36:16"},{"expression":{"id":2863,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2857,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"4983:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2858,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4994: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":2861,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2859,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2768,"src":"4998:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2860,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"5012:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4998:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4994:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4983:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2864,"nodeType":"ExpressionStatement","src":"4983:36:16"},{"expression":{"id":2871,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2865,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"5054:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2870,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2866,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5065: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":2869,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2867,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2768,"src":"5069:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2868,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"5083:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5069:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5065:25:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5054:36:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2872,"nodeType":"ExpressionStatement","src":"5054:36:16"},{"expression":{"id":2877,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2873,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2771,"src":"5524:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2876,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2874,"name":"prod0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2774,"src":"5533:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2875,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"5541:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5533:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5524:24:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2878,"nodeType":"ExpressionStatement","src":"5524:24:16"},{"expression":{"id":2879,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2771,"src":"5569:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2772,"id":2880,"nodeType":"Return","src":"5562:13:16"}]}]},"documentation":{"id":2762,"nodeType":"StructuredDocumentation","src":"1357:305:16","text":" @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)\n with further edits by Uniswap Labs also under MIT license."},"id":2883,"implemented":true,"kind":"function","modifiers":[],"name":"mulDiv","nameLocation":"1676:6:16","nodeType":"FunctionDefinition","parameters":{"id":2769,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2764,"mutability":"mutable","name":"x","nameLocation":"1700:1:16","nodeType":"VariableDeclaration","scope":2883,"src":"1692:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2763,"name":"uint256","nodeType":"ElementaryTypeName","src":"1692:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2766,"mutability":"mutable","name":"y","nameLocation":"1719:1:16","nodeType":"VariableDeclaration","scope":2883,"src":"1711:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2765,"name":"uint256","nodeType":"ElementaryTypeName","src":"1711:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2768,"mutability":"mutable","name":"denominator","nameLocation":"1738:11:16","nodeType":"VariableDeclaration","scope":2883,"src":"1730:19:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2767,"name":"uint256","nodeType":"ElementaryTypeName","src":"1730:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1682:73:16"},"returnParameters":{"id":2772,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2771,"mutability":"mutable","name":"result","nameLocation":"1787:6:16","nodeType":"VariableDeclaration","scope":2883,"src":"1779:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2770,"name":"uint256","nodeType":"ElementaryTypeName","src":"1779:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1778:16:16"},"scope":3535,"src":"1667:3925:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2926,"nodeType":"Block","src":"5872:189:16","statements":[{"assignments":[2899],"declarations":[{"constant":false,"id":2899,"mutability":"mutable","name":"result","nameLocation":"5890:6:16","nodeType":"VariableDeclaration","scope":2926,"src":"5882:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2898,"name":"uint256","nodeType":"ElementaryTypeName","src":"5882:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2905,"initialValue":{"arguments":[{"id":2901,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2886,"src":"5906:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2902,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2888,"src":"5909:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2903,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2890,"src":"5912: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":2900,"name":"mulDiv","nodeType":"Identifier","overloadedDeclarations":[2883,2927],"referencedDeclaration":2883,"src":"5899: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":2904,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5899:25:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5882:42:16"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":2917,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"},"id":2909,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2906,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2893,"src":"5938:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":2907,"name":"Rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2677,"src":"5950:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_Rounding_$2677_$","typeString":"type(enum Math.Rounding)"}},"id":2908,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"Up","nodeType":"MemberAccess","referencedDeclaration":2675,"src":"5950:11:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"src":"5938:23:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2916,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":2911,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2886,"src":"5972:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2912,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2888,"src":"5975:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2913,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2890,"src":"5978: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":2910,"name":"mulmod","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-16,"src":"5965: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":2914,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5965:25:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2915,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5993:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5965:29:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5938:56:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2923,"nodeType":"IfStatement","src":"5934:98:16","trueBody":{"id":2922,"nodeType":"Block","src":"5996:36:16","statements":[{"expression":{"id":2920,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2918,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2899,"src":"6010:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":2919,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6020:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6010:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2921,"nodeType":"ExpressionStatement","src":"6010:11:16"}]}},{"expression":{"id":2924,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2899,"src":"6048:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2897,"id":2925,"nodeType":"Return","src":"6041:13:16"}]},"documentation":{"id":2884,"nodeType":"StructuredDocumentation","src":"5598:121:16","text":" @notice Calculates x * y / denominator with full precision, following the selected rounding direction."},"id":2927,"implemented":true,"kind":"function","modifiers":[],"name":"mulDiv","nameLocation":"5733:6:16","nodeType":"FunctionDefinition","parameters":{"id":2894,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2886,"mutability":"mutable","name":"x","nameLocation":"5757:1:16","nodeType":"VariableDeclaration","scope":2927,"src":"5749:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2885,"name":"uint256","nodeType":"ElementaryTypeName","src":"5749:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2888,"mutability":"mutable","name":"y","nameLocation":"5776:1:16","nodeType":"VariableDeclaration","scope":2927,"src":"5768:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2887,"name":"uint256","nodeType":"ElementaryTypeName","src":"5768:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2890,"mutability":"mutable","name":"denominator","nameLocation":"5795:11:16","nodeType":"VariableDeclaration","scope":2927,"src":"5787:19:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2889,"name":"uint256","nodeType":"ElementaryTypeName","src":"5787:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2893,"mutability":"mutable","name":"rounding","nameLocation":"5825:8:16","nodeType":"VariableDeclaration","scope":2927,"src":"5816:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"},"typeName":{"id":2892,"nodeType":"UserDefinedTypeName","pathNode":{"id":2891,"name":"Rounding","nodeType":"IdentifierPath","referencedDeclaration":2677,"src":"5816:8:16"},"referencedDeclaration":2677,"src":"5816:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"5739:100:16"},"returnParameters":{"id":2897,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2896,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2927,"src":"5863:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2895,"name":"uint256","nodeType":"ElementaryTypeName","src":"5863:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5862:9:16"},"scope":3535,"src":"5724:337:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3038,"nodeType":"Block","src":"6337:1585:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2937,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2935,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2930,"src":"6351:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2936,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6356:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6351:6:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2941,"nodeType":"IfStatement","src":"6347:45:16","trueBody":{"id":2940,"nodeType":"Block","src":"6359:33:16","statements":[{"expression":{"hexValue":"30","id":2938,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6380:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":2934,"id":2939,"nodeType":"Return","src":"6373:8:16"}]}},{"assignments":[2943],"declarations":[{"constant":false,"id":2943,"mutability":"mutable","name":"result","nameLocation":"7079:6:16","nodeType":"VariableDeclaration","scope":3038,"src":"7071:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2942,"name":"uint256","nodeType":"ElementaryTypeName","src":"7071:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2952,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2951,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2944,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7088: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":2949,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":2946,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2930,"src":"7099:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2945,"name":"log2","nodeType":"Identifier","overloadedDeclarations":[3207,3243],"referencedDeclaration":3207,"src":"7094:4:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":2947,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7094:7:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":2948,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7105:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7094:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2950,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7093:14:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7088:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"7071:36:16"},{"id":3037,"nodeType":"UncheckedBlock","src":"7508:408:16","statements":[{"expression":{"id":2962,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2953,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7532:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2961,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2958,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2954,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7542:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2957,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2955,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2930,"src":"7551:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2956,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7555:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7551:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7542:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2959,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7541:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":2960,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7566:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7541:26:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7532:35:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2963,"nodeType":"ExpressionStatement","src":"7532:35:16"},{"expression":{"id":2973,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2964,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7581:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2972,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2969,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2965,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7591:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2968,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2966,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2930,"src":"7600:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2967,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7604:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7600:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7591:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2970,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7590:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":2971,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7615:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7590:26:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7581:35:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2974,"nodeType":"ExpressionStatement","src":"7581:35:16"},{"expression":{"id":2984,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2975,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7630:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2983,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2980,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2976,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7640:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2979,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2977,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2930,"src":"7649:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2978,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7653:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7649:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7640:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2981,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7639:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":2982,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7664:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7639:26:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7630:35:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2985,"nodeType":"ExpressionStatement","src":"7630:35:16"},{"expression":{"id":2995,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2986,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7679:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2994,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2987,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7689:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2990,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2988,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2930,"src":"7698:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2989,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7702:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7698:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7689:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2992,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7688:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":2993,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7713:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7688:26:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7679:35:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2996,"nodeType":"ExpressionStatement","src":"7679:35:16"},{"expression":{"id":3006,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2997,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7728:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3005,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3002,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2998,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7738:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3001,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2999,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2930,"src":"7747:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":3000,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7751:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7747:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7738:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3003,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7737:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":3004,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7762:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7737:26:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7728:35:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3007,"nodeType":"ExpressionStatement","src":"7728:35:16"},{"expression":{"id":3017,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3008,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7777:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3016,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3013,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3009,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7787:6: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":2930,"src":"7796:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":3011,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7800:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7796:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7787:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3014,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7786:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":3015,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7811:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7786:26:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7777:35:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3018,"nodeType":"ExpressionStatement","src":"7777:35:16"},{"expression":{"id":3028,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3019,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7826:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3027,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3024,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3020,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7836:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3023,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3021,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2930,"src":"7845:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":3022,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7849:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7845:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7836:19:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3025,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7835:21:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":3026,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7860:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7835:26:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7826:35:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3029,"nodeType":"ExpressionStatement","src":"7826:35:16"},{"expression":{"arguments":[{"id":3031,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7886:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3034,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3032,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2930,"src":"7894:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":3033,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2943,"src":"7898:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7894:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3030,"name":"min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2713,"src":"7882:3:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":3035,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7882:23:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2934,"id":3036,"nodeType":"Return","src":"7875:30:16"}]}]},"documentation":{"id":2928,"nodeType":"StructuredDocumentation","src":"6067:208:16","text":" @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.\n Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11)."},"id":3039,"implemented":true,"kind":"function","modifiers":[],"name":"sqrt","nameLocation":"6289:4:16","nodeType":"FunctionDefinition","parameters":{"id":2931,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2930,"mutability":"mutable","name":"a","nameLocation":"6302:1:16","nodeType":"VariableDeclaration","scope":3039,"src":"6294:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2929,"name":"uint256","nodeType":"ElementaryTypeName","src":"6294:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6293:11:16"},"returnParameters":{"id":2934,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2933,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3039,"src":"6328:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2932,"name":"uint256","nodeType":"ElementaryTypeName","src":"6328:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6327:9:16"},"scope":3535,"src":"6280:1642:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3074,"nodeType":"Block","src":"8098:161:16","statements":[{"id":3073,"nodeType":"UncheckedBlock","src":"8108:145:16","statements":[{"assignments":[3051],"declarations":[{"constant":false,"id":3051,"mutability":"mutable","name":"result","nameLocation":"8140:6:16","nodeType":"VariableDeclaration","scope":3073,"src":"8132:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3050,"name":"uint256","nodeType":"ElementaryTypeName","src":"8132:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3055,"initialValue":{"arguments":[{"id":3053,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3042,"src":"8154:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3052,"name":"sqrt","nodeType":"Identifier","overloadedDeclarations":[3039,3075],"referencedDeclaration":3039,"src":"8149:4:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":3054,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8149:7:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"8132:24:16"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3056,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3051,"src":"8177:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"components":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3066,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"},"id":3060,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3057,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3045,"src":"8187:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":3058,"name":"Rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2677,"src":"8199:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_Rounding_$2677_$","typeString":"type(enum Math.Rounding)"}},"id":3059,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"Up","nodeType":"MemberAccess","referencedDeclaration":2675,"src":"8199:11:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"src":"8187:23:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3065,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3063,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3061,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3051,"src":"8214:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":3062,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3051,"src":"8223:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8214:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3064,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3042,"src":"8232:1:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8214:19:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"8187:46:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"hexValue":"30","id":3068,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8240:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"id":3069,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"8187:54:16","trueExpression":{"hexValue":"31","id":3067,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8236:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"id":3070,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8186:56:16","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"8177:65:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3049,"id":3072,"nodeType":"Return","src":"8170:72:16"}]}]},"documentation":{"id":3040,"nodeType":"StructuredDocumentation","src":"7928:89:16","text":" @notice Calculates sqrt(a), following the selected rounding direction."},"id":3075,"implemented":true,"kind":"function","modifiers":[],"name":"sqrt","nameLocation":"8031:4:16","nodeType":"FunctionDefinition","parameters":{"id":3046,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3042,"mutability":"mutable","name":"a","nameLocation":"8044:1:16","nodeType":"VariableDeclaration","scope":3075,"src":"8036:9:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3041,"name":"uint256","nodeType":"ElementaryTypeName","src":"8036:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3045,"mutability":"mutable","name":"rounding","nameLocation":"8056:8:16","nodeType":"VariableDeclaration","scope":3075,"src":"8047:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"},"typeName":{"id":3044,"nodeType":"UserDefinedTypeName","pathNode":{"id":3043,"name":"Rounding","nodeType":"IdentifierPath","referencedDeclaration":2677,"src":"8047:8:16"},"referencedDeclaration":2677,"src":"8047:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"8035:30:16"},"returnParameters":{"id":3049,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3048,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3075,"src":"8089:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3047,"name":"uint256","nodeType":"ElementaryTypeName","src":"8089:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8088:9:16"},"scope":3535,"src":"8022:237:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3206,"nodeType":"Block","src":"8444:922:16","statements":[{"assignments":[3084],"declarations":[{"constant":false,"id":3084,"mutability":"mutable","name":"result","nameLocation":"8462:6:16","nodeType":"VariableDeclaration","scope":3206,"src":"8454:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3083,"name":"uint256","nodeType":"ElementaryTypeName","src":"8454:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3086,"initialValue":{"hexValue":"30","id":3085,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8471:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"8454:18:16"},{"id":3203,"nodeType":"UncheckedBlock","src":"8482:855:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3091,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3089,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3087,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"8510:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3088,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8519:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"8510:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3090,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8525:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8510:16:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3101,"nodeType":"IfStatement","src":"8506:99:16","trueBody":{"id":3100,"nodeType":"Block","src":"8528:77:16","statements":[{"expression":{"id":3094,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3092,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"8546:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"313238","id":3093,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8556:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"8546:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3095,"nodeType":"ExpressionStatement","src":"8546:13:16"},{"expression":{"id":3098,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3096,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3084,"src":"8577:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"313238","id":3097,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8587:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"8577:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3099,"nodeType":"ExpressionStatement","src":"8577:13:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3106,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3104,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3102,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"8622:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"3634","id":3103,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8631:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"8622:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3105,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8636:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8622:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3116,"nodeType":"IfStatement","src":"8618:96:16","trueBody":{"id":3115,"nodeType":"Block","src":"8639:75:16","statements":[{"expression":{"id":3109,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3107,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"8657:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3634","id":3108,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8667:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"8657:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3110,"nodeType":"ExpressionStatement","src":"8657:12:16"},{"expression":{"id":3113,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3111,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3084,"src":"8687:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3634","id":3112,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8697:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"8687:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3114,"nodeType":"ExpressionStatement","src":"8687:12:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3121,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3119,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3117,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"8731:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"3332","id":3118,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8740:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"8731:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3120,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8745:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8731:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3131,"nodeType":"IfStatement","src":"8727:96:16","trueBody":{"id":3130,"nodeType":"Block","src":"8748:75:16","statements":[{"expression":{"id":3124,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3122,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"8766:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3332","id":3123,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8776:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"8766:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3125,"nodeType":"ExpressionStatement","src":"8766:12:16"},{"expression":{"id":3128,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3126,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3084,"src":"8796:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3332","id":3127,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8806:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"8796:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3129,"nodeType":"ExpressionStatement","src":"8796:12:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3136,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3134,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3132,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"8840:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"3136","id":3133,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8849:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"8840:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3135,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8854:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8840:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3146,"nodeType":"IfStatement","src":"8836:96:16","trueBody":{"id":3145,"nodeType":"Block","src":"8857:75:16","statements":[{"expression":{"id":3139,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3137,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"8875:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3136","id":3138,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8885:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"8875:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3140,"nodeType":"ExpressionStatement","src":"8875:12:16"},{"expression":{"id":3143,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3141,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3084,"src":"8905:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3136","id":3142,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8915:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"8905:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3144,"nodeType":"ExpressionStatement","src":"8905:12:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3151,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3149,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3147,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"8949:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"38","id":3148,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8958:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"8949:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3150,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8962:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8949:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3161,"nodeType":"IfStatement","src":"8945:93:16","trueBody":{"id":3160,"nodeType":"Block","src":"8965:73:16","statements":[{"expression":{"id":3154,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3152,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"8983:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"38","id":3153,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8993:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"8983:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3155,"nodeType":"ExpressionStatement","src":"8983:11:16"},{"expression":{"id":3158,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3156,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3084,"src":"9012:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"38","id":3157,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9022:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"9012:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3159,"nodeType":"ExpressionStatement","src":"9012:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3166,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3164,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3162,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"9055:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"34","id":3163,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9064:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"9055:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3165,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9068:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9055:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3176,"nodeType":"IfStatement","src":"9051:93:16","trueBody":{"id":3175,"nodeType":"Block","src":"9071:73:16","statements":[{"expression":{"id":3169,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3167,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"9089:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"34","id":3168,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9099:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"9089:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3170,"nodeType":"ExpressionStatement","src":"9089:11:16"},{"expression":{"id":3173,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3171,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3084,"src":"9118:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"34","id":3172,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9128:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"9118:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3174,"nodeType":"ExpressionStatement","src":"9118:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3181,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3179,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3177,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"9161:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"32","id":3178,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9170:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"9161:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3180,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9174:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9161:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3191,"nodeType":"IfStatement","src":"9157:93:16","trueBody":{"id":3190,"nodeType":"Block","src":"9177:73:16","statements":[{"expression":{"id":3184,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3182,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"9195:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"32","id":3183,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9205:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"9195:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3185,"nodeType":"ExpressionStatement","src":"9195:11:16"},{"expression":{"id":3188,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3186,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3084,"src":"9224:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"32","id":3187,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9234:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"9224:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3189,"nodeType":"ExpressionStatement","src":"9224:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3196,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3194,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3192,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"9267:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":3193,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9276:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"9267:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3195,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9280:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9267:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3202,"nodeType":"IfStatement","src":"9263:64:16","trueBody":{"id":3201,"nodeType":"Block","src":"9283:44:16","statements":[{"expression":{"id":3199,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3197,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3084,"src":"9301:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":3198,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9311:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"9301:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3200,"nodeType":"ExpressionStatement","src":"9301:11:16"}]}}]},{"expression":{"id":3204,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3084,"src":"9353:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3082,"id":3205,"nodeType":"Return","src":"9346:13:16"}]},"documentation":{"id":3076,"nodeType":"StructuredDocumentation","src":"8265:113:16","text":" @dev Return the log in base 2, rounded down, of a positive value.\n Returns 0 if given 0."},"id":3207,"implemented":true,"kind":"function","modifiers":[],"name":"log2","nameLocation":"8392:4:16","nodeType":"FunctionDefinition","parameters":{"id":3079,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3078,"mutability":"mutable","name":"value","nameLocation":"8405:5:16","nodeType":"VariableDeclaration","scope":3207,"src":"8397:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3077,"name":"uint256","nodeType":"ElementaryTypeName","src":"8397:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8396:15:16"},"returnParameters":{"id":3082,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3081,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3207,"src":"8435:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3080,"name":"uint256","nodeType":"ElementaryTypeName","src":"8435:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8434:9:16"},"scope":3535,"src":"8383:983:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3242,"nodeType":"Block","src":"9599:165:16","statements":[{"id":3241,"nodeType":"UncheckedBlock","src":"9609:149:16","statements":[{"assignments":[3219],"declarations":[{"constant":false,"id":3219,"mutability":"mutable","name":"result","nameLocation":"9641:6:16","nodeType":"VariableDeclaration","scope":3241,"src":"9633:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3218,"name":"uint256","nodeType":"ElementaryTypeName","src":"9633:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3223,"initialValue":{"arguments":[{"id":3221,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3210,"src":"9655:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3220,"name":"log2","nodeType":"Identifier","overloadedDeclarations":[3207,3243],"referencedDeclaration":3207,"src":"9650:4:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":3222,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9650:11:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"9633:28:16"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3239,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3224,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3219,"src":"9682:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"components":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3234,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"},"id":3228,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3225,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3213,"src":"9692:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":3226,"name":"Rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2677,"src":"9704:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_Rounding_$2677_$","typeString":"type(enum Math.Rounding)"}},"id":3227,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"Up","nodeType":"MemberAccess","referencedDeclaration":2675,"src":"9704:11:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"src":"9692:23:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3233,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3229,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9719:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"id":3230,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3219,"src":"9724:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9719:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3232,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3210,"src":"9733:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9719:19:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"9692:46:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"hexValue":"30","id":3236,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9745:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"id":3237,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"9692:54:16","trueExpression":{"hexValue":"31","id":3235,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9741:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"id":3238,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9691:56:16","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"9682:65:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3217,"id":3240,"nodeType":"Return","src":"9675:72:16"}]}]},"documentation":{"id":3208,"nodeType":"StructuredDocumentation","src":"9372: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":3243,"implemented":true,"kind":"function","modifiers":[],"name":"log2","nameLocation":"9528:4:16","nodeType":"FunctionDefinition","parameters":{"id":3214,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3210,"mutability":"mutable","name":"value","nameLocation":"9541:5:16","nodeType":"VariableDeclaration","scope":3243,"src":"9533:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3209,"name":"uint256","nodeType":"ElementaryTypeName","src":"9533:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3213,"mutability":"mutable","name":"rounding","nameLocation":"9557:8:16","nodeType":"VariableDeclaration","scope":3243,"src":"9548:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"},"typeName":{"id":3212,"nodeType":"UserDefinedTypeName","pathNode":{"id":3211,"name":"Rounding","nodeType":"IdentifierPath","referencedDeclaration":2677,"src":"9548:8:16"},"referencedDeclaration":2677,"src":"9548:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"9532:34:16"},"returnParameters":{"id":3217,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3216,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3243,"src":"9590:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3215,"name":"uint256","nodeType":"ElementaryTypeName","src":"9590:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9589:9:16"},"scope":3535,"src":"9519:245:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3371,"nodeType":"Block","src":"9951:828:16","statements":[{"assignments":[3252],"declarations":[{"constant":false,"id":3252,"mutability":"mutable","name":"result","nameLocation":"9969:6:16","nodeType":"VariableDeclaration","scope":3371,"src":"9961:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3251,"name":"uint256","nodeType":"ElementaryTypeName","src":"9961:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3254,"initialValue":{"hexValue":"30","id":3253,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9978:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"9961:18:16"},{"id":3368,"nodeType":"UncheckedBlock","src":"9989:761:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3259,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3255,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10017: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":3258,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3256,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10026:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3634","id":3257,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10030:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"10026:6:16","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1","typeString":"int_const 1000...(57 digits omitted)...0000"}},"src":"10017:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3271,"nodeType":"IfStatement","src":"10013:99:16","trueBody":{"id":3270,"nodeType":"Block","src":"10034:78:16","statements":[{"expression":{"id":3264,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3260,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10052: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":3263,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3261,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10061:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3634","id":3262,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10065:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"10061:6:16","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1","typeString":"int_const 1000...(57 digits omitted)...0000"}},"src":"10052:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3265,"nodeType":"ExpressionStatement","src":"10052:15:16"},{"expression":{"id":3268,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3266,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3252,"src":"10085:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3634","id":3267,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10095:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"10085:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3269,"nodeType":"ExpressionStatement","src":"10085:12:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3276,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3272,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10129: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":3275,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3273,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10138:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3332","id":3274,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10142:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"10138:6:16","typeDescriptions":{"typeIdentifier":"t_rational_100000000000000000000000000000000_by_1","typeString":"int_const 1000...(25 digits omitted)...0000"}},"src":"10129:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3288,"nodeType":"IfStatement","src":"10125:99:16","trueBody":{"id":3287,"nodeType":"Block","src":"10146:78:16","statements":[{"expression":{"id":3281,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3277,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10164: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":3280,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3278,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10173:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3332","id":3279,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10177:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"10173:6:16","typeDescriptions":{"typeIdentifier":"t_rational_100000000000000000000000000000000_by_1","typeString":"int_const 1000...(25 digits omitted)...0000"}},"src":"10164:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3282,"nodeType":"ExpressionStatement","src":"10164:15:16"},{"expression":{"id":3285,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3283,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3252,"src":"10197:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3332","id":3284,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10207:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"10197:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3286,"nodeType":"ExpressionStatement","src":"10197:12:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3293,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3289,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10241:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"},"id":3292,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3290,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10250:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3136","id":3291,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10254:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"10250:6:16","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"}},"src":"10241:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3305,"nodeType":"IfStatement","src":"10237:99:16","trueBody":{"id":3304,"nodeType":"Block","src":"10258:78:16","statements":[{"expression":{"id":3298,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3294,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10276:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"},"id":3297,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3295,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10285:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3136","id":3296,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10289:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"10285:6:16","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"}},"src":"10276:15:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3299,"nodeType":"ExpressionStatement","src":"10276:15:16"},{"expression":{"id":3302,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3300,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3252,"src":"10309:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3136","id":3301,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10319:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"10309:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3303,"nodeType":"ExpressionStatement","src":"10309:12:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3310,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3306,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10353:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"},"id":3309,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3307,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10362:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"38","id":3308,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10366:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"10362:5:16","typeDescriptions":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"}},"src":"10353:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3322,"nodeType":"IfStatement","src":"10349:96:16","trueBody":{"id":3321,"nodeType":"Block","src":"10369:76:16","statements":[{"expression":{"id":3315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3311,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10387:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"},"id":3314,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3312,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10396:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"38","id":3313,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10400:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"10396:5:16","typeDescriptions":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"}},"src":"10387:14:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3316,"nodeType":"ExpressionStatement","src":"10387:14:16"},{"expression":{"id":3319,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3317,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3252,"src":"10419:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"38","id":3318,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10429:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"10419:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3320,"nodeType":"ExpressionStatement","src":"10419:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3327,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3323,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10462:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"},"id":3326,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3324,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10471:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"34","id":3325,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10475:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"10471:5:16","typeDescriptions":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"}},"src":"10462:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3339,"nodeType":"IfStatement","src":"10458:96:16","trueBody":{"id":3338,"nodeType":"Block","src":"10478:76:16","statements":[{"expression":{"id":3332,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3328,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10496:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"},"id":3331,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3329,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10505:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"34","id":3330,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10509:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"10505:5:16","typeDescriptions":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"}},"src":"10496:14:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3333,"nodeType":"ExpressionStatement","src":"10496:14:16"},{"expression":{"id":3336,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3334,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3252,"src":"10528:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"34","id":3335,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10538:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"10528:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3337,"nodeType":"ExpressionStatement","src":"10528:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3344,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3340,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10571:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"},"id":3343,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3341,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10580:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"32","id":3342,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10584:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"10580:5:16","typeDescriptions":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"}},"src":"10571:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3356,"nodeType":"IfStatement","src":"10567:96:16","trueBody":{"id":3355,"nodeType":"Block","src":"10587:76:16","statements":[{"expression":{"id":3349,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3345,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10605:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"},"id":3348,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3346,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10614:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"32","id":3347,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10618:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"10614:5:16","typeDescriptions":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"}},"src":"10605:14:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3350,"nodeType":"ExpressionStatement","src":"10605:14:16"},{"expression":{"id":3353,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3351,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3252,"src":"10637:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"32","id":3352,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10647:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"10637:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3354,"nodeType":"ExpressionStatement","src":"10637:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3361,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3357,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3246,"src":"10680:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"id":3360,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3358,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10689:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"31","id":3359,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10693:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"10689:5:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"}},"src":"10680:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3367,"nodeType":"IfStatement","src":"10676:64:16","trueBody":{"id":3366,"nodeType":"Block","src":"10696:44:16","statements":[{"expression":{"id":3364,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3362,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3252,"src":"10714:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":3363,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10724:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"10714:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3365,"nodeType":"ExpressionStatement","src":"10714:11:16"}]}}]},{"expression":{"id":3369,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3252,"src":"10766:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3250,"id":3370,"nodeType":"Return","src":"10759:13:16"}]},"documentation":{"id":3244,"nodeType":"StructuredDocumentation","src":"9770:114:16","text":" @dev Return the log in base 10, rounded down, of a positive value.\n Returns 0 if given 0."},"id":3372,"implemented":true,"kind":"function","modifiers":[],"name":"log10","nameLocation":"9898:5:16","nodeType":"FunctionDefinition","parameters":{"id":3247,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3246,"mutability":"mutable","name":"value","nameLocation":"9912:5:16","nodeType":"VariableDeclaration","scope":3372,"src":"9904:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3245,"name":"uint256","nodeType":"ElementaryTypeName","src":"9904:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9903:15:16"},"returnParameters":{"id":3250,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3249,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3372,"src":"9942:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3248,"name":"uint256","nodeType":"ElementaryTypeName","src":"9942:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9941:9:16"},"scope":3535,"src":"9889:890:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3407,"nodeType":"Block","src":"11014:165:16","statements":[{"id":3406,"nodeType":"UncheckedBlock","src":"11024:149:16","statements":[{"assignments":[3384],"declarations":[{"constant":false,"id":3384,"mutability":"mutable","name":"result","nameLocation":"11056:6:16","nodeType":"VariableDeclaration","scope":3406,"src":"11048:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3383,"name":"uint256","nodeType":"ElementaryTypeName","src":"11048:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3388,"initialValue":{"arguments":[{"id":3386,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3375,"src":"11071:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3385,"name":"log10","nodeType":"Identifier","overloadedDeclarations":[3372,3408],"referencedDeclaration":3372,"src":"11065:5:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":3387,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11065:12:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"11048:29:16"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3404,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3389,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3384,"src":"11098:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"components":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3399,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"},"id":3393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3390,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3378,"src":"11108:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":3391,"name":"Rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2677,"src":"11120:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_Rounding_$2677_$","typeString":"type(enum Math.Rounding)"}},"id":3392,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"Up","nodeType":"MemberAccess","referencedDeclaration":2675,"src":"11120:11:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"src":"11108:23:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3398,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3396,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":3394,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11135:2:16","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"id":3395,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3384,"src":"11139:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11135:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3397,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3375,"src":"11148:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11135:18:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"11108:45:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"hexValue":"30","id":3401,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11160:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"id":3402,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"11108:53:16","trueExpression":{"hexValue":"31","id":3400,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11156:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"id":3403,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11107:55:16","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"11098:64:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3382,"id":3405,"nodeType":"Return","src":"11091:71:16"}]}]},"documentation":{"id":3373,"nodeType":"StructuredDocumentation","src":"10785: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":3408,"implemented":true,"kind":"function","modifiers":[],"name":"log10","nameLocation":"10942:5:16","nodeType":"FunctionDefinition","parameters":{"id":3379,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3375,"mutability":"mutable","name":"value","nameLocation":"10956:5:16","nodeType":"VariableDeclaration","scope":3408,"src":"10948:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3374,"name":"uint256","nodeType":"ElementaryTypeName","src":"10948:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3378,"mutability":"mutable","name":"rounding","nameLocation":"10972:8:16","nodeType":"VariableDeclaration","scope":3408,"src":"10963:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"},"typeName":{"id":3377,"nodeType":"UserDefinedTypeName","pathNode":{"id":3376,"name":"Rounding","nodeType":"IdentifierPath","referencedDeclaration":2677,"src":"10963:8:16"},"referencedDeclaration":2677,"src":"10963:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"10947:34:16"},"returnParameters":{"id":3382,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3381,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3408,"src":"11005:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3380,"name":"uint256","nodeType":"ElementaryTypeName","src":"11005:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11004:9:16"},"scope":3535,"src":"10933:246:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3494,"nodeType":"Block","src":"11493:600:16","statements":[{"assignments":[3417],"declarations":[{"constant":false,"id":3417,"mutability":"mutable","name":"result","nameLocation":"11511:6:16","nodeType":"VariableDeclaration","scope":3494,"src":"11503:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3416,"name":"uint256","nodeType":"ElementaryTypeName","src":"11503:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3419,"initialValue":{"hexValue":"30","id":3418,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11520:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"11503:18:16"},{"id":3491,"nodeType":"UncheckedBlock","src":"11531:533:16","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3424,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3422,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3420,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3411,"src":"11559:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3421,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11568:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"11559:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3423,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11574:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"11559:16:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3434,"nodeType":"IfStatement","src":"11555:98:16","trueBody":{"id":3433,"nodeType":"Block","src":"11577:76:16","statements":[{"expression":{"id":3427,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3425,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3411,"src":"11595:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"313238","id":3426,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11605:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"11595:13:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3428,"nodeType":"ExpressionStatement","src":"11595:13:16"},{"expression":{"id":3431,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3429,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3417,"src":"11626:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3136","id":3430,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11636:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"11626:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3432,"nodeType":"ExpressionStatement","src":"11626:12:16"}]}},{"condition":{"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":{"id":3435,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3411,"src":"11670:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"3634","id":3436,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11679:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"11670:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3438,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11684:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"11670:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3449,"nodeType":"IfStatement","src":"11666:95:16","trueBody":{"id":3448,"nodeType":"Block","src":"11687:74:16","statements":[{"expression":{"id":3442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3440,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3411,"src":"11705:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3634","id":3441,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11715:2:16","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"11705:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3443,"nodeType":"ExpressionStatement","src":"11705:12:16"},{"expression":{"id":3446,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3444,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3417,"src":"11735:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"38","id":3445,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11745:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"11735:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3447,"nodeType":"ExpressionStatement","src":"11735:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3454,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3452,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3450,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3411,"src":"11778:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"3332","id":3451,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11787:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"11778:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3453,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11792:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"11778:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3464,"nodeType":"IfStatement","src":"11774:95:16","trueBody":{"id":3463,"nodeType":"Block","src":"11795:74:16","statements":[{"expression":{"id":3457,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3455,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3411,"src":"11813:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3332","id":3456,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11823:2:16","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"11813:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3458,"nodeType":"ExpressionStatement","src":"11813:12:16"},{"expression":{"id":3461,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3459,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3417,"src":"11843:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"34","id":3460,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11853:1:16","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"11843:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3462,"nodeType":"ExpressionStatement","src":"11843:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3469,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3467,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3465,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3411,"src":"11886:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"3136","id":3466,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11895:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"11886:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3468,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11900:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"11886:15:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3479,"nodeType":"IfStatement","src":"11882:95:16","trueBody":{"id":3478,"nodeType":"Block","src":"11903:74:16","statements":[{"expression":{"id":3472,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3470,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3411,"src":"11921:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3136","id":3471,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11931:2:16","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"11921:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3473,"nodeType":"ExpressionStatement","src":"11921:12:16"},{"expression":{"id":3476,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3474,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3417,"src":"11951:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"32","id":3475,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11961:1:16","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"11951:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3477,"nodeType":"ExpressionStatement","src":"11951:11:16"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3484,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3482,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3480,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3411,"src":"11994:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"38","id":3481,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12003:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"11994:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3483,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12007:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"11994:14:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3490,"nodeType":"IfStatement","src":"11990:64:16","trueBody":{"id":3489,"nodeType":"Block","src":"12010:44:16","statements":[{"expression":{"id":3487,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3485,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3417,"src":"12028:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":3486,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12038:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"12028:11:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3488,"nodeType":"ExpressionStatement","src":"12028:11:16"}]}}]},{"expression":{"id":3492,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3417,"src":"12080:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3415,"id":3493,"nodeType":"Return","src":"12073:13:16"}]},"documentation":{"id":3409,"nodeType":"StructuredDocumentation","src":"11185:240:16","text":" @dev Return the log in base 256, rounded down, of a positive value.\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":3495,"implemented":true,"kind":"function","modifiers":[],"name":"log256","nameLocation":"11439:6:16","nodeType":"FunctionDefinition","parameters":{"id":3412,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3411,"mutability":"mutable","name":"value","nameLocation":"11454:5:16","nodeType":"VariableDeclaration","scope":3495,"src":"11446:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3410,"name":"uint256","nodeType":"ElementaryTypeName","src":"11446:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11445:15:16"},"returnParameters":{"id":3415,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3414,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3495,"src":"11484:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3413,"name":"uint256","nodeType":"ElementaryTypeName","src":"11484:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11483:9:16"},"scope":3535,"src":"11430:663:16","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3533,"nodeType":"Block","src":"12329:173:16","statements":[{"id":3532,"nodeType":"UncheckedBlock","src":"12339:157:16","statements":[{"assignments":[3507],"declarations":[{"constant":false,"id":3507,"mutability":"mutable","name":"result","nameLocation":"12371:6:16","nodeType":"VariableDeclaration","scope":3532,"src":"12363:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3506,"name":"uint256","nodeType":"ElementaryTypeName","src":"12363:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3511,"initialValue":{"arguments":[{"id":3509,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3498,"src":"12387:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3508,"name":"log256","nodeType":"Identifier","overloadedDeclarations":[3495,3534],"referencedDeclaration":3495,"src":"12380:6:16","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":3510,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"12380:13:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"12363:30:16"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3530,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3512,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3507,"src":"12414:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"components":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3525,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"},"id":3516,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3513,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3501,"src":"12424:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":3514,"name":"Rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2677,"src":"12436:8:16","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_Rounding_$2677_$","typeString":"type(enum Math.Rounding)"}},"id":3515,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"Up","nodeType":"MemberAccess","referencedDeclaration":2675,"src":"12436:11:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"src":"12424:23:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3524,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3522,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3517,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12451: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":3520,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3518,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3507,"src":"12457:6:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"38","id":3519,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12466:1:16","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"12457:10:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3521,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12456:12:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12451:17:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3523,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3498,"src":"12471:5:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12451:25:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"12424:52:16","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"hexValue":"30","id":3527,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12483:1:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"id":3528,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"12424:60:16","trueExpression":{"hexValue":"31","id":3526,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12479:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"id":3529,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12423:62:16","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"12414:71:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3505,"id":3531,"nodeType":"Return","src":"12407:78:16"}]}]},"documentation":{"id":3496,"nodeType":"StructuredDocumentation","src":"12099: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":3534,"implemented":true,"kind":"function","modifiers":[],"name":"log256","nameLocation":"12256:6:16","nodeType":"FunctionDefinition","parameters":{"id":3502,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3498,"mutability":"mutable","name":"value","nameLocation":"12271:5:16","nodeType":"VariableDeclaration","scope":3534,"src":"12263:13:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3497,"name":"uint256","nodeType":"ElementaryTypeName","src":"12263:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3501,"mutability":"mutable","name":"rounding","nameLocation":"12287:8:16","nodeType":"VariableDeclaration","scope":3534,"src":"12278:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"},"typeName":{"id":3500,"nodeType":"UserDefinedTypeName","pathNode":{"id":3499,"name":"Rounding","nodeType":"IdentifierPath","referencedDeclaration":2677,"src":"12278:8:16"},"referencedDeclaration":2677,"src":"12278:8:16","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$2677","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"12262:34:16"},"returnParameters":{"id":3505,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3504,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3534,"src":"12320:7:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3503,"name":"uint256","nodeType":"ElementaryTypeName","src":"12320:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12319:9:16"},"scope":3535,"src":"12247:255:16","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":3536,"src":"202:12302:16","usedErrors":[]}],"src":"103:12402:16"},"id":16},"@openzeppelin/contracts/utils/structs/EnumerableSet.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/structs/EnumerableSet.sol","exportedSymbols":{"EnumerableSet":[4148]},"id":4149,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":3537,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"205:23:17"},{"abstract":false,"baseContracts":[],"canonicalName":"EnumerableSet","contractDependencies":[],"contractKind":"library","documentation":{"id":3538,"nodeType":"StructuredDocumentation","src":"230:1090:17","text":" @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n     // Add the library methods\n     using EnumerableSet for EnumerableSet.AddressSet;\n     // Declare a set state variable\n     EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported.\n [WARNING]\n ====\n Trying to delete such a structure from storage will likely result in data corruption, rendering the structure\n unusable.\n See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\n In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an\n array of EnumerableSet.\n ===="},"fullyImplemented":true,"id":4148,"linearizedBaseContracts":[4148],"name":"EnumerableSet","nameLocation":"1329:13:17","nodeType":"ContractDefinition","nodes":[{"canonicalName":"EnumerableSet.Set","id":3546,"members":[{"constant":false,"id":3541,"mutability":"mutable","name":"_values","nameLocation":"1853:7:17","nodeType":"VariableDeclaration","scope":3546,"src":"1843:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":3539,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1843:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3540,"nodeType":"ArrayTypeName","src":"1843:9:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"},{"constant":false,"id":3545,"mutability":"mutable","name":"_indexes","nameLocation":"2021:8:17","nodeType":"VariableDeclaration","scope":3546,"src":"1993:36:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_uint256_$","typeString":"mapping(bytes32 => uint256)"},"typeName":{"id":3544,"keyType":{"id":3542,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2001:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"1993:27:17","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_uint256_$","typeString":"mapping(bytes32 => uint256)"},"valueType":{"id":3543,"name":"uint256","nodeType":"ElementaryTypeName","src":"2012:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"internal"}],"name":"Set","nameLocation":"1796:3:17","nodeType":"StructDefinition","scope":4148,"src":"1789:247:17","visibility":"public"},{"body":{"id":3587,"nodeType":"Block","src":"2275:335:17","statements":[{"condition":{"id":3561,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"2289:22:17","subExpression":{"arguments":[{"id":3558,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3550,"src":"2300:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},{"id":3559,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3552,"src":"2305:5:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":3557,"name":"_contains","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3691,"src":"2290:9:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$_t_bytes32_$returns$_t_bool_$","typeString":"function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)"}},"id":3560,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2290:21:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":3585,"nodeType":"Block","src":"2567:37:17","statements":[{"expression":{"hexValue":"66616c7365","id":3583,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2588:5:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":3556,"id":3584,"nodeType":"Return","src":"2581:12:17"}]},"id":3586,"nodeType":"IfStatement","src":"2285:319:17","trueBody":{"id":3582,"nodeType":"Block","src":"2313:248:17","statements":[{"expression":{"arguments":[{"id":3567,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3552,"src":"2344:5:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"expression":{"id":3562,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3550,"src":"2327:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3565,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_values","nodeType":"MemberAccess","referencedDeclaration":3541,"src":"2327:11:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage","typeString":"bytes32[] storage ref"}},"id":3566,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"push","nodeType":"MemberAccess","src":"2327:16:17","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_bytes32_$dyn_storage_ptr_$_t_bytes32_$returns$__$bound_to$_t_array$_t_bytes32_$dyn_storage_ptr_$","typeString":"function (bytes32[] storage pointer,bytes32)"}},"id":3568,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2327:23:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3569,"nodeType":"ExpressionStatement","src":"2327:23:17"},{"expression":{"id":3578,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"id":3570,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3550,"src":"2485:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3573,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_indexes","nodeType":"MemberAccess","referencedDeclaration":3545,"src":"2485:12:17","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_uint256_$","typeString":"mapping(bytes32 => uint256)"}},"id":3574,"indexExpression":{"id":3572,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3552,"src":"2498:5:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2485:19:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"expression":{"id":3575,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3550,"src":"2507:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3576,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_values","nodeType":"MemberAccess","referencedDeclaration":3541,"src":"2507:11:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage","typeString":"bytes32[] storage ref"}},"id":3577,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"2507:18:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2485:40:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3579,"nodeType":"ExpressionStatement","src":"2485:40:17"},{"expression":{"hexValue":"74727565","id":3580,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2546:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":3556,"id":3581,"nodeType":"Return","src":"2539:11:17"}]}}]},"documentation":{"id":3547,"nodeType":"StructuredDocumentation","src":"2042:159:17","text":" @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present."},"id":3588,"implemented":true,"kind":"function","modifiers":[],"name":"_add","nameLocation":"2215:4:17","nodeType":"FunctionDefinition","parameters":{"id":3553,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3550,"mutability":"mutable","name":"set","nameLocation":"2232:3:17","nodeType":"VariableDeclaration","scope":3588,"src":"2220:15:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"},"typeName":{"id":3549,"nodeType":"UserDefinedTypeName","pathNode":{"id":3548,"name":"Set","nodeType":"IdentifierPath","referencedDeclaration":3546,"src":"2220:3:17"},"referencedDeclaration":3546,"src":"2220:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"}},"visibility":"internal"},{"constant":false,"id":3552,"mutability":"mutable","name":"value","nameLocation":"2245:5:17","nodeType":"VariableDeclaration","scope":3588,"src":"2237:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3551,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2237:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2219:32:17"},"returnParameters":{"id":3556,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3555,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3588,"src":"2269:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3554,"name":"bool","nodeType":"ElementaryTypeName","src":"2269:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2268:6:17"},"scope":4148,"src":"2206:404:17","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":3671,"nodeType":"Block","src":"2850:1316:17","statements":[{"assignments":[3600],"declarations":[{"constant":false,"id":3600,"mutability":"mutable","name":"valueIndex","nameLocation":"2968:10:17","nodeType":"VariableDeclaration","scope":3671,"src":"2960:18:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3599,"name":"uint256","nodeType":"ElementaryTypeName","src":"2960:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3605,"initialValue":{"baseExpression":{"expression":{"id":3601,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3592,"src":"2981:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3602,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_indexes","nodeType":"MemberAccess","referencedDeclaration":3545,"src":"2981:12:17","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_uint256_$","typeString":"mapping(bytes32 => uint256)"}},"id":3604,"indexExpression":{"id":3603,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3594,"src":"2994:5:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2981:19:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2960:40:17"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3608,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3606,"name":"valueIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3600,"src":"3015:10:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3607,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3029:1:17","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3015:15:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":3669,"nodeType":"Block","src":"4123:37:17","statements":[{"expression":{"hexValue":"66616c7365","id":3667,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4144:5:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":3598,"id":3668,"nodeType":"Return","src":"4137:12:17"}]},"id":3670,"nodeType":"IfStatement","src":"3011:1149:17","trueBody":{"id":3666,"nodeType":"Block","src":"3032:1085:17","statements":[{"assignments":[3610],"declarations":[{"constant":false,"id":3610,"mutability":"mutable","name":"toDeleteIndex","nameLocation":"3392:13:17","nodeType":"VariableDeclaration","scope":3666,"src":"3384:21:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3609,"name":"uint256","nodeType":"ElementaryTypeName","src":"3384:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3614,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3613,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3611,"name":"valueIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3600,"src":"3408:10:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3612,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3421:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3408:14:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3384:38:17"},{"assignments":[3616],"declarations":[{"constant":false,"id":3616,"mutability":"mutable","name":"lastIndex","nameLocation":"3444:9:17","nodeType":"VariableDeclaration","scope":3666,"src":"3436:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3615,"name":"uint256","nodeType":"ElementaryTypeName","src":"3436:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3622,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3621,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":3617,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3592,"src":"3456:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3618,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_values","nodeType":"MemberAccess","referencedDeclaration":3541,"src":"3456:11:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage","typeString":"bytes32[] storage ref"}},"id":3619,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"3456:18:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3620,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3477:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3456:22:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3436:42:17"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3625,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3623,"name":"lastIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3616,"src":"3497:9:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":3624,"name":"toDeleteIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3610,"src":"3510:13:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3497:26:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3650,"nodeType":"IfStatement","src":"3493:398:17","trueBody":{"id":3649,"nodeType":"Block","src":"3525:366:17","statements":[{"assignments":[3627],"declarations":[{"constant":false,"id":3627,"mutability":"mutable","name":"lastValue","nameLocation":"3551:9:17","nodeType":"VariableDeclaration","scope":3649,"src":"3543:17:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3626,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3543:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":3632,"initialValue":{"baseExpression":{"expression":{"id":3628,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3592,"src":"3563:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3629,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_values","nodeType":"MemberAccess","referencedDeclaration":3541,"src":"3563:11:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage","typeString":"bytes32[] storage ref"}},"id":3631,"indexExpression":{"id":3630,"name":"lastIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3616,"src":"3575:9:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3563:22:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"3543:42:17"},{"expression":{"id":3639,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"id":3633,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3592,"src":"3685:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3636,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_values","nodeType":"MemberAccess","referencedDeclaration":3541,"src":"3685:11:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage","typeString":"bytes32[] storage ref"}},"id":3637,"indexExpression":{"id":3635,"name":"toDeleteIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3610,"src":"3697:13:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3685:26:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":3638,"name":"lastValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3627,"src":"3714:9:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3685:38:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3640,"nodeType":"ExpressionStatement","src":"3685:38:17"},{"expression":{"id":3647,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"id":3641,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3592,"src":"3797:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3644,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_indexes","nodeType":"MemberAccess","referencedDeclaration":3545,"src":"3797:12:17","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_uint256_$","typeString":"mapping(bytes32 => uint256)"}},"id":3645,"indexExpression":{"id":3643,"name":"lastValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3627,"src":"3810:9:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3797:23:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":3646,"name":"valueIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3600,"src":"3823:10:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3797:36:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3648,"nodeType":"ExpressionStatement","src":"3797:36:17"}]}},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":3651,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3592,"src":"3969:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3654,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_values","nodeType":"MemberAccess","referencedDeclaration":3541,"src":"3969:11:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage","typeString":"bytes32[] storage ref"}},"id":3655,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"pop","nodeType":"MemberAccess","src":"3969:15:17","typeDescriptions":{"typeIdentifier":"t_function_arraypop_nonpayable$_t_array$_t_bytes32_$dyn_storage_ptr_$returns$__$bound_to$_t_array$_t_bytes32_$dyn_storage_ptr_$","typeString":"function (bytes32[] storage pointer)"}},"id":3656,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3969:17:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3657,"nodeType":"ExpressionStatement","src":"3969:17:17"},{"expression":{"id":3662,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"4054:26:17","subExpression":{"baseExpression":{"expression":{"id":3658,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3592,"src":"4061:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3659,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_indexes","nodeType":"MemberAccess","referencedDeclaration":3545,"src":"4061:12:17","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_uint256_$","typeString":"mapping(bytes32 => uint256)"}},"id":3661,"indexExpression":{"id":3660,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3594,"src":"4074:5:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4061:19:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3663,"nodeType":"ExpressionStatement","src":"4054:26:17"},{"expression":{"hexValue":"74727565","id":3664,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4102:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":3598,"id":3665,"nodeType":"Return","src":"4095:11:17"}]}}]},"documentation":{"id":3589,"nodeType":"StructuredDocumentation","src":"2616:157:17","text":" @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present."},"id":3672,"implemented":true,"kind":"function","modifiers":[],"name":"_remove","nameLocation":"2787:7:17","nodeType":"FunctionDefinition","parameters":{"id":3595,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3592,"mutability":"mutable","name":"set","nameLocation":"2807:3:17","nodeType":"VariableDeclaration","scope":3672,"src":"2795:15:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"},"typeName":{"id":3591,"nodeType":"UserDefinedTypeName","pathNode":{"id":3590,"name":"Set","nodeType":"IdentifierPath","referencedDeclaration":3546,"src":"2795:3:17"},"referencedDeclaration":3546,"src":"2795:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"}},"visibility":"internal"},{"constant":false,"id":3594,"mutability":"mutable","name":"value","nameLocation":"2820:5:17","nodeType":"VariableDeclaration","scope":3672,"src":"2812:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3593,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2812:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2794:32:17"},"returnParameters":{"id":3598,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3597,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3672,"src":"2844:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3596,"name":"bool","nodeType":"ElementaryTypeName","src":"2844:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2843:6:17"},"scope":4148,"src":"2778:1388:17","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":3690,"nodeType":"Block","src":"4326:48:17","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3688,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"expression":{"id":3683,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3676,"src":"4343:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3684,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_indexes","nodeType":"MemberAccess","referencedDeclaration":3545,"src":"4343:12:17","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_uint256_$","typeString":"mapping(bytes32 => uint256)"}},"id":3686,"indexExpression":{"id":3685,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3678,"src":"4356:5:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4343:19:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3687,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4366:1:17","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4343:24:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":3682,"id":3689,"nodeType":"Return","src":"4336:31:17"}]},"documentation":{"id":3673,"nodeType":"StructuredDocumentation","src":"4172:70:17","text":" @dev Returns true if the value is in the set. O(1)."},"id":3691,"implemented":true,"kind":"function","modifiers":[],"name":"_contains","nameLocation":"4256:9:17","nodeType":"FunctionDefinition","parameters":{"id":3679,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3676,"mutability":"mutable","name":"set","nameLocation":"4278:3:17","nodeType":"VariableDeclaration","scope":3691,"src":"4266:15:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"},"typeName":{"id":3675,"nodeType":"UserDefinedTypeName","pathNode":{"id":3674,"name":"Set","nodeType":"IdentifierPath","referencedDeclaration":3546,"src":"4266:3:17"},"referencedDeclaration":3546,"src":"4266:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"}},"visibility":"internal"},{"constant":false,"id":3678,"mutability":"mutable","name":"value","nameLocation":"4291:5:17","nodeType":"VariableDeclaration","scope":3691,"src":"4283:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3677,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4283:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4265:32:17"},"returnParameters":{"id":3682,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3681,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3691,"src":"4320:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3680,"name":"bool","nodeType":"ElementaryTypeName","src":"4320:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4319:6:17"},"scope":4148,"src":"4247:127:17","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":3704,"nodeType":"Block","src":"4520:42:17","statements":[{"expression":{"expression":{"expression":{"id":3700,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3695,"src":"4537:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3701,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_values","nodeType":"MemberAccess","referencedDeclaration":3541,"src":"4537:11:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage","typeString":"bytes32[] storage ref"}},"id":3702,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"4537:18:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3699,"id":3703,"nodeType":"Return","src":"4530:25:17"}]},"documentation":{"id":3692,"nodeType":"StructuredDocumentation","src":"4380:70:17","text":" @dev Returns the number of values on the set. O(1)."},"id":3705,"implemented":true,"kind":"function","modifiers":[],"name":"_length","nameLocation":"4464:7:17","nodeType":"FunctionDefinition","parameters":{"id":3696,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3695,"mutability":"mutable","name":"set","nameLocation":"4484:3:17","nodeType":"VariableDeclaration","scope":3705,"src":"4472:15:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"},"typeName":{"id":3694,"nodeType":"UserDefinedTypeName","pathNode":{"id":3693,"name":"Set","nodeType":"IdentifierPath","referencedDeclaration":3546,"src":"4472:3:17"},"referencedDeclaration":3546,"src":"4472:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"}},"visibility":"internal"}],"src":"4471:17:17"},"returnParameters":{"id":3699,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3698,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3705,"src":"4511:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3697,"name":"uint256","nodeType":"ElementaryTypeName","src":"4511:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4510:9:17"},"scope":4148,"src":"4455:107:17","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":3721,"nodeType":"Block","src":"4980:42:17","statements":[{"expression":{"baseExpression":{"expression":{"id":3716,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3709,"src":"4997:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3717,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_values","nodeType":"MemberAccess","referencedDeclaration":3541,"src":"4997:11:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage","typeString":"bytes32[] storage ref"}},"id":3719,"indexExpression":{"id":3718,"name":"index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3711,"src":"5009:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4997:18:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":3715,"id":3720,"nodeType":"Return","src":"4990:25:17"}]},"documentation":{"id":3706,"nodeType":"StructuredDocumentation","src":"4568:331:17","text":" @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}."},"id":3722,"implemented":true,"kind":"function","modifiers":[],"name":"_at","nameLocation":"4913:3:17","nodeType":"FunctionDefinition","parameters":{"id":3712,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3709,"mutability":"mutable","name":"set","nameLocation":"4929:3:17","nodeType":"VariableDeclaration","scope":3722,"src":"4917:15:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"},"typeName":{"id":3708,"nodeType":"UserDefinedTypeName","pathNode":{"id":3707,"name":"Set","nodeType":"IdentifierPath","referencedDeclaration":3546,"src":"4917:3:17"},"referencedDeclaration":3546,"src":"4917:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"}},"visibility":"internal"},{"constant":false,"id":3711,"mutability":"mutable","name":"index","nameLocation":"4942:5:17","nodeType":"VariableDeclaration","scope":3722,"src":"4934:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3710,"name":"uint256","nodeType":"ElementaryTypeName","src":"4934:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4916:32:17"},"returnParameters":{"id":3715,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3714,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3722,"src":"4971:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3713,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4971:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4970:9:17"},"scope":4148,"src":"4904:118:17","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":3735,"nodeType":"Block","src":"5636:35:17","statements":[{"expression":{"expression":{"id":3732,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3726,"src":"5653:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set storage pointer"}},"id":3733,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_values","nodeType":"MemberAccess","referencedDeclaration":3541,"src":"5653:11:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage","typeString":"bytes32[] storage ref"}},"functionReturnParameters":3731,"id":3734,"nodeType":"Return","src":"5646:18:17"}]},"documentation":{"id":3723,"nodeType":"StructuredDocumentation","src":"5028:529:17","text":" @dev Return the entire set in an array\n WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n this function has an unbounded cost, and using it as part of a state-changing function may render the function\n uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block."},"id":3736,"implemented":true,"kind":"function","modifiers":[],"name":"_values","nameLocation":"5571:7:17","nodeType":"FunctionDefinition","parameters":{"id":3727,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3726,"mutability":"mutable","name":"set","nameLocation":"5591:3:17","nodeType":"VariableDeclaration","scope":3736,"src":"5579:15:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"},"typeName":{"id":3725,"nodeType":"UserDefinedTypeName","pathNode":{"id":3724,"name":"Set","nodeType":"IdentifierPath","referencedDeclaration":3546,"src":"5579:3:17"},"referencedDeclaration":3546,"src":"5579:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"}},"visibility":"internal"}],"src":"5578:17:17"},"returnParameters":{"id":3731,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3730,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3736,"src":"5618:16:17","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":3728,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5618:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3729,"nodeType":"ArrayTypeName","src":"5618:9:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"5617:18:17"},"scope":4148,"src":"5562:109:17","stateMutability":"view","virtual":false,"visibility":"private"},{"canonicalName":"EnumerableSet.Bytes32Set","id":3740,"members":[{"constant":false,"id":3739,"mutability":"mutable","name":"_inner","nameLocation":"5728:6:17","nodeType":"VariableDeclaration","scope":3740,"src":"5724:10:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"},"typeName":{"id":3738,"nodeType":"UserDefinedTypeName","pathNode":{"id":3737,"name":"Set","nodeType":"IdentifierPath","referencedDeclaration":3546,"src":"5724:3:17"},"referencedDeclaration":3546,"src":"5724:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"}},"visibility":"internal"}],"name":"Bytes32Set","nameLocation":"5703:10:17","nodeType":"StructDefinition","scope":4148,"src":"5696:45:17","visibility":"public"},{"body":{"id":3757,"nodeType":"Block","src":"5987:47:17","statements":[{"expression":{"arguments":[{"expression":{"id":3752,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3744,"src":"6009:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set storage pointer"}},"id":3753,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3739,"src":"6009:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"id":3754,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3746,"src":"6021:5:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":3751,"name":"_add","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3588,"src":"6004:4:17","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_Set_$3546_storage_ptr_$_t_bytes32_$returns$_t_bool_$","typeString":"function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)"}},"id":3755,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6004:23:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":3750,"id":3756,"nodeType":"Return","src":"5997:30:17"}]},"documentation":{"id":3741,"nodeType":"StructuredDocumentation","src":"5747:159:17","text":" @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present."},"id":3758,"implemented":true,"kind":"function","modifiers":[],"name":"add","nameLocation":"5920:3:17","nodeType":"FunctionDefinition","parameters":{"id":3747,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3744,"mutability":"mutable","name":"set","nameLocation":"5943:3:17","nodeType":"VariableDeclaration","scope":3758,"src":"5924:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"},"typeName":{"id":3743,"nodeType":"UserDefinedTypeName","pathNode":{"id":3742,"name":"Bytes32Set","nodeType":"IdentifierPath","referencedDeclaration":3740,"src":"5924:10:17"},"referencedDeclaration":3740,"src":"5924:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"}},"visibility":"internal"},{"constant":false,"id":3746,"mutability":"mutable","name":"value","nameLocation":"5956:5:17","nodeType":"VariableDeclaration","scope":3758,"src":"5948:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3745,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5948:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5923:39:17"},"returnParameters":{"id":3750,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3749,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3758,"src":"5981:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3748,"name":"bool","nodeType":"ElementaryTypeName","src":"5981:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"5980:6:17"},"scope":4148,"src":"5911:123:17","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":3775,"nodeType":"Block","src":"6281:50:17","statements":[{"expression":{"arguments":[{"expression":{"id":3770,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3762,"src":"6306:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set storage pointer"}},"id":3771,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3739,"src":"6306:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"id":3772,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3764,"src":"6318:5:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":3769,"name":"_remove","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3672,"src":"6298:7:17","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_Set_$3546_storage_ptr_$_t_bytes32_$returns$_t_bool_$","typeString":"function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)"}},"id":3773,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6298:26:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":3768,"id":3774,"nodeType":"Return","src":"6291:33:17"}]},"documentation":{"id":3759,"nodeType":"StructuredDocumentation","src":"6040:157:17","text":" @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present."},"id":3776,"implemented":true,"kind":"function","modifiers":[],"name":"remove","nameLocation":"6211:6:17","nodeType":"FunctionDefinition","parameters":{"id":3765,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3762,"mutability":"mutable","name":"set","nameLocation":"6237:3:17","nodeType":"VariableDeclaration","scope":3776,"src":"6218:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"},"typeName":{"id":3761,"nodeType":"UserDefinedTypeName","pathNode":{"id":3760,"name":"Bytes32Set","nodeType":"IdentifierPath","referencedDeclaration":3740,"src":"6218:10:17"},"referencedDeclaration":3740,"src":"6218:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"}},"visibility":"internal"},{"constant":false,"id":3764,"mutability":"mutable","name":"value","nameLocation":"6250:5:17","nodeType":"VariableDeclaration","scope":3776,"src":"6242:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3763,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6242:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"6217:39:17"},"returnParameters":{"id":3768,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3767,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3776,"src":"6275:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3766,"name":"bool","nodeType":"ElementaryTypeName","src":"6275:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6274:6:17"},"scope":4148,"src":"6202:129:17","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":3793,"nodeType":"Block","src":"6498:52:17","statements":[{"expression":{"arguments":[{"expression":{"id":3788,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3780,"src":"6525:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set storage pointer"}},"id":3789,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3739,"src":"6525:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"id":3790,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3782,"src":"6537:5:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":3787,"name":"_contains","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3691,"src":"6515:9:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$_t_bytes32_$returns$_t_bool_$","typeString":"function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)"}},"id":3791,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6515:28:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":3786,"id":3792,"nodeType":"Return","src":"6508:35:17"}]},"documentation":{"id":3777,"nodeType":"StructuredDocumentation","src":"6337:70:17","text":" @dev Returns true if the value is in the set. O(1)."},"id":3794,"implemented":true,"kind":"function","modifiers":[],"name":"contains","nameLocation":"6421:8:17","nodeType":"FunctionDefinition","parameters":{"id":3783,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3780,"mutability":"mutable","name":"set","nameLocation":"6449:3:17","nodeType":"VariableDeclaration","scope":3794,"src":"6430:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"},"typeName":{"id":3779,"nodeType":"UserDefinedTypeName","pathNode":{"id":3778,"name":"Bytes32Set","nodeType":"IdentifierPath","referencedDeclaration":3740,"src":"6430:10:17"},"referencedDeclaration":3740,"src":"6430:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"}},"visibility":"internal"},{"constant":false,"id":3782,"mutability":"mutable","name":"value","nameLocation":"6462:5:17","nodeType":"VariableDeclaration","scope":3794,"src":"6454:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3781,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6454:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"6429:39:17"},"returnParameters":{"id":3786,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3785,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3794,"src":"6492:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3784,"name":"bool","nodeType":"ElementaryTypeName","src":"6492:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6491:6:17"},"scope":4148,"src":"6412:138:17","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":3808,"nodeType":"Block","src":"6703:43:17","statements":[{"expression":{"arguments":[{"expression":{"id":3804,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3798,"src":"6728:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set storage pointer"}},"id":3805,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3739,"src":"6728:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}],"id":3803,"name":"_length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3705,"src":"6720:7:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$returns$_t_uint256_$","typeString":"function (struct EnumerableSet.Set storage pointer) view returns (uint256)"}},"id":3806,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6720:19:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3802,"id":3807,"nodeType":"Return","src":"6713:26:17"}]},"documentation":{"id":3795,"nodeType":"StructuredDocumentation","src":"6556:70:17","text":" @dev Returns the number of values in the set. O(1)."},"id":3809,"implemented":true,"kind":"function","modifiers":[],"name":"length","nameLocation":"6640:6:17","nodeType":"FunctionDefinition","parameters":{"id":3799,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3798,"mutability":"mutable","name":"set","nameLocation":"6666:3:17","nodeType":"VariableDeclaration","scope":3809,"src":"6647:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"},"typeName":{"id":3797,"nodeType":"UserDefinedTypeName","pathNode":{"id":3796,"name":"Bytes32Set","nodeType":"IdentifierPath","referencedDeclaration":3740,"src":"6647:10:17"},"referencedDeclaration":3740,"src":"6647:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"}},"visibility":"internal"}],"src":"6646:24:17"},"returnParameters":{"id":3802,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3801,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3809,"src":"6694:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3800,"name":"uint256","nodeType":"ElementaryTypeName","src":"6694:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6693:9:17"},"scope":4148,"src":"6631:115:17","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":3826,"nodeType":"Block","src":"7171:46:17","statements":[{"expression":{"arguments":[{"expression":{"id":3821,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3813,"src":"7192:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set storage pointer"}},"id":3822,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3739,"src":"7192:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"id":3823,"name":"index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3815,"src":"7204:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3820,"name":"_at","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3722,"src":"7188:3:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)"}},"id":3824,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7188:22:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":3819,"id":3825,"nodeType":"Return","src":"7181:29:17"}]},"documentation":{"id":3810,"nodeType":"StructuredDocumentation","src":"6752:331:17","text":" @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}."},"id":3827,"implemented":true,"kind":"function","modifiers":[],"name":"at","nameLocation":"7097:2:17","nodeType":"FunctionDefinition","parameters":{"id":3816,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3813,"mutability":"mutable","name":"set","nameLocation":"7119:3:17","nodeType":"VariableDeclaration","scope":3827,"src":"7100:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"},"typeName":{"id":3812,"nodeType":"UserDefinedTypeName","pathNode":{"id":3811,"name":"Bytes32Set","nodeType":"IdentifierPath","referencedDeclaration":3740,"src":"7100:10:17"},"referencedDeclaration":3740,"src":"7100:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"}},"visibility":"internal"},{"constant":false,"id":3815,"mutability":"mutable","name":"index","nameLocation":"7132:5:17","nodeType":"VariableDeclaration","scope":3827,"src":"7124:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3814,"name":"uint256","nodeType":"ElementaryTypeName","src":"7124:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7099:39:17"},"returnParameters":{"id":3819,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3818,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3827,"src":"7162:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3817,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7162:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"7161:9:17"},"scope":4148,"src":"7088:129:17","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":3856,"nodeType":"Block","src":"7838:219:17","statements":[{"assignments":[3841],"declarations":[{"constant":false,"id":3841,"mutability":"mutable","name":"store","nameLocation":"7865:5:17","nodeType":"VariableDeclaration","scope":3856,"src":"7848:22:17","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":3839,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7848:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3840,"nodeType":"ArrayTypeName","src":"7848:9:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":3846,"initialValue":{"arguments":[{"expression":{"id":3843,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3831,"src":"7881:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set storage pointer"}},"id":3844,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3739,"src":"7881:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}],"id":3842,"name":"_values","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3736,"src":"7873:7:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$","typeString":"function (struct EnumerableSet.Set storage pointer) view returns (bytes32[] memory)"}},"id":3845,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7873:19:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"7848:44:17"},{"assignments":[3851],"declarations":[{"constant":false,"id":3851,"mutability":"mutable","name":"result","nameLocation":"7919:6:17","nodeType":"VariableDeclaration","scope":3856,"src":"7902:23:17","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":3849,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7902:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3850,"nodeType":"ArrayTypeName","src":"7902:9:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":3852,"nodeType":"VariableDeclarationStatement","src":"7902:23:17"},{"AST":{"nodeType":"YulBlock","src":"7988:39:17","statements":[{"nodeType":"YulAssignment","src":"8002:15:17","value":{"name":"store","nodeType":"YulIdentifier","src":"8012:5:17"},"variableNames":[{"name":"result","nodeType":"YulIdentifier","src":"8002:6:17"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"london","externalReferences":[{"declaration":3851,"isOffset":false,"isSlot":false,"src":"8002:6:17","valueSize":1},{"declaration":3841,"isOffset":false,"isSlot":false,"src":"8012:5:17","valueSize":1}],"id":3853,"nodeType":"InlineAssembly","src":"7979:48:17"},{"expression":{"id":3854,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3851,"src":"8044:6:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"functionReturnParameters":3836,"id":3855,"nodeType":"Return","src":"8037:13:17"}]},"documentation":{"id":3828,"nodeType":"StructuredDocumentation","src":"7223:529:17","text":" @dev Return the entire set in an array\n WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n this function has an unbounded cost, and using it as part of a state-changing function may render the function\n uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block."},"id":3857,"implemented":true,"kind":"function","modifiers":[],"name":"values","nameLocation":"7766:6:17","nodeType":"FunctionDefinition","parameters":{"id":3832,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3831,"mutability":"mutable","name":"set","nameLocation":"7792:3:17","nodeType":"VariableDeclaration","scope":3857,"src":"7773:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"},"typeName":{"id":3830,"nodeType":"UserDefinedTypeName","pathNode":{"id":3829,"name":"Bytes32Set","nodeType":"IdentifierPath","referencedDeclaration":3740,"src":"7773:10:17"},"referencedDeclaration":3740,"src":"7773:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Set_$3740_storage_ptr","typeString":"struct EnumerableSet.Bytes32Set"}},"visibility":"internal"}],"src":"7772:24:17"},"returnParameters":{"id":3836,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3835,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3857,"src":"7820:16:17","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":3833,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7820:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3834,"nodeType":"ArrayTypeName","src":"7820:9:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"7819:18:17"},"scope":4148,"src":"7757:300:17","stateMutability":"view","virtual":false,"visibility":"internal"},{"canonicalName":"EnumerableSet.AddressSet","id":3861,"members":[{"constant":false,"id":3860,"mutability":"mutable","name":"_inner","nameLocation":"8114:6:17","nodeType":"VariableDeclaration","scope":3861,"src":"8110:10:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"},"typeName":{"id":3859,"nodeType":"UserDefinedTypeName","pathNode":{"id":3858,"name":"Set","nodeType":"IdentifierPath","referencedDeclaration":3546,"src":"8110:3:17"},"referencedDeclaration":3546,"src":"8110:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"}},"visibility":"internal"}],"name":"AddressSet","nameLocation":"8089:10:17","nodeType":"StructDefinition","scope":4148,"src":"8082:45:17","visibility":"public"},{"body":{"id":3887,"nodeType":"Block","src":"8373:74:17","statements":[{"expression":{"arguments":[{"expression":{"id":3873,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3865,"src":"8395:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet storage pointer"}},"id":3874,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3860,"src":"8395:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"arguments":[{"arguments":[{"arguments":[{"id":3881,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3867,"src":"8431:5:17","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":3880,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8423:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":3879,"name":"uint160","nodeType":"ElementaryTypeName","src":"8423:7:17","typeDescriptions":{}}},"id":3882,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8423:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":3878,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8415:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":3877,"name":"uint256","nodeType":"ElementaryTypeName","src":"8415:7:17","typeDescriptions":{}}},"id":3883,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8415:23:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3876,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8407:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":3875,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8407:7:17","typeDescriptions":{}}},"id":3884,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8407:32:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":3872,"name":"_add","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3588,"src":"8390:4:17","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_Set_$3546_storage_ptr_$_t_bytes32_$returns$_t_bool_$","typeString":"function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)"}},"id":3885,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8390:50:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":3871,"id":3886,"nodeType":"Return","src":"8383:57:17"}]},"documentation":{"id":3862,"nodeType":"StructuredDocumentation","src":"8133:159:17","text":" @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present."},"id":3888,"implemented":true,"kind":"function","modifiers":[],"name":"add","nameLocation":"8306:3:17","nodeType":"FunctionDefinition","parameters":{"id":3868,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3865,"mutability":"mutable","name":"set","nameLocation":"8329:3:17","nodeType":"VariableDeclaration","scope":3888,"src":"8310:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"},"typeName":{"id":3864,"nodeType":"UserDefinedTypeName","pathNode":{"id":3863,"name":"AddressSet","nodeType":"IdentifierPath","referencedDeclaration":3861,"src":"8310:10:17"},"referencedDeclaration":3861,"src":"8310:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"}},"visibility":"internal"},{"constant":false,"id":3867,"mutability":"mutable","name":"value","nameLocation":"8342:5:17","nodeType":"VariableDeclaration","scope":3888,"src":"8334:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3866,"name":"address","nodeType":"ElementaryTypeName","src":"8334:7:17","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"8309:39:17"},"returnParameters":{"id":3871,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3870,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3888,"src":"8367:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3869,"name":"bool","nodeType":"ElementaryTypeName","src":"8367:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"8366:6:17"},"scope":4148,"src":"8297:150:17","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":3914,"nodeType":"Block","src":"8694:77:17","statements":[{"expression":{"arguments":[{"expression":{"id":3900,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3892,"src":"8719:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet storage pointer"}},"id":3901,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3860,"src":"8719:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"arguments":[{"arguments":[{"arguments":[{"id":3908,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3894,"src":"8755:5:17","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":3907,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8747:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":3906,"name":"uint160","nodeType":"ElementaryTypeName","src":"8747:7:17","typeDescriptions":{}}},"id":3909,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8747:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":3905,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8739:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":3904,"name":"uint256","nodeType":"ElementaryTypeName","src":"8739:7:17","typeDescriptions":{}}},"id":3910,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8739:23:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3903,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8731:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":3902,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8731:7:17","typeDescriptions":{}}},"id":3911,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8731:32:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":3899,"name":"_remove","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3672,"src":"8711:7:17","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_Set_$3546_storage_ptr_$_t_bytes32_$returns$_t_bool_$","typeString":"function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)"}},"id":3912,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8711:53:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":3898,"id":3913,"nodeType":"Return","src":"8704:60:17"}]},"documentation":{"id":3889,"nodeType":"StructuredDocumentation","src":"8453:157:17","text":" @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present."},"id":3915,"implemented":true,"kind":"function","modifiers":[],"name":"remove","nameLocation":"8624:6:17","nodeType":"FunctionDefinition","parameters":{"id":3895,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3892,"mutability":"mutable","name":"set","nameLocation":"8650:3:17","nodeType":"VariableDeclaration","scope":3915,"src":"8631:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"},"typeName":{"id":3891,"nodeType":"UserDefinedTypeName","pathNode":{"id":3890,"name":"AddressSet","nodeType":"IdentifierPath","referencedDeclaration":3861,"src":"8631:10:17"},"referencedDeclaration":3861,"src":"8631:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"}},"visibility":"internal"},{"constant":false,"id":3894,"mutability":"mutable","name":"value","nameLocation":"8663:5:17","nodeType":"VariableDeclaration","scope":3915,"src":"8655:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3893,"name":"address","nodeType":"ElementaryTypeName","src":"8655:7:17","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"8630:39:17"},"returnParameters":{"id":3898,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3897,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3915,"src":"8688:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3896,"name":"bool","nodeType":"ElementaryTypeName","src":"8688:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"8687:6:17"},"scope":4148,"src":"8615:156:17","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":3941,"nodeType":"Block","src":"8938:79:17","statements":[{"expression":{"arguments":[{"expression":{"id":3927,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3919,"src":"8965:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet storage pointer"}},"id":3928,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3860,"src":"8965:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"arguments":[{"arguments":[{"arguments":[{"id":3935,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3921,"src":"9001:5:17","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":3934,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8993:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":3933,"name":"uint160","nodeType":"ElementaryTypeName","src":"8993:7:17","typeDescriptions":{}}},"id":3936,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8993:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":3932,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8985:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":3931,"name":"uint256","nodeType":"ElementaryTypeName","src":"8985:7:17","typeDescriptions":{}}},"id":3937,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8985:23:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3930,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8977:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":3929,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8977:7:17","typeDescriptions":{}}},"id":3938,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8977:32:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":3926,"name":"_contains","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3691,"src":"8955:9:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$_t_bytes32_$returns$_t_bool_$","typeString":"function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)"}},"id":3939,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8955:55:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":3925,"id":3940,"nodeType":"Return","src":"8948:62:17"}]},"documentation":{"id":3916,"nodeType":"StructuredDocumentation","src":"8777:70:17","text":" @dev Returns true if the value is in the set. O(1)."},"id":3942,"implemented":true,"kind":"function","modifiers":[],"name":"contains","nameLocation":"8861:8:17","nodeType":"FunctionDefinition","parameters":{"id":3922,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3919,"mutability":"mutable","name":"set","nameLocation":"8889:3:17","nodeType":"VariableDeclaration","scope":3942,"src":"8870:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"},"typeName":{"id":3918,"nodeType":"UserDefinedTypeName","pathNode":{"id":3917,"name":"AddressSet","nodeType":"IdentifierPath","referencedDeclaration":3861,"src":"8870:10:17"},"referencedDeclaration":3861,"src":"8870:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"}},"visibility":"internal"},{"constant":false,"id":3921,"mutability":"mutable","name":"value","nameLocation":"8902:5:17","nodeType":"VariableDeclaration","scope":3942,"src":"8894:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3920,"name":"address","nodeType":"ElementaryTypeName","src":"8894:7:17","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"8869:39:17"},"returnParameters":{"id":3925,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3924,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3942,"src":"8932:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3923,"name":"bool","nodeType":"ElementaryTypeName","src":"8932:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"8931:6:17"},"scope":4148,"src":"8852:165:17","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":3956,"nodeType":"Block","src":"9170:43:17","statements":[{"expression":{"arguments":[{"expression":{"id":3952,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3946,"src":"9195:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet storage pointer"}},"id":3953,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3860,"src":"9195:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}],"id":3951,"name":"_length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3705,"src":"9187:7:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$returns$_t_uint256_$","typeString":"function (struct EnumerableSet.Set storage pointer) view returns (uint256)"}},"id":3954,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9187:19:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3950,"id":3955,"nodeType":"Return","src":"9180:26:17"}]},"documentation":{"id":3943,"nodeType":"StructuredDocumentation","src":"9023:70:17","text":" @dev Returns the number of values in the set. O(1)."},"id":3957,"implemented":true,"kind":"function","modifiers":[],"name":"length","nameLocation":"9107:6:17","nodeType":"FunctionDefinition","parameters":{"id":3947,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3946,"mutability":"mutable","name":"set","nameLocation":"9133:3:17","nodeType":"VariableDeclaration","scope":3957,"src":"9114:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"},"typeName":{"id":3945,"nodeType":"UserDefinedTypeName","pathNode":{"id":3944,"name":"AddressSet","nodeType":"IdentifierPath","referencedDeclaration":3861,"src":"9114:10:17"},"referencedDeclaration":3861,"src":"9114:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"}},"visibility":"internal"}],"src":"9113:24:17"},"returnParameters":{"id":3950,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3949,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3957,"src":"9161:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3948,"name":"uint256","nodeType":"ElementaryTypeName","src":"9161:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9160:9:17"},"scope":4148,"src":"9098:115:17","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":3983,"nodeType":"Block","src":"9638:73:17","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"expression":{"id":3975,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3961,"src":"9683:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet storage pointer"}},"id":3976,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3860,"src":"9683:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"id":3977,"name":"index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3963,"src":"9695:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3974,"name":"_at","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3722,"src":"9679:3:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)"}},"id":3978,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9679:22:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":3973,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9671:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":3972,"name":"uint256","nodeType":"ElementaryTypeName","src":"9671:7:17","typeDescriptions":{}}},"id":3979,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9671:31:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3971,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9663:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":3970,"name":"uint160","nodeType":"ElementaryTypeName","src":"9663:7:17","typeDescriptions":{}}},"id":3980,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9663:40:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":3969,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9655:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":3968,"name":"address","nodeType":"ElementaryTypeName","src":"9655:7:17","typeDescriptions":{}}},"id":3981,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9655:49:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":3967,"id":3982,"nodeType":"Return","src":"9648:56:17"}]},"documentation":{"id":3958,"nodeType":"StructuredDocumentation","src":"9219:331:17","text":" @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}."},"id":3984,"implemented":true,"kind":"function","modifiers":[],"name":"at","nameLocation":"9564:2:17","nodeType":"FunctionDefinition","parameters":{"id":3964,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3961,"mutability":"mutable","name":"set","nameLocation":"9586:3:17","nodeType":"VariableDeclaration","scope":3984,"src":"9567:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"},"typeName":{"id":3960,"nodeType":"UserDefinedTypeName","pathNode":{"id":3959,"name":"AddressSet","nodeType":"IdentifierPath","referencedDeclaration":3861,"src":"9567:10:17"},"referencedDeclaration":3861,"src":"9567:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"}},"visibility":"internal"},{"constant":false,"id":3963,"mutability":"mutable","name":"index","nameLocation":"9599:5:17","nodeType":"VariableDeclaration","scope":3984,"src":"9591:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3962,"name":"uint256","nodeType":"ElementaryTypeName","src":"9591:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9566:39:17"},"returnParameters":{"id":3967,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3966,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3984,"src":"9629:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3965,"name":"address","nodeType":"ElementaryTypeName","src":"9629:7:17","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"9628:9:17"},"scope":4148,"src":"9555:156:17","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4013,"nodeType":"Block","src":"10332:219:17","statements":[{"assignments":[3998],"declarations":[{"constant":false,"id":3998,"mutability":"mutable","name":"store","nameLocation":"10359:5:17","nodeType":"VariableDeclaration","scope":4013,"src":"10342:22:17","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":3996,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10342:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3997,"nodeType":"ArrayTypeName","src":"10342:9:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":4003,"initialValue":{"arguments":[{"expression":{"id":4000,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3988,"src":"10375:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet storage pointer"}},"id":4001,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":3860,"src":"10375:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}],"id":3999,"name":"_values","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3736,"src":"10367:7:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$","typeString":"function (struct EnumerableSet.Set storage pointer) view returns (bytes32[] memory)"}},"id":4002,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10367:19:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"10342:44:17"},{"assignments":[4008],"declarations":[{"constant":false,"id":4008,"mutability":"mutable","name":"result","nameLocation":"10413:6:17","nodeType":"VariableDeclaration","scope":4013,"src":"10396:23:17","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":4006,"name":"address","nodeType":"ElementaryTypeName","src":"10396:7:17","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":4007,"nodeType":"ArrayTypeName","src":"10396:9:17","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"}],"id":4009,"nodeType":"VariableDeclarationStatement","src":"10396:23:17"},{"AST":{"nodeType":"YulBlock","src":"10482:39:17","statements":[{"nodeType":"YulAssignment","src":"10496:15:17","value":{"name":"store","nodeType":"YulIdentifier","src":"10506:5:17"},"variableNames":[{"name":"result","nodeType":"YulIdentifier","src":"10496:6:17"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"london","externalReferences":[{"declaration":4008,"isOffset":false,"isSlot":false,"src":"10496:6:17","valueSize":1},{"declaration":3998,"isOffset":false,"isSlot":false,"src":"10506:5:17","valueSize":1}],"id":4010,"nodeType":"InlineAssembly","src":"10473:48:17"},{"expression":{"id":4011,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4008,"src":"10538:6:17","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"functionReturnParameters":3993,"id":4012,"nodeType":"Return","src":"10531:13:17"}]},"documentation":{"id":3985,"nodeType":"StructuredDocumentation","src":"9717:529:17","text":" @dev Return the entire set in an array\n WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n this function has an unbounded cost, and using it as part of a state-changing function may render the function\n uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block."},"id":4014,"implemented":true,"kind":"function","modifiers":[],"name":"values","nameLocation":"10260:6:17","nodeType":"FunctionDefinition","parameters":{"id":3989,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3988,"mutability":"mutable","name":"set","nameLocation":"10286:3:17","nodeType":"VariableDeclaration","scope":4014,"src":"10267:22:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"},"typeName":{"id":3987,"nodeType":"UserDefinedTypeName","pathNode":{"id":3986,"name":"AddressSet","nodeType":"IdentifierPath","referencedDeclaration":3861,"src":"10267:10:17"},"referencedDeclaration":3861,"src":"10267:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSet_$3861_storage_ptr","typeString":"struct EnumerableSet.AddressSet"}},"visibility":"internal"}],"src":"10266:24:17"},"returnParameters":{"id":3993,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3992,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4014,"src":"10314:16:17","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":3990,"name":"address","nodeType":"ElementaryTypeName","src":"10314:7:17","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":3991,"nodeType":"ArrayTypeName","src":"10314:9:17","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"}],"src":"10313:18:17"},"scope":4148,"src":"10251:300:17","stateMutability":"view","virtual":false,"visibility":"internal"},{"canonicalName":"EnumerableSet.UintSet","id":4018,"members":[{"constant":false,"id":4017,"mutability":"mutable","name":"_inner","nameLocation":"10602:6:17","nodeType":"VariableDeclaration","scope":4018,"src":"10598:10:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"},"typeName":{"id":4016,"nodeType":"UserDefinedTypeName","pathNode":{"id":4015,"name":"Set","nodeType":"IdentifierPath","referencedDeclaration":3546,"src":"10598:3:17"},"referencedDeclaration":3546,"src":"10598:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage_ptr","typeString":"struct EnumerableSet.Set"}},"visibility":"internal"}],"name":"UintSet","nameLocation":"10580:7:17","nodeType":"StructDefinition","scope":4148,"src":"10573:42:17","visibility":"public"},{"body":{"id":4038,"nodeType":"Block","src":"10858:56:17","statements":[{"expression":{"arguments":[{"expression":{"id":4030,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4022,"src":"10880:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet storage pointer"}},"id":4031,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":4017,"src":"10880:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"arguments":[{"id":4034,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4024,"src":"10900:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4033,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10892:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":4032,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10892:7:17","typeDescriptions":{}}},"id":4035,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10892:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4029,"name":"_add","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3588,"src":"10875:4:17","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_Set_$3546_storage_ptr_$_t_bytes32_$returns$_t_bool_$","typeString":"function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)"}},"id":4036,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10875:32:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":4028,"id":4037,"nodeType":"Return","src":"10868:39:17"}]},"documentation":{"id":4019,"nodeType":"StructuredDocumentation","src":"10621:159:17","text":" @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present."},"id":4039,"implemented":true,"kind":"function","modifiers":[],"name":"add","nameLocation":"10794:3:17","nodeType":"FunctionDefinition","parameters":{"id":4025,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4022,"mutability":"mutable","name":"set","nameLocation":"10814:3:17","nodeType":"VariableDeclaration","scope":4039,"src":"10798:19:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"},"typeName":{"id":4021,"nodeType":"UserDefinedTypeName","pathNode":{"id":4020,"name":"UintSet","nodeType":"IdentifierPath","referencedDeclaration":4018,"src":"10798:7:17"},"referencedDeclaration":4018,"src":"10798:7:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"}},"visibility":"internal"},{"constant":false,"id":4024,"mutability":"mutable","name":"value","nameLocation":"10827:5:17","nodeType":"VariableDeclaration","scope":4039,"src":"10819:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4023,"name":"uint256","nodeType":"ElementaryTypeName","src":"10819:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10797:36:17"},"returnParameters":{"id":4028,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4027,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4039,"src":"10852:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4026,"name":"bool","nodeType":"ElementaryTypeName","src":"10852:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"10851:6:17"},"scope":4148,"src":"10785:129:17","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4059,"nodeType":"Block","src":"11158:59:17","statements":[{"expression":{"arguments":[{"expression":{"id":4051,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4043,"src":"11183:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet storage pointer"}},"id":4052,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":4017,"src":"11183:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"arguments":[{"id":4055,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4045,"src":"11203: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":"11195:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":4053,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11195:7:17","typeDescriptions":{}}},"id":4056,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11195:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4050,"name":"_remove","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3672,"src":"11175:7:17","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_Set_$3546_storage_ptr_$_t_bytes32_$returns$_t_bool_$","typeString":"function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)"}},"id":4057,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11175:35:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":4049,"id":4058,"nodeType":"Return","src":"11168:42:17"}]},"documentation":{"id":4040,"nodeType":"StructuredDocumentation","src":"10920:157:17","text":" @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present."},"id":4060,"implemented":true,"kind":"function","modifiers":[],"name":"remove","nameLocation":"11091:6:17","nodeType":"FunctionDefinition","parameters":{"id":4046,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4043,"mutability":"mutable","name":"set","nameLocation":"11114:3:17","nodeType":"VariableDeclaration","scope":4060,"src":"11098:19:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"},"typeName":{"id":4042,"nodeType":"UserDefinedTypeName","pathNode":{"id":4041,"name":"UintSet","nodeType":"IdentifierPath","referencedDeclaration":4018,"src":"11098:7:17"},"referencedDeclaration":4018,"src":"11098:7:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"}},"visibility":"internal"},{"constant":false,"id":4045,"mutability":"mutable","name":"value","nameLocation":"11127:5:17","nodeType":"VariableDeclaration","scope":4060,"src":"11119:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4044,"name":"uint256","nodeType":"ElementaryTypeName","src":"11119:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11097:36:17"},"returnParameters":{"id":4049,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4048,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4060,"src":"11152:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4047,"name":"bool","nodeType":"ElementaryTypeName","src":"11152:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"11151:6:17"},"scope":4148,"src":"11082:135:17","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4080,"nodeType":"Block","src":"11381:61:17","statements":[{"expression":{"arguments":[{"expression":{"id":4072,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4064,"src":"11408:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet storage pointer"}},"id":4073,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":4017,"src":"11408:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"arguments":[{"id":4076,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4066,"src":"11428:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4075,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11420:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":4074,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11420:7:17","typeDescriptions":{}}},"id":4077,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11420:14:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4071,"name":"_contains","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3691,"src":"11398:9:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$_t_bytes32_$returns$_t_bool_$","typeString":"function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)"}},"id":4078,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11398:37:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":4070,"id":4079,"nodeType":"Return","src":"11391:44:17"}]},"documentation":{"id":4061,"nodeType":"StructuredDocumentation","src":"11223:70:17","text":" @dev Returns true if the value is in the set. O(1)."},"id":4081,"implemented":true,"kind":"function","modifiers":[],"name":"contains","nameLocation":"11307:8:17","nodeType":"FunctionDefinition","parameters":{"id":4067,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4064,"mutability":"mutable","name":"set","nameLocation":"11332:3:17","nodeType":"VariableDeclaration","scope":4081,"src":"11316:19:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"},"typeName":{"id":4063,"nodeType":"UserDefinedTypeName","pathNode":{"id":4062,"name":"UintSet","nodeType":"IdentifierPath","referencedDeclaration":4018,"src":"11316:7:17"},"referencedDeclaration":4018,"src":"11316:7:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"}},"visibility":"internal"},{"constant":false,"id":4066,"mutability":"mutable","name":"value","nameLocation":"11345:5:17","nodeType":"VariableDeclaration","scope":4081,"src":"11337:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4065,"name":"uint256","nodeType":"ElementaryTypeName","src":"11337:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11315:36:17"},"returnParameters":{"id":4070,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4069,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4081,"src":"11375:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4068,"name":"bool","nodeType":"ElementaryTypeName","src":"11375:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"11374:6:17"},"scope":4148,"src":"11298:144:17","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4095,"nodeType":"Block","src":"11592:43:17","statements":[{"expression":{"arguments":[{"expression":{"id":4091,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4085,"src":"11617:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet storage pointer"}},"id":4092,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":4017,"src":"11617:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}],"id":4090,"name":"_length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3705,"src":"11609:7:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$returns$_t_uint256_$","typeString":"function (struct EnumerableSet.Set storage pointer) view returns (uint256)"}},"id":4093,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11609:19:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":4089,"id":4094,"nodeType":"Return","src":"11602:26:17"}]},"documentation":{"id":4082,"nodeType":"StructuredDocumentation","src":"11448:70:17","text":" @dev Returns the number of values in the set. O(1)."},"id":4096,"implemented":true,"kind":"function","modifiers":[],"name":"length","nameLocation":"11532:6:17","nodeType":"FunctionDefinition","parameters":{"id":4086,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4085,"mutability":"mutable","name":"set","nameLocation":"11555:3:17","nodeType":"VariableDeclaration","scope":4096,"src":"11539:19:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"},"typeName":{"id":4084,"nodeType":"UserDefinedTypeName","pathNode":{"id":4083,"name":"UintSet","nodeType":"IdentifierPath","referencedDeclaration":4018,"src":"11539:7:17"},"referencedDeclaration":4018,"src":"11539:7:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"}},"visibility":"internal"}],"src":"11538:21:17"},"returnParameters":{"id":4089,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4088,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4096,"src":"11583:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4087,"name":"uint256","nodeType":"ElementaryTypeName","src":"11583:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11582:9:17"},"scope":4148,"src":"11523:112:17","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4116,"nodeType":"Block","src":"12057:55:17","statements":[{"expression":{"arguments":[{"arguments":[{"expression":{"id":4110,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4100,"src":"12086:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet storage pointer"}},"id":4111,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":4017,"src":"12086:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}},{"id":4112,"name":"index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4102,"src":"12098:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4109,"name":"_at","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3722,"src":"12082:3:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)"}},"id":4113,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"12082:22:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4108,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12074:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":4107,"name":"uint256","nodeType":"ElementaryTypeName","src":"12074:7:17","typeDescriptions":{}}},"id":4114,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"12074:31:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":4106,"id":4115,"nodeType":"Return","src":"12067:38:17"}]},"documentation":{"id":4097,"nodeType":"StructuredDocumentation","src":"11641:331:17","text":" @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}."},"id":4117,"implemented":true,"kind":"function","modifiers":[],"name":"at","nameLocation":"11986:2:17","nodeType":"FunctionDefinition","parameters":{"id":4103,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4100,"mutability":"mutable","name":"set","nameLocation":"12005:3:17","nodeType":"VariableDeclaration","scope":4117,"src":"11989:19:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"},"typeName":{"id":4099,"nodeType":"UserDefinedTypeName","pathNode":{"id":4098,"name":"UintSet","nodeType":"IdentifierPath","referencedDeclaration":4018,"src":"11989:7:17"},"referencedDeclaration":4018,"src":"11989:7:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"}},"visibility":"internal"},{"constant":false,"id":4102,"mutability":"mutable","name":"index","nameLocation":"12018:5:17","nodeType":"VariableDeclaration","scope":4117,"src":"12010:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4101,"name":"uint256","nodeType":"ElementaryTypeName","src":"12010:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11988:36:17"},"returnParameters":{"id":4106,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4105,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4117,"src":"12048:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4104,"name":"uint256","nodeType":"ElementaryTypeName","src":"12048:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12047:9:17"},"scope":4148,"src":"11977:135:17","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4146,"nodeType":"Block","src":"12730:219:17","statements":[{"assignments":[4131],"declarations":[{"constant":false,"id":4131,"mutability":"mutable","name":"store","nameLocation":"12757:5:17","nodeType":"VariableDeclaration","scope":4146,"src":"12740:22:17","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":4129,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12740:7:17","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":4130,"nodeType":"ArrayTypeName","src":"12740:9:17","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":4136,"initialValue":{"arguments":[{"expression":{"id":4133,"name":"set","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4121,"src":"12773:3:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet storage pointer"}},"id":4134,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"_inner","nodeType":"MemberAccess","referencedDeclaration":4017,"src":"12773:10:17","typeDescriptions":{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Set_$3546_storage","typeString":"struct EnumerableSet.Set storage ref"}],"id":4132,"name":"_values","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3736,"src":"12765:7:17","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Set_$3546_storage_ptr_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$","typeString":"function (struct EnumerableSet.Set storage pointer) view returns (bytes32[] memory)"}},"id":4135,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"12765:19:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"12740:44:17"},{"assignments":[4141],"declarations":[{"constant":false,"id":4141,"mutability":"mutable","name":"result","nameLocation":"12811:6:17","nodeType":"VariableDeclaration","scope":4146,"src":"12794:23:17","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":4139,"name":"uint256","nodeType":"ElementaryTypeName","src":"12794:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4140,"nodeType":"ArrayTypeName","src":"12794:9:17","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"id":4142,"nodeType":"VariableDeclarationStatement","src":"12794:23:17"},{"AST":{"nodeType":"YulBlock","src":"12880:39:17","statements":[{"nodeType":"YulAssignment","src":"12894:15:17","value":{"name":"store","nodeType":"YulIdentifier","src":"12904:5:17"},"variableNames":[{"name":"result","nodeType":"YulIdentifier","src":"12894:6:17"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"london","externalReferences":[{"declaration":4141,"isOffset":false,"isSlot":false,"src":"12894:6:17","valueSize":1},{"declaration":4131,"isOffset":false,"isSlot":false,"src":"12904:5:17","valueSize":1}],"id":4143,"nodeType":"InlineAssembly","src":"12871:48:17"},{"expression":{"id":4144,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4141,"src":"12936:6:17","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"functionReturnParameters":4126,"id":4145,"nodeType":"Return","src":"12929:13:17"}]},"documentation":{"id":4118,"nodeType":"StructuredDocumentation","src":"12118:529:17","text":" @dev Return the entire set in an array\n WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n this function has an unbounded cost, and using it as part of a state-changing function may render the function\n uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block."},"id":4147,"implemented":true,"kind":"function","modifiers":[],"name":"values","nameLocation":"12661:6:17","nodeType":"FunctionDefinition","parameters":{"id":4122,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4121,"mutability":"mutable","name":"set","nameLocation":"12684:3:17","nodeType":"VariableDeclaration","scope":4147,"src":"12668:19:17","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"},"typeName":{"id":4120,"nodeType":"UserDefinedTypeName","pathNode":{"id":4119,"name":"UintSet","nodeType":"IdentifierPath","referencedDeclaration":4018,"src":"12668:7:17"},"referencedDeclaration":4018,"src":"12668:7:17","typeDescriptions":{"typeIdentifier":"t_struct$_UintSet_$4018_storage_ptr","typeString":"struct EnumerableSet.UintSet"}},"visibility":"internal"}],"src":"12667:21:17"},"returnParameters":{"id":4126,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4125,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4147,"src":"12712:16:17","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":4123,"name":"uint256","nodeType":"ElementaryTypeName","src":"12712:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4124,"nodeType":"ArrayTypeName","src":"12712:9:17","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"12711:18:17"},"scope":4148,"src":"12652:297:17","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":4149,"src":"1321:11630:17","usedErrors":[]}],"src":"205:12747:17"},"id":17},"contracts/staking-positions/GenericErrors.sol":{"ast":{"absolutePath":"contracts/staking-positions/GenericErrors.sol","exportedSymbols":{"GenericErrors":[4185]},"id":4186,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4150,"literals":["solidity","^","0.8",".7"],"nodeType":"PragmaDirective","src":"33:23:18"},{"abstract":false,"baseContracts":[],"canonicalName":"GenericErrors","contractDependencies":[],"contractKind":"interface","fullyImplemented":true,"id":4185,"linearizedBaseContracts":[4185],"name":"GenericErrors","nameLocation":"70:13:18","nodeType":"ContractDefinition","nodes":[{"errorSelector":"0f2e5b6c","id":4152,"name":"Locked","nameLocation":"97:6:18","nodeType":"ErrorDefinition","parameters":{"id":4151,"nodeType":"ParameterList","parameters":[],"src":"103:2:18"},"src":"91:15:18"},{"errorSelector":"ecdd1c29","id":4154,"name":"TooLate","nameLocation":"118:7:18","nodeType":"ErrorDefinition","parameters":{"id":4153,"nodeType":"ParameterList","parameters":[],"src":"125:2:18"},"src":"112:16:18"},{"errorSelector":"085de625","id":4156,"name":"TooEarly","nameLocation":"140:8:18","nodeType":"ErrorDefinition","parameters":{"id":4155,"nodeType":"ParameterList","parameters":[],"src":"148:2:18"},"src":"134:17:18"},{"errorSelector":"35278d12","id":4158,"name":"Overflow","nameLocation":"163:8:18","nodeType":"ErrorDefinition","parameters":{"id":4157,"nodeType":"ParameterList","parameters":[],"src":"171:2:18"},"src":"157:17:18"},{"errorSelector":"49a0cb3a","id":4160,"name":"NoEffect","nameLocation":"186:8:18","nodeType":"ErrorDefinition","parameters":{"id":4159,"nodeType":"ParameterList","parameters":[],"src":"194:2:18"},"src":"180:17:18"},{"errorSelector":"4a0bd986","id":4162,"name":"NullInput","nameLocation":"209:9:18","nodeType":"ErrorDefinition","parameters":{"id":4161,"nodeType":"ParameterList","parameters":[],"src":"218:2:18"},"src":"203:18:18"},{"errorSelector":"caccb6d9","id":4164,"name":"Underflow","nameLocation":"233:9:18","nodeType":"ErrorDefinition","parameters":{"id":4163,"nodeType":"ParameterList","parameters":[],"src":"242:2:18"},"src":"227:18:18"},{"errorSelector":"b9688461","id":4166,"name":"InvalidType","nameLocation":"257:11:18","nodeType":"ErrorDefinition","parameters":{"id":4165,"nodeType":"ParameterList","parameters":[],"src":"268:2:18"},"src":"251:20:18"},{"errorSelector":"b4120f14","id":4168,"name":"OutOfBounds","nameLocation":"283:11:18","nodeType":"ErrorDefinition","parameters":{"id":4167,"nodeType":"ParameterList","parameters":[],"src":"294:2:18"},"src":"277:20:18"},{"errorSelector":"c1ab6dc1","id":4170,"name":"InvalidToken","nameLocation":"309:12:18","nodeType":"ErrorDefinition","parameters":{"id":4169,"nodeType":"ParameterList","parameters":[],"src":"321:2:18"},"src":"303:21:18"},{"errorSelector":"4c9b2c59","id":4172,"name":"HighSlippage","nameLocation":"336:12:18","nodeType":"ErrorDefinition","parameters":{"id":4171,"nodeType":"ParameterList","parameters":[],"src":"348:2:18"},"src":"330:21:18"},{"errorSelector":"2c5211c6","id":4174,"name":"InvalidAmount","nameLocation":"363:13:18","nodeType":"ErrorDefinition","parameters":{"id":4173,"nodeType":"ParameterList","parameters":[],"src":"376:2:18"},"src":"357:22:18"},{"errorSelector":"bfa871c5","id":4176,"name":"FailedTransfer","nameLocation":"391:14:18","nodeType":"ErrorDefinition","parameters":{"id":4175,"nodeType":"ParameterList","parameters":[],"src":"405:2:18"},"src":"385:23:18"},{"errorSelector":"9430a17e","id":4178,"name":"NonExistentToken","nameLocation":"420:16:18","nodeType":"ErrorDefinition","parameters":{"id":4177,"nodeType":"ParameterList","parameters":[],"src":"436:2:18"},"src":"414:25:18"},{"errorSelector":"38c58562","id":4180,"name":"UnprivilegedCaller","nameLocation":"451:18:18","nodeType":"ErrorDefinition","parameters":{"id":4179,"nodeType":"ParameterList","parameters":[],"src":"469:2:18"},"src":"445:27:18"},{"errorSelector":"f4d678b8","id":4182,"name":"InsufficientBalance","nameLocation":"484:19:18","nodeType":"ErrorDefinition","parameters":{"id":4181,"nodeType":"ParameterList","parameters":[],"src":"503:2:18"},"src":"478:28:18"},{"errorSelector":"568efce2","id":4184,"name":"MismatchedArrayLengths","nameLocation":"518:22:18","nodeType":"ErrorDefinition","parameters":{"id":4183,"nodeType":"ParameterList","parameters":[],"src":"540:2:18"},"src":"512:31:18"}],"scope":4186,"src":"60:486:18","usedErrors":[4152,4154,4156,4158,4160,4162,4164,4166,4168,4170,4172,4174,4176,4178,4180,4182,4184]}],"src":"33:515:18"},"id":18},"contracts/staking-positions/PangolinStakingPositions.sol":{"ast":{"absolutePath":"contracts/staking-positions/PangolinStakingPositions.sol","exportedSymbols":{"AccessControl":[315],"AccessControlEnumerable":[440],"Address":[2437],"Context":[2459],"ERC165":[2658],"ERC721":[1561],"ERC721Enumerable":[2049],"EnumerableSet":[4148],"GenericErrors":[4185],"IAccessControl":[513],"IAccessControlEnumerable":[538],"IERC165":[2670],"IERC20":[616],"IERC721":[1677],"IERC721Enumerable":[2080],"IERC721Metadata":[2107],"IERC721Receiver":[1695],"ITokenMetadata":[4200],"Math":[3535],"PangolinStakingPositions":[5430],"PangolinStakingPositionsFunding":[5858],"Strings":[2634]},"id":5431,"license":"GPLv3","nodeType":"SourceUnit","nodes":[{"id":4187,"literals":["solidity","0.8",".15"],"nodeType":"PragmaDirective","src":"35:23:19"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol","file":"@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol","id":4188,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5431,"sourceUnit":2050,"src":"62:78:19","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/staking-positions/PangolinStakingPositionsFunding.sol","file":"./PangolinStakingPositionsFunding.sol","id":4189,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5431,"sourceUnit":5859,"src":"142:47:19","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"ITokenMetadata","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":4200,"linearizedBaseContracts":[4200],"name":"ITokenMetadata","nameLocation":"203:14:19","nodeType":"ContractDefinition","nodes":[{"functionSelector":"e9dc6375","id":4199,"implemented":false,"kind":"function","modifiers":[],"name":"tokenURI","nameLocation":"234:8:19","nodeType":"FunctionDefinition","parameters":{"id":4195,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4192,"mutability":"mutable","name":"pangolinStakingPositions","nameLocation":"268:24:19","nodeType":"VariableDeclaration","scope":4199,"src":"243:49:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_PangolinStakingPositions_$5430","typeString":"contract PangolinStakingPositions"},"typeName":{"id":4191,"nodeType":"UserDefinedTypeName","pathNode":{"id":4190,"name":"PangolinStakingPositions","nodeType":"IdentifierPath","referencedDeclaration":5430,"src":"243:24:19"},"referencedDeclaration":5430,"src":"243:24:19","typeDescriptions":{"typeIdentifier":"t_contract$_PangolinStakingPositions_$5430","typeString":"contract PangolinStakingPositions"}},"visibility":"internal"},{"constant":false,"id":4194,"mutability":"mutable","name":"tokenId","nameLocation":"302:7:19","nodeType":"VariableDeclaration","scope":4199,"src":"294:15:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4193,"name":"uint256","nodeType":"ElementaryTypeName","src":"294:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"242:68:19"},"returnParameters":{"id":4198,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4197,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4199,"src":"361:13:19","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4196,"name":"string","nodeType":"ElementaryTypeName","src":"361:6:19","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"360:15:19"},"scope":4200,"src":"225:151:19","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":5431,"src":"193:186:19","usedErrors":[]},{"abstract":false,"baseContracts":[{"baseName":{"id":4202,"name":"ERC721Enumerable","nodeType":"IdentifierPath","referencedDeclaration":2049,"src":"2538:16:19"},"id":4203,"nodeType":"InheritanceSpecifier","src":"2538:16:19"},{"baseName":{"id":4204,"name":"PangolinStakingPositionsFunding","nodeType":"IdentifierPath","referencedDeclaration":5858,"src":"2556:31:19"},"id":4205,"nodeType":"InheritanceSpecifier","src":"2556:31:19"}],"canonicalName":"PangolinStakingPositions","contractDependencies":[],"contractKind":"contract","documentation":{"id":4201,"nodeType":"StructuredDocumentation","src":"383:2116:19","text":" @title Pangolin Staking Positions\n @author shung for Pangolin\n @notice Pangolin Staking Positions is a unique staking solution. It utilizes the Sunshine and\n         Rainbows (SAR) algorithm, which distributes rewards as a function of balance and staking\n         duration. See README and the Proofs paper to see how SAR works. In this implementation,\n         the staking token is the same as the reward token, and staking information is recorded\n         as positions where each position is an NFT.\n @dev SAR Algorithm:\n      SAR allocates a user (or position) the following proportion of any given rewards:\n      `(balance_position / balance_total) * (stakingDuration_position /\n      stakingDuration_average)`.\n      Staking duration is how long a token has been staked. The staking duration of a token\n      starts when it is staked, restarts when its rewards are harvested, and ends when it is\n      withdrawn.\n      We can refer to `balance * stakingDuration` as `value`. Based on this definition, the\n      formula above can be simplified to `value_position / value_total`.\n      Although this looks similar to just `balance_position / balance_total`, unlike balance, the\n      value of every position is constantly changing as a function of time. Therefore, we cannot\n      simply use the standard staking algorithm (i.e.: Synthetix StakingRewards) for calculating\n      rewards of users in constant time. A new algorithm had to be invented for this reason.\n      To understand the algorithm, one must read the Proofs. Then\n      `_getRewardSummationsIncrementations()` and `_earned()` functions will make sense.\n @dev Assumptions (not checked to be true):\n      - `rewardsToken` reverts or returns false on invalid transfers,\n      - `block.timestamp * totalRewardAdded` fits 128 bits,\n      - `block.timestamp` is never greater than `2**40 - 1 - 2**32`.\n @dev Limitations (checked to be true):\n      - `totalStaked` fits 96 bits.\n      - `totalRewardAdded` fits 96 bits."},"fullyImplemented":true,"id":5430,"linearizedBaseContracts":[5430,5858,4185,440,315,2049,2080,1561,2107,1677,2658,2670,538,513,2459],"name":"PangolinStakingPositions","nameLocation":"2510:24:19","nodeType":"ContractDefinition","nodes":[{"canonicalName":"PangolinStakingPositions.ValueVariables","id":4210,"members":[{"constant":false,"id":4207,"mutability":"mutable","name":"balance","nameLocation":"2708:7:19","nodeType":"VariableDeclaration","scope":4210,"src":"2701:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"},"typeName":{"id":4206,"name":"uint96","nodeType":"ElementaryTypeName","src":"2701:6:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"visibility":"internal"},{"constant":false,"id":4209,"mutability":"mutable","name":"sumOfEntryTimes","nameLocation":"2834:15:19","nodeType":"VariableDeclaration","scope":4210,"src":"2826:23:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4208,"name":"uint160","nodeType":"ElementaryTypeName","src":"2826:7:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"name":"ValueVariables","nameLocation":"2602:14:19","nodeType":"StructDefinition","scope":5430,"src":"2595:262:19","visibility":"public"},{"canonicalName":"PangolinStakingPositions.RewardSummations","id":4215,"members":[{"constant":false,"id":4212,"mutability":"mutable","name":"idealPosition","nameLocation":"3451:13:19","nodeType":"VariableDeclaration","scope":4215,"src":"3443:21:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4211,"name":"uint256","nodeType":"ElementaryTypeName","src":"3443:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4214,"mutability":"mutable","name":"rewardPerValue","nameLocation":"3869:14:19","nodeType":"VariableDeclaration","scope":4215,"src":"3861:22:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4213,"name":"uint256","nodeType":"ElementaryTypeName","src":"3861:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"RewardSummations","nameLocation":"2872:16:19","nodeType":"StructDefinition","scope":5430,"src":"2865:1026:19","visibility":"public"},{"canonicalName":"PangolinStakingPositions.Position","id":4228,"members":[{"constant":false,"id":4218,"mutability":"mutable","name":"valueVariables","nameLocation":"4024:14:19","nodeType":"VariableDeclaration","scope":4228,"src":"4009:29:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables"},"typeName":{"id":4217,"nodeType":"UserDefinedTypeName","pathNode":{"id":4216,"name":"ValueVariables","nodeType":"IdentifierPath","referencedDeclaration":4210,"src":"4009:14:19"},"referencedDeclaration":4210,"src":"4009:14:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables"}},"visibility":"internal"},{"constant":false,"id":4221,"mutability":"mutable","name":"rewardSummationsPaid","nameLocation":"4137:20:19","nodeType":"VariableDeclaration","scope":4228,"src":"4120:37:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"},"typeName":{"id":4220,"nodeType":"UserDefinedTypeName","pathNode":{"id":4219,"name":"RewardSummations","nodeType":"IdentifierPath","referencedDeclaration":4215,"src":"4120:16:19"},"referencedDeclaration":4215,"src":"4120:16:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"}},"visibility":"internal"},{"constant":false,"id":4223,"mutability":"mutable","name":"previousValues","nameLocation":"4838:14:19","nodeType":"VariableDeclaration","scope":4228,"src":"4830:22:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4222,"name":"uint160","nodeType":"ElementaryTypeName","src":"4830:7:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":4225,"mutability":"mutable","name":"lastUpdate","nameLocation":"4922:10:19","nodeType":"VariableDeclaration","scope":4228,"src":"4915:17:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":4224,"name":"uint48","nodeType":"ElementaryTypeName","src":"4915:6:19","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"},{"constant":false,"id":4227,"mutability":"mutable","name":"lastDevaluation","nameLocation":"5146:15:19","nodeType":"VariableDeclaration","scope":4228,"src":"5139:22:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":4226,"name":"uint48","nodeType":"ElementaryTypeName","src":"5139:6:19","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"}],"name":"Position","nameLocation":"3906:8:19","nodeType":"StructDefinition","scope":5430,"src":"3899:1270:19","visibility":"public"},{"constant":false,"documentation":{"id":4229,"nodeType":"StructuredDocumentation","src":"5177:71:19","text":"@notice The mapping of position identifiers to their properties. "},"functionSelector":"99fbab88","id":4234,"mutability":"mutable","name":"positions","nameLocation":"5290:9:19","nodeType":"VariableDeclaration","scope":5430,"src":"5254:45:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Position_$4228_storage_$","typeString":"mapping(uint256 => struct PangolinStakingPositions.Position)"},"typeName":{"id":4233,"keyType":{"id":4230,"name":"uint256","nodeType":"ElementaryTypeName","src":"5262:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"5254:28:19","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Position_$4228_storage_$","typeString":"mapping(uint256 => struct PangolinStakingPositions.Position)"},"valueType":{"id":4232,"nodeType":"UserDefinedTypeName","pathNode":{"id":4231,"name":"Position","nodeType":"IdentifierPath","referencedDeclaration":4228,"src":"5273:8:19"},"referencedDeclaration":4228,"src":"5273:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"}}},"visibility":"public"},{"constant":false,"documentation":{"id":4235,"nodeType":"StructuredDocumentation","src":"5308:86:19","text":"@notice The contract that constructs and returns tokenURIs for position tokens. "},"functionSelector":"f5b2cad7","id":4238,"mutability":"mutable","name":"tokenMetadata","nameLocation":"5422:13:19","nodeType":"VariableDeclaration","scope":5430,"src":"5400:35:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"},"typeName":{"id":4237,"nodeType":"UserDefinedTypeName","pathNode":{"id":4236,"name":"ITokenMetadata","nodeType":"IdentifierPath","referencedDeclaration":4200,"src":"5400:14:19"},"referencedDeclaration":4200,"src":"5400:14:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}},"visibility":"public"},{"constant":false,"documentation":{"id":4239,"nodeType":"StructuredDocumentation","src":"5444:70:19","text":"@notice The struct holding the totalStaked and sumOfEntryTimes. "},"functionSelector":"df3e1aa4","id":4242,"mutability":"mutable","name":"totalValueVariables","nameLocation":"5542:19:19","nodeType":"VariableDeclaration","scope":5430,"src":"5520:41:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables"},"typeName":{"id":4241,"nodeType":"UserDefinedTypeName","pathNode":{"id":4240,"name":"ValueVariables","nodeType":"IdentifierPath","referencedDeclaration":4210,"src":"5520:14:19"},"referencedDeclaration":4210,"src":"5520:14:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables"}},"visibility":"public"},{"constant":false,"documentation":{"id":4243,"nodeType":"StructuredDocumentation","src":"5570:65:19","text":"@notice The variables that govern the reward distribution. "},"functionSelector":"f5c45500","id":4246,"mutability":"mutable","name":"rewardSummationsStored","nameLocation":"5665:22:19","nodeType":"VariableDeclaration","scope":5430,"src":"5641:46:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage","typeString":"struct PangolinStakingPositions.RewardSummations"},"typeName":{"id":4245,"nodeType":"UserDefinedTypeName","pathNode":{"id":4244,"name":"RewardSummations","nodeType":"IdentifierPath","referencedDeclaration":4215,"src":"5641:16:19"},"referencedDeclaration":4215,"src":"5641:16:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"}},"visibility":"public"},{"constant":false,"documentation":{"id":4247,"nodeType":"StructuredDocumentation","src":"5696:873:19","text":" @notice The duration during NFT approvals are ignored after an update that devalues it.\n @dev This is a hacky solution to prevent frontrunning NFT sales. This is a general issue\n      with all NFTs with mutable state, because NFT marketplaces do not have a standard\n      method for “slippage control”. This allows a malicious actor utilizing MEV to\n      devalue the NFT token in the same block as someone buying the NFT. For example, if a\n      position has 5 PNG tokens, and someone makes a transaction to buy its NFT, the owner\n      of the position can withdraw all PNG in the position, resulting in buyer to buy a\n      position with 0 balance instead of 5. By using `approvalPauseDuration` we simply\n      disable transfers made by non-owners (i.e.: marketplace contract) for a period."},"functionSelector":"340b1336","id":4250,"mutability":"mutable","name":"approvalPauseDuration","nameLocation":"6590:21:19","nodeType":"VariableDeclaration","scope":5430,"src":"6575:46:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4248,"name":"uint256","nodeType":"ElementaryTypeName","src":"6575:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"32","id":4249,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6614:7:19","subdenomination":"hours","typeDescriptions":{"typeIdentifier":"t_rational_7200_by_1","typeString":"int_const 7200"},"value":"2"},"visibility":"public"},{"constant":false,"documentation":{"id":4251,"nodeType":"StructuredDocumentation","src":"6630:155:19","text":" @notice The total number of positions ever opened.\n @dev This is simply a counter for determining the next position identifier."},"id":4253,"mutability":"mutable","name":"_positionsLength","nameLocation":"6807:16:19","nodeType":"VariableDeclaration","scope":5430,"src":"6791:32:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4252,"name":"uint256","nodeType":"ElementaryTypeName","src":"6791:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"private"},{"constant":true,"documentation":{"id":4254,"nodeType":"StructuredDocumentation","src":"6832:65:19","text":"@notice The fixed denominator used for storing summations. "},"id":4259,"mutability":"constant","name":"PRECISION","nameLocation":"6928:9:19","nodeType":"VariableDeclaration","scope":5430,"src":"6903:43:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4255,"name":"uint256","nodeType":"ElementaryTypeName","src":"6903:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"},"id":4258,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":4256,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6940:1:19","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"313238","id":4257,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6943:3:19","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"6940:6:19","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"}},"visibility":"private"},{"constant":true,"documentation":{"id":4260,"nodeType":"StructuredDocumentation","src":"6955:78:19","text":"@notice The maximum approvalPauseDuration that can be set by the admin. "},"id":4263,"mutability":"constant","name":"MAX_APPROVAL_PAUSE_DURATION","nameLocation":"7064:27:19","nodeType":"VariableDeclaration","scope":5430,"src":"7039:61:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4261,"name":"uint256","nodeType":"ElementaryTypeName","src":"7039:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"32","id":4262,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7094:6:19","subdenomination":"days","typeDescriptions":{"typeIdentifier":"t_rational_172800_by_1","typeString":"int_const 172800"},"value":"2"},"visibility":"private"},{"anonymous":false,"documentation":{"id":4264,"nodeType":"StructuredDocumentation","src":"7109:80:19","text":"@notice The event emitted when withdrawing or harvesting from a position. "},"eventSelector":"abd2ab552bc04cdbfa4a54107fa44ac8c9cb06f6d21da11933ac05a653be19e9","id":4272,"name":"Withdrawn","nameLocation":"7201:9:19","nodeType":"EventDefinition","parameters":{"id":4271,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4266,"indexed":true,"mutability":"mutable","name":"positionId","nameLocation":"7227:10:19","nodeType":"VariableDeclaration","scope":4272,"src":"7211:26:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4265,"name":"uint256","nodeType":"ElementaryTypeName","src":"7211:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4268,"indexed":true,"mutability":"mutable","name":"amount","nameLocation":"7255:6:19","nodeType":"VariableDeclaration","scope":4272,"src":"7239:22:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4267,"name":"uint256","nodeType":"ElementaryTypeName","src":"7239:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4270,"indexed":true,"mutability":"mutable","name":"reward","nameLocation":"7279:6:19","nodeType":"VariableDeclaration","scope":4272,"src":"7263:22:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4269,"name":"uint256","nodeType":"ElementaryTypeName","src":"7263:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7210:76:19"},"src":"7195:92:19"},{"anonymous":false,"documentation":{"id":4273,"nodeType":"StructuredDocumentation","src":"7295:85:19","text":"@notice The event emitted when staking to, minting, or compounding a position. "},"eventSelector":"c8acfabcfb3af3df23b7b8a1aa1371d042bee71e137eeedc881ffa8f3c446261","id":4281,"name":"Staked","nameLocation":"7392:6:19","nodeType":"EventDefinition","parameters":{"id":4280,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4275,"indexed":true,"mutability":"mutable","name":"positionId","nameLocation":"7415:10:19","nodeType":"VariableDeclaration","scope":4281,"src":"7399:26:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4274,"name":"uint256","nodeType":"ElementaryTypeName","src":"7399:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4277,"indexed":true,"mutability":"mutable","name":"amount","nameLocation":"7443:6:19","nodeType":"VariableDeclaration","scope":4281,"src":"7427:22:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4276,"name":"uint256","nodeType":"ElementaryTypeName","src":"7427:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4279,"indexed":true,"mutability":"mutable","name":"reward","nameLocation":"7467:6:19","nodeType":"VariableDeclaration","scope":4281,"src":"7451:22:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4278,"name":"uint256","nodeType":"ElementaryTypeName","src":"7451:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7398:76:19"},"src":"7386:89:19"},{"anonymous":false,"documentation":{"id":4282,"nodeType":"StructuredDocumentation","src":"7483:76:19","text":"@notice The event emitted when admin changes `approvalPauseDuration`. "},"eventSelector":"a959cb2cc91580147f93f66fb85db8f308cfdaef3989ab5265408ff80ef6fa66","id":4286,"name":"PauseDurationSet","nameLocation":"7571:16:19","nodeType":"EventDefinition","parameters":{"id":4285,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4284,"indexed":false,"mutability":"mutable","name":"newApprovalPauseDuration","nameLocation":"7596:24:19","nodeType":"VariableDeclaration","scope":4286,"src":"7588:32:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4283,"name":"uint256","nodeType":"ElementaryTypeName","src":"7588:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7587:34:19"},"src":"7565:57:19"},{"anonymous":false,"documentation":{"id":4287,"nodeType":"StructuredDocumentation","src":"7630:68:19","text":"@notice The event emitted when admin changes `tokenMetadata`. "},"eventSelector":"8a1803707dfd67114623e59e8141ee8d109332da42c6c3e8212724807e140a6b","id":4292,"name":"TokenMetadataSet","nameLocation":"7710:16:19","nodeType":"EventDefinition","parameters":{"id":4291,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4290,"indexed":false,"mutability":"mutable","name":"newTokenMetadata","nameLocation":"7742:16:19","nodeType":"VariableDeclaration","scope":4292,"src":"7727:31:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"},"typeName":{"id":4289,"nodeType":"UserDefinedTypeName","pathNode":{"id":4288,"name":"ITokenMetadata","nodeType":"IdentifierPath","referencedDeclaration":4200,"src":"7727:14:19"},"referencedDeclaration":4200,"src":"7727:14:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}},"visibility":"internal"}],"src":"7726:33:19"},"src":"7704:56:19"},{"body":{"id":4307,"nodeType":"Block","src":"7807:97:19","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":4301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":4297,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294,"src":"7830:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4296,"name":"ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":762,"src":"7822:7:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":4298,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7822:19:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":4299,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"7845:3:19","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":4300,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"sender","nodeType":"MemberAccess","src":"7845:10:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7822:33:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4305,"nodeType":"IfStatement","src":"7818:66:19","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":4302,"name":"UnprivilegedCaller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4180,"src":"7864:18:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":4303,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7864:20:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4304,"nodeType":"RevertStatement","src":"7857:27:19"}},{"id":4306,"nodeType":"PlaceholderStatement","src":"7895:1:19"}]},"id":4308,"name":"onlyOwner","nameLocation":"7777:9:19","nodeType":"ModifierDefinition","parameters":{"id":4295,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4294,"mutability":"mutable","name":"positionId","nameLocation":"7795:10:19","nodeType":"VariableDeclaration","scope":4308,"src":"7787:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4293,"name":"uint256","nodeType":"ElementaryTypeName","src":"7787:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7786:20:19"},"src":"7768:136:19","virtual":false,"visibility":"internal"},{"body":{"id":4331,"nodeType":"Block","src":"8498:51:19","statements":[{"expression":{"id":4329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4327,"name":"tokenMetadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4238,"src":"8509:13:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":4328,"name":"newTokenMetadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4316,"src":"8525:16:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}},"src":"8509:32:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}},"id":4330,"nodeType":"ExpressionStatement","src":"8509:32:19"}]},"documentation":{"id":4309,"nodeType":"StructuredDocumentation","src":"7912:328:19","text":" @notice Constructor to create and initialize PangolinStakingPositions contract.\n @param newRewardsToken The token used for both for staking and reward.\n @param newAdmin The initial owner of the contract.\n @param newTokenMetadata The contract that constructs tokenURIs for position NFTs."},"id":4332,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"hexValue":"50616e676f6c696e205374616b696e6720506f736974696f6e73","id":4319,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"8384:28:19","typeDescriptions":{"typeIdentifier":"t_stringliteral_8863da38bc60f5bae7c84e808e7cb02877a527809bd6e81bbc23f9793a1e184d","typeString":"literal_string \"Pangolin Staking Positions\""},"value":"Pangolin Staking Positions"},{"hexValue":"504e472d504f53","id":4320,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"8414:9:19","typeDescriptions":{"typeIdentifier":"t_stringliteral_0e42492d8e6862d62b8980eba2f6752b6ffec63942af01eb9d3c9c19889cc734","typeString":"literal_string \"PNG-POS\""},"value":"PNG-POS"}],"id":4321,"kind":"baseConstructorSpecifier","modifierName":{"id":4318,"name":"ERC721","nodeType":"IdentifierPath","referencedDeclaration":1561,"src":"8377:6:19"},"nodeType":"ModifierInvocation","src":"8377:47:19"},{"arguments":[{"id":4323,"name":"newRewardsToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4311,"src":"8466:15:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4324,"name":"newAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4313,"src":"8483:8:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":4325,"kind":"baseConstructorSpecifier","modifierName":{"id":4322,"name":"PangolinStakingPositionsFunding","nodeType":"IdentifierPath","referencedDeclaration":5858,"src":"8434:31:19"},"nodeType":"ModifierInvocation","src":"8434:58:19"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":4317,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4311,"mutability":"mutable","name":"newRewardsToken","nameLocation":"8276:15:19","nodeType":"VariableDeclaration","scope":4332,"src":"8268:23:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4310,"name":"address","nodeType":"ElementaryTypeName","src":"8268:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4313,"mutability":"mutable","name":"newAdmin","nameLocation":"8310:8:19","nodeType":"VariableDeclaration","scope":4332,"src":"8302:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4312,"name":"address","nodeType":"ElementaryTypeName","src":"8302:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4316,"mutability":"mutable","name":"newTokenMetadata","nameLocation":"8344:16:19","nodeType":"VariableDeclaration","scope":4332,"src":"8329:31:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"},"typeName":{"id":4315,"nodeType":"UserDefinedTypeName","pathNode":{"id":4314,"name":"ITokenMetadata","nodeType":"IdentifierPath","referencedDeclaration":4200,"src":"8329:14:19"},"referencedDeclaration":4200,"src":"8329:14:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}},"visibility":"internal"}],"src":"8257:110:19"},"returnParameters":{"id":4326,"nodeType":"ParameterList","parameters":[],"src":"8498:0:19"},"scope":5430,"src":"8246:303:19","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":4359,"nodeType":"Block","src":"8875:523:19","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":4340,"name":"_updateRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5033,"src":"9081:23:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":4341,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9081:25:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4342,"nodeType":"ExpressionStatement","src":"9081:25:19"},{"expression":{"id":4346,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4343,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4338,"src":"9183:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":4345,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"9196:18:19","subExpression":{"id":4344,"name":"_positionsLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4253,"src":"9198:16:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9183:31:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4347,"nodeType":"ExpressionStatement","src":"9183:31:19"},{"expression":{"arguments":[{"expression":{"id":4349,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"9231:3:19","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":4350,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"sender","nodeType":"MemberAccess","src":"9231:10:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4351,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4338,"src":"9243:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4348,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1217,"src":"9225:5:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":4352,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9225:29:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4353,"nodeType":"ExpressionStatement","src":"9225:29:19"},{"expression":{"arguments":[{"id":4355,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4338,"src":"9371:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4356,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4335,"src":"9383:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4354,"name":"_stake","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4809,"src":"9364:6:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":4357,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9364:26:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4358,"nodeType":"ExpressionStatement","src":"9364:26:19"}]},"documentation":{"id":4333,"nodeType":"StructuredDocumentation","src":"8557:244:19","text":" @notice External function to open a new position to the caller.\n @param amount The amount of tokens to transfer from the caller to the position.\n @param positionId The identifier of the newly created position."},"functionSelector":"a0712d68","id":4360,"implemented":true,"kind":"function","modifiers":[],"name":"mint","nameLocation":"8816:4:19","nodeType":"FunctionDefinition","parameters":{"id":4336,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4335,"mutability":"mutable","name":"amount","nameLocation":"8829:6:19","nodeType":"VariableDeclaration","scope":4360,"src":"8821:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4334,"name":"uint256","nodeType":"ElementaryTypeName","src":"8821:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8820:16:19"},"returnParameters":{"id":4339,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4338,"mutability":"mutable","name":"positionId","nameLocation":"8863:10:19","nodeType":"VariableDeclaration","scope":4360,"src":"8855:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4337,"name":"uint256","nodeType":"ElementaryTypeName","src":"8855:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8854:20:19"},"scope":5430,"src":"8807:591:19","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":4376,"nodeType":"Block","src":"9718:375:19","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":4368,"name":"_updateRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5033,"src":"9924:23:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":4369,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9924:25:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4370,"nodeType":"ExpressionStatement","src":"9924:25:19"},{"expression":{"arguments":[{"id":4372,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4363,"src":"10066:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4373,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4365,"src":"10078:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4371,"name":"_stake","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4809,"src":"10059:6:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":4374,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10059:26:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4375,"nodeType":"ExpressionStatement","src":"10059:26:19"}]},"documentation":{"id":4361,"nodeType":"StructuredDocumentation","src":"9406:246:19","text":" @notice External function to deposit tokens to an existing position.\n @param amount The amount of tokens to deposit into the position.\n @param positionId The identifier of the position to deposit the funds into."},"functionSelector":"7b0472f0","id":4377,"implemented":true,"kind":"function","modifiers":[],"name":"stake","nameLocation":"9667:5:19","nodeType":"FunctionDefinition","parameters":{"id":4366,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4363,"mutability":"mutable","name":"positionId","nameLocation":"9681:10:19","nodeType":"VariableDeclaration","scope":4377,"src":"9673:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4362,"name":"uint256","nodeType":"ElementaryTypeName","src":"9673:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4365,"mutability":"mutable","name":"amount","nameLocation":"9701:6:19","nodeType":"VariableDeclaration","scope":4377,"src":"9693:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4364,"name":"uint256","nodeType":"ElementaryTypeName","src":"9693:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9672:36:19"},"returnParameters":{"id":4367,"nodeType":"ParameterList","parameters":[],"src":"9718:0:19"},"scope":5430,"src":"9658:435:19","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":4391,"nodeType":"Block","src":"10325:305:19","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":4383,"name":"_updateRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5033,"src":"10403:23:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":4384,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10403:25:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4385,"nodeType":"ExpressionStatement","src":"10403:25:19"},{"expression":{"arguments":[{"id":4387,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4380,"src":"10608:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"30","id":4388,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10620:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":4386,"name":"_withdraw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4952,"src":"10598:9:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":4389,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10598:24:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4390,"nodeType":"ExpressionStatement","src":"10598:24:19"}]},"documentation":{"id":4378,"nodeType":"StructuredDocumentation","src":"10101:172:19","text":" @notice External function to claim the accrued rewards of a position.\n @param positionId The identifier of the position to claim the rewards of."},"functionSelector":"ddc63262","id":4392,"implemented":true,"kind":"function","modifiers":[],"name":"harvest","nameLocation":"10288:7:19","nodeType":"FunctionDefinition","parameters":{"id":4381,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4380,"mutability":"mutable","name":"positionId","nameLocation":"10304:10:19","nodeType":"VariableDeclaration","scope":4392,"src":"10296:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4379,"name":"uint256","nodeType":"ElementaryTypeName","src":"10296:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10295:20:19"},"returnParameters":{"id":4382,"nodeType":"ParameterList","parameters":[],"src":"10325:0:19"},"scope":5430,"src":"10279:351:19","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":4406,"nodeType":"Block","src":"10883:301:19","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":4398,"name":"_updateRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5033,"src":"10961:23:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":4399,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10961:25:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4400,"nodeType":"ExpressionStatement","src":"10961:25:19"},{"expression":{"arguments":[{"id":4402,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4395,"src":"11162:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"30","id":4403,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11174:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":4401,"name":"_stake","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4809,"src":"11155:6:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":4404,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11155:21:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4405,"nodeType":"ExpressionStatement","src":"11155:21:19"}]},"documentation":{"id":4393,"nodeType":"StructuredDocumentation","src":"10638:192:19","text":" @notice External function to deposit the accrued rewards of a position back to itself.\n @param positionId The identifier of the position to compound the rewards of."},"functionSelector":"aa5f7e26","id":4407,"implemented":true,"kind":"function","modifiers":[],"name":"compound","nameLocation":"10845:8:19","nodeType":"FunctionDefinition","parameters":{"id":4396,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4395,"mutability":"mutable","name":"positionId","nameLocation":"10862:10:19","nodeType":"VariableDeclaration","scope":4407,"src":"10854:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4394,"name":"uint256","nodeType":"ElementaryTypeName","src":"10854:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10853:20:19"},"returnParameters":{"id":4397,"nodeType":"ParameterList","parameters":[],"src":"10883:0:19"},"scope":5430,"src":"10836:348:19","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":4423,"nodeType":"Block","src":"11598:254:19","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":4415,"name":"_updateRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5033,"src":"11676:23:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":4416,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11676:25:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4417,"nodeType":"ExpressionStatement","src":"11676:25:19"},{"expression":{"arguments":[{"id":4419,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4410,"src":"11825:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4420,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4412,"src":"11837:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4418,"name":"_withdraw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4952,"src":"11815:9:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":4421,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"11815:29:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4422,"nodeType":"ExpressionStatement","src":"11815:29:19"}]},"documentation":{"id":4408,"nodeType":"StructuredDocumentation","src":"11192:337:19","text":" @notice External function to withdraw given amount of staked balance, plus all the accrued\n         rewards from the position.\n @param positionId The identifier of the position to withdraw the balance.\n @param amount The amount of staked tokens, excluding rewards, to withdraw from the position."},"functionSelector":"441a3e70","id":4424,"implemented":true,"kind":"function","modifiers":[],"name":"withdraw","nameLocation":"11544:8:19","nodeType":"FunctionDefinition","parameters":{"id":4413,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4410,"mutability":"mutable","name":"positionId","nameLocation":"11561:10:19","nodeType":"VariableDeclaration","scope":4424,"src":"11553:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4409,"name":"uint256","nodeType":"ElementaryTypeName","src":"11553:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4412,"mutability":"mutable","name":"amount","nameLocation":"11581:6:19","nodeType":"VariableDeclaration","scope":4424,"src":"11573:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4411,"name":"uint256","nodeType":"ElementaryTypeName","src":"11573:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11552:36:19"},"returnParameters":{"id":4414,"nodeType":"ParameterList","parameters":[],"src":"11598:0:19"},"scope":5430,"src":"11535:317:19","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":4445,"nodeType":"Block","src":"12073:277:19","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint96","typeString":"uint96"},"id":4436,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"baseExpression":{"id":4430,"name":"positions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4234,"src":"12168:9:19","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Position_$4228_storage_$","typeString":"mapping(uint256 => struct PangolinStakingPositions.Position storage ref)"}},"id":4432,"indexExpression":{"id":4431,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4427,"src":"12178:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"12168:21:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage","typeString":"struct PangolinStakingPositions.Position storage ref"}},"id":4433,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"valueVariables","nodeType":"MemberAccess","referencedDeclaration":4218,"src":"12168:36:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"id":4434,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"12168:44:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":4435,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12216:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"12168:49:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4440,"nodeType":"IfStatement","src":"12164:76:19","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":4437,"name":"InvalidToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4170,"src":"12226:12:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":4438,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"12226:14:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4439,"nodeType":"RevertStatement","src":"12219:21:19"}},{"expression":{"arguments":[{"id":4442,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4427,"src":"12331:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4441,"name":"_burn","nodeType":"Identifier","overloadedDeclarations":[5342],"referencedDeclaration":5342,"src":"12325:5:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":4443,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"12325:17:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4444,"nodeType":"ExpressionStatement","src":"12325:17:19"}]},"documentation":{"id":4425,"nodeType":"StructuredDocumentation","src":"11860:164:19","text":" @notice External function to close a position by burning the associated NFT.\n @param positionId The identifier of the position to close."},"functionSelector":"42966c68","id":4446,"implemented":true,"kind":"function","modifiers":[],"name":"burn","nameLocation":"12039:4:19","nodeType":"FunctionDefinition","parameters":{"id":4428,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4427,"mutability":"mutable","name":"positionId","nameLocation":"12052:10:19","nodeType":"VariableDeclaration","scope":4446,"src":"12044:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4426,"name":"uint256","nodeType":"ElementaryTypeName","src":"12044:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12043:20:19"},"returnParameters":{"id":4429,"nodeType":"ParameterList","parameters":[],"src":"12073:0:19"},"scope":5430,"src":"12030:320:19","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":4456,"nodeType":"Block","src":"12573:312:19","statements":[{"expression":{"arguments":[{"id":4453,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4449,"src":"12866:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4452,"name":"_emergencyExit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5003,"src":"12851:14:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":4454,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"12851:26:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4455,"nodeType":"ExpressionStatement","src":"12851:26:19"}]},"documentation":{"id":4447,"nodeType":"StructuredDocumentation","src":"12358:157:19","text":" @notice External function to exit from a position by forgoing rewards.\n @param positionId The identifier of the position to exit."},"functionSelector":"4231b0bd","id":4457,"implemented":true,"kind":"function","modifiers":[],"name":"emergencyExit","nameLocation":"12530:13:19","nodeType":"FunctionDefinition","parameters":{"id":4450,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4449,"mutability":"mutable","name":"positionId","nameLocation":"12552:10:19","nodeType":"VariableDeclaration","scope":4457,"src":"12544:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4448,"name":"uint256","nodeType":"ElementaryTypeName","src":"12544:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12543:20:19"},"returnParameters":{"id":4451,"nodeType":"ParameterList","parameters":[],"src":"12573:0:19"},"scope":5430,"src":"12521:364:19","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":4505,"nodeType":"Block","src":"13310:677:19","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":4467,"name":"_updateRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5033,"src":"13568:23:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":4468,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"13568:25:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4469,"nodeType":"ExpressionStatement","src":"13568:25:19"},{"assignments":[4471],"declarations":[{"constant":false,"id":4471,"mutability":"mutable","name":"length","nameLocation":"13654:6:19","nodeType":"VariableDeclaration","scope":4505,"src":"13646:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4470,"name":"uint256","nodeType":"ElementaryTypeName","src":"13646:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4474,"initialValue":{"expression":{"id":4472,"name":"positionIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4461,"src":"13663:11:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":4473,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"13663:18:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"13646:35:19"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4478,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4475,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4471,"src":"13696:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":4476,"name":"amounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4464,"src":"13706:7:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":4477,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"13706:14:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13696:24:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4482,"nodeType":"IfStatement","src":"13692:61:19","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":4479,"name":"MismatchedArrayLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4184,"src":"13729:22:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":4480,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"13729:24:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4481,"nodeType":"RevertStatement","src":"13722:31:19"}},{"body":{"id":4503,"nodeType":"Block","src":"13800:180:19","statements":[{"expression":{"arguments":[{"baseExpression":{"id":4491,"name":"positionIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4461,"src":"13822:11:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":4493,"indexExpression":{"id":4492,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4484,"src":"13834:1:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"13822:14:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"baseExpression":{"id":4494,"name":"amounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4464,"src":"13838:7:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":4496,"indexExpression":{"id":4495,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4484,"src":"13846:1:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"13838:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4490,"name":"_stake","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4809,"src":"13815:6:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":4497,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"13815:34:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4498,"nodeType":"ExpressionStatement","src":"13815:34:19"},{"id":4502,"nodeType":"UncheckedBlock","src":"13921:48:19","statements":[{"expression":{"id":4500,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"13950:3:19","subExpression":{"id":4499,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4484,"src":"13952:1:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4501,"nodeType":"ExpressionStatement","src":"13950:3:19"}]}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4489,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4487,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4484,"src":"13786:1:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":4488,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4471,"src":"13790:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13786:10:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4504,"initializationExpression":{"assignments":[4484],"declarations":[{"constant":false,"id":4484,"mutability":"mutable","name":"i","nameLocation":"13779:1:19","nodeType":"VariableDeclaration","scope":4504,"src":"13771:9:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4483,"name":"uint256","nodeType":"ElementaryTypeName","src":"13771:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4486,"initialValue":{"hexValue":"30","id":4485,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13783:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"13771:13:19"},"nodeType":"ForStatement","src":"13766:214:19"}]},"documentation":{"id":4458,"nodeType":"StructuredDocumentation","src":"12893:322:19","text":" @notice External function to stake to or compound multiple positions.\n @dev This saves gas by updating summations only once.\n @param positionIds An array of identifiers of positions to stake to.\n @param amounts An array of amount of tokens to stake to the corresponding positions."},"functionSelector":"5e4c911f","id":4506,"implemented":true,"kind":"function","modifiers":[],"name":"multiStake","nameLocation":"13230:10:19","nodeType":"FunctionDefinition","parameters":{"id":4465,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4461,"mutability":"mutable","name":"positionIds","nameLocation":"13260:11:19","nodeType":"VariableDeclaration","scope":4506,"src":"13241:30:19","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":4459,"name":"uint256","nodeType":"ElementaryTypeName","src":"13241:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4460,"nodeType":"ArrayTypeName","src":"13241:9:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"},{"constant":false,"id":4464,"mutability":"mutable","name":"amounts","nameLocation":"13292:7:19","nodeType":"VariableDeclaration","scope":4506,"src":"13273:26:19","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":4462,"name":"uint256","nodeType":"ElementaryTypeName","src":"13273:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4463,"nodeType":"ArrayTypeName","src":"13273:9:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"13240:60:19"},"returnParameters":{"id":4466,"nodeType":"ParameterList","parameters":[],"src":"13310:0:19"},"scope":5430,"src":"13221:766:19","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":4554,"nodeType":"Block","src":"14425:474:19","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":4516,"name":"_updateRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5033,"src":"14477:23:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":4517,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"14477:25:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4518,"nodeType":"ExpressionStatement","src":"14477:25:19"},{"assignments":[4520],"declarations":[{"constant":false,"id":4520,"mutability":"mutable","name":"length","nameLocation":"14563:6:19","nodeType":"VariableDeclaration","scope":4554,"src":"14555:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4519,"name":"uint256","nodeType":"ElementaryTypeName","src":"14555:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4523,"initialValue":{"expression":{"id":4521,"name":"positionIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4510,"src":"14572:11:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":4522,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"14572:18:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"14555:35:19"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4527,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4524,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4520,"src":"14605:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":4525,"name":"amounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4513,"src":"14615:7:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":4526,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"14615:14:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14605:24:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4531,"nodeType":"IfStatement","src":"14601:61:19","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":4528,"name":"MismatchedArrayLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4184,"src":"14638:22:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":4529,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"14638:24:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4530,"nodeType":"RevertStatement","src":"14631:31:19"}},{"body":{"id":4552,"nodeType":"Block","src":"14709:183:19","statements":[{"expression":{"arguments":[{"baseExpression":{"id":4540,"name":"positionIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4510,"src":"14734:11:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":4542,"indexExpression":{"id":4541,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4533,"src":"14746:1:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"14734:14:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"baseExpression":{"id":4543,"name":"amounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4513,"src":"14750:7:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":4545,"indexExpression":{"id":4544,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4533,"src":"14758:1:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"14750:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4539,"name":"_withdraw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4952,"src":"14724:9:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":4546,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"14724:37:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4547,"nodeType":"ExpressionStatement","src":"14724:37:19"},{"id":4551,"nodeType":"UncheckedBlock","src":"14833:48:19","statements":[{"expression":{"id":4549,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"14862:3:19","subExpression":{"id":4548,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4533,"src":"14864:1:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4550,"nodeType":"ExpressionStatement","src":"14862:3:19"}]}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4538,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4536,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4533,"src":"14695:1:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":4537,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4520,"src":"14699:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14695:10:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4553,"initializationExpression":{"assignments":[4533],"declarations":[{"constant":false,"id":4533,"mutability":"mutable","name":"i","nameLocation":"14688:1:19","nodeType":"VariableDeclaration","scope":4553,"src":"14680:9:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4532,"name":"uint256","nodeType":"ElementaryTypeName","src":"14680:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4535,"initialValue":{"hexValue":"30","id":4534,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14692:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"14680:13:19"},"nodeType":"ForStatement","src":"14675:217:19"}]},"documentation":{"id":4507,"nodeType":"StructuredDocumentation","src":"13995:332:19","text":" @notice External function to withdraw or harvest from multiple positions.\n @dev This saves gas by updating summations only once.\n @param positionIds An array of identifiers of positions to withdraw from.\n @param amounts An array of amount of tokens to withdraw from corresponding positions."},"functionSelector":"aea62e3f","id":4555,"implemented":true,"kind":"function","modifiers":[],"name":"multiWithdraw","nameLocation":"14342:13:19","nodeType":"FunctionDefinition","parameters":{"id":4514,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4510,"mutability":"mutable","name":"positionIds","nameLocation":"14375:11:19","nodeType":"VariableDeclaration","scope":4555,"src":"14356:30:19","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":4508,"name":"uint256","nodeType":"ElementaryTypeName","src":"14356:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4509,"nodeType":"ArrayTypeName","src":"14356:9:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"},{"constant":false,"id":4513,"mutability":"mutable","name":"amounts","nameLocation":"14407:7:19","nodeType":"VariableDeclaration","scope":4555,"src":"14388:26:19","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":4511,"name":"uint256","nodeType":"ElementaryTypeName","src":"14388:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4512,"nodeType":"ArrayTypeName","src":"14388:9:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"14355:60:19"},"returnParameters":{"id":4515,"nodeType":"ParameterList","parameters":[],"src":"14425:0:19"},"scope":5430,"src":"14333:566:19","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":4579,"nodeType":"Block","src":"15253:350:19","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4566,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4564,"name":"newApprovalPauseDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4558,"src":"15343:24:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":4565,"name":"MAX_APPROVAL_PAUSE_DURATION","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4263,"src":"15370:27:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15343:54:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4570,"nodeType":"IfStatement","src":"15339:80:19","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":4567,"name":"OutOfBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4168,"src":"15406:11:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":4568,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"15406:13:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4569,"nodeType":"RevertStatement","src":"15399:20:19"}},{"expression":{"id":4573,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4571,"name":"approvalPauseDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4250,"src":"15489:21:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":4572,"name":"newApprovalPauseDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4558,"src":"15513:24:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15489:48:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4574,"nodeType":"ExpressionStatement","src":"15489:48:19"},{"eventCall":{"arguments":[{"id":4576,"name":"newApprovalPauseDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4558,"src":"15570:24:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4575,"name":"PauseDurationSet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4286,"src":"15553:16:19","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":4577,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"15553:42:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4578,"nodeType":"EmitStatement","src":"15548:47:19"}]},"documentation":{"id":4556,"nodeType":"StructuredDocumentation","src":"14907:211:19","text":" @notice External only-owner function to set how long the token approvals should be ignored.\n @param newApprovalPauseDuration The new duration during which token approvals are ignored."},"functionSelector":"75c3fd3f","id":4580,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":4561,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":27,"src":"15228:18:19","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":4562,"kind":"modifierInvocation","modifierName":{"id":4560,"name":"onlyRole","nodeType":"IdentifierPath","referencedDeclaration":38,"src":"15219:8:19"},"nodeType":"ModifierInvocation","src":"15219:28:19"}],"name":"setApprovalPauseDuration","nameLocation":"15133:24:19","nodeType":"FunctionDefinition","parameters":{"id":4559,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4558,"mutability":"mutable","name":"newApprovalPauseDuration","nameLocation":"15166:24:19","nodeType":"VariableDeclaration","scope":4580,"src":"15158:32:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4557,"name":"uint256","nodeType":"ElementaryTypeName","src":"15158:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15157:34:19"},"returnParameters":{"id":4563,"nodeType":"ParameterList","parameters":[],"src":"15253:0:19"},"scope":5430,"src":"15124:479:19","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":4598,"nodeType":"Block","src":"15945:101:19","statements":[{"expression":{"id":4592,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4590,"name":"tokenMetadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4238,"src":"15956:13:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":4591,"name":"newTokenMetadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4584,"src":"15972:16:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}},"src":"15956:32:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}},"id":4593,"nodeType":"ExpressionStatement","src":"15956:32:19"},{"eventCall":{"arguments":[{"id":4595,"name":"newTokenMetadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4584,"src":"16021:16:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}],"id":4594,"name":"TokenMetadataSet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4292,"src":"16004:16:19","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_contract$_ITokenMetadata_$4200_$returns$__$","typeString":"function (contract ITokenMetadata)"}},"id":4596,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"16004:34:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4597,"nodeType":"EmitStatement","src":"15999:39:19"}]},"documentation":{"id":4581,"nodeType":"StructuredDocumentation","src":"15611:208:19","text":" @notice External only-owner function to change the contract that constructs tokenURIs.\n @param newTokenMetadata The addresses of the new contract address that constructs tokenURIs."},"functionSelector":"6fdff40f","id":4599,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":4587,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":27,"src":"15920:18:19","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":4588,"kind":"modifierInvocation","modifierName":{"id":4586,"name":"onlyRole","nodeType":"IdentifierPath","referencedDeclaration":38,"src":"15911:8:19"},"nodeType":"ModifierInvocation","src":"15911:28:19"}],"name":"setTokenMetadata","nameLocation":"15834:16:19","nodeType":"FunctionDefinition","parameters":{"id":4585,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4584,"mutability":"mutable","name":"newTokenMetadata","nameLocation":"15866:16:19","nodeType":"VariableDeclaration","scope":4599,"src":"15851:31:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"},"typeName":{"id":4583,"nodeType":"UserDefinedTypeName","pathNode":{"id":4582,"name":"ITokenMetadata","nodeType":"IdentifierPath","referencedDeclaration":4200,"src":"15851:14:19"},"referencedDeclaration":4200,"src":"15851:14:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}},"visibility":"internal"}],"src":"15850:33:19"},"returnParameters":{"id":4589,"nodeType":"ParameterList","parameters":[],"src":"15945:0:19"},"scope":5430,"src":"15825:221:19","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":4635,"nodeType":"Block","src":"16723:374:19","statements":[{"assignments":[4608],"declarations":[{"constant":false,"id":4608,"mutability":"mutable","name":"totalValue","nameLocation":"16788:10:19","nodeType":"VariableDeclaration","scope":4635,"src":"16780:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4607,"name":"uint256","nodeType":"ElementaryTypeName","src":"16780:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4612,"initialValue":{"arguments":[{"id":4610,"name":"totalValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4242,"src":"16811:19:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}],"id":4609,"name":"_getValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5217,"src":"16801:9:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_ValueVariables_$4210_storage_ptr_$returns$_t_uint256_$","typeString":"function (struct PangolinStakingPositions.ValueVariables storage pointer) view returns (uint256)"}},"id":4611,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"16801:30:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"16780:51:19"},{"assignments":[4614],"declarations":[{"constant":false,"id":4614,"mutability":"mutable","name":"positionValue","nameLocation":"16850:13:19","nodeType":"VariableDeclaration","scope":4635,"src":"16842:21:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4613,"name":"uint256","nodeType":"ElementaryTypeName","src":"16842:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4621,"initialValue":{"arguments":[{"expression":{"baseExpression":{"id":4616,"name":"positions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4234,"src":"16876:9:19","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Position_$4228_storage_$","typeString":"mapping(uint256 => struct PangolinStakingPositions.Position storage ref)"}},"id":4618,"indexExpression":{"id":4617,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4602,"src":"16886:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"16876:21:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage","typeString":"struct PangolinStakingPositions.Position storage ref"}},"id":4619,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"valueVariables","nodeType":"MemberAccess","referencedDeclaration":4218,"src":"16876:36:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}],"id":4615,"name":"_getValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5217,"src":"16866:9:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_ValueVariables_$4210_storage_ptr_$returns$_t_uint256_$","typeString":"function (struct PangolinStakingPositions.ValueVariables storage pointer) view returns (uint256)"}},"id":4620,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"16866:47:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"16842:71:19"},{"expression":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4624,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4622,"name":"positionValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4614,"src":"17021:13:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":4623,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17038:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"17021:18:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4632,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4629,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":4626,"name":"rewardRate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5746,"src":"17047:10:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint256_$","typeString":"function () view returns (uint256)"}},"id":4627,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"17047:12:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4628,"name":"positionValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4614,"src":"17062:13:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"17047:28:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":4630,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"17046:30:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":4631,"name":"totalValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4608,"src":"17079:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"17046:43:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4633,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"17021:68:19","trueExpression":{"hexValue":"30","id":4625,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17042:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":4606,"id":4634,"nodeType":"Return","src":"17014:75:19"}]},"documentation":{"id":4600,"nodeType":"StructuredDocumentation","src":"16054:583:19","text":" @notice External view function to get the reward rate of a position.\n @dev In SAR, positions have different APRs, unlike other staking algorithms. This external\n      function clearly demonstrates how the SAR algorithm is supposed to distribute the\n      rewards based on “value”, which is balance times staking duration. This external\n      function can be considered as a specification.\n @param positionId The identifier of the position to check the reward rate of.\n @return The rewards per second of the position."},"functionSelector":"468cc41e","id":4636,"implemented":true,"kind":"function","modifiers":[],"name":"positionRewardRate","nameLocation":"16652:18:19","nodeType":"FunctionDefinition","parameters":{"id":4603,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4602,"mutability":"mutable","name":"positionId","nameLocation":"16679:10:19","nodeType":"VariableDeclaration","scope":4636,"src":"16671:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4601,"name":"uint256","nodeType":"ElementaryTypeName","src":"16671:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"16670:20:19"},"returnParameters":{"id":4606,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4605,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4636,"src":"16714:7:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4604,"name":"uint256","nodeType":"ElementaryTypeName","src":"16714:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"16713:9:19"},"scope":5430,"src":"16643:454:19","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":4664,"nodeType":"Block","src":"17538:509:19","statements":[{"assignments":[4646],"declarations":[{"constant":false,"id":4646,"mutability":"mutable","name":"position","nameLocation":"17621:8:19","nodeType":"VariableDeclaration","scope":4664,"src":"17604:25:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"},"typeName":{"id":4645,"nodeType":"UserDefinedTypeName","pathNode":{"id":4644,"name":"Position","nodeType":"IdentifierPath","referencedDeclaration":4228,"src":"17604:8:19"},"referencedDeclaration":4228,"src":"17604:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"}},"visibility":"internal"}],"id":4650,"initialValue":{"baseExpression":{"id":4647,"name":"positions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4234,"src":"17632:9:19","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Position_$4228_storage_$","typeString":"mapping(uint256 => struct PangolinStakingPositions.Position storage ref)"}},"id":4649,"indexExpression":{"id":4648,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4639,"src":"17642:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"17632:21:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage","typeString":"struct PangolinStakingPositions.Position storage ref"}},"nodeType":"VariableDeclarationStatement","src":"17604:49:19"},{"assignments":[4653],"declarations":[{"constant":false,"id":4653,"mutability":"mutable","name":"deltaRewardSummations","nameLocation":"17814:21:19","nodeType":"VariableDeclaration","scope":4664,"src":"17790:45:19","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"},"typeName":{"id":4652,"nodeType":"UserDefinedTypeName","pathNode":{"id":4651,"name":"RewardSummations","nodeType":"IdentifierPath","referencedDeclaration":4215,"src":"17790:16:19"},"referencedDeclaration":4215,"src":"17790:16:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"}},"visibility":"internal"}],"id":4658,"initialValue":{"arguments":[{"id":4655,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4646,"src":"17864:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},{"hexValue":"74727565","id":4656,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"17874:4:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":4654,"name":"_getDeltaRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5155,"src":"17838:25:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Position_$4228_storage_ptr_$_t_bool_$returns$_t_struct$_RewardSummations_$4215_memory_ptr_$","typeString":"function (struct PangolinStakingPositions.Position storage pointer,bool) view returns (struct PangolinStakingPositions.RewardSummations memory)"}},"id":4657,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"17838:41:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"}},"nodeType":"VariableDeclarationStatement","src":"17790:89:19"},{"expression":{"arguments":[{"id":4660,"name":"deltaRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4653,"src":"18007:21:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"}},{"id":4661,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4646,"src":"18030:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"},{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}],"id":4659,"name":"_earned","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5262,"src":"17999:7:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_RewardSummations_$4215_memory_ptr_$_t_struct$_Position_$4228_storage_ptr_$returns$_t_uint256_$","typeString":"function (struct PangolinStakingPositions.RewardSummations memory,struct PangolinStakingPositions.Position storage pointer) view returns (uint256)"}},"id":4662,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"17999:40:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":4643,"id":4663,"nodeType":"Return","src":"17992:47:19"}]},"documentation":{"id":4637,"nodeType":"StructuredDocumentation","src":"17105:343:19","text":" @notice External view function to get the accrued rewards of a position. It takes the\n         pending rewards since lastUpdate into consideration.\n @param positionId The identifier of the position to check the accrued rewards of.\n @return The amount of rewards that have been accrued in the position."},"functionSelector":"496cea98","id":4665,"implemented":true,"kind":"function","modifiers":[],"name":"positionPendingRewards","nameLocation":"17463:22:19","nodeType":"FunctionDefinition","parameters":{"id":4640,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4639,"mutability":"mutable","name":"positionId","nameLocation":"17494:10:19","nodeType":"VariableDeclaration","scope":4665,"src":"17486:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4638,"name":"uint256","nodeType":"ElementaryTypeName","src":"17486:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"17485:20:19"},"returnParameters":{"id":4643,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4642,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4665,"src":"17529:7:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4641,"name":"uint256","nodeType":"ElementaryTypeName","src":"17529:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"17528:9:19"},"scope":5430,"src":"17454:593:19","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":4808,"nodeType":"Block","src":"18849:1832:19","statements":[{"assignments":[4678],"declarations":[{"constant":false,"id":4678,"mutability":"mutable","name":"position","nameLocation":"18932:8:19","nodeType":"VariableDeclaration","scope":4808,"src":"18915:25:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"},"typeName":{"id":4677,"nodeType":"UserDefinedTypeName","pathNode":{"id":4676,"name":"Position","nodeType":"IdentifierPath","referencedDeclaration":4228,"src":"18915:8:19"},"referencedDeclaration":4228,"src":"18915:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"}},"visibility":"internal"}],"id":4682,"initialValue":{"baseExpression":{"id":4679,"name":"positions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4234,"src":"18943:9:19","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Position_$4228_storage_$","typeString":"mapping(uint256 => struct PangolinStakingPositions.Position storage ref)"}},"id":4681,"indexExpression":{"id":4680,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4668,"src":"18953:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"18943:21:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage","typeString":"struct PangolinStakingPositions.Position storage ref"}},"nodeType":"VariableDeclarationStatement","src":"18915:49:19"},{"assignments":[4684],"declarations":[{"constant":false,"id":4684,"mutability":"mutable","name":"reward","nameLocation":"19034:6:19","nodeType":"VariableDeclaration","scope":4808,"src":"19026:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4683,"name":"uint256","nodeType":"ElementaryTypeName","src":"19026:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4688,"initialValue":{"arguments":[{"id":4686,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4678,"src":"19067:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}],"id":4685,"name":"_positionPendingRewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5080,"src":"19043:23:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Position_$4228_storage_ptr_$returns$_t_uint256_$","typeString":"function (struct PangolinStakingPositions.Position storage pointer) view returns (uint256)"}},"id":4687,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"19043:33:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"19026:50:19"},{"assignments":[4690],"declarations":[{"constant":false,"id":4690,"mutability":"mutable","name":"totalAmount","nameLocation":"19161:11:19","nodeType":"VariableDeclaration","scope":4808,"src":"19153:19:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4689,"name":"uint256","nodeType":"ElementaryTypeName","src":"19153:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4694,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4693,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4691,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4670,"src":"19175:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":4692,"name":"reward","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4684,"src":"19184:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"19175:15:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"19153:37:19"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4697,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4695,"name":"totalAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4690,"src":"19205:11:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":4696,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19220:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"19205:16:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4701,"nodeType":"IfStatement","src":"19201:39:19","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":4698,"name":"NoEffect","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4160,"src":"19230:8:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":4699,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"19230:10:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4700,"nodeType":"RevertStatement","src":"19223:17:19"}},{"assignments":[4703],"declarations":[{"constant":false,"id":4703,"mutability":"mutable","name":"newTotalStaked","nameLocation":"19333:14:19","nodeType":"VariableDeclaration","scope":4808,"src":"19325:22:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4702,"name":"uint256","nodeType":"ElementaryTypeName","src":"19325:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4708,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4707,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4704,"name":"totalValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4242,"src":"19350:19:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"id":4705,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"19350:27:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":4706,"name":"totalAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4690,"src":"19380:11:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"19350:41:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"19325:66:19"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4715,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4709,"name":"newTotalStaked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4703,"src":"19406:14:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4712,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"19428:6:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":4711,"name":"uint96","nodeType":"ElementaryTypeName","src":"19428:6:19","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"}],"id":4710,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"19423:4:19","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4713,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"19423:12:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint96","typeString":"type(uint96)"}},"id":4714,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"max","nodeType":"MemberAccess","src":"19423:16:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"19406:33:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4719,"nodeType":"IfStatement","src":"19402:56:19","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":4716,"name":"Overflow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4158,"src":"19448:8:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":4717,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"19448:10:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4718,"nodeType":"RevertStatement","src":"19441:17:19"}},{"id":4789,"nodeType":"UncheckedBlock","src":"19471:903:19","statements":[{"assignments":[4721],"declarations":[{"constant":false,"id":4721,"mutability":"mutable","name":"addedEntryTimes","nameLocation":"19589:15:19","nodeType":"VariableDeclaration","scope":4789,"src":"19581:23:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4720,"name":"uint160","nodeType":"ElementaryTypeName","src":"19581:7:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"id":4729,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4727,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4724,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"19615:5:19","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":4725,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"19615:15:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4726,"name":"totalAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4690,"src":"19633:11:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"19615:29:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4723,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"19607:7:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":4722,"name":"uint160","nodeType":"ElementaryTypeName","src":"19607:7:19","typeDescriptions":{}}},"id":4728,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"19607:38:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"VariableDeclarationStatement","src":"19581:64:19"},{"expression":{"id":4734,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4730,"name":"totalValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4242,"src":"19660:19:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"id":4732,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"sumOfEntryTimes","nodeType":"MemberAccess","referencedDeclaration":4209,"src":"19660:35:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":4733,"name":"addedEntryTimes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4721,"src":"19699:15:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"19660:54:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":4735,"nodeType":"ExpressionStatement","src":"19660:54:19"},{"expression":{"id":4743,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4736,"name":"totalValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4242,"src":"19729:19:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"id":4738,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"19729:27:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4741,"name":"newTotalStaked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4703,"src":"19766:14:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4740,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"19759:6:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":4739,"name":"uint96","nodeType":"ElementaryTypeName","src":"19759:6:19","typeDescriptions":{}}},"id":4742,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"19759:22:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"19729:52:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"id":4744,"nodeType":"ExpressionStatement","src":"19729:52:19"},{"assignments":[4747],"declarations":[{"constant":false,"id":4747,"mutability":"mutable","name":"positionValueVariables","nameLocation":"19913:22:19","nodeType":"VariableDeclaration","scope":4789,"src":"19890:45:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables"},"typeName":{"id":4746,"nodeType":"UserDefinedTypeName","pathNode":{"id":4745,"name":"ValueVariables","nodeType":"IdentifierPath","referencedDeclaration":4210,"src":"19890:14:19"},"referencedDeclaration":4210,"src":"19890:14:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables"}},"visibility":"internal"}],"id":4750,"initialValue":{"expression":{"id":4748,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4678,"src":"19938:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":4749,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"valueVariables","nodeType":"MemberAccess","referencedDeclaration":4218,"src":"19938:23:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"nodeType":"VariableDeclarationStatement","src":"19890:71:19"},{"assignments":[4752],"declarations":[{"constant":false,"id":4752,"mutability":"mutable","name":"oldBalance","nameLocation":"19984:10:19","nodeType":"VariableDeclaration","scope":4789,"src":"19976:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4751,"name":"uint256","nodeType":"ElementaryTypeName","src":"19976:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4755,"initialValue":{"expression":{"id":4753,"name":"positionValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4747,"src":"19997:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables storage pointer"}},"id":4754,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"19997:30:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"VariableDeclarationStatement","src":"19976:51:19"},{"expression":{"id":4765,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4756,"name":"positionValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4747,"src":"20042:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables storage pointer"}},"id":4758,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"20042:30:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4763,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4761,"name":"oldBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4752,"src":"20082:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":4762,"name":"totalAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4690,"src":"20095:11:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"20082:24:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4760,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"20075:6:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":4759,"name":"uint96","nodeType":"ElementaryTypeName","src":"20075:6:19","typeDescriptions":{}}},"id":4764,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"20075:32:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"20042:65:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"id":4766,"nodeType":"ExpressionStatement","src":"20042:65:19"},{"expression":{"id":4771,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4767,"name":"positionValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4747,"src":"20122:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables storage pointer"}},"id":4769,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"sumOfEntryTimes","nodeType":"MemberAccess","referencedDeclaration":4209,"src":"20122:38:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":4770,"name":"addedEntryTimes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4721,"src":"20164:15:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"20122:57:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":4772,"nodeType":"ExpressionStatement","src":"20122:57:19"},{"expression":{"id":4787,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4773,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4678,"src":"20242:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":4775,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"previousValues","nodeType":"MemberAccess","referencedDeclaration":4223,"src":"20242:23:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4785,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4778,"name":"oldBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4752,"src":"20295:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4783,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4779,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"20309:5:19","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":4780,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"20309:15:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":4781,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4678,"src":"20327:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":4782,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"lastUpdate","nodeType":"MemberAccess","referencedDeclaration":4225,"src":"20327:19:19","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"src":"20309:37:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":4784,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"20308:39:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"20295:52:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4777,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"20269:7:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":4776,"name":"uint160","nodeType":"ElementaryTypeName","src":"20269:7:19","typeDescriptions":{}}},"id":4786,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"20269:93:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"20242:120:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":4788,"nodeType":"ExpressionStatement","src":"20242:120:19"}]},{"expression":{"arguments":[{"id":4791,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4678,"src":"20464:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}],"id":4790,"name":"_snapshotRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5057,"src":"20438:25:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_Position_$4228_storage_ptr_$returns$__$","typeString":"function (struct PangolinStakingPositions.Position storage pointer)"}},"id":4792,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"20438:35:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4793,"nodeType":"ExpressionStatement","src":"20438:35:19"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4796,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4794,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4670,"src":"20583:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":4795,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20593:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"20583:11:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4801,"nodeType":"IfStatement","src":"20579:44:19","trueBody":{"expression":{"arguments":[{"id":4798,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4670,"src":"20616:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4797,"name":"_transferFromCaller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5806,"src":"20596:19:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":4799,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"20596:27:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4800,"nodeType":"ExpressionStatement","src":"20596:27:19"}},{"eventCall":{"arguments":[{"id":4803,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4668,"src":"20646:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4804,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4670,"src":"20658:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4805,"name":"reward","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4684,"src":"20666:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4802,"name":"Staked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4281,"src":"20639:6:19","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256,uint256)"}},"id":4806,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"20639:34:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4807,"nodeType":"EmitStatement","src":"20634:39:19"}]},"documentation":{"id":4666,"nodeType":"StructuredDocumentation","src":"18055:706:19","text":" @notice Private function to deposit tokens to an existing position.\n @param amount The amount of tokens to deposit into the position.\n @param positionId The identifier of the position to deposit the funds into.\n @dev Specifications:\n      - Deposit `amount` tokens to the position associated with `positionId`,\n      - Make the staking duration of `amount` restart,\n      - Claim accrued `reward` tokens of the position,\n      - Deposit `reward` tokens back into the position,\n      - Make the staking duration of `reward` tokens start from zero.\n      - Do not make the staking duration of the existing `balance` restart,"},"id":4809,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":4673,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4668,"src":"18837:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":4674,"kind":"modifierInvocation","modifierName":{"id":4672,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":4308,"src":"18827:9:19"},"nodeType":"ModifierInvocation","src":"18827:21:19"}],"name":"_stake","nameLocation":"18776:6:19","nodeType":"FunctionDefinition","parameters":{"id":4671,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4668,"mutability":"mutable","name":"positionId","nameLocation":"18791:10:19","nodeType":"VariableDeclaration","scope":4809,"src":"18783:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4667,"name":"uint256","nodeType":"ElementaryTypeName","src":"18783:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4670,"mutability":"mutable","name":"amount","nameLocation":"18811:6:19","nodeType":"VariableDeclaration","scope":4809,"src":"18803:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4669,"name":"uint256","nodeType":"ElementaryTypeName","src":"18803:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"18782:36:19"},"returnParameters":{"id":4675,"nodeType":"ParameterList","parameters":[],"src":"18849:0:19"},"scope":5430,"src":"18767:1914:19","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":4951,"nodeType":"Block","src":"21564:2091:19","statements":[{"assignments":[4822],"declarations":[{"constant":false,"id":4822,"mutability":"mutable","name":"position","nameLocation":"21647:8:19","nodeType":"VariableDeclaration","scope":4951,"src":"21630:25:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"},"typeName":{"id":4821,"nodeType":"UserDefinedTypeName","pathNode":{"id":4820,"name":"Position","nodeType":"IdentifierPath","referencedDeclaration":4228,"src":"21630:8:19"},"referencedDeclaration":4228,"src":"21630:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"}},"visibility":"internal"}],"id":4826,"initialValue":{"baseExpression":{"id":4823,"name":"positions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4234,"src":"21658:9:19","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Position_$4228_storage_$","typeString":"mapping(uint256 => struct PangolinStakingPositions.Position storage ref)"}},"id":4825,"indexExpression":{"id":4824,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4812,"src":"21668:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"21658:21:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage","typeString":"struct PangolinStakingPositions.Position storage ref"}},"nodeType":"VariableDeclarationStatement","src":"21630:49:19"},{"assignments":[4828],"declarations":[{"constant":false,"id":4828,"mutability":"mutable","name":"oldBalance","nameLocation":"21771:10:19","nodeType":"VariableDeclaration","scope":4951,"src":"21763:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4827,"name":"uint256","nodeType":"ElementaryTypeName","src":"21763:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4832,"initialValue":{"expression":{"expression":{"id":4829,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4822,"src":"21784:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":4830,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"valueVariables","nodeType":"MemberAccess","referencedDeclaration":4218,"src":"21784:23:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"id":4831,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"21784:31:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"VariableDeclarationStatement","src":"21763:52:19"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4835,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4833,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4814,"src":"21830:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":4834,"name":"oldBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4828,"src":"21839:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"21830:19:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4839,"nodeType":"IfStatement","src":"21826:53:19","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":4836,"name":"InsufficientBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4182,"src":"21858:19:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":4837,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"21858:21:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4838,"nodeType":"RevertStatement","src":"21851:28:19"}},{"assignments":[4841],"declarations":[{"constant":false,"id":4841,"mutability":"mutable","name":"reward","nameLocation":"21997:6:19","nodeType":"VariableDeclaration","scope":4951,"src":"21989:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4840,"name":"uint256","nodeType":"ElementaryTypeName","src":"21989:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4845,"initialValue":{"arguments":[{"id":4843,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4822,"src":"22030:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}],"id":4842,"name":"_positionPendingRewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5080,"src":"22006:23:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Position_$4228_storage_ptr_$returns$_t_uint256_$","typeString":"function (struct PangolinStakingPositions.Position storage pointer) view returns (uint256)"}},"id":4844,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"22006:33:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"21989:50:19"},{"assignments":[4847],"declarations":[{"constant":false,"id":4847,"mutability":"mutable","name":"totalAmount","nameLocation":"22058:11:19","nodeType":"VariableDeclaration","scope":4951,"src":"22050:19:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4846,"name":"uint256","nodeType":"ElementaryTypeName","src":"22050:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4851,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4850,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4848,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4814,"src":"22072:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":4849,"name":"reward","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4841,"src":"22081:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22072:15:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"22050:37:19"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4854,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4852,"name":"totalAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4847,"src":"22102:11:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":4853,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22117:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"22102:16:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4858,"nodeType":"IfStatement","src":"22098:39:19","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":4855,"name":"NoEffect","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4160,"src":"22127:8:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":4856,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"22127:10:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4857,"nodeType":"RevertStatement","src":"22120:17:19"}},{"id":4920,"nodeType":"UncheckedBlock","src":"22150:930:19","statements":[{"assignments":[4860],"declarations":[{"constant":false,"id":4860,"mutability":"mutable","name":"remaining","nameLocation":"22242:9:19","nodeType":"VariableDeclaration","scope":4920,"src":"22234:17:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4859,"name":"uint256","nodeType":"ElementaryTypeName","src":"22234:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4864,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4863,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4861,"name":"oldBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4828,"src":"22254:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":4862,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4814,"src":"22267:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22254:19:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"22234:39:19"},{"expression":{"id":4872,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4865,"name":"totalValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4242,"src":"22355:19:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"id":4867,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"22355:27:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"arguments":[{"id":4870,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4814,"src":"22393:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4869,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"22386:6:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":4868,"name":"uint96","nodeType":"ElementaryTypeName","src":"22386:6:19","typeDescriptions":{}}},"id":4871,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"22386:14:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"22355:45:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"id":4873,"nodeType":"ExpressionStatement","src":"22355:45:19"},{"assignments":[4875],"declarations":[{"constant":false,"id":4875,"mutability":"mutable","name":"newEntryTimes","nameLocation":"22465:13:19","nodeType":"VariableDeclaration","scope":4920,"src":"22457:21:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4874,"name":"uint256","nodeType":"ElementaryTypeName","src":"22457:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4880,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4879,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4876,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"22481:5:19","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":4877,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"22481:15:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4878,"name":"remaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4860,"src":"22499:9:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22481:27:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"22457:51:19"},{"assignments":[4883],"declarations":[{"constant":false,"id":4883,"mutability":"mutable","name":"positionValueVariables","nameLocation":"22546:22:19","nodeType":"VariableDeclaration","scope":4920,"src":"22523:45:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables"},"typeName":{"id":4882,"nodeType":"UserDefinedTypeName","pathNode":{"id":4881,"name":"ValueVariables","nodeType":"IdentifierPath","referencedDeclaration":4210,"src":"22523:14:19"},"referencedDeclaration":4210,"src":"22523:14:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables"}},"visibility":"internal"}],"id":4886,"initialValue":{"expression":{"id":4884,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4822,"src":"22571:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":4885,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"valueVariables","nodeType":"MemberAccess","referencedDeclaration":4218,"src":"22571:23:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"nodeType":"VariableDeclarationStatement","src":"22523:71:19"},{"expression":{"id":4900,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4887,"name":"totalValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4242,"src":"22609:19:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"id":4889,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"sumOfEntryTimes","nodeType":"MemberAccess","referencedDeclaration":4209,"src":"22609:35:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4898,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4895,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4892,"name":"totalValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4242,"src":"22673:19:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"id":4893,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"sumOfEntryTimes","nodeType":"MemberAccess","referencedDeclaration":4209,"src":"22673:35:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":4894,"name":"newEntryTimes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4875,"src":"22732:13:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22673:72:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":4896,"name":"positionValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4883,"src":"22769:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables storage pointer"}},"id":4897,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"sumOfEntryTimes","nodeType":"MemberAccess","referencedDeclaration":4209,"src":"22769:38:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"22673:134:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4891,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"22647:7:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":4890,"name":"uint160","nodeType":"ElementaryTypeName","src":"22647:7:19","typeDescriptions":{}}},"id":4899,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"22647:175:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"22609:213:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":4901,"nodeType":"ExpressionStatement","src":"22609:213:19"},{"expression":{"id":4909,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4902,"name":"positionValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4883,"src":"22940:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables storage pointer"}},"id":4904,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"22940:30:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4907,"name":"remaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4860,"src":"22980:9:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4906,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"22973:6:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":4905,"name":"uint96","nodeType":"ElementaryTypeName","src":"22973:6:19","typeDescriptions":{}}},"id":4908,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"22973:17:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"22940:50:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"id":4910,"nodeType":"ExpressionStatement","src":"22940:50:19"},{"expression":{"id":4918,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4911,"name":"positionValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4883,"src":"23005:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables storage pointer"}},"id":4913,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"sumOfEntryTimes","nodeType":"MemberAccess","referencedDeclaration":4209,"src":"23005:38:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4916,"name":"newEntryTimes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4875,"src":"23054:13:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4915,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23046:7:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":4914,"name":"uint160","nodeType":"ElementaryTypeName","src":"23046:7:19","typeDescriptions":{}}},"id":4917,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"23046:22:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"23005:63:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":4919,"nodeType":"ExpressionStatement","src":"23005:63:19"}]},{"expression":{"id":4925,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4921,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4822,"src":"23174:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":4923,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"previousValues","nodeType":"MemberAccess","referencedDeclaration":4223,"src":"23174:23:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"30","id":4924,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23200:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"23174:27:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":4926,"nodeType":"ExpressionStatement","src":"23174:27:19"},{"expression":{"id":4935,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4927,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4822,"src":"23307:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":4929,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"lastDevaluation","nodeType":"MemberAccess","referencedDeclaration":4227,"src":"23307:24:19","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":4932,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"23341:5:19","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":4933,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"23341:15:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4931,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23334:6:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint48_$","typeString":"type(uint48)"},"typeName":{"id":4930,"name":"uint48","nodeType":"ElementaryTypeName","src":"23334:6:19","typeDescriptions":{}}},"id":4934,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"23334:23:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"src":"23307:50:19","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"id":4936,"nodeType":"ExpressionStatement","src":"23307:50:19"},{"expression":{"arguments":[{"id":4938,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4822,"src":"23448:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}],"id":4937,"name":"_snapshotRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5057,"src":"23422:25:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_Position_$4228_storage_ptr_$returns$__$","typeString":"function (struct PangolinStakingPositions.Position storage pointer)"}},"id":4939,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"23422:35:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4940,"nodeType":"ExpressionStatement","src":"23422:35:19"},{"expression":{"arguments":[{"id":4942,"name":"totalAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4847,"src":"23582:11:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4941,"name":"_transferToCaller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5784,"src":"23564:17:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":4943,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"23564:30:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4944,"nodeType":"ExpressionStatement","src":"23564:30:19"},{"eventCall":{"arguments":[{"id":4946,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4812,"src":"23620:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4947,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4814,"src":"23632:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4948,"name":"reward","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4841,"src":"23640:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4945,"name":"Withdrawn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4272,"src":"23610:9:19","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256,uint256)"}},"id":4949,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"23610:37:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4950,"nodeType":"EmitStatement","src":"23605:42:19"}]},"documentation":{"id":4810,"nodeType":"StructuredDocumentation","src":"20689:784:19","text":" @notice Private function to withdraw given amount of staked balance, plus all the accrued\n         rewards from the position. Also acts as harvest when input amount is zero.\n @param positionId The identifier of the position to withdraw the balance.\n @param amount The amount of staked tokens, excluding rewards, to withdraw from the position.\n @dev Specifications:\n      - Claim accrued `reward` tokens of the position,\n      - Send `reward` tokens from the contract to the position owner,\n      - Send `amount` tokens from the contract to the position owner,\n      - Make the staking duration of the remaining `balance` restart,\n      - Ignore NFT spending approvals for a duration set by the admin."},"id":4952,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":4817,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4812,"src":"21552:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":4818,"kind":"modifierInvocation","modifierName":{"id":4816,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":4308,"src":"21542:9:19"},"nodeType":"ModifierInvocation","src":"21542:21:19"}],"name":"_withdraw","nameLocation":"21488:9:19","nodeType":"FunctionDefinition","parameters":{"id":4815,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4812,"mutability":"mutable","name":"positionId","nameLocation":"21506:10:19","nodeType":"VariableDeclaration","scope":4952,"src":"21498:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4811,"name":"uint256","nodeType":"ElementaryTypeName","src":"21498:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4814,"mutability":"mutable","name":"amount","nameLocation":"21526:6:19","nodeType":"VariableDeclaration","scope":4952,"src":"21518:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4813,"name":"uint256","nodeType":"ElementaryTypeName","src":"21518:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"21497:36:19"},"returnParameters":{"id":4819,"nodeType":"ParameterList","parameters":[],"src":"21564:0:19"},"scope":5430,"src":"21479:2176:19","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":5002,"nodeType":"Block","src":"24207:700:19","statements":[{"assignments":[4963],"declarations":[{"constant":false,"id":4963,"mutability":"mutable","name":"positionValueVariables","nameLocation":"24289:22:19","nodeType":"VariableDeclaration","scope":5002,"src":"24267:44:19","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_memory_ptr","typeString":"struct PangolinStakingPositions.ValueVariables"},"typeName":{"id":4962,"nodeType":"UserDefinedTypeName","pathNode":{"id":4961,"name":"ValueVariables","nodeType":"IdentifierPath","referencedDeclaration":4210,"src":"24267:14:19"},"referencedDeclaration":4210,"src":"24267:14:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables"}},"visibility":"internal"}],"id":4968,"initialValue":{"expression":{"baseExpression":{"id":4964,"name":"positions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4234,"src":"24314:9:19","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Position_$4228_storage_$","typeString":"mapping(uint256 => struct PangolinStakingPositions.Position storage ref)"}},"id":4966,"indexExpression":{"id":4965,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4955,"src":"24324:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"24314:21:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage","typeString":"struct PangolinStakingPositions.Position storage ref"}},"id":4967,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"valueVariables","nodeType":"MemberAccess","referencedDeclaration":4218,"src":"24314:36:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"nodeType":"VariableDeclarationStatement","src":"24267:83:19"},{"assignments":[4970],"declarations":[{"constant":false,"id":4970,"mutability":"mutable","name":"balance","nameLocation":"24451:7:19","nodeType":"VariableDeclaration","scope":5002,"src":"24444:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"},"typeName":{"id":4969,"name":"uint96","nodeType":"ElementaryTypeName","src":"24444:6:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"visibility":"internal"}],"id":4973,"initialValue":{"expression":{"id":4971,"name":"positionValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4963,"src":"24461:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_memory_ptr","typeString":"struct PangolinStakingPositions.ValueVariables memory"}},"id":4972,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"24461:30:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"VariableDeclarationStatement","src":"24444:47:19"},{"id":4987,"nodeType":"UncheckedBlock","src":"24502:167:19","statements":[{"expression":{"id":4978,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4974,"name":"totalValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4242,"src":"24527:19:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"id":4976,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"24527:27:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":4977,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4970,"src":"24558:7:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"24527:38:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"id":4979,"nodeType":"ExpressionStatement","src":"24527:38:19"},{"expression":{"id":4985,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":4980,"name":"totalValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4242,"src":"24580:19:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"id":4982,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"sumOfEntryTimes","nodeType":"MemberAccess","referencedDeclaration":4209,"src":"24580:35:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"expression":{"id":4983,"name":"positionValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4963,"src":"24619:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_memory_ptr","typeString":"struct PangolinStakingPositions.ValueVariables memory"}},"id":4984,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"sumOfEntryTimes","nodeType":"MemberAccess","referencedDeclaration":4209,"src":"24619:38:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"24580:77:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":4986,"nodeType":"ExpressionStatement","src":"24580:77:19"}]},{"expression":{"arguments":[{"id":4989,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4955,"src":"24728:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4988,"name":"_burn","nodeType":"Identifier","overloadedDeclarations":[5342],"referencedDeclaration":5342,"src":"24722:5:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":4990,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"24722:17:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4991,"nodeType":"ExpressionStatement","src":"24722:17:19"},{"expression":{"arguments":[{"id":4993,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4970,"src":"24842:7:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint96","typeString":"uint96"}],"id":4992,"name":"_transferToCaller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5784,"src":"24824:17:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":4994,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"24824:26:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4995,"nodeType":"ExpressionStatement","src":"24824:26:19"},{"eventCall":{"arguments":[{"id":4997,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4955,"src":"24876:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4998,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4970,"src":"24888:7:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},{"hexValue":"30","id":4999,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24897:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint96","typeString":"uint96"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":4996,"name":"Withdrawn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4272,"src":"24866:9:19","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256,uint256)"}},"id":5000,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"24866:33:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5001,"nodeType":"EmitStatement","src":"24861:38:19"}]},"documentation":{"id":4953,"nodeType":"StructuredDocumentation","src":"23663:464:19","text":" @notice External function to exit from a position by forgoing rewards.\n @param positionId The identifier of the position to exit from.\n @dev Specifications:\n      - Burn the NFT associated with `positionId`,\n      - Close the position associated with `positionId`,\n      - Send `balance` tokens of the position to the user wallet,\n      - Ignore `reward` tokens, making them permanently irrecoverable."},"id":5003,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":4958,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4955,"src":"24195:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":4959,"kind":"modifierInvocation","modifierName":{"id":4957,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":4308,"src":"24185:9:19"},"nodeType":"ModifierInvocation","src":"24185:21:19"}],"name":"_emergencyExit","nameLocation":"24142:14:19","nodeType":"FunctionDefinition","parameters":{"id":4956,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4955,"mutability":"mutable","name":"positionId","nameLocation":"24165:10:19","nodeType":"VariableDeclaration","scope":5003,"src":"24157:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4954,"name":"uint256","nodeType":"ElementaryTypeName","src":"24157:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"24156:20:19"},"returnParameters":{"id":4960,"nodeType":"ParameterList","parameters":[],"src":"24207:0:19"},"scope":5430,"src":"24133:774:19","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":5032,"nodeType":"Block","src":"25155:546:19","statements":[{"assignments":[5008],"declarations":[{"constant":false,"id":5008,"mutability":"mutable","name":"rewards","nameLocation":"25245:7:19","nodeType":"VariableDeclaration","scope":5032,"src":"25237:15:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5007,"name":"uint256","nodeType":"ElementaryTypeName","src":"25237:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5011,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":5009,"name":"_claim","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5766,"src":"25255:6:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$_t_uint256_$","typeString":"function () returns (uint256)"}},"id":5010,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"25255:8:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"25237:26:19"},{"assignments":[5013,5015],"declarations":[{"constant":false,"id":5013,"mutability":"mutable","name":"idealPositionIncrementation","nameLocation":"25359:27:19","nodeType":"VariableDeclaration","scope":5032,"src":"25351:35:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5012,"name":"uint256","nodeType":"ElementaryTypeName","src":"25351:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5015,"mutability":"mutable","name":"rewardPerValueIncrementation","nameLocation":"25409:28:19","nodeType":"VariableDeclaration","scope":5032,"src":"25401:36:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5014,"name":"uint256","nodeType":"ElementaryTypeName","src":"25401:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5019,"initialValue":{"arguments":[{"id":5017,"name":"rewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5008,"src":"25487:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5016,"name":"_getRewardSummationsIncrementations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5198,"src":"25451:35:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_uint256_$_t_uint256_$","typeString":"function (uint256) view returns (uint256,uint256)"}},"id":5018,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"25451:44:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"25336:159:19"},{"expression":{"id":5024,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":5020,"name":"rewardSummationsStored","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4246,"src":"25546:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage","typeString":"struct PangolinStakingPositions.RewardSummations storage ref"}},"id":5022,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"idealPosition","nodeType":"MemberAccess","referencedDeclaration":4212,"src":"25546:36:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":5023,"name":"idealPositionIncrementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5013,"src":"25586:27:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25546:67:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5025,"nodeType":"ExpressionStatement","src":"25546:67:19"},{"expression":{"id":5030,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":5026,"name":"rewardSummationsStored","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4246,"src":"25624:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage","typeString":"struct PangolinStakingPositions.RewardSummations storage ref"}},"id":5028,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"rewardPerValue","nodeType":"MemberAccess","referencedDeclaration":4214,"src":"25624:37:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":5029,"name":"rewardPerValueIncrementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5015,"src":"25665:28:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25624:69:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5031,"nodeType":"ExpressionStatement","src":"25624:69:19"}]},"documentation":{"id":5004,"nodeType":"StructuredDocumentation","src":"24915:191:19","text":" @notice Private function to claim the total pending rewards, and based on the claimed amount\n         update the two variables that govern the reward distribution."},"id":5033,"implemented":true,"kind":"function","modifiers":[],"name":"_updateRewardSummations","nameLocation":"25121:23:19","nodeType":"FunctionDefinition","parameters":{"id":5005,"nodeType":"ParameterList","parameters":[],"src":"25144:2:19"},"returnParameters":{"id":5006,"nodeType":"ParameterList","parameters":[],"src":"25155:0:19"},"scope":5430,"src":"25112:589:19","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":5056,"nodeType":"Block","src":"25978:129:19","statements":[{"expression":{"id":5048,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":5040,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5037,"src":"25989:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":5042,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"lastUpdate","nodeType":"MemberAccess","referencedDeclaration":4225,"src":"25989:19:19","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":5045,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"26018:5:19","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5046,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"26018:15:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5044,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"26011:6:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint48_$","typeString":"type(uint48)"},"typeName":{"id":5043,"name":"uint48","nodeType":"ElementaryTypeName","src":"26011:6:19","typeDescriptions":{}}},"id":5047,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"26011:23:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"src":"25989:45:19","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"id":5049,"nodeType":"ExpressionStatement","src":"25989:45:19"},{"expression":{"id":5054,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":5050,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5037,"src":"26045:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":5052,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberName":"rewardSummationsPaid","nodeType":"MemberAccess","referencedDeclaration":4221,"src":"26045:29:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage","typeString":"struct PangolinStakingPositions.RewardSummations storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":5053,"name":"rewardSummationsStored","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4246,"src":"26077:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage","typeString":"struct PangolinStakingPositions.RewardSummations storage ref"}},"src":"26045:54:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage","typeString":"struct PangolinStakingPositions.RewardSummations storage ref"}},"id":5055,"nodeType":"ExpressionStatement","src":"26045:54:19"}]},"documentation":{"id":5034,"nodeType":"StructuredDocumentation","src":"25709:193:19","text":" @notice Private function to snapshot two rewards variables and record the timestamp.\n @param position The storage pointer to the position to record the snapshot for."},"id":5057,"implemented":true,"kind":"function","modifiers":[],"name":"_snapshotRewardSummations","nameLocation":"25917:25:19","nodeType":"FunctionDefinition","parameters":{"id":5038,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5037,"mutability":"mutable","name":"position","nameLocation":"25960:8:19","nodeType":"VariableDeclaration","scope":5057,"src":"25943:25:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"},"typeName":{"id":5036,"nodeType":"UserDefinedTypeName","pathNode":{"id":5035,"name":"Position","nodeType":"IdentifierPath","referencedDeclaration":4228,"src":"25943:8:19"},"referencedDeclaration":4228,"src":"25943:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"}},"visibility":"internal"}],"src":"25942:27:19"},"returnParameters":{"id":5039,"nodeType":"ParameterList","parameters":[],"src":"25978:0:19"},"scope":5430,"src":"25908:199:19","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":5079,"nodeType":"Block","src":"26553:421:19","statements":[{"assignments":[5068],"declarations":[{"constant":false,"id":5068,"mutability":"mutable","name":"deltaRewardSummations","nameLocation":"26784:21:19","nodeType":"VariableDeclaration","scope":5079,"src":"26760:45:19","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"},"typeName":{"id":5067,"nodeType":"UserDefinedTypeName","pathNode":{"id":5066,"name":"RewardSummations","nodeType":"IdentifierPath","referencedDeclaration":4215,"src":"26760:16:19"},"referencedDeclaration":4215,"src":"26760:16:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"}},"visibility":"internal"}],"id":5073,"initialValue":{"arguments":[{"id":5070,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5061,"src":"26834:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},{"hexValue":"66616c7365","id":5071,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"26844:5:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":5069,"name":"_getDeltaRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5155,"src":"26808:25:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Position_$4228_storage_ptr_$_t_bool_$returns$_t_struct$_RewardSummations_$4215_memory_ptr_$","typeString":"function (struct PangolinStakingPositions.Position storage pointer,bool) view returns (struct PangolinStakingPositions.RewardSummations memory)"}},"id":5072,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"26808:42:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"}},"nodeType":"VariableDeclarationStatement","src":"26760:90:19"},{"expression":{"arguments":[{"id":5075,"name":"deltaRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5068,"src":"26934:21:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"}},{"id":5076,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5061,"src":"26957:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"},{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}],"id":5074,"name":"_earned","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5262,"src":"26926:7:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_RewardSummations_$4215_memory_ptr_$_t_struct$_Position_$4228_storage_ptr_$returns$_t_uint256_$","typeString":"function (struct PangolinStakingPositions.RewardSummations memory,struct PangolinStakingPositions.Position storage pointer) view returns (uint256)"}},"id":5077,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"26926:40:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5065,"id":5078,"nodeType":"Return","src":"26919:47:19"}]},"documentation":{"id":5058,"nodeType":"StructuredDocumentation","src":"26115:341:19","text":" @notice Private view function to get the accrued rewards of a position.\n @dev The call to this function must only be made after the summations are updated\n      through `_updateRewardSummations()`.\n @param position The properties of the position.\n @return The accrued rewards of the position."},"id":5080,"implemented":true,"kind":"function","modifiers":[],"name":"_positionPendingRewards","nameLocation":"26471:23:19","nodeType":"FunctionDefinition","parameters":{"id":5062,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5061,"mutability":"mutable","name":"position","nameLocation":"26512:8:19","nodeType":"VariableDeclaration","scope":5080,"src":"26495:25:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"},"typeName":{"id":5060,"nodeType":"UserDefinedTypeName","pathNode":{"id":5059,"name":"Position","nodeType":"IdentifierPath","referencedDeclaration":4228,"src":"26495:8:19"},"referencedDeclaration":4228,"src":"26495:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"}},"visibility":"internal"}],"src":"26494:27:19"},"returnParameters":{"id":5065,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5064,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5080,"src":"26544:7:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5063,"name":"uint256","nodeType":"ElementaryTypeName","src":"26544:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"26543:9:19"},"scope":5430,"src":"26462:512:19","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":5154,"nodeType":"Block","src":"27647:1646:19","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint48","typeString":"uint48"},"id":5095,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5092,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5084,"src":"27736:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":5093,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"lastUpdate","nodeType":"MemberAccess","referencedDeclaration":4225,"src":"27736:19:19","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":5094,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27759:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"27736:24:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5101,"nodeType":"IfStatement","src":"27732:59:19","trueBody":{"expression":{"arguments":[{"hexValue":"30","id":5097,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27786:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":5098,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27789:1:19","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"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":5096,"name":"RewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4215,"src":"27769:16:19","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_RewardSummations_$4215_storage_ptr_$","typeString":"type(struct PangolinStakingPositions.RewardSummations storage pointer)"}},"id":5099,"isConstant":false,"isLValue":false,"isPure":true,"kind":"structConstructorCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"27769:22:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"}},"functionReturnParameters":5091,"id":5100,"nodeType":"Return","src":"27762:29:19"}},{"assignments":[5104],"declarations":[{"constant":false,"id":5104,"mutability":"mutable","name":"rewardSummationsPaid","nameLocation":"27896:20:19","nodeType":"VariableDeclaration","scope":5154,"src":"27871:45:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"},"typeName":{"id":5103,"nodeType":"UserDefinedTypeName","pathNode":{"id":5102,"name":"RewardSummations","nodeType":"IdentifierPath","referencedDeclaration":4215,"src":"27871:16:19"},"referencedDeclaration":4215,"src":"27871:16:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"}},"visibility":"internal"}],"id":5107,"initialValue":{"expression":{"id":5105,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5084,"src":"27919:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":5106,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"rewardSummationsPaid","nodeType":"MemberAccess","referencedDeclaration":4221,"src":"27919:29:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage","typeString":"struct PangolinStakingPositions.RewardSummations storage ref"}},"nodeType":"VariableDeclarationStatement","src":"27871:77:19"},{"condition":{"id":5108,"name":"increment","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5086,"src":"28040:9:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5140,"nodeType":"IfStatement","src":"28036:901:19","trueBody":{"id":5139,"nodeType":"Block","src":"28051:886:19","statements":[{"assignments":[5110],"declarations":[{"constant":false,"id":5110,"mutability":"mutable","name":"rewards","nameLocation":"28146:7:19","nodeType":"VariableDeclaration","scope":5139,"src":"28138:15:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5109,"name":"uint256","nodeType":"ElementaryTypeName","src":"28138:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5113,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":5111,"name":"_pendingRewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5857,"src":"28156:15:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint256_$","typeString":"function () view returns (uint256)"}},"id":5112,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"28156:17:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"28138:35:19"},{"assignments":[5115,5117],"declarations":[{"constant":false,"id":5115,"mutability":"mutable","name":"idealPositionIncrementation","nameLocation":"28281:27:19","nodeType":"VariableDeclaration","scope":5139,"src":"28273:35:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5114,"name":"uint256","nodeType":"ElementaryTypeName","src":"28273:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5117,"mutability":"mutable","name":"rewardPerValueIncrementation","nameLocation":"28335:28:19","nodeType":"VariableDeclaration","scope":5139,"src":"28327:36:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5116,"name":"uint256","nodeType":"ElementaryTypeName","src":"28327:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5121,"initialValue":{"arguments":[{"id":5119,"name":"rewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5110,"src":"28417:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5118,"name":"_getRewardSummationsIncrementations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5198,"src":"28381:35:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_uint256_$_t_uint256_$","typeString":"function (uint256) view returns (uint256,uint256)"}},"id":5120,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"28381:44:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"28254:171:19"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5129,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5126,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5123,"name":"rewardSummationsStored","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4246,"src":"28574:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage","typeString":"struct PangolinStakingPositions.RewardSummations storage ref"}},"id":5124,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"idealPosition","nodeType":"MemberAccess","referencedDeclaration":4212,"src":"28574:36:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":5125,"name":"idealPositionIncrementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5115,"src":"28638:27:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"28574:91:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":5127,"name":"rewardSummationsPaid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5104,"src":"28693:20:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations storage pointer"}},"id":5128,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"idealPosition","nodeType":"MemberAccess","referencedDeclaration":4212,"src":"28693:34:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"28574:153:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5136,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5133,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5130,"name":"rewardSummationsStored","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4246,"src":"28750:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage","typeString":"struct PangolinStakingPositions.RewardSummations storage ref"}},"id":5131,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"rewardPerValue","nodeType":"MemberAccess","referencedDeclaration":4214,"src":"28750:37:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":5132,"name":"rewardPerValueIncrementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5117,"src":"28815:28:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"28750:93:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":5134,"name":"rewardSummationsPaid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5104,"src":"28871:20:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations storage pointer"}},"id":5135,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"rewardPerValue","nodeType":"MemberAccess","referencedDeclaration":4214,"src":"28871:35:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"28750:156:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5122,"name":"RewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4215,"src":"28535:16:19","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_RewardSummations_$4215_storage_ptr_$","typeString":"type(struct PangolinStakingPositions.RewardSummations storage pointer)"}},"id":5137,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"28535:390:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"}},"functionReturnParameters":5091,"id":5138,"nodeType":"Return","src":"28511:414:19"}]}},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5146,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5142,"name":"rewardSummationsStored","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4246,"src":"29103:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage","typeString":"struct PangolinStakingPositions.RewardSummations storage ref"}},"id":5143,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"idealPosition","nodeType":"MemberAccess","referencedDeclaration":4212,"src":"29103:36:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":5144,"name":"rewardSummationsPaid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5104,"src":"29142:20:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations storage pointer"}},"id":5145,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"idealPosition","nodeType":"MemberAccess","referencedDeclaration":4212,"src":"29142:34:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"29103:73:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5151,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5147,"name":"rewardSummationsStored","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4246,"src":"29195:22:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage","typeString":"struct PangolinStakingPositions.RewardSummations storage ref"}},"id":5148,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"rewardPerValue","nodeType":"MemberAccess","referencedDeclaration":4214,"src":"29195:37:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":5149,"name":"rewardSummationsPaid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5104,"src":"29235:20:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations storage pointer"}},"id":5150,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"rewardPerValue","nodeType":"MemberAccess","referencedDeclaration":4214,"src":"29235:35:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"29195:75:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5141,"name":"RewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4215,"src":"29068:16:19","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_RewardSummations_$4215_storage_ptr_$","typeString":"type(struct PangolinStakingPositions.RewardSummations storage pointer)"}},"id":5152,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"29068:217:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"}},"functionReturnParameters":5091,"id":5153,"nodeType":"Return","src":"29048:237:19"}]},"documentation":{"id":5081,"nodeType":"StructuredDocumentation","src":"26982:502:19","text":" @notice Private view function to get the difference between a position’s summations\n         (‘paid’) and global summations (‘stored’).\n @param position The position for which to calculate the delta of summations.\n @param increment Whether to the incremented `rewardSummationsStored` based on the pending\n                  rewards of the contract.\n @return The difference between the `rewardSummationsStored` and `rewardSummationsPaid`."},"id":5155,"implemented":true,"kind":"function","modifiers":[],"name":"_getDeltaRewardSummations","nameLocation":"27499:25:19","nodeType":"FunctionDefinition","parameters":{"id":5087,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5084,"mutability":"mutable","name":"position","nameLocation":"27542:8:19","nodeType":"VariableDeclaration","scope":5155,"src":"27525:25:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"},"typeName":{"id":5083,"nodeType":"UserDefinedTypeName","pathNode":{"id":5082,"name":"Position","nodeType":"IdentifierPath","referencedDeclaration":4228,"src":"27525:8:19"},"referencedDeclaration":4228,"src":"27525:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"}},"visibility":"internal"},{"constant":false,"id":5086,"mutability":"mutable","name":"increment","nameLocation":"27557:9:19","nodeType":"VariableDeclaration","scope":5155,"src":"27552:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5085,"name":"bool","nodeType":"ElementaryTypeName","src":"27552:4:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"27524:43:19"},"returnParameters":{"id":5091,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5090,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5155,"src":"27617:23:19","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"},"typeName":{"id":5089,"nodeType":"UserDefinedTypeName","pathNode":{"id":5088,"name":"RewardSummations","nodeType":"IdentifierPath","referencedDeclaration":4215,"src":"27617:16:19"},"referencedDeclaration":4215,"src":"27617:16:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"}},"visibility":"internal"}],"src":"27616:25:19"},"scope":5430,"src":"27490:1803:19","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":5197,"nodeType":"Block","src":"29932:384:19","statements":[{"assignments":[5166],"declarations":[{"constant":false,"id":5166,"mutability":"mutable","name":"totalValue","nameLocation":"30045:10:19","nodeType":"VariableDeclaration","scope":5197,"src":"30037:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5165,"name":"uint256","nodeType":"ElementaryTypeName","src":"30037:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5170,"initialValue":{"arguments":[{"id":5168,"name":"totalValueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4242,"src":"30068:19:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}],"id":5167,"name":"_getValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5217,"src":"30058:9:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_ValueVariables_$4210_storage_ptr_$returns$_t_uint256_$","typeString":"function (struct PangolinStakingPositions.ValueVariables storage pointer) view returns (uint256)"}},"id":5169,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"30058:30:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"30037:51:19"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5173,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5171,"name":"totalValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5166,"src":"30103:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":5172,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30117:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"30103:15:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5196,"nodeType":"IfStatement","src":"30099:210:19","trueBody":{"id":5195,"nodeType":"Block","src":"30120:189:19","statements":[{"expression":{"id":5184,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5174,"name":"idealPositionIncrementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5161,"src":"30135:27:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5183,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5180,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5178,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5175,"name":"rewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5158,"src":"30166:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"expression":{"id":5176,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"30176:5:19","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5177,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"30176:15:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30166:25:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5179,"name":"PRECISION","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4259,"src":"30194:9:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30166:37:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5181,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"30165:39:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":5182,"name":"totalValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5166,"src":"30207:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30165:52:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30135:82:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5185,"nodeType":"ExpressionStatement","src":"30135:82:19"},{"expression":{"id":5193,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5186,"name":"rewardPerValueIncrementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5163,"src":"30232:28:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5192,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5189,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5187,"name":"rewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5158,"src":"30264:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5188,"name":"PRECISION","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4259,"src":"30274:9:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30264:19:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5190,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"30263:21:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":5191,"name":"totalValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5166,"src":"30287:10:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30263:34:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30232:65:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5194,"nodeType":"ExpressionStatement","src":"30232:65:19"}]}}]},"documentation":{"id":5156,"nodeType":"StructuredDocumentation","src":"29301:434:19","text":" @notice Private view function to calculate the `rewardSummationsStored` incrementations\n         based on the given reward amount.\n @param rewards The amount of rewards to use for calculating the incrementation.\n @return idealPositionIncrementation The incrementation to make to the idealPosition.\n @return rewardPerValueIncrementation The incrementation to make to the rewardPerValue."},"id":5198,"implemented":true,"kind":"function","modifiers":[],"name":"_getRewardSummationsIncrementations","nameLocation":"29750:35:19","nodeType":"FunctionDefinition","parameters":{"id":5159,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5158,"mutability":"mutable","name":"rewards","nameLocation":"29794:7:19","nodeType":"VariableDeclaration","scope":5198,"src":"29786:15:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5157,"name":"uint256","nodeType":"ElementaryTypeName","src":"29786:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"29785:17:19"},"returnParameters":{"id":5164,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5161,"mutability":"mutable","name":"idealPositionIncrementation","nameLocation":"29860:27:19","nodeType":"VariableDeclaration","scope":5198,"src":"29852:35:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5160,"name":"uint256","nodeType":"ElementaryTypeName","src":"29852:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5163,"mutability":"mutable","name":"rewardPerValueIncrementation","nameLocation":"29897:28:19","nodeType":"VariableDeclaration","scope":5198,"src":"29889:36:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5162,"name":"uint256","nodeType":"ElementaryTypeName","src":"29889:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"29851:75:19"},"scope":5430,"src":"29741:575:19","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":5216,"nodeType":"Block","src":"31057:99:19","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5214,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5211,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5207,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"31075:5:19","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5208,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"31075:15:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"expression":{"id":5209,"name":"valueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5202,"src":"31093:14:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables storage pointer"}},"id":5210,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"31093:22:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"31075:40:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":5212,"name":"valueVariables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5202,"src":"31118:14:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables storage pointer"}},"id":5213,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"sumOfEntryTimes","nodeType":"MemberAccess","referencedDeclaration":4209,"src":"31118:30:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"31075:73:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5206,"id":5215,"nodeType":"Return","src":"31068:80:19"}]},"documentation":{"id":5199,"nodeType":"StructuredDocumentation","src":"30324:638:19","text":" @notice Private view function to get the position or contract value.\n @dev Value refers to the sum of each `wei` of tokens’ staking durations. So if there are\n      10 tokens staked in the contract, and each one of them has been staked for 10 seconds,\n      then the value is 100 (`10 * 10`). To calculate value we use sumOfEntryTimes, which is\n      the sum of each `wei` of tokens’ staking-duration-starting timestamp. The formula\n      below is intuitive and simple to derive. We will leave proving it to the reader.\n @return The total value of contract or a position."},"id":5217,"implemented":true,"kind":"function","modifiers":[],"name":"_getValue","nameLocation":"30977:9:19","nodeType":"FunctionDefinition","parameters":{"id":5203,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5202,"mutability":"mutable","name":"valueVariables","nameLocation":"31010:14:19","nodeType":"VariableDeclaration","scope":5217,"src":"30987:37:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables"},"typeName":{"id":5201,"nodeType":"UserDefinedTypeName","pathNode":{"id":5200,"name":"ValueVariables","nodeType":"IdentifierPath","referencedDeclaration":4210,"src":"30987:14:19"},"referencedDeclaration":4210,"src":"30987:14:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage_ptr","typeString":"struct PangolinStakingPositions.ValueVariables"}},"visibility":"internal"}],"src":"30986:39:19"},"returnParameters":{"id":5206,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5205,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5217,"src":"31048:7:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5204,"name":"uint256","nodeType":"ElementaryTypeName","src":"31048:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"31047:9:19"},"scope":5430,"src":"30968:188:19","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":5261,"nodeType":"Block","src":"31653:484:19","statements":[{"expression":{"condition":{"commonType":{"typeIdentifier":"t_uint48","typeString":"uint48"},"id":5232,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5229,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5224,"src":"31784:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":5230,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"lastUpdate","nodeType":"MemberAccess","referencedDeclaration":4225,"src":"31784:19:19","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":5231,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31807:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"31784:24:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5258,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5255,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5247,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5242,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5234,"name":"deltaRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5221,"src":"31852:21:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"}},"id":5235,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"idealPosition","nodeType":"MemberAccess","referencedDeclaration":4212,"src":"31852:35:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5240,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5236,"name":"deltaRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5221,"src":"31912:21:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"}},"id":5237,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"rewardPerValue","nodeType":"MemberAccess","referencedDeclaration":4214,"src":"31912:36:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"expression":{"id":5238,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5224,"src":"31951:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":5239,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"lastUpdate","nodeType":"MemberAccess","referencedDeclaration":4225,"src":"31951:19:19","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"src":"31912:58:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5241,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"31911:60:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31852:119:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5243,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"31851:121:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"expression":{"expression":{"id":5244,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5224,"src":"31996:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":5245,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"valueVariables","nodeType":"MemberAccess","referencedDeclaration":4218,"src":"31996:23:19","typeDescriptions":{"typeIdentifier":"t_struct$_ValueVariables_$4210_storage","typeString":"struct PangolinStakingPositions.ValueVariables storage ref"}},"id":5246,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"balance","nodeType":"MemberAccess","referencedDeclaration":4207,"src":"31996:31:19","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"31851:176:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5248,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"31850:178:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5253,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5249,"name":"deltaRewardSummations","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5221,"src":"32053:21:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations memory"}},"id":5250,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"rewardPerValue","nodeType":"MemberAccess","referencedDeclaration":4214,"src":"32053:36:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"expression":{"id":5251,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5224,"src":"32092:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position storage pointer"}},"id":5252,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"previousValues","nodeType":"MemberAccess","referencedDeclaration":4223,"src":"32092:23:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"32053:62:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5254,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"32052:64:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31850:266:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5256,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"31849:268:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":5257,"name":"PRECISION","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4259,"src":"32120:9:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31849:280:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5259,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"31784:345:19","trueExpression":{"hexValue":"30","id":5233,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31828:1:19","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5228,"id":5260,"nodeType":"Return","src":"31764:365:19"}]},"documentation":{"id":5218,"nodeType":"StructuredDocumentation","src":"31164:329:19","text":" @notice Low-level private view function to get the accrued rewards of a position.\n @param deltaRewardSummations The difference between the ‘stored’ and ‘paid’ summations.\n @param position The position to check the accrued rewards of.\n @return The accrued rewards of the position."},"id":5262,"implemented":true,"kind":"function","modifiers":[],"name":"_earned","nameLocation":"31508:7:19","nodeType":"FunctionDefinition","parameters":{"id":5225,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5221,"mutability":"mutable","name":"deltaRewardSummations","nameLocation":"31540:21:19","nodeType":"VariableDeclaration","scope":5262,"src":"31516:45:19","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_memory_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"},"typeName":{"id":5220,"nodeType":"UserDefinedTypeName","pathNode":{"id":5219,"name":"RewardSummations","nodeType":"IdentifierPath","referencedDeclaration":4215,"src":"31516:16:19"},"referencedDeclaration":4215,"src":"31516:16:19","typeDescriptions":{"typeIdentifier":"t_struct$_RewardSummations_$4215_storage_ptr","typeString":"struct PangolinStakingPositions.RewardSummations"}},"visibility":"internal"},{"constant":false,"id":5224,"mutability":"mutable","name":"position","nameLocation":"31580:8:19","nodeType":"VariableDeclaration","scope":5262,"src":"31563:25:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"},"typeName":{"id":5223,"nodeType":"UserDefinedTypeName","pathNode":{"id":5222,"name":"Position","nodeType":"IdentifierPath","referencedDeclaration":4228,"src":"31563:8:19"},"referencedDeclaration":4228,"src":"31563:8:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage_ptr","typeString":"struct PangolinStakingPositions.Position"}},"visibility":"internal"}],"src":"31515:74:19"},"returnParameters":{"id":5228,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5227,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5262,"src":"31639:7:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5226,"name":"uint256","nodeType":"ElementaryTypeName","src":"31639:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"31638:9:19"},"scope":5430,"src":"31499:638:19","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":5320,"nodeType":"Block","src":"32398:347:19","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5276,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5274,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5266,"src":"32413:4:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":5275,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5268,"src":"32420:2:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"32413:9:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5280,"nodeType":"IfStatement","src":"32409:35:19","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5277,"name":"OutOfBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4168,"src":"32431:11:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5278,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"32431:13:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5279,"nodeType":"RevertStatement","src":"32424:20:19"}},{"assignments":[5282],"declarations":[{"constant":false,"id":5282,"mutability":"mutable","name":"length","nameLocation":"32465:6:19","nodeType":"VariableDeclaration","scope":5320,"src":"32457:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5281,"name":"uint256","nodeType":"ElementaryTypeName","src":"32457:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5288,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5287,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5285,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5283,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5268,"src":"32474:2:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":5284,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5266,"src":"32479:4:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"32474:9:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":5286,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"32486:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"32474:13:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"32457:30:19"},{"assignments":[5293],"declarations":[{"constant":false,"id":5293,"mutability":"mutable","name":"tokens","nameLocation":"32515:6:19","nodeType":"VariableDeclaration","scope":5320,"src":"32498:23:19","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":5291,"name":"uint256","nodeType":"ElementaryTypeName","src":"32498:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5292,"nodeType":"ArrayTypeName","src":"32498:9:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"id":5299,"initialValue":{"arguments":[{"id":5297,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5282,"src":"32538:6:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5296,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"32524:13:19","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (uint256[] memory)"},"typeName":{"baseType":{"id":5294,"name":"uint256","nodeType":"ElementaryTypeName","src":"32528:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5295,"nodeType":"ArrayTypeName","src":"32528:9:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}}},"id":5298,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"32524:21:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"nodeType":"VariableDeclarationStatement","src":"32498:47:19"},{"body":{"id":5316,"nodeType":"Block","src":"32575:139:19","statements":[{"expression":{"id":5310,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":5303,"name":"tokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5293,"src":"32590:6:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"id":5305,"indexExpression":{"id":5304,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5266,"src":"32597:4:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"32590:12:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5307,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5264,"src":"32625:5:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5308,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5266,"src":"32632:4:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5306,"name":"tokenOfOwnerByIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1773,"src":"32605:19:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_uint256_$returns$_t_uint256_$","typeString":"function (address,uint256) view returns (uint256)"}},"id":5309,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"32605:32:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"32590:47:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5311,"nodeType":"ExpressionStatement","src":"32590:47:19"},{"id":5315,"nodeType":"UncheckedBlock","src":"32652:51:19","statements":[{"expression":{"id":5313,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"32681:6:19","subExpression":{"id":5312,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5266,"src":"32683:4:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5314,"nodeType":"ExpressionStatement","src":"32681:6:19"}]}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5302,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5300,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5266,"src":"32563:4:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":5301,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5268,"src":"32571:2:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"32563:10:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5317,"nodeType":"WhileStatement","src":"32556:158:19"},{"expression":{"id":5318,"name":"tokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5293,"src":"32731:6:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"functionReturnParameters":5273,"id":5319,"nodeType":"Return","src":"32724:13:19"}]},"functionSelector":"ce9e2daa","id":5321,"implemented":true,"kind":"function","modifiers":[],"name":"tokensOfOwnerByIndex","nameLocation":"32261:20:19","nodeType":"FunctionDefinition","parameters":{"id":5269,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5264,"mutability":"mutable","name":"owner","nameLocation":"32300:5:19","nodeType":"VariableDeclaration","scope":5321,"src":"32292:13:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5263,"name":"address","nodeType":"ElementaryTypeName","src":"32292:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5266,"mutability":"mutable","name":"from","nameLocation":"32324:4:19","nodeType":"VariableDeclaration","scope":5321,"src":"32316:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5265,"name":"uint256","nodeType":"ElementaryTypeName","src":"32316:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5268,"mutability":"mutable","name":"to","nameLocation":"32347:2:19","nodeType":"VariableDeclaration","scope":5321,"src":"32339:10:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5267,"name":"uint256","nodeType":"ElementaryTypeName","src":"32339:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"32281:75:19"},"returnParameters":{"id":5273,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5272,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5321,"src":"32380:16:19","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":5270,"name":"uint256","nodeType":"ElementaryTypeName","src":"32380:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5271,"nodeType":"ArrayTypeName","src":"32380:9:19","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"32379:18:19"},"scope":5430,"src":"32252:493:19","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[1284],"body":{"id":5341,"nodeType":"Block","src":"32822:125:19","statements":[{"expression":{"id":5333,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"32883:25:19","subExpression":{"baseExpression":{"id":5330,"name":"positions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4234,"src":"32890:9:19","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Position_$4228_storage_$","typeString":"mapping(uint256 => struct PangolinStakingPositions.Position storage ref)"}},"id":5332,"indexExpression":{"id":5331,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5323,"src":"32900:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"32890:18:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage","typeString":"struct PangolinStakingPositions.Position storage ref"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5334,"nodeType":"ExpressionStatement","src":"32883:25:19"},{"expression":{"arguments":[{"id":5338,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5323,"src":"32931:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5335,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"32919:5:19","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_PangolinStakingPositions_$5430_$","typeString":"type(contract super PangolinStakingPositions)"}},"id":5337,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"_burn","nodeType":"MemberAccess","referencedDeclaration":1284,"src":"32919:11:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":5339,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"32919:20:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5340,"nodeType":"ExpressionStatement","src":"32919:20:19"}]},"id":5342,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":5327,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5323,"src":"32813:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5328,"kind":"modifierInvocation","modifierName":{"id":5326,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":4308,"src":"32803:9:19"},"nodeType":"ModifierInvocation","src":"32803:18:19"}],"name":"_burn","nameLocation":"32762:5:19","nodeType":"FunctionDefinition","overrides":{"id":5325,"nodeType":"OverrideSpecifier","overrides":[],"src":"32794:8:19"},"parameters":{"id":5324,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5323,"mutability":"mutable","name":"tokenId","nameLocation":"32776:7:19","nodeType":"VariableDeclaration","scope":5342,"src":"32768:15:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5322,"name":"uint256","nodeType":"ElementaryTypeName","src":"32768:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"32767:17:19"},"returnParameters":{"id":5329,"nodeType":"ParameterList","parameters":[],"src":"32822:0:19"},"scope":5430,"src":"32753:194:19","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[1887],"body":{"id":5386,"nodeType":"Block","src":"33108:360:19","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5357,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5354,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"33197:3:19","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5355,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"sender","nodeType":"MemberAccess","src":"33197:10:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":5356,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5344,"src":"33211:4:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"33197:18:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5376,"nodeType":"IfStatement","src":"33193:199:19","trueBody":{"id":5375,"nodeType":"Block","src":"33217:175:19","statements":[{"assignments":[5359],"declarations":[{"constant":false,"id":5359,"mutability":"mutable","name":"pausedUntil","nameLocation":"33240:11:19","nodeType":"VariableDeclaration","scope":5375,"src":"33232:19:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5358,"name":"uint256","nodeType":"ElementaryTypeName","src":"33232:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5366,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5365,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":5360,"name":"positions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4234,"src":"33254:9:19","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Position_$4228_storage_$","typeString":"mapping(uint256 => struct PangolinStakingPositions.Position storage ref)"}},"id":5362,"indexExpression":{"id":5361,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5348,"src":"33264:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"33254:18:19","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$4228_storage","typeString":"struct PangolinStakingPositions.Position storage ref"}},"id":5363,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"lastDevaluation","nodeType":"MemberAccess","referencedDeclaration":4227,"src":"33254:34:19","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":5364,"name":"approvalPauseDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4250,"src":"33291:21:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"33254:58:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"33232:80:19"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5370,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5367,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"33331:5:19","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5368,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"33331:15:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":5369,"name":"pausedUntil","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5359,"src":"33350:11:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"33331:30:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5374,"nodeType":"IfStatement","src":"33327:53:19","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5371,"name":"TooEarly","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4156,"src":"33370:8:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5372,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"33370:10:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5373,"nodeType":"RevertStatement","src":"33363:17:19"}}]}},{"expression":{"arguments":[{"id":5380,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5344,"src":"33431:4:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5381,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5346,"src":"33437:2:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5382,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5348,"src":"33441:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5383,"name":"batchSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5350,"src":"33450:9:19","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":5377,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"33404:5:19","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_PangolinStakingPositions_$5430_$","typeString":"type(contract super PangolinStakingPositions)"}},"id":5379,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"_beforeTokenTransfer","nodeType":"MemberAccess","referencedDeclaration":1887,"src":"33404:26:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256,uint256)"}},"id":5384,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"33404:56:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5385,"nodeType":"ExpressionStatement","src":"33404:56:19"}]},"id":5387,"implemented":true,"kind":"function","modifiers":[],"name":"_beforeTokenTransfer","nameLocation":"32964:20:19","nodeType":"FunctionDefinition","overrides":{"id":5352,"nodeType":"OverrideSpecifier","overrides":[],"src":"33099:8:19"},"parameters":{"id":5351,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5344,"mutability":"mutable","name":"from","nameLocation":"33003:4:19","nodeType":"VariableDeclaration","scope":5387,"src":"32995:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5343,"name":"address","nodeType":"ElementaryTypeName","src":"32995:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5346,"mutability":"mutable","name":"to","nameLocation":"33026:2:19","nodeType":"VariableDeclaration","scope":5387,"src":"33018:10:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5345,"name":"address","nodeType":"ElementaryTypeName","src":"33018:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5348,"mutability":"mutable","name":"tokenId","nameLocation":"33047:7:19","nodeType":"VariableDeclaration","scope":5387,"src":"33039:15:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5347,"name":"uint256","nodeType":"ElementaryTypeName","src":"33039:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5350,"mutability":"mutable","name":"batchSize","nameLocation":"33073:9:19","nodeType":"VariableDeclaration","scope":5387,"src":"33065:17:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5349,"name":"uint256","nodeType":"ElementaryTypeName","src":"33065:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"32984:105:19"},"returnParameters":{"id":5353,"nodeType":"ParameterList","parameters":[],"src":"33108:0:19"},"scope":5430,"src":"32955:513:19","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[821],"body":{"id":5407,"nodeType":"Block","src":"33556:166:19","statements":[{"expression":{"arguments":[{"id":5398,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5389,"src":"33589:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5395,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1561,"src":"33567:6:19","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721_$1561_$","typeString":"type(contract ERC721)"}},"id":5397,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"_requireMinted","nodeType":"MemberAccess","referencedDeclaration":1439,"src":"33567:21:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$__$","typeString":"function (uint256) view"}},"id":5399,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"33567:30:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5400,"nodeType":"ExpressionStatement","src":"33567:30:19"},{"expression":{"arguments":[{"id":5403,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"33700:4:19","typeDescriptions":{"typeIdentifier":"t_contract$_PangolinStakingPositions_$5430","typeString":"contract PangolinStakingPositions"}},{"id":5404,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5389,"src":"33706:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_PangolinStakingPositions_$5430","typeString":"contract PangolinStakingPositions"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5401,"name":"tokenMetadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4238,"src":"33677:13:19","typeDescriptions":{"typeIdentifier":"t_contract$_ITokenMetadata_$4200","typeString":"contract ITokenMetadata"}},"id":5402,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"tokenURI","nodeType":"MemberAccess","referencedDeclaration":4199,"src":"33677:22:19","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_contract$_PangolinStakingPositions_$5430_$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (contract PangolinStakingPositions,uint256) view external returns (string memory)"}},"id":5405,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"33677:37:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":5394,"id":5406,"nodeType":"Return","src":"33670:44:19"}]},"functionSelector":"c87b56dd","id":5408,"implemented":true,"kind":"function","modifiers":[],"name":"tokenURI","nameLocation":"33485:8:19","nodeType":"FunctionDefinition","overrides":{"id":5391,"nodeType":"OverrideSpecifier","overrides":[],"src":"33523:8:19"},"parameters":{"id":5390,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5389,"mutability":"mutable","name":"tokenId","nameLocation":"33502:7:19","nodeType":"VariableDeclaration","scope":5408,"src":"33494:15:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5388,"name":"uint256","nodeType":"ElementaryTypeName","src":"33494:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"33493:17:19"},"returnParameters":{"id":5394,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5393,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5408,"src":"33541:13:19","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5392,"name":"string","nodeType":"ElementaryTypeName","src":"33541:6:19","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"33540:15:19"},"scope":5430,"src":"33476:246:19","stateMutability":"view","virtual":false,"visibility":"public"},{"baseFunctions":[356,1745],"body":{"id":5428,"nodeType":"Block","src":"33897:157:19","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5426,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5420,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5410,"src":"33970:11:19","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":5418,"name":"AccessControlEnumerable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":440,"src":"33928:23:19","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_AccessControlEnumerable_$440_$","typeString":"type(contract AccessControlEnumerable)"}},"id":5419,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"supportsInterface","nodeType":"MemberAccess","referencedDeclaration":356,"src":"33928:41:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) view returns (bool)"}},"id":5421,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"33928:54:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":5424,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5410,"src":"34034:11:19","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":5422,"name":"ERC721Enumerable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2049,"src":"33999:16:19","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721Enumerable_$2049_$","typeString":"type(contract ERC721Enumerable)"}},"id":5423,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"supportsInterface","nodeType":"MemberAccess","referencedDeclaration":1745,"src":"33999:34:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) view returns (bool)"}},"id":5425,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"33999:47:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"33928:118:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":5417,"id":5427,"nodeType":"Return","src":"33908:138:19"}]},"functionSelector":"01ffc9a7","id":5429,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"33739:17:19","nodeType":"FunctionDefinition","overrides":{"id":5414,"nodeType":"OverrideSpecifier","overrides":[{"id":5412,"name":"ERC721Enumerable","nodeType":"IdentifierPath","referencedDeclaration":2049,"src":"33825:16:19"},{"id":5413,"name":"AccessControlEnumerable","nodeType":"IdentifierPath","referencedDeclaration":440,"src":"33843:23:19"}],"src":"33816:51:19"},"parameters":{"id":5411,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5410,"mutability":"mutable","name":"interfaceId","nameLocation":"33764:11:19","nodeType":"VariableDeclaration","scope":5429,"src":"33757:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":5409,"name":"bytes4","nodeType":"ElementaryTypeName","src":"33757:6:19","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"33756:20:19"},"returnParameters":{"id":5417,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5416,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5429,"src":"33886:4:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5415,"name":"bool","nodeType":"ElementaryTypeName","src":"33886:4:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"33885:6:19"},"scope":5430,"src":"33730:324:19","stateMutability":"view","virtual":false,"visibility":"public"}],"scope":5431,"src":"2501:31556:19","usedErrors":[4152,4154,4156,4158,4160,4162,4164,4166,4168,4170,4172,4174,4176,4178,4180,4182,4184]}],"src":"35:34024:19"},"id":19},"contracts/staking-positions/PangolinStakingPositionsFunding.sol":{"ast":{"absolutePath":"contracts/staking-positions/PangolinStakingPositionsFunding.sol","exportedSymbols":{"AccessControl":[315],"AccessControlEnumerable":[440],"Context":[2459],"ERC165":[2658],"EnumerableSet":[4148],"GenericErrors":[4185],"IAccessControl":[513],"IAccessControlEnumerable":[538],"IERC165":[2670],"IERC20":[616],"Math":[3535],"PangolinStakingPositionsFunding":[5858],"Strings":[2634]},"id":5859,"license":"GPLv3","nodeType":"SourceUnit","nodes":[{"id":5432,"literals":["solidity","0.8",".15"],"nodeType":"PragmaDirective","src":"35:23:20"},{"absolutePath":"@openzeppelin/contracts/access/AccessControlEnumerable.sol","file":"@openzeppelin/contracts/access/AccessControlEnumerable.sol","id":5433,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5859,"sourceUnit":441,"src":"62:68:20","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","file":"@openzeppelin/contracts/token/ERC20/IERC20.sol","id":5434,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5859,"sourceUnit":617,"src":"132:56:20","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/staking-positions/GenericErrors.sol","file":"./GenericErrors.sol","id":5435,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5859,"sourceUnit":4186,"src":"190:29:20","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":5437,"name":"AccessControlEnumerable","nodeType":"IdentifierPath","referencedDeclaration":440,"src":"796:23:20"},"id":5438,"nodeType":"InheritanceSpecifier","src":"796:23:20"},{"baseName":{"id":5439,"name":"GenericErrors","nodeType":"IdentifierPath","referencedDeclaration":4185,"src":"821:13:20"},"id":5440,"nodeType":"InheritanceSpecifier","src":"821:13:20"}],"canonicalName":"PangolinStakingPositionsFunding","contractDependencies":[],"contractKind":"contract","documentation":{"id":5436,"nodeType":"StructuredDocumentation","src":"223:518:20","text":" @title Pangolin Staking Positions Funding\n @author Shung for Pangolin\n @notice A contract that is only the rewards part of `StakingRewards`.\n @dev The inheriting contract must call `_claim()` to check its reward since the last time the\n      same call was made. Then, based on the reward amount, the inheriting contract shall\n      determine the distribution to stakers. The purpose of this architecture is to separate the\n      logic of funding from the staking and reward distribution."},"fullyImplemented":true,"id":5858,"linearizedBaseContracts":[5858,4185,440,315,2658,2670,538,513,2459],"name":"PangolinStakingPositionsFunding","nameLocation":"761:31:20","nodeType":"ContractDefinition","nodes":[{"constant":false,"documentation":{"id":5441,"nodeType":"StructuredDocumentation","src":"842:71:20","text":"@notice The rewards given out per second during a reward period. "},"id":5443,"mutability":"mutable","name":"_rewardRate","nameLocation":"934:11:20","nodeType":"VariableDeclaration","scope":5858,"src":"919:26:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"},"typeName":{"id":5442,"name":"uint80","nodeType":"ElementaryTypeName","src":"919:6:20","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"visibility":"private"},{"constant":false,"documentation":{"id":5444,"nodeType":"StructuredDocumentation","src":"954:95:20","text":"@notice The timestamp when the last time the rewards were claimed by the child contract. "},"functionSelector":"c0463711","id":5446,"mutability":"mutable","name":"lastUpdate","nameLocation":"1069:10:20","nodeType":"VariableDeclaration","scope":5858,"src":"1055:24:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"},"typeName":{"id":5445,"name":"uint40","nodeType":"ElementaryTypeName","src":"1055:6:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"visibility":"public"},{"constant":false,"documentation":{"id":5447,"nodeType":"StructuredDocumentation","src":"1088:93:20","text":"@notice The timestamp when the current period will end or the latest period has ended. "},"functionSelector":"ebe2b12b","id":5449,"mutability":"mutable","name":"periodFinish","nameLocation":"1201:12:20","nodeType":"VariableDeclaration","scope":5858,"src":"1187:26:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"},"typeName":{"id":5448,"name":"uint40","nodeType":"ElementaryTypeName","src":"1187:6:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"visibility":"public"},{"constant":false,"documentation":{"id":5450,"nodeType":"StructuredDocumentation","src":"1222:49:20","text":"@notice The amount of total rewards added. "},"functionSelector":"098b8858","id":5452,"mutability":"mutable","name":"totalRewardAdded","nameLocation":"1291:16:20","nodeType":"VariableDeclaration","scope":5858,"src":"1277:30:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"},"typeName":{"id":5451,"name":"uint96","nodeType":"ElementaryTypeName","src":"1277:6:20","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"visibility":"public"},{"constant":false,"documentation":{"id":5453,"nodeType":"StructuredDocumentation","src":"1316:91:20","text":"@notice The duration for how long the rewards will last after `addReward` is called. "},"functionSelector":"b470aade","id":5456,"mutability":"mutable","name":"periodDuration","nameLocation":"1428:14:20","nodeType":"VariableDeclaration","scope":5858,"src":"1413:39:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5454,"name":"uint256","nodeType":"ElementaryTypeName","src":"1413:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"3134","id":5455,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1445:7:20","subdenomination":"days","typeDescriptions":{"typeIdentifier":"t_rational_1209600_by_1","typeString":"int_const 1209600"},"value":"14"},"visibility":"public"},{"constant":false,"documentation":{"id":5457,"nodeType":"StructuredDocumentation","src":"1461:63:20","text":"@notice The reward token that is distributed to stakers. "},"functionSelector":"d1af0c7d","id":5460,"mutability":"immutable","name":"rewardsToken","nameLocation":"1554:12:20","nodeType":"VariableDeclaration","scope":5858,"src":"1530:36:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$616","typeString":"contract IERC20"},"typeName":{"id":5459,"nodeType":"UserDefinedTypeName","pathNode":{"id":5458,"name":"IERC20","nodeType":"IdentifierPath","referencedDeclaration":616,"src":"1530:6:20"},"referencedDeclaration":616,"src":"1530:6:20","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$616","typeString":"contract IERC20"}},"visibility":"public"},{"constant":true,"documentation":{"id":5461,"nodeType":"StructuredDocumentation","src":"1575:51:20","text":"@dev The minimum duration a period can last. "},"id":5468,"mutability":"constant","name":"MIN_PERIOD_DURATION","nameLocation":"1657:19:20","nodeType":"VariableDeclaration","scope":5858,"src":"1632:56:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5462,"name":"uint256","nodeType":"ElementaryTypeName","src":"1632:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_65537_by_1","typeString":"int_const 65537"},"id":5467,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"},"id":5465,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":5463,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1679:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3136","id":5464,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1682:2:20","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"1679:5:20","typeDescriptions":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":5466,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1687:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1679:9:20","typeDescriptions":{"typeIdentifier":"t_rational_65537_by_1","typeString":"int_const 65537"}},"visibility":"private"},{"constant":true,"documentation":{"id":5469,"nodeType":"StructuredDocumentation","src":"1697:51:20","text":"@dev The maximum duration a period can last. "},"id":5474,"mutability":"constant","name":"MAX_PERIOD_DURATION","nameLocation":"1779:19:20","nodeType":"VariableDeclaration","scope":5858,"src":"1754:52:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5470,"name":"uint256","nodeType":"ElementaryTypeName","src":"1754:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"},"id":5473,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":5471,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1801:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3332","id":5472,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1804:2:20","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"1801:5:20","typeDescriptions":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"}},"visibility":"private"},{"constant":true,"documentation":{"id":5475,"nodeType":"StructuredDocumentation","src":"1815:71:20","text":"@dev The maximum amount of rewards that can ever be distributed. "},"id":5482,"mutability":"constant","name":"MAX_TOTAL_REWARD","nameLocation":"1917:16:20","nodeType":"VariableDeclaration","scope":5858,"src":"1892:60:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5476,"name":"uint256","nodeType":"ElementaryTypeName","src":"1892:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"expression":{"arguments":[{"id":5479,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1941:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":5478,"name":"uint96","nodeType":"ElementaryTypeName","src":"1941:6:20","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"}],"id":5477,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"1936:4:20","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":5480,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1936:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint96","typeString":"type(uint96)"}},"id":5481,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"max","nodeType":"MemberAccess","src":"1936:16:20","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"visibility":"private"},{"constant":true,"documentation":{"id":5483,"nodeType":"StructuredDocumentation","src":"1961:66:20","text":"@dev The privileged role that can call `addReward` function "},"id":5488,"mutability":"constant","name":"FUNDER_ROLE","nameLocation":"2058:11:20","nodeType":"VariableDeclaration","scope":5858,"src":"2033:63:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5484,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2033:7:20","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"46554e4445525f524f4c45","id":5486,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2082:13:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_0914bb97ca83e85ef385857d9d418f187ff630589e0c9f44db92976d8e4519cb","typeString":"literal_string \"FUNDER_ROLE\""},"value":"FUNDER_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_0914bb97ca83e85ef385857d9d418f187ff630589e0c9f44db92976d8e4519cb","typeString":"literal_string \"FUNDER_ROLE\""}],"id":5485,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"2072:9:20","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":5487,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2072:24:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"private"},{"anonymous":false,"documentation":{"id":5489,"nodeType":"StructuredDocumentation","src":"2105:69:20","text":"@notice The event emitted when a period is manually cut short. "},"eventSelector":"ac02d07d013ae7c7e3ee940f8df0877c2ab1103bf87ab258ce31665f7111f092","id":5491,"name":"PeriodEnded","nameLocation":"2186:11:20","nodeType":"EventDefinition","parameters":{"id":5490,"nodeType":"ParameterList","parameters":[],"src":"2197:2:20"},"src":"2180:20:20"},{"anonymous":false,"documentation":{"id":5492,"nodeType":"StructuredDocumentation","src":"2208:86:20","text":"@notice The event emitted when a period is started or extended through funding. "},"eventSelector":"de88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d","id":5496,"name":"RewardAdded","nameLocation":"2306:11:20","nodeType":"EventDefinition","parameters":{"id":5495,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5494,"indexed":false,"mutability":"mutable","name":"reward","nameLocation":"2326:6:20","nodeType":"VariableDeclaration","scope":5496,"src":"2318:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5493,"name":"uint256","nodeType":"ElementaryTypeName","src":"2318:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2317:16:20"},"src":"2300:34:20"},{"anonymous":false,"documentation":{"id":5497,"nodeType":"StructuredDocumentation","src":"2342:69:20","text":"@notice The event emitted when the period duration is changed. "},"eventSelector":"bd6eb9cf4d6e2902587c57e3163aaafdb46e3b3f2086bdfa75c790228930a9d7","id":5501,"name":"PeriodDurationUpdated","nameLocation":"2423:21:20","nodeType":"EventDefinition","parameters":{"id":5500,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5499,"indexed":false,"mutability":"mutable","name":"newDuration","nameLocation":"2453:11:20","nodeType":"VariableDeclaration","scope":5501,"src":"2445:19:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5498,"name":"uint256","nodeType":"ElementaryTypeName","src":"2445:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2444:21:20"},"src":"2417:49:20"},{"body":{"id":5544,"nodeType":"Block","src":"2765:281:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5514,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5509,"name":"newAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5506,"src":"2780:8:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":5512,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2800: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":5511,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2792:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5510,"name":"address","nodeType":"ElementaryTypeName","src":"2792:7:20","typeDescriptions":{}}},"id":5513,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2792:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2780:22:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5518,"nodeType":"IfStatement","src":"2776:46:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5515,"name":"NullInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4162,"src":"2811:9:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5516,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2811:11:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5517,"nodeType":"RevertStatement","src":"2804:18:20"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5523,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":5519,"name":"newRewardsToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5504,"src":"2837:15:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5520,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"code","nodeType":"MemberAccess","src":"2837:20:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5521,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"2837:27:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":5522,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2868:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2837:32:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5527,"nodeType":"IfStatement","src":"2833:59:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5524,"name":"InvalidToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4170,"src":"2878:12:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5525,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2878:14:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5526,"nodeType":"RevertStatement","src":"2871:21:20"}},{"expression":{"id":5532,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5528,"name":"rewardsToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5460,"src":"2905:12:20","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$616","typeString":"contract IERC20"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5530,"name":"newRewardsToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5504,"src":"2927:15:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5529,"name":"IERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":616,"src":"2920:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20_$616_$","typeString":"type(contract IERC20)"}},"id":5531,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2920:23:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$616","typeString":"contract IERC20"}},"src":"2905:38:20","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$616","typeString":"contract IERC20"}},"id":5533,"nodeType":"ExpressionStatement","src":"2905:38:20"},{"expression":{"arguments":[{"id":5535,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":27,"src":"2965:18:20","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":5536,"name":"newAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5506,"src":"2985:8:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":5534,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[415],"referencedDeclaration":415,"src":"2954:10:20","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":5537,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2954:40:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5538,"nodeType":"ExpressionStatement","src":"2954:40:20"},{"expression":{"arguments":[{"id":5540,"name":"FUNDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5488,"src":"3016:11:20","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":5541,"name":"newAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5506,"src":"3029:8:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":5539,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[415],"referencedDeclaration":415,"src":"3005:10:20","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":5542,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3005:33:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5543,"nodeType":"ExpressionStatement","src":"3005:33:20"}]},"documentation":{"id":5502,"nodeType":"StructuredDocumentation","src":"2474:230:20","text":" @notice Constructor to create PangolinStakingPositionsFunding contract.\n @param newRewardsToken The token used for both for staking and reward.\n @param newAdmin The initial owner of the contract."},"id":5545,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":5507,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5504,"mutability":"mutable","name":"newRewardsToken","nameLocation":"2730:15:20","nodeType":"VariableDeclaration","scope":5545,"src":"2722:23:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5503,"name":"address","nodeType":"ElementaryTypeName","src":"2722:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5506,"mutability":"mutable","name":"newAdmin","nameLocation":"2755:8:20","nodeType":"VariableDeclaration","scope":5545,"src":"2747:16:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5505,"name":"address","nodeType":"ElementaryTypeName","src":"2747:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2721:43:20"},"returnParameters":{"id":5508,"nodeType":"ParameterList","parameters":[],"src":"2765:0:20"},"scope":5858,"src":"2710:336:20","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5584,"nodeType":"Block","src":"3312:498:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5557,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5554,"name":"periodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5449,"src":"3374:12:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"id":5555,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"3389:5:20","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5556,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"3389:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3374:30:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5561,"nodeType":"IfStatement","src":"3370:53:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5558,"name":"TooEarly","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4156,"src":"3413:8:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5559,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3413:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5560,"nodeType":"RevertStatement","src":"3406:17:20"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5564,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5562,"name":"newDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5548,"src":"3496:11:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":5563,"name":"MIN_PERIOD_DURATION","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5468,"src":"3510:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3496:33:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5568,"nodeType":"IfStatement","src":"3492:59:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5565,"name":"OutOfBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4168,"src":"3538:11:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5566,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3538:13:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5567,"nodeType":"RevertStatement","src":"3531:20:20"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5571,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5569,"name":"newDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5548,"src":"3566:11:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":5570,"name":"MAX_PERIOD_DURATION","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5474,"src":"3580:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3566:33:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5575,"nodeType":"IfStatement","src":"3562:59:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5572,"name":"OutOfBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4168,"src":"3608:11:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5573,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3608:13:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5574,"nodeType":"RevertStatement","src":"3601:20:20"}},{"expression":{"id":5578,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5576,"name":"periodDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5456,"src":"3724:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":5577,"name":"newDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5548,"src":"3741:11:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3724:28:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5579,"nodeType":"ExpressionStatement","src":"3724:28:20"},{"eventCall":{"arguments":[{"id":5581,"name":"newDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5548,"src":"3790:11:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5580,"name":"PeriodDurationUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5501,"src":"3768:21:20","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":5582,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3768:34:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5583,"nodeType":"EmitStatement","src":"3763:39:20"}]},"documentation":{"id":5546,"nodeType":"StructuredDocumentation","src":"3054:166:20","text":" @notice External restricted function to change the reward period duration.\n @param newDuration The duration the feature periods will last."},"functionSelector":"7c2d6e01","id":5585,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":5551,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":27,"src":"3292:18:20","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":5552,"kind":"modifierInvocation","modifierName":{"id":5550,"name":"onlyRole","nodeType":"IdentifierPath","referencedDeclaration":38,"src":"3283:8:20"},"nodeType":"ModifierInvocation","src":"3283:28:20"}],"name":"setPeriodDuration","nameLocation":"3235:17:20","nodeType":"FunctionDefinition","parameters":{"id":5549,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5548,"mutability":"mutable","name":"newDuration","nameLocation":"3261:11:20","nodeType":"VariableDeclaration","scope":5585,"src":"3253:19:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5547,"name":"uint256","nodeType":"ElementaryTypeName","src":"3253:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3252:21:20"},"returnParameters":{"id":5553,"nodeType":"ParameterList","parameters":[],"src":"3312:0:20"},"scope":5858,"src":"3226:584:20","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":5637,"nodeType":"Block","src":"3975:780:20","statements":[{"assignments":[5593],"declarations":[{"constant":false,"id":5593,"mutability":"mutable","name":"tmpPeriodFinish","nameLocation":"4051:15:20","nodeType":"VariableDeclaration","scope":5637,"src":"4043:23:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5592,"name":"uint256","nodeType":"ElementaryTypeName","src":"4043:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5595,"initialValue":{"id":5594,"name":"periodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5449,"src":"4069:12:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"nodeType":"VariableDeclarationStatement","src":"4043:38:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5599,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5596,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"4147:5:20","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5597,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"4147:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":5598,"name":"tmpPeriodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5593,"src":"4166:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4147:34:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5603,"nodeType":"IfStatement","src":"4143:56:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5600,"name":"TooLate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4154,"src":"4190:7:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5601,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4190:9:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5602,"nodeType":"RevertStatement","src":"4183:16:20"}},{"id":5636,"nodeType":"UncheckedBlock","src":"4212:536:20","statements":[{"assignments":[5605],"declarations":[{"constant":false,"id":5605,"mutability":"mutable","name":"leftover","nameLocation":"4306:8:20","nodeType":"VariableDeclaration","scope":5636,"src":"4298:16:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5604,"name":"uint256","nodeType":"ElementaryTypeName","src":"4298:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5613,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5612,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5609,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5606,"name":"tmpPeriodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5593,"src":"4318:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":5607,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"4336:5:20","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5608,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"4336:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4318:33:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5610,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4317:35:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5611,"name":"_rewardRate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5443,"src":"4355:11:20","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"src":"4317:49:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4298:68:20"},{"expression":{"id":5619,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5614,"name":"totalRewardAdded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5452,"src":"4457:16:20","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"arguments":[{"id":5617,"name":"leftover","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5605,"src":"4484:8:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5616,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4477:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":5615,"name":"uint96","nodeType":"ElementaryTypeName","src":"4477:6:20","typeDescriptions":{}}},"id":5618,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4477:16:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"4457:36:20","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"id":5620,"nodeType":"ExpressionStatement","src":"4457:36:20"},{"expression":{"id":5627,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5621,"name":"periodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5449,"src":"4547:12:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":5624,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"4569:5:20","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5625,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"4569:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5623,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4562:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":5622,"name":"uint40","nodeType":"ElementaryTypeName","src":"4562:6:20","typeDescriptions":{}}},"id":5626,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4562:23:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"src":"4547:38:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"id":5628,"nodeType":"ExpressionStatement","src":"4547:38:20"},{"expression":{"arguments":[{"id":5630,"name":"leftover","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5605,"src":"4694:8:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5629,"name":"_transferToCaller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5784,"src":"4676:17:20","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":5631,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4676:27:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5632,"nodeType":"ExpressionStatement","src":"4676:27:20"},{"eventCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5633,"name":"PeriodEnded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5491,"src":"4723:11:20","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$__$returns$__$","typeString":"function ()"}},"id":5634,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4723:13:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5635,"nodeType":"EmitStatement","src":"4718:18:20"}]}]},"documentation":{"id":5586,"nodeType":"StructuredDocumentation","src":"3818:92:20","text":"@notice External restricted function to end the period and withdraw leftover rewards. "},"functionSelector":"5faa65ff","id":5638,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":5589,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":27,"src":"3955:18:20","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":5590,"kind":"modifierInvocation","modifierName":{"id":5588,"name":"onlyRole","nodeType":"IdentifierPath","referencedDeclaration":38,"src":"3946:8:20"},"nodeType":"ModifierInvocation","src":"3946:28:20"}],"name":"endPeriod","nameLocation":"3925:9:20","nodeType":"FunctionDefinition","parameters":{"id":5587,"nodeType":"ParameterList","parameters":[],"src":"3934:2:20"},"returnParameters":{"id":5591,"nodeType":"ParameterList","parameters":[],"src":"3975:0:20"},"scope":5858,"src":"3916:839:20","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":5730,"nodeType":"Block","src":"4988:2198:20","statements":[{"assignments":[5648],"declarations":[{"constant":false,"id":5648,"mutability":"mutable","name":"tmpPeriodDuration","nameLocation":"5066:17:20","nodeType":"VariableDeclaration","scope":5730,"src":"5058:25:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5647,"name":"uint256","nodeType":"ElementaryTypeName","src":"5058:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5650,"initialValue":{"id":5649,"name":"periodDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5456,"src":"5086:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5058:42:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5653,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5651,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5641,"src":"5157:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":5652,"name":"MAX_TOTAL_REWARD","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5482,"src":"5166:16:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5157:25:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5657,"nodeType":"IfStatement","src":"5153:48:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5654,"name":"Overflow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4158,"src":"5191:8:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5655,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5191:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5656,"nodeType":"RevertStatement","src":"5184:17:20"}},{"expression":{"id":5663,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5658,"name":"totalRewardAdded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5452,"src":"5303:16:20","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[{"id":5661,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5641,"src":"5330:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5660,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5323:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":5659,"name":"uint96","nodeType":"ElementaryTypeName","src":"5323:6:20","typeDescriptions":{}}},"id":5662,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5323:14:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"5303:34:20","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"id":5664,"nodeType":"ExpressionStatement","src":"5303:34:20"},{"assignments":[5666],"declarations":[{"constant":false,"id":5666,"mutability":"mutable","name":"newRewardRate","nameLocation":"6009:13:20","nodeType":"VariableDeclaration","scope":5730,"src":"6001:21:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5665,"name":"uint256","nodeType":"ElementaryTypeName","src":"6001:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5667,"nodeType":"VariableDeclarationStatement","src":"6001:21:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint40","typeString":"uint40"},"id":5670,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5668,"name":"lastUpdate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5446,"src":"6037:10:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":5669,"name":"periodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5449,"src":"6051:12:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"src":"6037:26:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":5687,"nodeType":"Block","src":"6258:271:20","statements":[{"id":5686,"nodeType":"UncheckedBlock","src":"6273:245:20","statements":[{"assignments":[5674],"declarations":[{"constant":false,"id":5674,"mutability":"mutable","name":"leftover","nameLocation":"6310:8:20","nodeType":"VariableDeclaration","scope":5686,"src":"6302:16:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5673,"name":"uint256","nodeType":"ElementaryTypeName","src":"6302:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5684,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5683,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5680,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5677,"name":"periodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5449,"src":"6330:12:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint40","typeString":"uint40"}],"id":5676,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6322:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":5675,"name":"uint256","nodeType":"ElementaryTypeName","src":"6322:7:20","typeDescriptions":{}}},"id":5678,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6322:21:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":5679,"name":"lastUpdate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5446,"src":"6346:10:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"src":"6322:34:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5681,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6321:36:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5682,"name":"_rewardRate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5443,"src":"6360:11:20","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"src":"6321:50:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6302:69:20"},{"AST":{"nodeType":"YulBlock","src":"6399:104:20","statements":[{"nodeType":"YulAssignment","src":"6422:62:20","value":{"arguments":[{"arguments":[{"name":"amount","nodeType":"YulIdentifier","src":"6447:6:20"},{"name":"leftover","nodeType":"YulIdentifier","src":"6455:8:20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6443:3:20"},"nodeType":"YulFunctionCall","src":"6443:21:20"},{"name":"tmpPeriodDuration","nodeType":"YulIdentifier","src":"6466:17:20"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"6439:3:20"},"nodeType":"YulFunctionCall","src":"6439:45:20"},"variableNames":[{"name":"newRewardRate","nodeType":"YulIdentifier","src":"6422:13:20"}]}]},"evmVersion":"london","externalReferences":[{"declaration":5641,"isOffset":false,"isSlot":false,"src":"6447:6:20","valueSize":1},{"declaration":5674,"isOffset":false,"isSlot":false,"src":"6455:8:20","valueSize":1},{"declaration":5666,"isOffset":false,"isSlot":false,"src":"6422:13:20","valueSize":1},{"declaration":5648,"isOffset":false,"isSlot":false,"src":"6466:17:20","valueSize":1}],"id":5685,"nodeType":"InlineAssembly","src":"6390:113:20"}]}]},"id":5688,"nodeType":"IfStatement","src":"6033:496:20","trueBody":{"id":5672,"nodeType":"Block","src":"6065:187:20","statements":[{"AST":{"nodeType":"YulBlock","src":"6160:81:20","statements":[{"nodeType":"YulAssignment","src":"6179:47:20","value":{"arguments":[{"name":"amount","nodeType":"YulIdentifier","src":"6200:6:20"},{"name":"tmpPeriodDuration","nodeType":"YulIdentifier","src":"6208:17:20"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"6196:3:20"},"nodeType":"YulFunctionCall","src":"6196:30:20"},"variableNames":[{"name":"newRewardRate","nodeType":"YulIdentifier","src":"6179:13:20"}]}]},"evmVersion":"london","externalReferences":[{"declaration":5641,"isOffset":false,"isSlot":false,"src":"6200:6:20","valueSize":1},{"declaration":5666,"isOffset":false,"isSlot":false,"src":"6179:13:20","valueSize":1},{"declaration":5648,"isOffset":false,"isSlot":false,"src":"6208:17:20","valueSize":1}],"id":5671,"nodeType":"InlineAssembly","src":"6151:90:20"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5691,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5689,"name":"newRewardRate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"6625:13:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":5690,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6642:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6625:18:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5695,"nodeType":"IfStatement","src":"6621:41:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5692,"name":"NoEffect","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4160,"src":"6652:8:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5693,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6652:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5694,"nodeType":"RevertStatement","src":"6645:17:20"}},{"expression":{"id":5701,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5696,"name":"_rewardRate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5443,"src":"6794:11:20","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":5699,"name":"newRewardRate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"6815:13:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5698,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6808:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint80_$","typeString":"type(uint80)"},"typeName":{"id":5697,"name":"uint80","nodeType":"ElementaryTypeName","src":"6808:6:20","typeDescriptions":{}}},"id":5700,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6808:21:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"src":"6794:35:20","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"id":5702,"nodeType":"ExpressionStatement","src":"6794:35:20"},{"id":5721,"nodeType":"UncheckedBlock","src":"6890:146:20","statements":[{"expression":{"id":5709,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5703,"name":"lastUpdate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5446,"src":"6915:10:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":5706,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"6935:5:20","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5707,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"6935:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5705,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6928:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":5704,"name":"uint40","nodeType":"ElementaryTypeName","src":"6928:6:20","typeDescriptions":{}}},"id":5708,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6928:23:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"src":"6915:36:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"id":5710,"nodeType":"ExpressionStatement","src":"6915:36:20"},{"expression":{"id":5719,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5711,"name":"periodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5449,"src":"6966:12:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5717,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5714,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"6988:5:20","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5715,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"6988:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":5716,"name":"tmpPeriodDuration","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5648,"src":"7006:17:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6988:35:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5713,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6981:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":5712,"name":"uint40","nodeType":"ElementaryTypeName","src":"6981:6:20","typeDescriptions":{}}},"id":5718,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6981:43:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"src":"6966:58:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"id":5720,"nodeType":"ExpressionStatement","src":"6966:58:20"}]},{"expression":{"arguments":[{"id":5723,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5641,"src":"7136:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5722,"name":"_transferFromCaller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5806,"src":"7116:19:20","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":5724,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7116:27:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5725,"nodeType":"ExpressionStatement","src":"7116:27:20"},{"eventCall":{"arguments":[{"id":5727,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5641,"src":"7171:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5726,"name":"RewardAdded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5496,"src":"7159:11:20","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":5728,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7159:19:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5729,"nodeType":"EmitStatement","src":"7154:24:20"}]},"documentation":{"id":5639,"nodeType":"StructuredDocumentation","src":"4763:153:20","text":" @notice External restricted function to fund the contract.\n @param amount The amount of reward tokens to add to the contract."},"functionSelector":"74de4ec4","id":5731,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":5644,"name":"FUNDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5488,"src":"4975:11:20","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":5645,"kind":"modifierInvocation","modifierName":{"id":5643,"name":"onlyRole","nodeType":"IdentifierPath","referencedDeclaration":38,"src":"4966:8:20"},"nodeType":"ModifierInvocation","src":"4966:21:20"}],"name":"addReward","nameLocation":"4931:9:20","nodeType":"FunctionDefinition","parameters":{"id":5642,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5641,"mutability":"mutable","name":"amount","nameLocation":"4949:6:20","nodeType":"VariableDeclaration","scope":5731,"src":"4941:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5640,"name":"uint256","nodeType":"ElementaryTypeName","src":"4941:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4940:16:20"},"returnParameters":{"id":5646,"nodeType":"ParameterList","parameters":[],"src":"4988:0:20"},"scope":5858,"src":"4922:2264:20","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":5745,"nodeType":"Block","src":"7410:74:20","statements":[{"expression":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5740,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5737,"name":"periodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5449,"src":"7428:12:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":5738,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"7443:5:20","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5739,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"7443:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7428:30:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":5742,"name":"_rewardRate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5443,"src":"7465:11:20","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"id":5743,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"7428:48:20","trueExpression":{"hexValue":"30","id":5741,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7461:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"functionReturnParameters":5736,"id":5744,"nodeType":"Return","src":"7421:55:20"}]},"documentation":{"id":5732,"nodeType":"StructuredDocumentation","src":"7194:158:20","text":" @notice Public view function to return the total rewards distributed per second.\n @return The reward per second being distributed."},"functionSelector":"7b0a47ee","id":5746,"implemented":true,"kind":"function","modifiers":[],"name":"rewardRate","nameLocation":"7367:10:20","nodeType":"FunctionDefinition","parameters":{"id":5733,"nodeType":"ParameterList","parameters":[],"src":"7377:2:20"},"returnParameters":{"id":5736,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5735,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5746,"src":"7401:7:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5734,"name":"uint256","nodeType":"ElementaryTypeName","src":"7401:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7400:9:20"},"scope":5858,"src":"7358:126:20","stateMutability":"view","virtual":false,"visibility":"public"},{"body":{"id":5765,"nodeType":"Block","src":"7779:209:20","statements":[{"expression":{"id":5755,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5752,"name":"reward","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5750,"src":"7868:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"id":5753,"name":"_pendingRewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5857,"src":"7877:15:20","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint256_$","typeString":"function () view returns (uint256)"}},"id":5754,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7877:17:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7868:26:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5756,"nodeType":"ExpressionStatement","src":"7868:26:20"},{"expression":{"id":5763,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5757,"name":"lastUpdate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5446,"src":"7944:10:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":5760,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"7964:5:20","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5761,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"7964:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5759,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7957:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":5758,"name":"uint40","nodeType":"ElementaryTypeName","src":"7957:6:20","typeDescriptions":{}}},"id":5762,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7957:23:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"src":"7944:36:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"id":5764,"nodeType":"ExpressionStatement","src":"7944:36:20"}]},"documentation":{"id":5747,"nodeType":"StructuredDocumentation","src":"7492:229:20","text":" @notice Internal function to get the amount of reward tokens to distribute since last call\n         to this function.\n @return reward The amount of reward tokens that is marked for distribution."},"id":5766,"implemented":true,"kind":"function","modifiers":[],"name":"_claim","nameLocation":"7736:6:20","nodeType":"FunctionDefinition","parameters":{"id":5748,"nodeType":"ParameterList","parameters":[],"src":"7742:2:20"},"returnParameters":{"id":5751,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5750,"mutability":"mutable","name":"reward","nameLocation":"7771:6:20","nodeType":"VariableDeclaration","scope":5766,"src":"7763:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5749,"name":"uint256","nodeType":"ElementaryTypeName","src":"7763:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7762:16:20"},"scope":5858,"src":"7727:261:20","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5783,"nodeType":"Block","src":"8212:90:20","statements":[{"condition":{"id":5778,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"8227:42:20","subExpression":{"arguments":[{"expression":{"id":5774,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"8250:3:20","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5775,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"sender","nodeType":"MemberAccess","src":"8250:10:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5776,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5769,"src":"8262:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5772,"name":"rewardsToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5460,"src":"8228:12:20","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$616","typeString":"contract IERC20"}},"id":5773,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":583,"src":"8228:21:20","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":5777,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8228:41:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5782,"nodeType":"IfStatement","src":"8223:71:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5779,"name":"FailedTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4176,"src":"8278:14:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5780,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8278:16:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5781,"nodeType":"RevertStatement","src":"8271:23:20"}}]},"documentation":{"id":5767,"nodeType":"StructuredDocumentation","src":"7996:158:20","text":" @notice Internal function to transfer `rewardsToken` from the contract to caller.\n @param amount The amount of tokens to transfer."},"id":5784,"implemented":true,"kind":"function","modifiers":[],"name":"_transferToCaller","nameLocation":"8169:17:20","nodeType":"FunctionDefinition","parameters":{"id":5770,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5769,"mutability":"mutable","name":"amount","nameLocation":"8195:6:20","nodeType":"VariableDeclaration","scope":5784,"src":"8187:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5768,"name":"uint256","nodeType":"ElementaryTypeName","src":"8187:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8186:16:20"},"returnParameters":{"id":5771,"nodeType":"ParameterList","parameters":[],"src":"8212:0:20"},"scope":5858,"src":"8160:142:20","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5805,"nodeType":"Block","src":"8528:109:20","statements":[{"condition":{"id":5800,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"8543:61:20","subExpression":{"arguments":[{"expression":{"id":5792,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"8570:3:20","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5793,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"sender","nodeType":"MemberAccess","src":"8570:10:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":5796,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"8590:4:20","typeDescriptions":{"typeIdentifier":"t_contract$_PangolinStakingPositionsFunding_$5858","typeString":"contract PangolinStakingPositionsFunding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_PangolinStakingPositionsFunding_$5858","typeString":"contract PangolinStakingPositionsFunding"}],"id":5795,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8582:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5794,"name":"address","nodeType":"ElementaryTypeName","src":"8582:7:20","typeDescriptions":{}}},"id":5797,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8582:13:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5798,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5787,"src":"8597:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5790,"name":"rewardsToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5460,"src":"8544:12:20","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$616","typeString":"contract IERC20"}},"id":5791,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"transferFrom","nodeType":"MemberAccess","referencedDeclaration":615,"src":"8544:25:20","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,address,uint256) external returns (bool)"}},"id":5799,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8544:60:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5804,"nodeType":"IfStatement","src":"8539:90:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":5801,"name":"FailedTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4176,"src":"8613:14:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":5802,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8613:16:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5803,"nodeType":"RevertStatement","src":"8606:23:20"}}]},"documentation":{"id":5785,"nodeType":"StructuredDocumentation","src":"8310:158:20","text":" @notice Internal function to transfer `rewardsToken` from caller to the contract.\n @param amount The amount of tokens to transfer."},"id":5806,"implemented":true,"kind":"function","modifiers":[],"name":"_transferFromCaller","nameLocation":"8483:19:20","nodeType":"FunctionDefinition","parameters":{"id":5788,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5787,"mutability":"mutable","name":"amount","nameLocation":"8511:6:20","nodeType":"VariableDeclaration","scope":5806,"src":"8503:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5786,"name":"uint256","nodeType":"ElementaryTypeName","src":"8503:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8502:16:20"},"returnParameters":{"id":5789,"nodeType":"ParameterList","parameters":[],"src":"8528:0:20"},"scope":5858,"src":"8474:163:20","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5856,"nodeType":"Block","src":"8953:1083:20","statements":[{"assignments":[5813],"declarations":[{"constant":false,"id":5813,"mutability":"mutable","name":"tmpPeriodFinish","nameLocation":"9039:15:20","nodeType":"VariableDeclaration","scope":5856,"src":"9031:23:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5812,"name":"uint256","nodeType":"ElementaryTypeName","src":"9031:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5815,"initialValue":{"id":5814,"name":"periodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5449,"src":"9057:12:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"nodeType":"VariableDeclarationStatement","src":"9031:38:20"},{"assignments":[5817],"declarations":[{"constant":false,"id":5817,"mutability":"mutable","name":"lastTimeRewardApplicable","nameLocation":"9314:24:20","nodeType":"VariableDeclaration","scope":5856,"src":"9306:32:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5816,"name":"uint256","nodeType":"ElementaryTypeName","src":"9306:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5826,"initialValue":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5821,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5818,"name":"tmpPeriodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5813,"src":"9341:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":5819,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"9359:5:20","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5820,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"9359:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9341:33:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"expression":{"id":5823,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"9421:5:20","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5824,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"timestamp","nodeType":"MemberAccess","src":"9421:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5825,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"9341:95:20","trueExpression":{"id":5822,"name":"tmpPeriodFinish","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5813,"src":"9390:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"9306:130:20"},{"assignments":[5828],"declarations":[{"constant":false,"id":5828,"mutability":"mutable","name":"tmpLastUpdate","nameLocation":"9630:13:20","nodeType":"VariableDeclaration","scope":5856,"src":"9622:21:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5827,"name":"uint256","nodeType":"ElementaryTypeName","src":"9622:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5830,"initialValue":{"id":5829,"name":"lastUpdate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5446,"src":"9646:10:20","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"nodeType":"VariableDeclarationStatement","src":"9622:34:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5833,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5831,"name":"lastTimeRewardApplicable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5817,"src":"9802:24:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":5832,"name":"tmpLastUpdate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5828,"src":"9829:13:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9802:40:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5845,"nodeType":"IfStatement","src":"9798:183:20","trueBody":{"id":5844,"nodeType":"Block","src":"9844:137:20","statements":[{"id":5843,"nodeType":"UncheckedBlock","src":"9859:111:20","statements":[{"expression":{"id":5841,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5834,"name":"rewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5810,"src":"9888:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5840,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5837,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5835,"name":"lastTimeRewardApplicable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5817,"src":"9899:24:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":5836,"name":"tmpLastUpdate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5828,"src":"9926:13:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9899:40:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5838,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9898:42:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5839,"name":"_rewardRate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5443,"src":"9943:11:20","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"src":"9898:56:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9888:66:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5842,"nodeType":"ExpressionStatement","src":"9888:66:20"}]}]}},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5853,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5847,"name":"rewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5810,"src":"10000:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"arguments":[{"id":5850,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10016:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":5849,"name":"uint96","nodeType":"ElementaryTypeName","src":"10016:6:20","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"}],"id":5848,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"10011:4:20","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":5851,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10011:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint96","typeString":"type(uint96)"}},"id":5852,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"max","nodeType":"MemberAccess","src":"10011:16:20","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"10000:27:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":5846,"name":"assert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-3,"src":"9993:6:20","typeDescriptions":{"typeIdentifier":"t_function_assert_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":5854,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9993:35:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5855,"nodeType":"ExpressionStatement","src":"9993:35:20"}]},"documentation":{"id":5807,"nodeType":"StructuredDocumentation","src":"8645:235:20","text":" @notice Internal view function to get the amount of accumulated reward tokens since last\n         update time.\n @return rewards The amount of reward tokens that has been accumulated since last update."},"id":5857,"implemented":true,"kind":"function","modifiers":[],"name":"_pendingRewards","nameLocation":"8895:15:20","nodeType":"FunctionDefinition","parameters":{"id":5808,"nodeType":"ParameterList","parameters":[],"src":"8910:2:20"},"returnParameters":{"id":5811,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5810,"mutability":"mutable","name":"rewards","nameLocation":"8944:7:20","nodeType":"VariableDeclaration","scope":5857,"src":"8936:15:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5809,"name":"uint256","nodeType":"ElementaryTypeName","src":"8936:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8935:17:20"},"scope":5858,"src":"8886:1150:20","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":5859,"src":"743:9296:20","usedErrors":[4152,4154,4156,4158,4160,4162,4164,4166,4168,4170,4172,4174,4176,4178,4180,4182,4184]}],"src":"35:10006:20"},"id":20}},"contracts":{"@openzeppelin/contracts/access/AccessControl.sol":{"AccessControl":{"abi":[{"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":"account","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.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\":\"account\",\"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: ``` bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public {     require(hasRole(MY_ROLE, msg.sender));     ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.\",\"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 `account`. 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\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe\",\"dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]}},\"version\":1}"}},"@openzeppelin/contracts/access/AccessControlEnumerable.sol":{"AccessControlEnumerable":{"abi":[{"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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"account","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","getRoleMember(bytes32,uint256)":"9010d07c","getRoleMemberCount(bytes32)":"ca15c873","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f","supportsInterface(bytes4)":"01ffc9a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"account\",\"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\":\"Extension of {AccessControl} that allows enumerating the members of each role.\",\"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}.\"},\"getRoleMember(bytes32,uint256)\":{\"details\":\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\"},\"getRoleMemberCount(bytes32)\":{\"details\":\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\"},\"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 `account`. 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/AccessControlEnumerable.sol\":\"AccessControlEnumerable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe\",\"dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q\"]},\"@openzeppelin/contracts/access/AccessControlEnumerable.sol\":{\"keccak256\":\"0x13f5e15f2a0650c0b6aaee2ef19e89eaf4870d6e79662d572a393334c1397247\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7ee05f28f549a5d6515e152580716b87636ed4bfab9812499a6e3803df88288b\",\"dweb:/ipfs/QmeEnhdwY1t5Y3YU5a4ffzgXuToydH2PNdNxV9W7dEPRQJ\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"@openzeppelin/contracts/access/IAccessControlEnumerable.sol\":{\"keccak256\":\"0xba4459ab871dfa300f5212c6c30178b63898c03533a1ede28436f11546626676\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3dcc7b09bfa6e18aab262ca372f4a9b1fc82e294b430706a4e1378cf58e6a276\",\"dweb:/ipfs/QmT8oSAcesdctR15HMLhr2a1HRpXymxdjTfdtfTYJcj2N2\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]},\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\":{\"keccak256\":\"0xc3ff3f5c4584e1d9a483ad7ced51ab64523201f4e3d3c65293e4ca8aeb77a961\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d7d3dd6067a994690471b5fc71b6f81fac3847798b37d404f74db00b4d3c3d0e\",\"dweb:/ipfs/QmRHF1RarifjNi93RttouNPkYZGyu6CD926PgRDzD5iL35\"]}},\"version\":1}"}},"@openzeppelin/contracts/access/IAccessControl.sol":{"IAccessControl":{"abi":[{"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":"account","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.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\":\"account\",\"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 ERC165 detection.\",\"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. _Available since v3.1._\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\"},\"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 `account`.\"},\"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\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]}},\"version\":1}"}},"@openzeppelin/contracts/access/IAccessControlEnumerable.sol":{"IAccessControlEnumerable":{"abi":[{"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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"account","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","getRoleMember(bytes32,uint256)":"9010d07c","getRoleMemberCount(bytes32)":"ca15c873","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f"}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"account\",\"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 AccessControlEnumerable declared to support ERC165 detection.\",\"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}.\"},\"getRoleMember(bytes32,uint256)\":{\"details\":\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\"},\"getRoleMemberCount(bytes32)\":{\"details\":\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\"},\"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 `account`.\"},\"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/IAccessControlEnumerable.sol\":\"IAccessControlEnumerable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"@openzeppelin/contracts/access/IAccessControlEnumerable.sol\":{\"keccak256\":\"0xba4459ab871dfa300f5212c6c30178b63898c03533a1ede28436f11546626676\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3dcc7b09bfa6e18aab262ca372f4a9b1fc82e294b430706a4e1378cf58e6a276\",\"dweb:/ipfs/QmT8oSAcesdctR15HMLhr2a1HRpXymxdjTfdtfTYJcj2N2\"]}},\"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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"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.15+commit.e14f2714\"},\"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\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC20 standard as defined in the EIP.\",\"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 `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` 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 `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34\",\"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC721/ERC721.sol":{"ERC721":{"abi":[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_679":{"entryPoint":null,"id":679,"parameterSlots":2,"returnSlots":0},"abi_decode_string_fromMemory":{"entryPoint":112,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_string_memory_ptrt_string_memory_ptr_fromMemory":{"entryPoint":295,"id":null,"parameterSlots":2,"returnSlots":2},"array_dataslot_string_storage":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"clean_up_bytearray_end_slots_string_storage":{"entryPoint":461,"id":null,"parameterSlots":3,"returnSlots":0},"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage":{"entryPoint":544,"id":null,"parameterSlots":2,"returnSlots":0},"extract_byte_array_length":{"entryPoint":401,"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":90,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:4189:21","statements":[{"nodeType":"YulBlock","src":"6:3:21","statements":[]},{"body":{"nodeType":"YulBlock","src":"46:95:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"63:1:21","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"70:3:21","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"75:10:21","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"66:3:21"},"nodeType":"YulFunctionCall","src":"66:20:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"56:6:21"},"nodeType":"YulFunctionCall","src":"56:31:21"},"nodeType":"YulExpressionStatement","src":"56:31:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"103:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"106:4:21","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"96:6:21"},"nodeType":"YulFunctionCall","src":"96:15:21"},"nodeType":"YulExpressionStatement","src":"96:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"127:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"130:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"120:6:21"},"nodeType":"YulFunctionCall","src":"120:15:21"},"nodeType":"YulExpressionStatement","src":"120:15:21"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"14:127:21"},{"body":{"nodeType":"YulBlock","src":"210:821:21","statements":[{"body":{"nodeType":"YulBlock","src":"259:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"268:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"271:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"261:6:21"},"nodeType":"YulFunctionCall","src":"261:12:21"},"nodeType":"YulExpressionStatement","src":"261:12:21"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"238:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"246:4:21","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"234:3:21"},"nodeType":"YulFunctionCall","src":"234:17:21"},{"name":"end","nodeType":"YulIdentifier","src":"253:3:21"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"230:3:21"},"nodeType":"YulFunctionCall","src":"230:27:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"223:6:21"},"nodeType":"YulFunctionCall","src":"223:35:21"},"nodeType":"YulIf","src":"220:55:21"},{"nodeType":"YulVariableDeclaration","src":"284:23:21","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"300:6:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"294:5:21"},"nodeType":"YulFunctionCall","src":"294:13:21"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"288:2:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"316:28:21","value":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"334:2:21","type":"","value":"64"},{"kind":"number","nodeType":"YulLiteral","src":"338:1:21","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"330:3:21"},"nodeType":"YulFunctionCall","src":"330:10:21"},{"kind":"number","nodeType":"YulLiteral","src":"342:1:21","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"326:3:21"},"nodeType":"YulFunctionCall","src":"326:18:21"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"320:2:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"367:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"369:16:21"},"nodeType":"YulFunctionCall","src":"369:18:21"},"nodeType":"YulExpressionStatement","src":"369:18:21"}]},"condition":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"359:2:21"},{"name":"_2","nodeType":"YulIdentifier","src":"363:2:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"356:2:21"},"nodeType":"YulFunctionCall","src":"356:10:21"},"nodeType":"YulIf","src":"353:36:21"},{"nodeType":"YulVariableDeclaration","src":"398:17:21","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"412:2:21","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"408:3:21"},"nodeType":"YulFunctionCall","src":"408:7:21"},"variables":[{"name":"_3","nodeType":"YulTypedName","src":"402:2:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"424:23:21","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"444:2:21","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"438:5:21"},"nodeType":"YulFunctionCall","src":"438:9:21"},"variables":[{"name":"memPtr","nodeType":"YulTypedName","src":"428:6:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"456:71:21","value":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"478:6:21"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"502:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"506:4:21","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"498:3:21"},"nodeType":"YulFunctionCall","src":"498:13:21"},{"name":"_3","nodeType":"YulIdentifier","src":"513:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"494:3:21"},"nodeType":"YulFunctionCall","src":"494:22:21"},{"kind":"number","nodeType":"YulLiteral","src":"518:2:21","type":"","value":"63"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"490:3:21"},"nodeType":"YulFunctionCall","src":"490:31:21"},{"name":"_3","nodeType":"YulIdentifier","src":"523:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"486:3:21"},"nodeType":"YulFunctionCall","src":"486:40:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"474:3:21"},"nodeType":"YulFunctionCall","src":"474:53:21"},"variables":[{"name":"newFreePtr","nodeType":"YulTypedName","src":"460:10:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"586:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"588:16:21"},"nodeType":"YulFunctionCall","src":"588:18:21"},"nodeType":"YulExpressionStatement","src":"588:18:21"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"545:10:21"},{"name":"_2","nodeType":"YulIdentifier","src":"557:2:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"542:2:21"},"nodeType":"YulFunctionCall","src":"542:18:21"},{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"565:10:21"},{"name":"memPtr","nodeType":"YulIdentifier","src":"577:6:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"562:2:21"},"nodeType":"YulFunctionCall","src":"562:22:21"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"539:2:21"},"nodeType":"YulFunctionCall","src":"539:46:21"},"nodeType":"YulIf","src":"536:72:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"624:2:21","type":"","value":"64"},{"name":"newFreePtr","nodeType":"YulIdentifier","src":"628:10:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"617:6:21"},"nodeType":"YulFunctionCall","src":"617:22:21"},"nodeType":"YulExpressionStatement","src":"617:22:21"},{"expression":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"655:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"663:2:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"648:6:21"},"nodeType":"YulFunctionCall","src":"648:18:21"},"nodeType":"YulExpressionStatement","src":"648:18:21"},{"nodeType":"YulVariableDeclaration","src":"675:14:21","value":{"kind":"number","nodeType":"YulLiteral","src":"685:4:21","type":"","value":"0x20"},"variables":[{"name":"_4","nodeType":"YulTypedName","src":"679:2:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"735:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"744:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"747:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"737:6:21"},"nodeType":"YulFunctionCall","src":"737:12:21"},"nodeType":"YulExpressionStatement","src":"737:12:21"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"712:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"720:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"708:3:21"},"nodeType":"YulFunctionCall","src":"708:15:21"},{"name":"_4","nodeType":"YulIdentifier","src":"725:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"704:3:21"},"nodeType":"YulFunctionCall","src":"704:24:21"},{"name":"end","nodeType":"YulIdentifier","src":"730:3:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"701:2:21"},"nodeType":"YulFunctionCall","src":"701:33:21"},"nodeType":"YulIf","src":"698:53:21"},{"nodeType":"YulVariableDeclaration","src":"760:10:21","value":{"kind":"number","nodeType":"YulLiteral","src":"769:1:21","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"764:1:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"825:87:21","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"854:6:21"},{"name":"i","nodeType":"YulIdentifier","src":"862:1:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"850:3:21"},"nodeType":"YulFunctionCall","src":"850:14:21"},{"name":"_4","nodeType":"YulIdentifier","src":"866:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"846:3:21"},"nodeType":"YulFunctionCall","src":"846:23:21"},{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"885:6:21"},{"name":"i","nodeType":"YulIdentifier","src":"893:1:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"881:3:21"},"nodeType":"YulFunctionCall","src":"881:14:21"},{"name":"_4","nodeType":"YulIdentifier","src":"897:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"877:3:21"},"nodeType":"YulFunctionCall","src":"877:23:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"871:5:21"},"nodeType":"YulFunctionCall","src":"871:30:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"839:6:21"},"nodeType":"YulFunctionCall","src":"839:63:21"},"nodeType":"YulExpressionStatement","src":"839:63:21"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"790:1:21"},{"name":"_1","nodeType":"YulIdentifier","src":"793:2:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"787:2:21"},"nodeType":"YulFunctionCall","src":"787:9:21"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"797:19:21","statements":[{"nodeType":"YulAssignment","src":"799:15:21","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"808:1:21"},{"name":"_4","nodeType":"YulIdentifier","src":"811:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"804:3:21"},"nodeType":"YulFunctionCall","src":"804:10:21"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"799:1:21"}]}]},"pre":{"nodeType":"YulBlock","src":"783:3:21","statements":[]},"src":"779:133:21"},{"body":{"nodeType":"YulBlock","src":"942:59:21","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"971:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"979:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"967:3:21"},"nodeType":"YulFunctionCall","src":"967:15:21"},{"name":"_4","nodeType":"YulIdentifier","src":"984:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"963:3:21"},"nodeType":"YulFunctionCall","src":"963:24:21"},{"kind":"number","nodeType":"YulLiteral","src":"989:1:21","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"956:6:21"},"nodeType":"YulFunctionCall","src":"956:35:21"},"nodeType":"YulExpressionStatement","src":"956:35:21"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"927:1:21"},{"name":"_1","nodeType":"YulIdentifier","src":"930:2:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"924:2:21"},"nodeType":"YulFunctionCall","src":"924:9:21"},"nodeType":"YulIf","src":"921:80:21"},{"nodeType":"YulAssignment","src":"1010:15:21","value":{"name":"memPtr","nodeType":"YulIdentifier","src":"1019:6:21"},"variableNames":[{"name":"array","nodeType":"YulIdentifier","src":"1010:5:21"}]}]},"name":"abi_decode_string_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"184:6:21","type":""},{"name":"end","nodeType":"YulTypedName","src":"192:3:21","type":""}],"returnVariables":[{"name":"array","nodeType":"YulTypedName","src":"200:5:21","type":""}],"src":"146:885:21"},{"body":{"nodeType":"YulBlock","src":"1154:444:21","statements":[{"body":{"nodeType":"YulBlock","src":"1200:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1209:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1212:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1202:6:21"},"nodeType":"YulFunctionCall","src":"1202:12:21"},"nodeType":"YulExpressionStatement","src":"1202:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"1175:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"1184:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1171:3:21"},"nodeType":"YulFunctionCall","src":"1171:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"1196:2:21","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1167:3:21"},"nodeType":"YulFunctionCall","src":"1167:32:21"},"nodeType":"YulIf","src":"1164:52:21"},{"nodeType":"YulVariableDeclaration","src":"1225:30:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1245:9:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1239:5:21"},"nodeType":"YulFunctionCall","src":"1239:16:21"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"1229:6:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1264:28:21","value":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1282:2:21","type":"","value":"64"},{"kind":"number","nodeType":"YulLiteral","src":"1286:1:21","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"1278:3:21"},"nodeType":"YulFunctionCall","src":"1278:10:21"},{"kind":"number","nodeType":"YulLiteral","src":"1290:1:21","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1274:3:21"},"nodeType":"YulFunctionCall","src":"1274:18:21"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"1268:2:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"1319:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1328:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1331:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1321:6:21"},"nodeType":"YulFunctionCall","src":"1321:12:21"},"nodeType":"YulExpressionStatement","src":"1321:12:21"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1307:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"1315:2:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1304:2:21"},"nodeType":"YulFunctionCall","src":"1304:14:21"},"nodeType":"YulIf","src":"1301:34:21"},{"nodeType":"YulAssignment","src":"1344:71:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1387:9:21"},{"name":"offset","nodeType":"YulIdentifier","src":"1398:6:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1383:3:21"},"nodeType":"YulFunctionCall","src":"1383:22:21"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1407:7:21"}],"functionName":{"name":"abi_decode_string_fromMemory","nodeType":"YulIdentifier","src":"1354:28:21"},"nodeType":"YulFunctionCall","src":"1354:61:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"1344:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"1424:41:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1450:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"1461:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1446:3:21"},"nodeType":"YulFunctionCall","src":"1446:18:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1440:5:21"},"nodeType":"YulFunctionCall","src":"1440:25:21"},"variables":[{"name":"offset_1","nodeType":"YulTypedName","src":"1428:8:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"1494:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1503:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1506:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1496:6:21"},"nodeType":"YulFunctionCall","src":"1496:12:21"},"nodeType":"YulExpressionStatement","src":"1496:12:21"}]},"condition":{"arguments":[{"name":"offset_1","nodeType":"YulIdentifier","src":"1480:8:21"},{"name":"_1","nodeType":"YulIdentifier","src":"1490:2:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1477:2:21"},"nodeType":"YulFunctionCall","src":"1477:16:21"},"nodeType":"YulIf","src":"1474:36:21"},{"nodeType":"YulAssignment","src":"1519:73:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1562:9:21"},{"name":"offset_1","nodeType":"YulIdentifier","src":"1573:8:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1558:3:21"},"nodeType":"YulFunctionCall","src":"1558:24:21"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1584:7:21"}],"functionName":{"name":"abi_decode_string_fromMemory","nodeType":"YulIdentifier","src":"1529:28:21"},"nodeType":"YulFunctionCall","src":"1529:63:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"1519:6:21"}]}]},"name":"abi_decode_tuple_t_string_memory_ptrt_string_memory_ptr_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1112:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"1123:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"1135:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"1143:6:21","type":""}],"src":"1036:562:21"},{"body":{"nodeType":"YulBlock","src":"1658:325:21","statements":[{"nodeType":"YulAssignment","src":"1668:22:21","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1682:1:21","type":"","value":"1"},{"name":"data","nodeType":"YulIdentifier","src":"1685:4:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"1678:3:21"},"nodeType":"YulFunctionCall","src":"1678:12:21"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"1668:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"1699:38:21","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"1729:4:21"},{"kind":"number","nodeType":"YulLiteral","src":"1735:1:21","type":"","value":"1"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1725:3:21"},"nodeType":"YulFunctionCall","src":"1725:12:21"},"variables":[{"name":"outOfPlaceEncoding","nodeType":"YulTypedName","src":"1703:18:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"1776:31:21","statements":[{"nodeType":"YulAssignment","src":"1778:27:21","value":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"1792:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"1800:4:21","type":"","value":"0x7f"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1788:3:21"},"nodeType":"YulFunctionCall","src":"1788:17:21"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"1778:6:21"}]}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"1756:18:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1749:6:21"},"nodeType":"YulFunctionCall","src":"1749:26:21"},"nodeType":"YulIf","src":"1746:61:21"},{"body":{"nodeType":"YulBlock","src":"1866:111:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1887:1:21","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1894:3:21","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"1899:10:21","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"1890:3:21"},"nodeType":"YulFunctionCall","src":"1890:20:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1880:6:21"},"nodeType":"YulFunctionCall","src":"1880:31:21"},"nodeType":"YulExpressionStatement","src":"1880:31:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1931:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"1934:4:21","type":"","value":"0x22"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1924:6:21"},"nodeType":"YulFunctionCall","src":"1924:15:21"},"nodeType":"YulExpressionStatement","src":"1924:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1959:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1962:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1952:6:21"},"nodeType":"YulFunctionCall","src":"1952:15:21"},"nodeType":"YulExpressionStatement","src":"1952:15:21"}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"1822:18:21"},{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"1845:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"1853:2:21","type":"","value":"32"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1842:2:21"},"nodeType":"YulFunctionCall","src":"1842:14:21"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1819:2:21"},"nodeType":"YulFunctionCall","src":"1819:38:21"},"nodeType":"YulIf","src":"1816:161:21"}]},"name":"extract_byte_array_length","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"1638:4:21","type":""}],"returnVariables":[{"name":"length","nodeType":"YulTypedName","src":"1647:6:21","type":""}],"src":"1603:380:21"},{"body":{"nodeType":"YulBlock","src":"2044:65:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2061:1:21","type":"","value":"0"},{"name":"ptr","nodeType":"YulIdentifier","src":"2064:3:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2054:6:21"},"nodeType":"YulFunctionCall","src":"2054:14:21"},"nodeType":"YulExpressionStatement","src":"2054:14:21"},{"nodeType":"YulAssignment","src":"2077:26:21","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2095:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2098:4:21","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"2085:9:21"},"nodeType":"YulFunctionCall","src":"2085:18:21"},"variableNames":[{"name":"data","nodeType":"YulIdentifier","src":"2077:4:21"}]}]},"name":"array_dataslot_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"ptr","nodeType":"YulTypedName","src":"2027:3:21","type":""}],"returnVariables":[{"name":"data","nodeType":"YulTypedName","src":"2035:4:21","type":""}],"src":"1988:121:21"},{"body":{"nodeType":"YulBlock","src":"2195:464:21","statements":[{"body":{"nodeType":"YulBlock","src":"2228:425:21","statements":[{"nodeType":"YulVariableDeclaration","src":"2242:11:21","value":{"kind":"number","nodeType":"YulLiteral","src":"2252:1:21","type":"","value":"0"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"2246:2:21","type":""}]},{"expression":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"2273:2:21"},{"name":"array","nodeType":"YulIdentifier","src":"2277:5:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2266:6:21"},"nodeType":"YulFunctionCall","src":"2266:17:21"},"nodeType":"YulExpressionStatement","src":"2266:17:21"},{"nodeType":"YulVariableDeclaration","src":"2296:31:21","value":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"2318:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"2322:4:21","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"2308:9:21"},"nodeType":"YulFunctionCall","src":"2308:19:21"},"variables":[{"name":"data","nodeType":"YulTypedName","src":"2300:4:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2340:57:21","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"2363:4:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2373:1:21","type":"","value":"5"},{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"2380:10:21"},{"kind":"number","nodeType":"YulLiteral","src":"2392:2:21","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2376:3:21"},"nodeType":"YulFunctionCall","src":"2376:19:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"2369:3:21"},"nodeType":"YulFunctionCall","src":"2369:27:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2359:3:21"},"nodeType":"YulFunctionCall","src":"2359:38:21"},"variables":[{"name":"deleteStart","nodeType":"YulTypedName","src":"2344:11:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"2434:23:21","statements":[{"nodeType":"YulAssignment","src":"2436:19:21","value":{"name":"data","nodeType":"YulIdentifier","src":"2451:4:21"},"variableNames":[{"name":"deleteStart","nodeType":"YulIdentifier","src":"2436:11:21"}]}]},"condition":{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"2416:10:21"},{"kind":"number","nodeType":"YulLiteral","src":"2428:4:21","type":"","value":"0x20"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"2413:2:21"},"nodeType":"YulFunctionCall","src":"2413:20:21"},"nodeType":"YulIf","src":"2410:47:21"},{"nodeType":"YulVariableDeclaration","src":"2470:41:21","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"2484:4:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2494:1:21","type":"","value":"5"},{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"2501:3:21"},{"kind":"number","nodeType":"YulLiteral","src":"2506:2:21","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2497:3:21"},"nodeType":"YulFunctionCall","src":"2497:12:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"2490:3:21"},"nodeType":"YulFunctionCall","src":"2490:20:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2480:3:21"},"nodeType":"YulFunctionCall","src":"2480:31:21"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"2474:2:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2524:24:21","value":{"name":"deleteStart","nodeType":"YulIdentifier","src":"2537:11:21"},"variables":[{"name":"start","nodeType":"YulTypedName","src":"2528:5:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"2622:21:21","statements":[{"expression":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"2631:5:21"},{"name":"_1","nodeType":"YulIdentifier","src":"2638:2:21"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"2624:6:21"},"nodeType":"YulFunctionCall","src":"2624:17:21"},"nodeType":"YulExpressionStatement","src":"2624:17:21"}]},"condition":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"2572:5:21"},{"name":"_2","nodeType":"YulIdentifier","src":"2579:2:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"2569:2:21"},"nodeType":"YulFunctionCall","src":"2569:13:21"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"2583:26:21","statements":[{"nodeType":"YulAssignment","src":"2585:22:21","value":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"2598:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"2605:1:21","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2594:3:21"},"nodeType":"YulFunctionCall","src":"2594:13:21"},"variableNames":[{"name":"start","nodeType":"YulIdentifier","src":"2585:5:21"}]}]},"pre":{"nodeType":"YulBlock","src":"2565:3:21","statements":[]},"src":"2561:82:21"}]},"condition":{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"2211:3:21"},{"kind":"number","nodeType":"YulLiteral","src":"2216:2:21","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2208:2:21"},"nodeType":"YulFunctionCall","src":"2208:11:21"},"nodeType":"YulIf","src":"2205:448:21"}]},"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"array","nodeType":"YulTypedName","src":"2167:5:21","type":""},{"name":"len","nodeType":"YulTypedName","src":"2174:3:21","type":""},{"name":"startIndex","nodeType":"YulTypedName","src":"2179:10:21","type":""}],"src":"2114:545:21"},{"body":{"nodeType":"YulBlock","src":"2749:81:21","statements":[{"nodeType":"YulAssignment","src":"2759:65:21","value":{"arguments":[{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"2774:4:21"},{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2792:1:21","type":"","value":"3"},{"name":"len","nodeType":"YulIdentifier","src":"2795:3:21"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"2788:3:21"},"nodeType":"YulFunctionCall","src":"2788:11:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2805:1:21","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"2801:3:21"},"nodeType":"YulFunctionCall","src":"2801:6:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"2784:3:21"},"nodeType":"YulFunctionCall","src":"2784:24:21"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"2780:3:21"},"nodeType":"YulFunctionCall","src":"2780:29:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2770:3:21"},"nodeType":"YulFunctionCall","src":"2770:40:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2816:1:21","type":"","value":"1"},{"name":"len","nodeType":"YulIdentifier","src":"2819:3:21"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"2812:3:21"},"nodeType":"YulFunctionCall","src":"2812:11:21"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"2767:2:21"},"nodeType":"YulFunctionCall","src":"2767:57:21"},"variableNames":[{"name":"used","nodeType":"YulIdentifier","src":"2759:4:21"}]}]},"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"2726:4:21","type":""},{"name":"len","nodeType":"YulTypedName","src":"2732:3:21","type":""}],"returnVariables":[{"name":"used","nodeType":"YulTypedName","src":"2740:4:21","type":""}],"src":"2664:166:21"},{"body":{"nodeType":"YulBlock","src":"2931:1256:21","statements":[{"nodeType":"YulVariableDeclaration","src":"2941:24:21","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2961:3:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"2955:5:21"},"nodeType":"YulFunctionCall","src":"2955:10:21"},"variables":[{"name":"newLen","nodeType":"YulTypedName","src":"2945:6:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"3008:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"3010:16:21"},"nodeType":"YulFunctionCall","src":"3010:18:21"},"nodeType":"YulExpressionStatement","src":"3010:18:21"}]},"condition":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"2980:6:21"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2996:2:21","type":"","value":"64"},{"kind":"number","nodeType":"YulLiteral","src":"3000:1:21","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"2992:3:21"},"nodeType":"YulFunctionCall","src":"2992:10:21"},{"kind":"number","nodeType":"YulLiteral","src":"3004:1:21","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2988:3:21"},"nodeType":"YulFunctionCall","src":"2988:18:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2977:2:21"},"nodeType":"YulFunctionCall","src":"2977:30:21"},"nodeType":"YulIf","src":"2974:56:21"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"3083:4:21"},{"arguments":[{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"3121:4:21"}],"functionName":{"name":"sload","nodeType":"YulIdentifier","src":"3115:5:21"},"nodeType":"YulFunctionCall","src":"3115:11:21"}],"functionName":{"name":"extract_byte_array_length","nodeType":"YulIdentifier","src":"3089:25:21"},"nodeType":"YulFunctionCall","src":"3089:38:21"},{"name":"newLen","nodeType":"YulIdentifier","src":"3129:6:21"}],"functionName":{"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulIdentifier","src":"3039:43:21"},"nodeType":"YulFunctionCall","src":"3039:97:21"},"nodeType":"YulExpressionStatement","src":"3039:97:21"},{"nodeType":"YulVariableDeclaration","src":"3145:18:21","value":{"kind":"number","nodeType":"YulLiteral","src":"3162:1:21","type":"","value":"0"},"variables":[{"name":"srcOffset","nodeType":"YulTypedName","src":"3149:9:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"3172:23:21","value":{"kind":"number","nodeType":"YulLiteral","src":"3191:4:21","type":"","value":"0x20"},"variables":[{"name":"srcOffset_1","nodeType":"YulTypedName","src":"3176:11:21","type":""}]},{"nodeType":"YulAssignment","src":"3204:24:21","value":{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"3217:11:21"},"variableNames":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"3204:9:21"}]},{"cases":[{"body":{"nodeType":"YulBlock","src":"3274:656:21","statements":[{"nodeType":"YulVariableDeclaration","src":"3288:35:21","value":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"3307:6:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3319:2:21","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"3315:3:21"},"nodeType":"YulFunctionCall","src":"3315:7:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3303:3:21"},"nodeType":"YulFunctionCall","src":"3303:20:21"},"variables":[{"name":"loopEnd","nodeType":"YulTypedName","src":"3292:7:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"3336:49:21","value":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"3380:4:21"}],"functionName":{"name":"array_dataslot_string_storage","nodeType":"YulIdentifier","src":"3350:29:21"},"nodeType":"YulFunctionCall","src":"3350:35:21"},"variables":[{"name":"dstPtr","nodeType":"YulTypedName","src":"3340:6:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"3398:10:21","value":{"kind":"number","nodeType":"YulLiteral","src":"3407:1:21","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"3402:1:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"3485:172:21","statements":[{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"3510:6:21"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3528:3:21"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"3533:9:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3524:3:21"},"nodeType":"YulFunctionCall","src":"3524:19:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"3518:5:21"},"nodeType":"YulFunctionCall","src":"3518:26:21"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"3503:6:21"},"nodeType":"YulFunctionCall","src":"3503:42:21"},"nodeType":"YulExpressionStatement","src":"3503:42:21"},{"nodeType":"YulAssignment","src":"3562:24:21","value":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"3576:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"3584:1:21","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3572:3:21"},"nodeType":"YulFunctionCall","src":"3572:14:21"},"variableNames":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"3562:6:21"}]},{"nodeType":"YulAssignment","src":"3603:40:21","value":{"arguments":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"3620:9:21"},{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"3631:11:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3616:3:21"},"nodeType":"YulFunctionCall","src":"3616:27:21"},"variableNames":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"3603:9:21"}]}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"3432:1:21"},{"name":"loopEnd","nodeType":"YulIdentifier","src":"3435:7:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"3429:2:21"},"nodeType":"YulFunctionCall","src":"3429:14:21"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"3444:28:21","statements":[{"nodeType":"YulAssignment","src":"3446:24:21","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"3455:1:21"},{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"3458:11:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3451:3:21"},"nodeType":"YulFunctionCall","src":"3451:19:21"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"3446:1:21"}]}]},"pre":{"nodeType":"YulBlock","src":"3425:3:21","statements":[]},"src":"3421:236:21"},{"body":{"nodeType":"YulBlock","src":"3705:166:21","statements":[{"nodeType":"YulVariableDeclaration","src":"3723:43:21","value":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3750:3:21"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"3755:9:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3746:3:21"},"nodeType":"YulFunctionCall","src":"3746:19:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"3740:5:21"},"nodeType":"YulFunctionCall","src":"3740:26:21"},"variables":[{"name":"lastValue","nodeType":"YulTypedName","src":"3727:9:21","type":""}]},{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"3790:6:21"},{"arguments":[{"name":"lastValue","nodeType":"YulIdentifier","src":"3802:9:21"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3829:1:21","type":"","value":"3"},{"name":"newLen","nodeType":"YulIdentifier","src":"3832:6:21"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"3825:3:21"},"nodeType":"YulFunctionCall","src":"3825:14:21"},{"kind":"number","nodeType":"YulLiteral","src":"3841:3:21","type":"","value":"248"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3821:3:21"},"nodeType":"YulFunctionCall","src":"3821:24:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3851:1:21","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"3847:3:21"},"nodeType":"YulFunctionCall","src":"3847:6:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"3817:3:21"},"nodeType":"YulFunctionCall","src":"3817:37:21"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"3813:3:21"},"nodeType":"YulFunctionCall","src":"3813:42:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3798:3:21"},"nodeType":"YulFunctionCall","src":"3798:58:21"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"3783:6:21"},"nodeType":"YulFunctionCall","src":"3783:74:21"},"nodeType":"YulExpressionStatement","src":"3783:74:21"}]},"condition":{"arguments":[{"name":"loopEnd","nodeType":"YulIdentifier","src":"3676:7:21"},{"name":"newLen","nodeType":"YulIdentifier","src":"3685:6:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"3673:2:21"},"nodeType":"YulFunctionCall","src":"3673:19:21"},"nodeType":"YulIf","src":"3670:201:21"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"3891:4:21"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3905:1:21","type":"","value":"1"},{"name":"newLen","nodeType":"YulIdentifier","src":"3908:6:21"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"3901:3:21"},"nodeType":"YulFunctionCall","src":"3901:14:21"},{"kind":"number","nodeType":"YulLiteral","src":"3917:1:21","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3897:3:21"},"nodeType":"YulFunctionCall","src":"3897:22:21"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"3884:6:21"},"nodeType":"YulFunctionCall","src":"3884:36:21"},"nodeType":"YulExpressionStatement","src":"3884:36:21"}]},"nodeType":"YulCase","src":"3267:663:21","value":{"kind":"number","nodeType":"YulLiteral","src":"3272:1:21","type":"","value":"1"}},{"body":{"nodeType":"YulBlock","src":"3947:234:21","statements":[{"nodeType":"YulVariableDeclaration","src":"3961:14:21","value":{"kind":"number","nodeType":"YulLiteral","src":"3974:1:21","type":"","value":"0"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"3965:5:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"4010:67:21","statements":[{"nodeType":"YulAssignment","src":"4028:35:21","value":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"4047:3:21"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"4052:9:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4043:3:21"},"nodeType":"YulFunctionCall","src":"4043:19:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4037:5:21"},"nodeType":"YulFunctionCall","src":"4037:26:21"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"4028:5:21"}]}]},"condition":{"name":"newLen","nodeType":"YulIdentifier","src":"3991:6:21"},"nodeType":"YulIf","src":"3988:89:21"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"4097:4:21"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4156:5:21"},{"name":"newLen","nodeType":"YulIdentifier","src":"4163:6:21"}],"functionName":{"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulIdentifier","src":"4103:52:21"},"nodeType":"YulFunctionCall","src":"4103:67:21"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"4090:6:21"},"nodeType":"YulFunctionCall","src":"4090:81:21"},"nodeType":"YulExpressionStatement","src":"4090:81:21"}]},"nodeType":"YulCase","src":"3939:242:21","value":"default"}],"expression":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"3247:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"3255:2:21","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"3244:2:21"},"nodeType":"YulFunctionCall","src":"3244:14:21"},"nodeType":"YulSwitch","src":"3237:944:21"}]},"name":"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"slot","nodeType":"YulTypedName","src":"2916:4:21","type":""},{"name":"src","nodeType":"YulTypedName","src":"2922:3:21","type":""}],"src":"2835:1352:21"}]},"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 _1 := mload(offset)\n        let _2 := sub(shl(64, 1), 1)\n        if gt(_1, _2) { panic_error_0x41() }\n        let _3 := not(31)\n        let memPtr := mload(64)\n        let newFreePtr := add(memPtr, and(add(and(add(_1, 0x1f), _3), 63), _3))\n        if or(gt(newFreePtr, _2), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n        mstore(64, newFreePtr)\n        mstore(memPtr, _1)\n        let _4 := 0x20\n        if gt(add(add(offset, _1), _4), end) { revert(0, 0) }\n        let i := 0\n        for { } lt(i, _1) { i := add(i, _4) }\n        {\n            mstore(add(add(memPtr, i), _4), mload(add(add(offset, i), _4)))\n        }\n        if gt(i, _1)\n        {\n            mstore(add(add(memPtr, _1), _4), 0)\n        }\n        array := memPtr\n    }\n    function abi_decode_tuple_t_string_memory_ptrt_string_memory_ptr_fromMemory(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        let offset := mload(headStart)\n        let _1 := sub(shl(64, 1), 1)\n        if gt(offset, _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, _1) { revert(0, 0) }\n        value1 := abi_decode_string_fromMemory(add(headStart, offset_1), dataEnd)\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            let _1 := 0\n            mstore(_1, array)\n            let data := keccak256(_1, 0x20)\n            let deleteStart := add(data, shr(5, add(startIndex, 31)))\n            if lt(startIndex, 0x20) { deleteStart := data }\n            let _2 := add(data, shr(5, add(len, 31)))\n            let start := deleteStart\n            for { } lt(start, _2) { start := add(start, 1) }\n            { sstore(start, _1) }\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        let srcOffset_1 := 0x20\n        srcOffset := srcOffset_1\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, srcOffset_1) }\n            {\n                sstore(dstPtr, mload(add(src, srcOffset)))\n                dstPtr := add(dstPtr, 1)\n                srcOffset := add(srcOffset, srcOffset_1)\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}","id":21,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"60806040523480156200001157600080fd5b50604051620017ad380380620017ad833981016040819052620000349162000127565b600062000042838262000220565b50600162000051828262000220565b505050620002ec565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b838211156200011d5760008385830101525b9695505050505050565b600080604083850312156200013b57600080fd5b82516001600160401b03808211156200015357600080fd5b620001618683870162000070565b935060208501519150808211156200017857600080fd5b50620001878582860162000070565b9150509250929050565b600181811c90821680620001a657607f821691505b602082108103620001c757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021b57600081815260208120601f850160051c81016020861015620001f65750805b601f850160051c820191505b81811015620002175782815560010162000202565b5050505b505050565b81516001600160401b038111156200023c576200023c6200005a565b62000254816200024d845462000191565b84620001cd565b602080601f8311600181146200028c5760008415620002735750858301515b600019600386901b1c1916600185901b17855562000217565b600085815260208120601f198616915b82811015620002bd578886015182559484019460019091019084016200029c565b5085821015620002dc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6114b180620002fc6000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c80636352211e1161008c578063a22cb46511610066578063a22cb465146101c3578063b88d4fde146101d6578063c87b56dd146101e9578063e985e9c5146101fc57600080fd5b80636352211e1461018757806370a082311461019a57806395d89b41146101bb57600080fd5b8063095ea7b3116100bd578063095ea7b31461014c57806323b872dd1461016157806342842e0e1461017457600080fd5b806301ffc9a7146100e457806306fdde031461010c578063081812fc14610121575b600080fd5b6100f76100f23660046110d5565b610238565b60405190151581526020015b60405180910390f35b61011461031d565b604051610103919061114a565b61013461012f36600461115d565b6103af565b6040516001600160a01b039091168152602001610103565b61015f61015a366004611192565b6103d6565b005b61015f61016f3660046111bc565b61050c565b61015f6101823660046111bc565b610593565b61013461019536600461115d565b6105ae565b6101ad6101a83660046111f8565b610613565b604051908152602001610103565b6101146106ad565b61015f6101d1366004611213565b6106bc565b61015f6101e4366004611265565b6106cb565b6101146101f736600461115d565b610759565b6100f761020a366004611341565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806102cb57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061031757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606000805461032c90611374565b80601f016020809104026020016040519081016040528092919081815260200182805461035890611374565b80156103a55780601f1061037a576101008083540402835291602001916103a5565b820191906000526020600020905b81548152906001019060200180831161038857829003601f168201915b5050505050905090565b60006103ba826107cd565b506000908152600460205260409020546001600160a01b031690565b60006103e1826105ae565b9050806001600160a01b0316836001600160a01b03160361046f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b038216148061048b575061048b813361020a565b6104fd5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610466565b6105078383610834565b505050565b61051633826108ba565b6105885760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610466565b610507838383610939565b610507838383604051806020016040528060008152506106cb565b6000818152600260205260408120546001600160a01b0316806103175760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610466565b60006001600160a01b0382166106915760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610466565b506001600160a01b031660009081526003602052604090205490565b60606001805461032c90611374565b6106c7338383610b87565b5050565b6106d533836108ba565b6107475760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610466565b61075384848484610c73565b50505050565b6060610764826107cd565b600061077b60408051602081019091526000815290565b9050600081511161079b57604051806020016040528060008152506107c6565b806107a584610cfc565b6040516020016107b69291906113ae565b6040516020818303038152906040525b9392505050565b6000818152600260205260409020546001600160a01b03166108315760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610466565b50565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190610881826105ae565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806108c6836105ae565b9050806001600160a01b0316846001600160a01b0316148061090d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806109315750836001600160a01b0316610926846103af565b6001600160a01b0316145b949350505050565b826001600160a01b031661094c826105ae565b6001600160a01b0316146109c85760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610466565b6001600160a01b038216610a435760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610466565b610a508383836001610d9c565b826001600160a01b0316610a63826105ae565b6001600160a01b031614610adf5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610466565b600081815260046020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000009081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610be85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610466565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610c7e848484610939565b610c8a84848484610e24565b6107535760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610466565b60606000610d0983610fc5565b600101905060008167ffffffffffffffff811115610d2957610d2961124f565b6040519080825280601f01601f191660200182016040528015610d53576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610d5d57509392505050565b6001811115610753576001600160a01b03841615610de2576001600160a01b03841660009081526003602052604081208054839290610ddc9084906113f3565b90915550505b6001600160a01b03831615610753576001600160a01b03831660009081526003602052604081208054839290610e1990849061140a565b909155505050505050565b60006001600160a01b0384163b15610fba576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290610e81903390899088908890600401611422565b6020604051808303816000875af1925050508015610ebc575060408051601f3d908101601f19168201909252610eb99181019061145e565b60015b610f6f573d808015610eea576040519150601f19603f3d011682016040523d82523d6000602084013e610eef565b606091505b508051600003610f675760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610466565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050610931565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061100e577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061103a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061105857662386f26fc10000830492506010015b6305f5e1008310611070576305f5e100830492506008015b612710831061108457612710830492506004015b60648310611096576064830492506002015b600a83106103175760010192915050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461083157600080fd5b6000602082840312156110e757600080fd5b81356107c6816110a7565b60005b8381101561110d5781810151838201526020016110f5565b838111156107535750506000910152565b600081518084526111368160208601602086016110f2565b601f01601f19169290920160200192915050565b6020815260006107c6602083018461111e565b60006020828403121561116f57600080fd5b5035919050565b80356001600160a01b038116811461118d57600080fd5b919050565b600080604083850312156111a557600080fd5b6111ae83611176565b946020939093013593505050565b6000806000606084860312156111d157600080fd5b6111da84611176565b92506111e860208501611176565b9150604084013590509250925092565b60006020828403121561120a57600080fd5b6107c682611176565b6000806040838503121561122657600080fd5b61122f83611176565b91506020830135801515811461124457600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561127b57600080fd5b61128485611176565b935061129260208601611176565b925060408501359150606085013567ffffffffffffffff808211156112b657600080fd5b818701915087601f8301126112ca57600080fd5b8135818111156112dc576112dc61124f565b604051601f8201601f19908116603f011681019083821181831017156113045761130461124f565b816040528281528a602084870101111561131d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561135457600080fd5b61135d83611176565b915061136b60208401611176565b90509250929050565b600181811c9082168061138857607f821691505b6020821081036113a857634e487b7160e01b600052602260045260246000fd5b50919050565b600083516113c08184602088016110f2565b8351908301906113d48183602088016110f2565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b600082821015611405576114056113dd565b500390565b6000821982111561141d5761141d6113dd565b500190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611454608083018461111e565b9695505050505050565b60006020828403121561147057600080fd5b81516107c6816110a756fea2646970667358221220ec094137deba7286127d00fe0673765716d286f0a00e65c405afc0055c66d27164736f6c634300080f0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x17AD CODESIZE SUB DUP1 PUSH3 0x17AD DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x127 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x42 DUP4 DUP3 PUSH3 0x220 JUMP JUMPDEST POP PUSH1 0x1 PUSH3 0x51 DUP3 DUP3 PUSH3 0x220 JUMP JUMPDEST POP POP POP PUSH3 0x2EC 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 PUSH3 0x82 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH3 0x9F JUMPI PUSH3 0x9F PUSH3 0x5A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP4 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD SWAP1 DUP3 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH3 0xCA JUMPI PUSH3 0xCA PUSH3 0x5A JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP4 DUP2 MSTORE PUSH1 0x20 SWAP3 POP DUP7 DUP4 DUP6 DUP9 ADD ADD GT ISZERO PUSH3 0xE7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SWAP2 POP JUMPDEST DUP4 DUP3 LT ISZERO PUSH3 0x10B JUMPI DUP6 DUP3 ADD DUP4 ADD MLOAD DUP2 DUP4 ADD DUP5 ADD MSTORE SWAP1 DUP3 ADD SWAP1 PUSH3 0xEC JUMP JUMPDEST DUP4 DUP3 GT ISZERO PUSH3 0x11D JUMPI PUSH1 0x0 DUP4 DUP6 DUP4 ADD ADD MSTORE JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH3 0x13B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH3 0x153 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x161 DUP7 DUP4 DUP8 ADD PUSH3 0x70 JUMP JUMPDEST SWAP4 POP PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH3 0x178 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH3 0x187 DUP6 DUP3 DUP7 ADD PUSH3 0x70 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH3 0x1A6 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH3 0x1C7 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 PUSH3 0x21B JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP2 ADD PUSH1 0x20 DUP7 LT ISZERO PUSH3 0x1F6 JUMPI POP DUP1 JUMPDEST PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP3 ADD SWAP2 POP JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x217 JUMPI DUP3 DUP2 SSTORE PUSH1 0x1 ADD PUSH3 0x202 JUMP JUMPDEST POP POP POP JUMPDEST POP POP POP JUMP JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH3 0x23C JUMPI PUSH3 0x23C PUSH3 0x5A JUMP JUMPDEST PUSH3 0x254 DUP2 PUSH3 0x24D DUP5 SLOAD PUSH3 0x191 JUMP JUMPDEST DUP5 PUSH3 0x1CD JUMP JUMPDEST PUSH1 0x20 DUP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH3 0x28C JUMPI PUSH1 0x0 DUP5 ISZERO PUSH3 0x273 JUMPI POP DUP6 DUP4 ADD MLOAD JUMPDEST PUSH1 0x0 NOT PUSH1 0x3 DUP7 SWAP1 SHL SHR NOT AND PUSH1 0x1 DUP6 SWAP1 SHL OR DUP6 SSTORE PUSH3 0x217 JUMP JUMPDEST PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH1 0x1F NOT DUP7 AND SWAP2 JUMPDEST DUP3 DUP2 LT ISZERO PUSH3 0x2BD JUMPI DUP9 DUP7 ADD MLOAD DUP3 SSTORE SWAP5 DUP5 ADD SWAP5 PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 DUP5 ADD PUSH3 0x29C JUMP JUMPDEST POP DUP6 DUP3 LT ISZERO PUSH3 0x2DC JUMPI DUP8 DUP6 ADD MLOAD PUSH1 0x0 NOT PUSH1 0x3 DUP9 SWAP1 SHL PUSH1 0xF8 AND SHR NOT AND DUP2 SSTORE JUMPDEST POP POP POP POP POP PUSH1 0x1 SWAP1 DUP2 SHL ADD SWAP1 SSTORE POP JUMP JUMPDEST PUSH2 0x14B1 DUP1 PUSH3 0x2FC 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 0xDF JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6352211E GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xA22CB465 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xA22CB465 EQ PUSH2 0x1C3 JUMPI DUP1 PUSH4 0xB88D4FDE EQ PUSH2 0x1D6 JUMPI DUP1 PUSH4 0xC87B56DD EQ PUSH2 0x1E9 JUMPI DUP1 PUSH4 0xE985E9C5 EQ PUSH2 0x1FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6352211E EQ PUSH2 0x187 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x19A JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x1BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x95EA7B3 GT PUSH2 0xBD JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x14C JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x161 JUMPI DUP1 PUSH4 0x42842E0E EQ PUSH2 0x174 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0xE4 JUMPI DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x10C JUMPI DUP1 PUSH4 0x81812FC EQ PUSH2 0x121 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF7 PUSH2 0xF2 CALLDATASIZE PUSH1 0x4 PUSH2 0x10D5 JUMP JUMPDEST PUSH2 0x238 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x114 PUSH2 0x31D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x103 SWAP2 SWAP1 PUSH2 0x114A JUMP JUMPDEST PUSH2 0x134 PUSH2 0x12F CALLDATASIZE PUSH1 0x4 PUSH2 0x115D JUMP JUMPDEST PUSH2 0x3AF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x103 JUMP JUMPDEST PUSH2 0x15F PUSH2 0x15A CALLDATASIZE PUSH1 0x4 PUSH2 0x1192 JUMP JUMPDEST PUSH2 0x3D6 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x15F PUSH2 0x16F CALLDATASIZE PUSH1 0x4 PUSH2 0x11BC JUMP JUMPDEST PUSH2 0x50C JUMP JUMPDEST PUSH2 0x15F PUSH2 0x182 CALLDATASIZE PUSH1 0x4 PUSH2 0x11BC JUMP JUMPDEST PUSH2 0x593 JUMP JUMPDEST PUSH2 0x134 PUSH2 0x195 CALLDATASIZE PUSH1 0x4 PUSH2 0x115D JUMP JUMPDEST PUSH2 0x5AE JUMP JUMPDEST PUSH2 0x1AD PUSH2 0x1A8 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F8 JUMP JUMPDEST PUSH2 0x613 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x103 JUMP JUMPDEST PUSH2 0x114 PUSH2 0x6AD JUMP JUMPDEST PUSH2 0x15F PUSH2 0x1D1 CALLDATASIZE PUSH1 0x4 PUSH2 0x1213 JUMP JUMPDEST PUSH2 0x6BC JUMP JUMPDEST PUSH2 0x15F PUSH2 0x1E4 CALLDATASIZE PUSH1 0x4 PUSH2 0x1265 JUMP JUMPDEST PUSH2 0x6CB JUMP JUMPDEST PUSH2 0x114 PUSH2 0x1F7 CALLDATASIZE PUSH1 0x4 PUSH2 0x115D JUMP JUMPDEST PUSH2 0x759 JUMP JUMPDEST PUSH2 0xF7 PUSH2 0x20A CALLDATASIZE PUSH1 0x4 PUSH2 0x1341 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH32 0x80AC58CD00000000000000000000000000000000000000000000000000000000 EQ DUP1 PUSH2 0x2CB JUMPI POP PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH32 0x5B5E139F00000000000000000000000000000000000000000000000000000000 EQ JUMPDEST DUP1 PUSH2 0x317 JUMPI POP PUSH32 0x1FFC9A700000000000000000000000000000000000000000000000000000000 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD PUSH2 0x32C SWAP1 PUSH2 0x1374 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 0x358 SWAP1 PUSH2 0x1374 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x3A5 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x37A JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x3A5 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 0x388 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3BA DUP3 PUSH2 0x7CD JUMP JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3E1 DUP3 PUSH2 0x5AE JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x46F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x21 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F76616C20746F2063757272656E74206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7200000000000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND EQ DUP1 PUSH2 0x48B JUMPI POP PUSH2 0x48B DUP2 CALLER PUSH2 0x20A JUMP JUMPDEST PUSH2 0x4FD JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F76652063616C6C6572206973206E6F7420746F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6B656E206F776E6572206F7220617070726F76656420666F7220616C6C000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH2 0x507 DUP4 DUP4 PUSH2 0x834 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0x516 CALLER DUP3 PUSH2 0x8BA JUMP JUMPDEST PUSH2 0x588 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2063616C6C6572206973206E6F7420746F6B656E206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x72206F7220617070726F76656400000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH2 0x507 DUP4 DUP4 DUP4 PUSH2 0x939 JUMP JUMPDEST PUSH2 0x507 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP PUSH2 0x6CB JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0x317 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x18 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20696E76616C696420746F6B656E2049440000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x466 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x691 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x29 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2061646472657373207A65726F206973206E6F742061207661 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6C6964206F776E65720000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x1 DUP1 SLOAD PUSH2 0x32C SWAP1 PUSH2 0x1374 JUMP JUMPDEST PUSH2 0x6C7 CALLER DUP4 DUP4 PUSH2 0xB87 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0x6D5 CALLER DUP4 PUSH2 0x8BA JUMP JUMPDEST PUSH2 0x747 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2063616C6C6572206973206E6F7420746F6B656E206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x72206F7220617070726F76656400000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH2 0x753 DUP5 DUP5 DUP5 DUP5 PUSH2 0xC73 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x764 DUP3 PUSH2 0x7CD JUMP JUMPDEST PUSH1 0x0 PUSH2 0x77B PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE SWAP1 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x79B JUMPI PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP PUSH2 0x7C6 JUMP JUMPDEST DUP1 PUSH2 0x7A5 DUP5 PUSH2 0xCFC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x7B6 SWAP3 SWAP2 SWAP1 PUSH2 0x13AE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x831 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x18 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20696E76616C696420746F6B656E2049440000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x466 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE DUP2 SWAP1 PUSH2 0x881 DUP3 PUSH2 0x5AE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x8C6 DUP4 PUSH2 0x5AE JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x90D JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP9 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST DUP1 PUSH2 0x931 JUMPI POP DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x926 DUP5 PUSH2 0x3AF JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x94C DUP3 PUSH2 0x5AE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x9C8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E736665722066726F6D20696E636F727265637420 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6F776E6572000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0xA43 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F20746865207A65726F20616464 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7265737300000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH2 0xA50 DUP4 DUP4 DUP4 PUSH1 0x1 PUSH2 0xD9C JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xA63 DUP3 PUSH2 0x5AE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0xADF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E736665722066726F6D20696E636F727265637420 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6F776E6572000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 SWAP1 DUP2 AND SWAP1 SWAP2 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 DUP2 AND DUP1 DUP7 MSTORE PUSH1 0x3 DUP6 MSTORE DUP4 DUP7 KECCAK256 DUP1 SLOAD PUSH1 0x0 NOT ADD SWAP1 SSTORE SWAP1 DUP8 AND DUP1 DUP7 MSTORE DUP4 DUP7 KECCAK256 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE DUP7 DUP7 MSTORE PUSH1 0x2 SWAP1 SWAP5 MSTORE DUP3 DUP6 KECCAK256 DUP1 SLOAD SWAP1 SWAP3 AND DUP5 OR SWAP1 SWAP2 SSTORE SWAP1 MLOAD DUP5 SWAP4 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP2 LOG4 POP POP POP JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0xBE8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F766520746F2063616C6C657200000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x466 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 AND DUP7 ISZERO ISZERO SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH32 0x17307EAB39AB6107E8899845AD3D59BD9653F200F220920489CA2B5937696C31 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH2 0xC7E DUP5 DUP5 DUP5 PUSH2 0x939 JUMP JUMPDEST PUSH2 0xC8A DUP5 DUP5 DUP5 DUP5 PUSH2 0xE24 JUMP JUMPDEST PUSH2 0x753 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x32 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F206E6F6E204552433732315265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x63656976657220696D706C656D656E7465720000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0xD09 DUP4 PUSH2 0xFC5 JUMP JUMPDEST PUSH1 0x1 ADD SWAP1 POP PUSH1 0x0 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xD29 JUMPI PUSH2 0xD29 PUSH2 0x124F JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xD53 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP DUP2 DUP2 ADD PUSH1 0x20 ADD JUMPDEST PUSH1 0x0 NOT ADD PUSH32 0x3031323334353637383961626364656600000000000000000000000000000000 PUSH1 0xA DUP7 MOD BYTE DUP2 MSTORE8 PUSH1 0xA DUP6 DIV SWAP5 POP DUP5 PUSH2 0xD5D JUMPI POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x753 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND ISZERO PUSH2 0xDE2 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0xDDC SWAP1 DUP5 SWAP1 PUSH2 0x13F3 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH2 0x753 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0xE19 SWAP1 DUP5 SWAP1 PUSH2 0x140A JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EXTCODESIZE ISZERO PUSH2 0xFBA JUMPI PUSH1 0x40 MLOAD PUSH32 0x150B7A0200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP1 PUSH4 0x150B7A02 SWAP1 PUSH2 0xE81 SWAP1 CALLER SWAP1 DUP10 SWAP1 DUP9 SWAP1 DUP9 SWAP1 PUSH1 0x4 ADD PUSH2 0x1422 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0xEBC JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0xEB9 SWAP2 DUP2 ADD SWAP1 PUSH2 0x145E JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH2 0xF6F JUMPI RETURNDATASIZE DUP1 DUP1 ISZERO PUSH2 0xEEA JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xEEF JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP DUP1 MLOAD PUSH1 0x0 SUB PUSH2 0xF67 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x32 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F206E6F6E204552433732315265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x63656976657220696D706C656D656E7465720000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST DUP1 MLOAD DUP2 PUSH1 0x20 ADD REVERT JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH32 0x150B7A0200000000000000000000000000000000000000000000000000000000 EQ SWAP1 POP PUSH2 0x931 JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH27 0x184F03E93FF9F4DAA797ED6E38ED64BF6A1F010000000000000000 DUP4 LT PUSH2 0x100E JUMPI PUSH27 0x184F03E93FF9F4DAA797ED6E38ED64BF6A1F010000000000000000 DUP4 DIV SWAP3 POP PUSH1 0x40 ADD JUMPDEST PUSH14 0x4EE2D6D415B85ACEF8100000000 DUP4 LT PUSH2 0x103A JUMPI PUSH14 0x4EE2D6D415B85ACEF8100000000 DUP4 DIV SWAP3 POP PUSH1 0x20 ADD JUMPDEST PUSH7 0x2386F26FC10000 DUP4 LT PUSH2 0x1058 JUMPI PUSH7 0x2386F26FC10000 DUP4 DIV SWAP3 POP PUSH1 0x10 ADD JUMPDEST PUSH4 0x5F5E100 DUP4 LT PUSH2 0x1070 JUMPI PUSH4 0x5F5E100 DUP4 DIV SWAP3 POP PUSH1 0x8 ADD JUMPDEST PUSH2 0x2710 DUP4 LT PUSH2 0x1084 JUMPI PUSH2 0x2710 DUP4 DIV SWAP3 POP PUSH1 0x4 ADD JUMPDEST PUSH1 0x64 DUP4 LT PUSH2 0x1096 JUMPI PUSH1 0x64 DUP4 DIV SWAP3 POP PUSH1 0x2 ADD JUMPDEST PUSH1 0xA DUP4 LT PUSH2 0x317 JUMPI PUSH1 0x1 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x831 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x10E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x7C6 DUP2 PUSH2 0x10A7 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x110D JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x10F5 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x753 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1136 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x10F2 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x7C6 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x111E JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x116F 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 0x118D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x11A5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x11AE DUP4 PUSH2 0x1176 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 0x11D1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x11DA DUP5 PUSH2 0x1176 JUMP JUMPDEST SWAP3 POP PUSH2 0x11E8 PUSH1 0x20 DUP6 ADD PUSH2 0x1176 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 0x120A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7C6 DUP3 PUSH2 0x1176 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1226 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x122F DUP4 PUSH2 0x1176 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x1244 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x127B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1284 DUP6 PUSH2 0x1176 JUMP JUMPDEST SWAP4 POP PUSH2 0x1292 PUSH1 0x20 DUP7 ADD PUSH2 0x1176 JUMP JUMPDEST SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x12B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD SWAP2 POP DUP8 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x12CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x12DC JUMPI PUSH2 0x12DC PUSH2 0x124F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD SWAP1 DUP4 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH2 0x1304 JUMPI PUSH2 0x1304 PUSH2 0x124F JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP3 DUP2 MSTORE DUP11 PUSH1 0x20 DUP5 DUP8 ADD ADD GT ISZERO PUSH2 0x131D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 PUSH1 0x20 DUP5 DUP4 ADD ADD MSTORE DUP1 SWAP6 POP POP POP POP POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1354 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x135D DUP4 PUSH2 0x1176 JUMP JUMPDEST SWAP2 POP PUSH2 0x136B PUSH1 0x20 DUP5 ADD PUSH2 0x1176 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x1388 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x13A8 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 0x0 DUP4 MLOAD PUSH2 0x13C0 DUP2 DUP5 PUSH1 0x20 DUP9 ADD PUSH2 0x10F2 JUMP JUMPDEST DUP4 MLOAD SWAP1 DUP4 ADD SWAP1 PUSH2 0x13D4 DUP2 DUP4 PUSH1 0x20 DUP9 ADD PUSH2 0x10F2 JUMP JUMPDEST ADD 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 PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x1405 JUMPI PUSH2 0x1405 PUSH2 0x13DD JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x141D JUMPI PUSH2 0x141D PUSH2 0x13DD JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP8 AND DUP4 MSTORE DUP1 DUP7 AND PUSH1 0x20 DUP5 ADD MSTORE POP DUP4 PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x80 PUSH1 0x60 DUP4 ADD MSTORE PUSH2 0x1454 PUSH1 0x80 DUP4 ADD DUP5 PUSH2 0x111E JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1470 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x7C6 DUP2 PUSH2 0x10A7 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xEC MULMOD COINBASE CALLDATACOPY 0xDE 0xBA PUSH19 0x86127D00FE0673765716D286F0A00E65C405AF 0xC0 SDIV 0x5C PUSH7 0xD27164736F6C63 NUMBER STOP ADDMOD 0xF STOP CALLER ","sourceMap":"628:16327:5:-:0;;;1390:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1456:5;:13;1464:5;1456;:13;:::i;:::-;-1:-1:-1;1479:7:5;:17;1489:7;1479;:17;:::i;:::-;;1390:113;;628:16327;;14:127:21;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:885;200:5;253:3;246:4;238:6;234:17;230:27;220:55;;271:1;268;261:12;220:55;294:13;;-1:-1:-1;;;;;356:10:21;;;353:36;;;369:18;;:::i;:::-;444:2;438:9;412:2;498:13;;-1:-1:-1;;494:22:21;;;518:2;490:31;486:40;474:53;;;542:18;;;562:22;;;539:46;536:72;;;588:18;;:::i;:::-;628:10;624:2;617:22;663:2;655:6;648:18;685:4;675:14;;730:3;725:2;720;712:6;708:15;704:24;701:33;698:53;;;747:1;744;737:12;698:53;769:1;760:10;;779:133;793:2;790:1;787:9;779:133;;;881:14;;;877:23;;871:30;850:14;;;846:23;;839:63;804:10;;;;779:133;;;930:2;927:1;924:9;921:80;;;989:1;984:2;979;971:6;967:15;963:24;956:35;921:80;1019:6;146:885;-1:-1:-1;;;;;;146:885:21:o;1036:562::-;1135:6;1143;1196:2;1184:9;1175:7;1171:23;1167:32;1164:52;;;1212:1;1209;1202:12;1164:52;1239:16;;-1:-1:-1;;;;;1304:14:21;;;1301:34;;;1331:1;1328;1321:12;1301:34;1354:61;1407:7;1398:6;1387:9;1383:22;1354:61;:::i;:::-;1344:71;;1461:2;1450:9;1446:18;1440:25;1424:41;;1490:2;1480:8;1477:16;1474:36;;;1506:1;1503;1496:12;1474:36;;1529:63;1584:7;1573:8;1562:9;1558:24;1529:63;:::i;:::-;1519:73;;;1036:562;;;;;:::o;1603:380::-;1682:1;1678:12;;;;1725;;;1746:61;;1800:4;1792:6;1788:17;1778:27;;1746:61;1853:2;1845:6;1842:14;1822:18;1819:38;1816:161;;1899:10;1894:3;1890:20;1887:1;1880:31;1934:4;1931:1;1924:15;1962:4;1959:1;1952:15;1816:161;;1603:380;;;:::o;2114:545::-;2216:2;2211:3;2208:11;2205:448;;;2252:1;2277:5;2273:2;2266:17;2322:4;2318:2;2308:19;2392:2;2380:10;2376:19;2373:1;2369:27;2363:4;2359:38;2428:4;2416:10;2413:20;2410:47;;;-1:-1:-1;2451:4:21;2410:47;2506:2;2501:3;2497:12;2494:1;2490:20;2484:4;2480:31;2470:41;;2561:82;2579:2;2572:5;2569:13;2561:82;;;2624:17;;;2605:1;2594:13;2561:82;;;2565:3;;;2205:448;2114:545;;;:::o;2835:1352::-;2955:10;;-1:-1:-1;;;;;2977:30:21;;2974:56;;;3010:18;;:::i;:::-;3039:97;3129:6;3089:38;3121:4;3115:11;3089:38;:::i;:::-;3083:4;3039:97;:::i;:::-;3191:4;;3255:2;3244:14;;3272:1;3267:663;;;;3974:1;3991:6;3988:89;;;-1:-1:-1;4043:19:21;;;4037:26;3988:89;-1:-1:-1;;2792:1:21;2788:11;;;2784:24;2780:29;2770:40;2816:1;2812:11;;;2767:57;4090:81;;3237:944;;3267:663;2061:1;2054:14;;;2098:4;2085:18;;-1:-1:-1;;3303:20:21;;;3421:236;3435:7;3432:1;3429:14;3421:236;;;3524:19;;;3518:26;3503:42;;3616:27;;;;3584:1;3572:14;;;;3451:19;;3421:236;;;3425:3;3685:6;3676:7;3673:19;3670:201;;;3746:19;;;3740:26;-1:-1:-1;;3829:1:21;3825:14;;;3841:3;3821:24;3817:37;3813:42;3798:58;3783:74;;3670:201;-1:-1:-1;;;;;3917:1:21;3901:14;;;3897:22;3884:36;;-1:-1:-1;2835:1352:21:o;:::-;628:16327:5;;;;;;"},"deployedBytecode":{"functionDebugData":{"@_afterTokenTransfer_1560":{"entryPoint":null,"id":1560,"parameterSlots":4,"returnSlots":0},"@_approve_1393":{"entryPoint":2100,"id":1393,"parameterSlots":2,"returnSlots":0},"@_baseURI_830":{"entryPoint":null,"id":830,"parameterSlots":0,"returnSlots":1},"@_beforeTokenTransfer_1547":{"entryPoint":3484,"id":1547,"parameterSlots":4,"returnSlots":0},"@_checkOnERC721Received_1501":{"entryPoint":3620,"id":1501,"parameterSlots":4,"returnSlots":1},"@_exists_1062":{"entryPoint":null,"id":1062,"parameterSlots":1,"returnSlots":1},"@_isApprovedOrOwner_1096":{"entryPoint":2234,"id":1096,"parameterSlots":2,"returnSlots":1},"@_msgSender_2449":{"entryPoint":null,"id":2449,"parameterSlots":0,"returnSlots":1},"@_ownerOf_1044":{"entryPoint":null,"id":1044,"parameterSlots":1,"returnSlots":1},"@_requireMinted_1439":{"entryPoint":1997,"id":1439,"parameterSlots":1,"returnSlots":0},"@_safeTransfer_1031":{"entryPoint":3187,"id":1031,"parameterSlots":4,"returnSlots":0},"@_setApprovalForAll_1425":{"entryPoint":2951,"id":1425,"parameterSlots":3,"returnSlots":0},"@_transfer_1369":{"entryPoint":2361,"id":1369,"parameterSlots":3,"returnSlots":0},"@approve_873":{"entryPoint":982,"id":873,"parameterSlots":2,"returnSlots":0},"@balanceOf_734":{"entryPoint":1555,"id":734,"parameterSlots":1,"returnSlots":1},"@getApproved_891":{"entryPoint":943,"id":891,"parameterSlots":1,"returnSlots":1},"@isApprovedForAll_926":{"entryPoint":null,"id":926,"parameterSlots":2,"returnSlots":1},"@isContract_2125":{"entryPoint":null,"id":2125,"parameterSlots":1,"returnSlots":1},"@log10_3372":{"entryPoint":4037,"id":3372,"parameterSlots":1,"returnSlots":1},"@name_772":{"entryPoint":797,"id":772,"parameterSlots":0,"returnSlots":1},"@ownerOf_762":{"entryPoint":1454,"id":762,"parameterSlots":1,"returnSlots":1},"@safeTransferFrom_1002":{"entryPoint":1739,"id":1002,"parameterSlots":4,"returnSlots":0},"@safeTransferFrom_972":{"entryPoint":1427,"id":972,"parameterSlots":3,"returnSlots":0},"@setApprovalForAll_908":{"entryPoint":1724,"id":908,"parameterSlots":2,"returnSlots":0},"@supportsInterface_2657":{"entryPoint":null,"id":2657,"parameterSlots":1,"returnSlots":1},"@supportsInterface_710":{"entryPoint":568,"id":710,"parameterSlots":1,"returnSlots":1},"@symbol_782":{"entryPoint":1709,"id":782,"parameterSlots":0,"returnSlots":1},"@toString_2517":{"entryPoint":3324,"id":2517,"parameterSlots":1,"returnSlots":1},"@tokenURI_821":{"entryPoint":1881,"id":821,"parameterSlots":1,"returnSlots":1},"@transferFrom_953":{"entryPoint":1292,"id":953,"parameterSlots":3,"returnSlots":0},"abi_decode_address":{"entryPoint":4470,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address":{"entryPoint":4600,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_address":{"entryPoint":4929,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_addresst_uint256":{"entryPoint":4540,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr":{"entryPoint":4709,"id":null,"parameterSlots":2,"returnSlots":4},"abi_decode_tuple_t_addresst_bool":{"entryPoint":4627,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_uint256":{"entryPoint":4498,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_bytes4":{"entryPoint":4309,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_bytes4_fromMemory":{"entryPoint":5214,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256":{"entryPoint":4445,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_string":{"entryPoint":4382,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_packed_t_string_memory_ptr_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed":{"entryPoint":5038,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_address__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_address_t_address_t_uint256_t_bytes_memory_ptr__to_t_address_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed":{"entryPoint":5154,"id":null,"parameterSlots":5,"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":4426,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_6d05c90094f31cfeb8f0eb86f0a513af3f7f8992991fbde41b08aa7960677159__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_c6e14a63ffb144eeef7cce6988e5dce07c60a7e0a7b1ef25dbe18c61483e0a83__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"checked_add_t_uint256":{"entryPoint":5130,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_t_uint256":{"entryPoint":5107,"id":null,"parameterSlots":2,"returnSlots":1},"copy_memory_to_memory":{"entryPoint":4338,"id":null,"parameterSlots":3,"returnSlots":0},"extract_byte_array_length":{"entryPoint":4980,"id":null,"parameterSlots":1,"returnSlots":1},"panic_error_0x11":{"entryPoint":5085,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x12":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x41":{"entryPoint":4687,"id":null,"parameterSlots":0,"returnSlots":0},"validator_revert_bytes4":{"entryPoint":4263,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:10957:21","statements":[{"nodeType":"YulBlock","src":"6:3:21","statements":[]},{"body":{"nodeType":"YulBlock","src":"58:133:21","statements":[{"body":{"nodeType":"YulBlock","src":"169:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"178:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"181:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"171:6:21"},"nodeType":"YulFunctionCall","src":"171:12:21"},"nodeType":"YulExpressionStatement","src":"171:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"81:5:21"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"92:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"99:66:21","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"88:3:21"},"nodeType":"YulFunctionCall","src":"88:78:21"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"78:2:21"},"nodeType":"YulFunctionCall","src":"78:89:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"71:6:21"},"nodeType":"YulFunctionCall","src":"71:97:21"},"nodeType":"YulIf","src":"68:117:21"}]},"name":"validator_revert_bytes4","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"47:5:21","type":""}],"src":"14:177:21"},{"body":{"nodeType":"YulBlock","src":"265:176:21","statements":[{"body":{"nodeType":"YulBlock","src":"311:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"320:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"323:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"313:6:21"},"nodeType":"YulFunctionCall","src":"313:12:21"},"nodeType":"YulExpressionStatement","src":"313:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"286:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"295:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"282:3:21"},"nodeType":"YulFunctionCall","src":"282:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"307:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"278:3:21"},"nodeType":"YulFunctionCall","src":"278:32:21"},"nodeType":"YulIf","src":"275:52:21"},{"nodeType":"YulVariableDeclaration","src":"336:36:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"362:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"349:12:21"},"nodeType":"YulFunctionCall","src":"349:23:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"340:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"405:5:21"}],"functionName":{"name":"validator_revert_bytes4","nodeType":"YulIdentifier","src":"381:23:21"},"nodeType":"YulFunctionCall","src":"381:30:21"},"nodeType":"YulExpressionStatement","src":"381:30:21"},{"nodeType":"YulAssignment","src":"420:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"430:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"420:6:21"}]}]},"name":"abi_decode_tuple_t_bytes4","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"231:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"242:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"254:6:21","type":""}],"src":"196:245:21"},{"body":{"nodeType":"YulBlock","src":"541:92:21","statements":[{"nodeType":"YulAssignment","src":"551:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"563:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"574:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"559:3:21"},"nodeType":"YulFunctionCall","src":"559:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"551:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"593:9:21"},{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"618:6:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"611:6:21"},"nodeType":"YulFunctionCall","src":"611:14:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"604:6:21"},"nodeType":"YulFunctionCall","src":"604:22:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"586:6:21"},"nodeType":"YulFunctionCall","src":"586:41:21"},"nodeType":"YulExpressionStatement","src":"586:41:21"}]},"name":"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"510:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"521:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"532:4:21","type":""}],"src":"446:187:21"},{"body":{"nodeType":"YulBlock","src":"691:205:21","statements":[{"nodeType":"YulVariableDeclaration","src":"701:10:21","value":{"kind":"number","nodeType":"YulLiteral","src":"710:1:21","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"705:1:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"770:63:21","statements":[{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"795:3:21"},{"name":"i","nodeType":"YulIdentifier","src":"800:1:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"791:3:21"},"nodeType":"YulFunctionCall","src":"791:11:21"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"814:3:21"},{"name":"i","nodeType":"YulIdentifier","src":"819:1:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"810:3:21"},"nodeType":"YulFunctionCall","src":"810:11:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"804:5:21"},"nodeType":"YulFunctionCall","src":"804:18:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"784:6:21"},"nodeType":"YulFunctionCall","src":"784:39:21"},"nodeType":"YulExpressionStatement","src":"784:39:21"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"731:1:21"},{"name":"length","nodeType":"YulIdentifier","src":"734:6:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"728:2:21"},"nodeType":"YulFunctionCall","src":"728:13:21"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"742:19:21","statements":[{"nodeType":"YulAssignment","src":"744:15:21","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"753:1:21"},{"kind":"number","nodeType":"YulLiteral","src":"756:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"749:3:21"},"nodeType":"YulFunctionCall","src":"749:10:21"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"744:1:21"}]}]},"pre":{"nodeType":"YulBlock","src":"724:3:21","statements":[]},"src":"720:113:21"},{"body":{"nodeType":"YulBlock","src":"859:31:21","statements":[{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"872:3:21"},{"name":"length","nodeType":"YulIdentifier","src":"877:6:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"868:3:21"},"nodeType":"YulFunctionCall","src":"868:16:21"},{"kind":"number","nodeType":"YulLiteral","src":"886:1:21","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"861:6:21"},"nodeType":"YulFunctionCall","src":"861:27:21"},"nodeType":"YulExpressionStatement","src":"861:27:21"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"848:1:21"},{"name":"length","nodeType":"YulIdentifier","src":"851:6:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"845:2:21"},"nodeType":"YulFunctionCall","src":"845:13:21"},"nodeType":"YulIf","src":"842:48:21"}]},"name":"copy_memory_to_memory","nodeType":"YulFunctionDefinition","parameters":[{"name":"src","nodeType":"YulTypedName","src":"669:3:21","type":""},{"name":"dst","nodeType":"YulTypedName","src":"674:3:21","type":""},{"name":"length","nodeType":"YulTypedName","src":"679:6:21","type":""}],"src":"638:258:21"},{"body":{"nodeType":"YulBlock","src":"951:267:21","statements":[{"nodeType":"YulVariableDeclaration","src":"961:26:21","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"981:5:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"975:5:21"},"nodeType":"YulFunctionCall","src":"975:12:21"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"965:6:21","type":""}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1003:3:21"},{"name":"length","nodeType":"YulIdentifier","src":"1008:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"996:6:21"},"nodeType":"YulFunctionCall","src":"996:19:21"},"nodeType":"YulExpressionStatement","src":"996:19:21"},{"expression":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1050:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"1057:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1046:3:21"},"nodeType":"YulFunctionCall","src":"1046:16:21"},{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1068:3:21"},{"kind":"number","nodeType":"YulLiteral","src":"1073:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1064:3:21"},"nodeType":"YulFunctionCall","src":"1064:14:21"},{"name":"length","nodeType":"YulIdentifier","src":"1080:6:21"}],"functionName":{"name":"copy_memory_to_memory","nodeType":"YulIdentifier","src":"1024:21:21"},"nodeType":"YulFunctionCall","src":"1024:63:21"},"nodeType":"YulExpressionStatement","src":"1024:63:21"},{"nodeType":"YulAssignment","src":"1096:116:21","value":{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1111:3:21"},{"arguments":[{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"1124:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"1132:2:21","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1120:3:21"},"nodeType":"YulFunctionCall","src":"1120:15:21"},{"kind":"number","nodeType":"YulLiteral","src":"1137:66:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1116:3:21"},"nodeType":"YulFunctionCall","src":"1116:88:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1107:3:21"},"nodeType":"YulFunctionCall","src":"1107:98:21"},{"kind":"number","nodeType":"YulLiteral","src":"1207:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1103:3:21"},"nodeType":"YulFunctionCall","src":"1103:109:21"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"1096:3:21"}]}]},"name":"abi_encode_string","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"928:5:21","type":""},{"name":"pos","nodeType":"YulTypedName","src":"935:3:21","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"943:3:21","type":""}],"src":"901:317:21"},{"body":{"nodeType":"YulBlock","src":"1344:99:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1361:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"1372:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1354:6:21"},"nodeType":"YulFunctionCall","src":"1354:21:21"},"nodeType":"YulExpressionStatement","src":"1354:21:21"},{"nodeType":"YulAssignment","src":"1384:53:21","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1410:6:21"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1422:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"1433:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1418:3:21"},"nodeType":"YulFunctionCall","src":"1418:18:21"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"1392:17:21"},"nodeType":"YulFunctionCall","src":"1392:45:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1384:4:21"}]}]},"name":"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1313:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1324:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1335:4:21","type":""}],"src":"1223:220:21"},{"body":{"nodeType":"YulBlock","src":"1518:110:21","statements":[{"body":{"nodeType":"YulBlock","src":"1564:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1573:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1576:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1566:6:21"},"nodeType":"YulFunctionCall","src":"1566:12:21"},"nodeType":"YulExpressionStatement","src":"1566:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"1539:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"1548:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1535:3:21"},"nodeType":"YulFunctionCall","src":"1535:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"1560:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1531:3:21"},"nodeType":"YulFunctionCall","src":"1531:32:21"},"nodeType":"YulIf","src":"1528:52:21"},{"nodeType":"YulAssignment","src":"1589:33:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1612:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1599:12:21"},"nodeType":"YulFunctionCall","src":"1599:23:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"1589:6:21"}]}]},"name":"abi_decode_tuple_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1484:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"1495:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"1507:6:21","type":""}],"src":"1448:180:21"},{"body":{"nodeType":"YulBlock","src":"1734:125:21","statements":[{"nodeType":"YulAssignment","src":"1744:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1756:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"1767:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1752:3:21"},"nodeType":"YulFunctionCall","src":"1752:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1744:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1786:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1801:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"1809:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1797:3:21"},"nodeType":"YulFunctionCall","src":"1797:55:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1779:6:21"},"nodeType":"YulFunctionCall","src":"1779:74:21"},"nodeType":"YulExpressionStatement","src":"1779:74:21"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1703:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1714:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1725:4:21","type":""}],"src":"1633:226:21"},{"body":{"nodeType":"YulBlock","src":"1913:147:21","statements":[{"nodeType":"YulAssignment","src":"1923:29:21","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1945:6:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1932:12:21"},"nodeType":"YulFunctionCall","src":"1932:20:21"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"1923:5:21"}]},{"body":{"nodeType":"YulBlock","src":"2038:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2047:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2050:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2040:6:21"},"nodeType":"YulFunctionCall","src":"2040:12:21"},"nodeType":"YulExpressionStatement","src":"2040:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1974:5:21"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1985:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"1992:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1981:3:21"},"nodeType":"YulFunctionCall","src":"1981:54:21"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1971:2:21"},"nodeType":"YulFunctionCall","src":"1971:65:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1964:6:21"},"nodeType":"YulFunctionCall","src":"1964:73:21"},"nodeType":"YulIf","src":"1961:93:21"}]},"name":"abi_decode_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"1892:6:21","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"1903:5:21","type":""}],"src":"1864:196:21"},{"body":{"nodeType":"YulBlock","src":"2152:167:21","statements":[{"body":{"nodeType":"YulBlock","src":"2198:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2207:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2210:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2200:6:21"},"nodeType":"YulFunctionCall","src":"2200:12:21"},"nodeType":"YulExpressionStatement","src":"2200:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2173:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"2182:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2169:3:21"},"nodeType":"YulFunctionCall","src":"2169:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"2194:2:21","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2165:3:21"},"nodeType":"YulFunctionCall","src":"2165:32:21"},"nodeType":"YulIf","src":"2162:52:21"},{"nodeType":"YulAssignment","src":"2223:39:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2252:9:21"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"2233:18:21"},"nodeType":"YulFunctionCall","src":"2233:29:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"2223:6:21"}]},{"nodeType":"YulAssignment","src":"2271:42:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2298:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"2309:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2294:3:21"},"nodeType":"YulFunctionCall","src":"2294:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2281:12:21"},"nodeType":"YulFunctionCall","src":"2281:32:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"2271:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2110:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2121:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2133:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"2141:6:21","type":""}],"src":"2065:254:21"},{"body":{"nodeType":"YulBlock","src":"2428:224:21","statements":[{"body":{"nodeType":"YulBlock","src":"2474:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2483:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2486:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2476:6:21"},"nodeType":"YulFunctionCall","src":"2476:12:21"},"nodeType":"YulExpressionStatement","src":"2476:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2449:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"2458:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2445:3:21"},"nodeType":"YulFunctionCall","src":"2445:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"2470:2:21","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2441:3:21"},"nodeType":"YulFunctionCall","src":"2441:32:21"},"nodeType":"YulIf","src":"2438:52:21"},{"nodeType":"YulAssignment","src":"2499:39:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2528:9:21"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"2509:18:21"},"nodeType":"YulFunctionCall","src":"2509:29:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"2499:6:21"}]},{"nodeType":"YulAssignment","src":"2547:48:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2580:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"2591:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2576:3:21"},"nodeType":"YulFunctionCall","src":"2576:18:21"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"2557:18:21"},"nodeType":"YulFunctionCall","src":"2557:38:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"2547:6:21"}]},{"nodeType":"YulAssignment","src":"2604:42:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2631:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"2642:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2627:3:21"},"nodeType":"YulFunctionCall","src":"2627:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2614:12:21"},"nodeType":"YulFunctionCall","src":"2614:32:21"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"2604:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2378:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2389:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2401:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"2409:6:21","type":""},{"name":"value2","nodeType":"YulTypedName","src":"2417:6:21","type":""}],"src":"2324:328:21"},{"body":{"nodeType":"YulBlock","src":"2727:116:21","statements":[{"body":{"nodeType":"YulBlock","src":"2773:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2782:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2785:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2775:6:21"},"nodeType":"YulFunctionCall","src":"2775:12:21"},"nodeType":"YulExpressionStatement","src":"2775:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2748:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"2757:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2744:3:21"},"nodeType":"YulFunctionCall","src":"2744:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"2769:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2740:3:21"},"nodeType":"YulFunctionCall","src":"2740:32:21"},"nodeType":"YulIf","src":"2737:52:21"},{"nodeType":"YulAssignment","src":"2798:39:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2827:9:21"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"2808:18:21"},"nodeType":"YulFunctionCall","src":"2808:29:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"2798:6:21"}]}]},"name":"abi_decode_tuple_t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2693:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2704:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2716:6:21","type":""}],"src":"2657:186:21"},{"body":{"nodeType":"YulBlock","src":"2949:76:21","statements":[{"nodeType":"YulAssignment","src":"2959:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2971:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"2982:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2967:3:21"},"nodeType":"YulFunctionCall","src":"2967:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2959:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3001:9:21"},{"name":"value0","nodeType":"YulIdentifier","src":"3012:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2994:6:21"},"nodeType":"YulFunctionCall","src":"2994:25:21"},"nodeType":"YulExpressionStatement","src":"2994:25:21"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2918:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2929:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2940:4:21","type":""}],"src":"2848:177:21"},{"body":{"nodeType":"YulBlock","src":"3114:263:21","statements":[{"body":{"nodeType":"YulBlock","src":"3160:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3169:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3172:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3162:6:21"},"nodeType":"YulFunctionCall","src":"3162:12:21"},"nodeType":"YulExpressionStatement","src":"3162:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"3135:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"3144:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3131:3:21"},"nodeType":"YulFunctionCall","src":"3131:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"3156:2:21","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"3127:3:21"},"nodeType":"YulFunctionCall","src":"3127:32:21"},"nodeType":"YulIf","src":"3124:52:21"},{"nodeType":"YulAssignment","src":"3185:39:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3214:9:21"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"3195:18:21"},"nodeType":"YulFunctionCall","src":"3195:29:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"3185:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"3233:45:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3263:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"3274:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3259:3:21"},"nodeType":"YulFunctionCall","src":"3259:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3246:12:21"},"nodeType":"YulFunctionCall","src":"3246:32:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"3237:5:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"3331:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3340:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3343:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3333:6:21"},"nodeType":"YulFunctionCall","src":"3333:12:21"},"nodeType":"YulExpressionStatement","src":"3333:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"3300:5:21"},{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"3321:5:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"3314:6:21"},"nodeType":"YulFunctionCall","src":"3314:13:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"3307:6:21"},"nodeType":"YulFunctionCall","src":"3307:21:21"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"3297:2:21"},"nodeType":"YulFunctionCall","src":"3297:32:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"3290:6:21"},"nodeType":"YulFunctionCall","src":"3290:40:21"},"nodeType":"YulIf","src":"3287:60:21"},{"nodeType":"YulAssignment","src":"3356:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"3366:5:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"3356:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_bool","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3072:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"3083:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"3095:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"3103:6:21","type":""}],"src":"3030:347:21"},{"body":{"nodeType":"YulBlock","src":"3414:152:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3431:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3434:77:21","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3424:6:21"},"nodeType":"YulFunctionCall","src":"3424:88:21"},"nodeType":"YulExpressionStatement","src":"3424:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3528:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"3531:4:21","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3521:6:21"},"nodeType":"YulFunctionCall","src":"3521:15:21"},"nodeType":"YulExpressionStatement","src":"3521:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3552:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3555:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3545:6:21"},"nodeType":"YulFunctionCall","src":"3545:15:21"},"nodeType":"YulExpressionStatement","src":"3545:15:21"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"3382:184:21"},{"body":{"nodeType":"YulBlock","src":"3701:1067:21","statements":[{"body":{"nodeType":"YulBlock","src":"3748:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3757:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3760:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3750:6:21"},"nodeType":"YulFunctionCall","src":"3750:12:21"},"nodeType":"YulExpressionStatement","src":"3750:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"3722:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"3731:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3718:3:21"},"nodeType":"YulFunctionCall","src":"3718:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"3743:3:21","type":"","value":"128"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"3714:3:21"},"nodeType":"YulFunctionCall","src":"3714:33:21"},"nodeType":"YulIf","src":"3711:53:21"},{"nodeType":"YulAssignment","src":"3773:39:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3802:9:21"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"3783:18:21"},"nodeType":"YulFunctionCall","src":"3783:29:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"3773:6:21"}]},{"nodeType":"YulAssignment","src":"3821:48:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3854:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"3865:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3850:3:21"},"nodeType":"YulFunctionCall","src":"3850:18:21"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"3831:18:21"},"nodeType":"YulFunctionCall","src":"3831:38:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"3821:6:21"}]},{"nodeType":"YulAssignment","src":"3878:42:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3905:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"3916:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3901:3:21"},"nodeType":"YulFunctionCall","src":"3901:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3888:12:21"},"nodeType":"YulFunctionCall","src":"3888:32:21"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"3878:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"3929:46:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3960:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"3971:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3956:3:21"},"nodeType":"YulFunctionCall","src":"3956:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3943:12:21"},"nodeType":"YulFunctionCall","src":"3943:32:21"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"3933:6:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"3984:28:21","value":{"kind":"number","nodeType":"YulLiteral","src":"3994:18:21","type":"","value":"0xffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"3988:2:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"4039:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4048:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4051:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4041:6:21"},"nodeType":"YulFunctionCall","src":"4041:12:21"},"nodeType":"YulExpressionStatement","src":"4041:12:21"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"4027:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"4035:2:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"4024:2:21"},"nodeType":"YulFunctionCall","src":"4024:14:21"},"nodeType":"YulIf","src":"4021:34:21"},{"nodeType":"YulVariableDeclaration","src":"4064:32:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4078:9:21"},{"name":"offset","nodeType":"YulIdentifier","src":"4089:6:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4074:3:21"},"nodeType":"YulFunctionCall","src":"4074:22:21"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"4068:2:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"4144:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4153:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4156:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4146:6:21"},"nodeType":"YulFunctionCall","src":"4146:12:21"},"nodeType":"YulExpressionStatement","src":"4146:12:21"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"4123:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"4127:4:21","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4119:3:21"},"nodeType":"YulFunctionCall","src":"4119:13:21"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"4134:7:21"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"4115:3:21"},"nodeType":"YulFunctionCall","src":"4115:27:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"4108:6:21"},"nodeType":"YulFunctionCall","src":"4108:35:21"},"nodeType":"YulIf","src":"4105:55:21"},{"nodeType":"YulVariableDeclaration","src":"4169:26:21","value":{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"4192:2:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4179:12:21"},"nodeType":"YulFunctionCall","src":"4179:16:21"},"variables":[{"name":"_3","nodeType":"YulTypedName","src":"4173:2:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"4218:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"4220:16:21"},"nodeType":"YulFunctionCall","src":"4220:18:21"},"nodeType":"YulExpressionStatement","src":"4220:18:21"}]},"condition":{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"4210:2:21"},{"name":"_1","nodeType":"YulIdentifier","src":"4214:2:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"4207:2:21"},"nodeType":"YulFunctionCall","src":"4207:10:21"},"nodeType":"YulIf","src":"4204:36:21"},{"nodeType":"YulVariableDeclaration","src":"4249:76:21","value":{"kind":"number","nodeType":"YulLiteral","src":"4259:66:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"},"variables":[{"name":"_4","nodeType":"YulTypedName","src":"4253:2:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"4334:23:21","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4354:2:21","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4348:5:21"},"nodeType":"YulFunctionCall","src":"4348:9:21"},"variables":[{"name":"memPtr","nodeType":"YulTypedName","src":"4338:6:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"4366:71:21","value":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"4388:6:21"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"4412:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"4416:4:21","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4408:3:21"},"nodeType":"YulFunctionCall","src":"4408:13:21"},{"name":"_4","nodeType":"YulIdentifier","src":"4423:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"4404:3:21"},"nodeType":"YulFunctionCall","src":"4404:22:21"},{"kind":"number","nodeType":"YulLiteral","src":"4428:2:21","type":"","value":"63"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4400:3:21"},"nodeType":"YulFunctionCall","src":"4400:31:21"},{"name":"_4","nodeType":"YulIdentifier","src":"4433:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"4396:3:21"},"nodeType":"YulFunctionCall","src":"4396:40:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4384:3:21"},"nodeType":"YulFunctionCall","src":"4384:53:21"},"variables":[{"name":"newFreePtr","nodeType":"YulTypedName","src":"4370:10:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"4496:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"4498:16:21"},"nodeType":"YulFunctionCall","src":"4498:18:21"},"nodeType":"YulExpressionStatement","src":"4498:18:21"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"4455:10:21"},{"name":"_1","nodeType":"YulIdentifier","src":"4467:2:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"4452:2:21"},"nodeType":"YulFunctionCall","src":"4452:18:21"},{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"4475:10:21"},{"name":"memPtr","nodeType":"YulIdentifier","src":"4487:6:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"4472:2:21"},"nodeType":"YulFunctionCall","src":"4472:22:21"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"4449:2:21"},"nodeType":"YulFunctionCall","src":"4449:46:21"},"nodeType":"YulIf","src":"4446:72:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4534:2:21","type":"","value":"64"},{"name":"newFreePtr","nodeType":"YulIdentifier","src":"4538:10:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4527:6:21"},"nodeType":"YulFunctionCall","src":"4527:22:21"},"nodeType":"YulExpressionStatement","src":"4527:22:21"},{"expression":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"4565:6:21"},{"name":"_3","nodeType":"YulIdentifier","src":"4573:2:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4558:6:21"},"nodeType":"YulFunctionCall","src":"4558:18:21"},"nodeType":"YulExpressionStatement","src":"4558:18:21"},{"body":{"nodeType":"YulBlock","src":"4622:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4631:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4634:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4624:6:21"},"nodeType":"YulFunctionCall","src":"4624:12:21"},"nodeType":"YulExpressionStatement","src":"4624:12:21"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"4599:2:21"},{"name":"_3","nodeType":"YulIdentifier","src":"4603:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4595:3:21"},"nodeType":"YulFunctionCall","src":"4595:11:21"},{"kind":"number","nodeType":"YulLiteral","src":"4608:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4591:3:21"},"nodeType":"YulFunctionCall","src":"4591:20:21"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"4613:7:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"4588:2:21"},"nodeType":"YulFunctionCall","src":"4588:33:21"},"nodeType":"YulIf","src":"4585:53:21"},{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"4664:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"4672:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4660:3:21"},"nodeType":"YulFunctionCall","src":"4660:15:21"},{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"4681:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"4685:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4677:3:21"},"nodeType":"YulFunctionCall","src":"4677:11:21"},{"name":"_3","nodeType":"YulIdentifier","src":"4690:2:21"}],"functionName":{"name":"calldatacopy","nodeType":"YulIdentifier","src":"4647:12:21"},"nodeType":"YulFunctionCall","src":"4647:46:21"},"nodeType":"YulExpressionStatement","src":"4647:46:21"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"4717:6:21"},{"name":"_3","nodeType":"YulIdentifier","src":"4725:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4713:3:21"},"nodeType":"YulFunctionCall","src":"4713:15:21"},{"kind":"number","nodeType":"YulLiteral","src":"4730:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4709:3:21"},"nodeType":"YulFunctionCall","src":"4709:24:21"},{"kind":"number","nodeType":"YulLiteral","src":"4735:1:21","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4702:6:21"},"nodeType":"YulFunctionCall","src":"4702:35:21"},"nodeType":"YulExpressionStatement","src":"4702:35:21"},{"nodeType":"YulAssignment","src":"4746:16:21","value":{"name":"memPtr","nodeType":"YulIdentifier","src":"4756:6:21"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"4746:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3643:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"3654:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"3666:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"3674:6:21","type":""},{"name":"value2","nodeType":"YulTypedName","src":"3682:6:21","type":""},{"name":"value3","nodeType":"YulTypedName","src":"3690:6:21","type":""}],"src":"3571:1197:21"},{"body":{"nodeType":"YulBlock","src":"4860:173:21","statements":[{"body":{"nodeType":"YulBlock","src":"4906:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4915:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4918:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4908:6:21"},"nodeType":"YulFunctionCall","src":"4908:12:21"},"nodeType":"YulExpressionStatement","src":"4908:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"4881:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"4890:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"4877:3:21"},"nodeType":"YulFunctionCall","src":"4877:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"4902:2:21","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"4873:3:21"},"nodeType":"YulFunctionCall","src":"4873:32:21"},"nodeType":"YulIf","src":"4870:52:21"},{"nodeType":"YulAssignment","src":"4931:39:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4960:9:21"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"4941:18:21"},"nodeType":"YulFunctionCall","src":"4941:29:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"4931:6:21"}]},{"nodeType":"YulAssignment","src":"4979:48:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5012:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"5023:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5008:3:21"},"nodeType":"YulFunctionCall","src":"5008:18:21"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"4989:18:21"},"nodeType":"YulFunctionCall","src":"4989:38:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"4979:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4818:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"4829:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"4841:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"4849:6:21","type":""}],"src":"4773:260:21"},{"body":{"nodeType":"YulBlock","src":"5093:382:21","statements":[{"nodeType":"YulAssignment","src":"5103:22:21","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5117:1:21","type":"","value":"1"},{"name":"data","nodeType":"YulIdentifier","src":"5120:4:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"5113:3:21"},"nodeType":"YulFunctionCall","src":"5113:12:21"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"5103:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"5134:38:21","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"5164:4:21"},{"kind":"number","nodeType":"YulLiteral","src":"5170:1:21","type":"","value":"1"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"5160:3:21"},"nodeType":"YulFunctionCall","src":"5160:12:21"},"variables":[{"name":"outOfPlaceEncoding","nodeType":"YulTypedName","src":"5138:18:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"5211:31:21","statements":[{"nodeType":"YulAssignment","src":"5213:27:21","value":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"5227:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"5235:4:21","type":"","value":"0x7f"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"5223:3:21"},"nodeType":"YulFunctionCall","src":"5223:17:21"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"5213:6:21"}]}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"5191:18:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"5184:6:21"},"nodeType":"YulFunctionCall","src":"5184:26:21"},"nodeType":"YulIf","src":"5181:61:21"},{"body":{"nodeType":"YulBlock","src":"5301:168:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5322:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5325:77:21","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5315:6:21"},"nodeType":"YulFunctionCall","src":"5315:88:21"},"nodeType":"YulExpressionStatement","src":"5315:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5423:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"5426:4:21","type":"","value":"0x22"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5416:6:21"},"nodeType":"YulFunctionCall","src":"5416:15:21"},"nodeType":"YulExpressionStatement","src":"5416:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5451:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5454:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5444:6:21"},"nodeType":"YulFunctionCall","src":"5444:15:21"},"nodeType":"YulExpressionStatement","src":"5444:15:21"}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"5257:18:21"},{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"5280:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"5288:2:21","type":"","value":"32"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"5277:2:21"},"nodeType":"YulFunctionCall","src":"5277:14:21"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"5254:2:21"},"nodeType":"YulFunctionCall","src":"5254:38:21"},"nodeType":"YulIf","src":"5251:218:21"}]},"name":"extract_byte_array_length","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"5073:4:21","type":""}],"returnVariables":[{"name":"length","nodeType":"YulTypedName","src":"5082:6:21","type":""}],"src":"5038:437:21"},{"body":{"nodeType":"YulBlock","src":"5654:223:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5671:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"5682:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5664:6:21"},"nodeType":"YulFunctionCall","src":"5664:21:21"},"nodeType":"YulExpressionStatement","src":"5664:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5705:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"5716:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5701:3:21"},"nodeType":"YulFunctionCall","src":"5701:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"5721:2:21","type":"","value":"33"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5694:6:21"},"nodeType":"YulFunctionCall","src":"5694:30:21"},"nodeType":"YulExpressionStatement","src":"5694:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5744:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"5755:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5740:3:21"},"nodeType":"YulFunctionCall","src":"5740:18:21"},{"hexValue":"4552433732313a20617070726f76616c20746f2063757272656e74206f776e65","kind":"string","nodeType":"YulLiteral","src":"5760:34:21","type":"","value":"ERC721: approval to current owne"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5733:6:21"},"nodeType":"YulFunctionCall","src":"5733:62:21"},"nodeType":"YulExpressionStatement","src":"5733:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5815:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"5826:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5811:3:21"},"nodeType":"YulFunctionCall","src":"5811:18:21"},{"hexValue":"72","kind":"string","nodeType":"YulLiteral","src":"5831:3:21","type":"","value":"r"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5804:6:21"},"nodeType":"YulFunctionCall","src":"5804:31:21"},"nodeType":"YulExpressionStatement","src":"5804:31:21"},{"nodeType":"YulAssignment","src":"5844:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5856:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"5867:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5852:3:21"},"nodeType":"YulFunctionCall","src":"5852:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"5844:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5631:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"5645:4:21","type":""}],"src":"5480:397:21"},{"body":{"nodeType":"YulBlock","src":"6056:251:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6073:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6084:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6066:6:21"},"nodeType":"YulFunctionCall","src":"6066:21:21"},"nodeType":"YulExpressionStatement","src":"6066:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6107:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6118:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6103:3:21"},"nodeType":"YulFunctionCall","src":"6103:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"6123:2:21","type":"","value":"61"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6096:6:21"},"nodeType":"YulFunctionCall","src":"6096:30:21"},"nodeType":"YulExpressionStatement","src":"6096:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6146:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6157:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6142:3:21"},"nodeType":"YulFunctionCall","src":"6142:18:21"},{"hexValue":"4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f","kind":"string","nodeType":"YulLiteral","src":"6162:34:21","type":"","value":"ERC721: approve caller is not to"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6135:6:21"},"nodeType":"YulFunctionCall","src":"6135:62:21"},"nodeType":"YulExpressionStatement","src":"6135:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6217:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6228:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6213:3:21"},"nodeType":"YulFunctionCall","src":"6213:18:21"},{"hexValue":"6b656e206f776e6572206f7220617070726f76656420666f7220616c6c","kind":"string","nodeType":"YulLiteral","src":"6233:31:21","type":"","value":"ken owner or approved for all"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6206:6:21"},"nodeType":"YulFunctionCall","src":"6206:59:21"},"nodeType":"YulExpressionStatement","src":"6206:59:21"},{"nodeType":"YulAssignment","src":"6274:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6286:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6297:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6282:3:21"},"nodeType":"YulFunctionCall","src":"6282:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"6274:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_c6e14a63ffb144eeef7cce6988e5dce07c60a7e0a7b1ef25dbe18c61483e0a83__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6033:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"6047:4:21","type":""}],"src":"5882:425:21"},{"body":{"nodeType":"YulBlock","src":"6486:235:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6503:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6514:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6496:6:21"},"nodeType":"YulFunctionCall","src":"6496:21:21"},"nodeType":"YulExpressionStatement","src":"6496:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6537:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6548:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6533:3:21"},"nodeType":"YulFunctionCall","src":"6533:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"6553:2:21","type":"","value":"45"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6526:6:21"},"nodeType":"YulFunctionCall","src":"6526:30:21"},"nodeType":"YulExpressionStatement","src":"6526:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6576:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6587:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6572:3:21"},"nodeType":"YulFunctionCall","src":"6572:18:21"},{"hexValue":"4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e65","kind":"string","nodeType":"YulLiteral","src":"6592:34:21","type":"","value":"ERC721: caller is not token owne"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6565:6:21"},"nodeType":"YulFunctionCall","src":"6565:62:21"},"nodeType":"YulExpressionStatement","src":"6565:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6647:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6658:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6643:3:21"},"nodeType":"YulFunctionCall","src":"6643:18:21"},{"hexValue":"72206f7220617070726f766564","kind":"string","nodeType":"YulLiteral","src":"6663:15:21","type":"","value":"r or approved"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6636:6:21"},"nodeType":"YulFunctionCall","src":"6636:43:21"},"nodeType":"YulExpressionStatement","src":"6636:43:21"},{"nodeType":"YulAssignment","src":"6688:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6700:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6711:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6696:3:21"},"nodeType":"YulFunctionCall","src":"6696:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"6688:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6463:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"6477:4:21","type":""}],"src":"6312:409:21"},{"body":{"nodeType":"YulBlock","src":"6900:174:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6917:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6928:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6910:6:21"},"nodeType":"YulFunctionCall","src":"6910:21:21"},"nodeType":"YulExpressionStatement","src":"6910:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6951:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6962:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6947:3:21"},"nodeType":"YulFunctionCall","src":"6947:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"6967:2:21","type":"","value":"24"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6940:6:21"},"nodeType":"YulFunctionCall","src":"6940:30:21"},"nodeType":"YulExpressionStatement","src":"6940:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6990:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"7001:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6986:3:21"},"nodeType":"YulFunctionCall","src":"6986:18:21"},{"hexValue":"4552433732313a20696e76616c696420746f6b656e204944","kind":"string","nodeType":"YulLiteral","src":"7006:26:21","type":"","value":"ERC721: invalid token ID"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6979:6:21"},"nodeType":"YulFunctionCall","src":"6979:54:21"},"nodeType":"YulExpressionStatement","src":"6979:54:21"},{"nodeType":"YulAssignment","src":"7042:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7054:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"7065:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7050:3:21"},"nodeType":"YulFunctionCall","src":"7050:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"7042:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6877:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"6891:4:21","type":""}],"src":"6726:348:21"},{"body":{"nodeType":"YulBlock","src":"7253:231:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7270:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"7281:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7263:6:21"},"nodeType":"YulFunctionCall","src":"7263:21:21"},"nodeType":"YulExpressionStatement","src":"7263:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7304:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"7315:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7300:3:21"},"nodeType":"YulFunctionCall","src":"7300:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"7320:2:21","type":"","value":"41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7293:6:21"},"nodeType":"YulFunctionCall","src":"7293:30:21"},"nodeType":"YulExpressionStatement","src":"7293:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7343:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"7354:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7339:3:21"},"nodeType":"YulFunctionCall","src":"7339:18:21"},{"hexValue":"4552433732313a2061646472657373207a65726f206973206e6f742061207661","kind":"string","nodeType":"YulLiteral","src":"7359:34:21","type":"","value":"ERC721: address zero is not a va"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7332:6:21"},"nodeType":"YulFunctionCall","src":"7332:62:21"},"nodeType":"YulExpressionStatement","src":"7332:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7414:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"7425:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7410:3:21"},"nodeType":"YulFunctionCall","src":"7410:18:21"},{"hexValue":"6c6964206f776e6572","kind":"string","nodeType":"YulLiteral","src":"7430:11:21","type":"","value":"lid owner"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7403:6:21"},"nodeType":"YulFunctionCall","src":"7403:39:21"},"nodeType":"YulExpressionStatement","src":"7403:39:21"},{"nodeType":"YulAssignment","src":"7451:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7463:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"7474:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7459:3:21"},"nodeType":"YulFunctionCall","src":"7459:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"7451:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_6d05c90094f31cfeb8f0eb86f0a513af3f7f8992991fbde41b08aa7960677159__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"7230:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"7244:4:21","type":""}],"src":"7079:405:21"},{"body":{"nodeType":"YulBlock","src":"7676:283:21","statements":[{"nodeType":"YulVariableDeclaration","src":"7686:27:21","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"7706:6:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"7700:5:21"},"nodeType":"YulFunctionCall","src":"7700:13:21"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"7690:6:21","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"7748:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"7756:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7744:3:21"},"nodeType":"YulFunctionCall","src":"7744:17:21"},{"name":"pos","nodeType":"YulIdentifier","src":"7763:3:21"},{"name":"length","nodeType":"YulIdentifier","src":"7768:6:21"}],"functionName":{"name":"copy_memory_to_memory","nodeType":"YulIdentifier","src":"7722:21:21"},"nodeType":"YulFunctionCall","src":"7722:53:21"},"nodeType":"YulExpressionStatement","src":"7722:53:21"},{"nodeType":"YulVariableDeclaration","src":"7784:29:21","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"7801:3:21"},{"name":"length","nodeType":"YulIdentifier","src":"7806:6:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7797:3:21"},"nodeType":"YulFunctionCall","src":"7797:16:21"},"variables":[{"name":"end_1","nodeType":"YulTypedName","src":"7788:5:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"7822:29:21","value":{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"7844:6:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"7838:5:21"},"nodeType":"YulFunctionCall","src":"7838:13:21"},"variables":[{"name":"length_1","nodeType":"YulTypedName","src":"7826:8:21","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"7886:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"7894:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7882:3:21"},"nodeType":"YulFunctionCall","src":"7882:17:21"},{"name":"end_1","nodeType":"YulIdentifier","src":"7901:5:21"},{"name":"length_1","nodeType":"YulIdentifier","src":"7908:8:21"}],"functionName":{"name":"copy_memory_to_memory","nodeType":"YulIdentifier","src":"7860:21:21"},"nodeType":"YulFunctionCall","src":"7860:57:21"},"nodeType":"YulExpressionStatement","src":"7860:57:21"},{"nodeType":"YulAssignment","src":"7926:27:21","value":{"arguments":[{"name":"end_1","nodeType":"YulIdentifier","src":"7937:5:21"},{"name":"length_1","nodeType":"YulIdentifier","src":"7944:8:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7933:3:21"},"nodeType":"YulFunctionCall","src":"7933:20:21"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"7926:3:21"}]}]},"name":"abi_encode_tuple_packed_t_string_memory_ptr_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"7644:3:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"7649:6:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"7657:6:21","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"7668:3:21","type":""}],"src":"7489:470:21"},{"body":{"nodeType":"YulBlock","src":"8138:227:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8155:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8166:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8148:6:21"},"nodeType":"YulFunctionCall","src":"8148:21:21"},"nodeType":"YulExpressionStatement","src":"8148:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8189:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8200:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8185:3:21"},"nodeType":"YulFunctionCall","src":"8185:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"8205:2:21","type":"","value":"37"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8178:6:21"},"nodeType":"YulFunctionCall","src":"8178:30:21"},"nodeType":"YulExpressionStatement","src":"8178:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8228:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8239:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8224:3:21"},"nodeType":"YulFunctionCall","src":"8224:18:21"},{"hexValue":"4552433732313a207472616e736665722066726f6d20696e636f727265637420","kind":"string","nodeType":"YulLiteral","src":"8244:34:21","type":"","value":"ERC721: transfer from incorrect "}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8217:6:21"},"nodeType":"YulFunctionCall","src":"8217:62:21"},"nodeType":"YulExpressionStatement","src":"8217:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8299:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8310:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8295:3:21"},"nodeType":"YulFunctionCall","src":"8295:18:21"},{"hexValue":"6f776e6572","kind":"string","nodeType":"YulLiteral","src":"8315:7:21","type":"","value":"owner"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8288:6:21"},"nodeType":"YulFunctionCall","src":"8288:35:21"},"nodeType":"YulExpressionStatement","src":"8288:35:21"},{"nodeType":"YulAssignment","src":"8332:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8344:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8355:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8340:3:21"},"nodeType":"YulFunctionCall","src":"8340:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"8332:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"8115:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"8129:4:21","type":""}],"src":"7964:401:21"},{"body":{"nodeType":"YulBlock","src":"8544:226:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8561:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8572:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8554:6:21"},"nodeType":"YulFunctionCall","src":"8554:21:21"},"nodeType":"YulExpressionStatement","src":"8554:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8595:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8606:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8591:3:21"},"nodeType":"YulFunctionCall","src":"8591:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"8611:2:21","type":"","value":"36"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8584:6:21"},"nodeType":"YulFunctionCall","src":"8584:30:21"},"nodeType":"YulExpressionStatement","src":"8584:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8634:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8645:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8630:3:21"},"nodeType":"YulFunctionCall","src":"8630:18:21"},{"hexValue":"4552433732313a207472616e7366657220746f20746865207a65726f20616464","kind":"string","nodeType":"YulLiteral","src":"8650:34:21","type":"","value":"ERC721: transfer to the zero add"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8623:6:21"},"nodeType":"YulFunctionCall","src":"8623:62:21"},"nodeType":"YulExpressionStatement","src":"8623:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8705:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8716:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8701:3:21"},"nodeType":"YulFunctionCall","src":"8701:18:21"},{"hexValue":"72657373","kind":"string","nodeType":"YulLiteral","src":"8721:6:21","type":"","value":"ress"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8694:6:21"},"nodeType":"YulFunctionCall","src":"8694:34:21"},"nodeType":"YulExpressionStatement","src":"8694:34:21"},{"nodeType":"YulAssignment","src":"8737:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8749:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8760:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8745:3:21"},"nodeType":"YulFunctionCall","src":"8745:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"8737:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"8521:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"8535:4:21","type":""}],"src":"8370:400:21"},{"body":{"nodeType":"YulBlock","src":"8949:175:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8966:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8977:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8959:6:21"},"nodeType":"YulFunctionCall","src":"8959:21:21"},"nodeType":"YulExpressionStatement","src":"8959:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9000:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"9011:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8996:3:21"},"nodeType":"YulFunctionCall","src":"8996:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"9016:2:21","type":"","value":"25"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8989:6:21"},"nodeType":"YulFunctionCall","src":"8989:30:21"},"nodeType":"YulExpressionStatement","src":"8989:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9039:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"9050:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9035:3:21"},"nodeType":"YulFunctionCall","src":"9035:18:21"},{"hexValue":"4552433732313a20617070726f766520746f2063616c6c6572","kind":"string","nodeType":"YulLiteral","src":"9055:27:21","type":"","value":"ERC721: approve to caller"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9028:6:21"},"nodeType":"YulFunctionCall","src":"9028:55:21"},"nodeType":"YulExpressionStatement","src":"9028:55:21"},{"nodeType":"YulAssignment","src":"9092:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9104:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"9115:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9100:3:21"},"nodeType":"YulFunctionCall","src":"9100:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"9092:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"8926:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"8940:4:21","type":""}],"src":"8775:349:21"},{"body":{"nodeType":"YulBlock","src":"9303:240:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9320:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"9331:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9313:6:21"},"nodeType":"YulFunctionCall","src":"9313:21:21"},"nodeType":"YulExpressionStatement","src":"9313:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9354:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"9365:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9350:3:21"},"nodeType":"YulFunctionCall","src":"9350:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"9370:2:21","type":"","value":"50"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9343:6:21"},"nodeType":"YulFunctionCall","src":"9343:30:21"},"nodeType":"YulExpressionStatement","src":"9343:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9393:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"9404:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9389:3:21"},"nodeType":"YulFunctionCall","src":"9389:18:21"},{"hexValue":"4552433732313a207472616e7366657220746f206e6f6e204552433732315265","kind":"string","nodeType":"YulLiteral","src":"9409:34:21","type":"","value":"ERC721: transfer to non ERC721Re"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9382:6:21"},"nodeType":"YulFunctionCall","src":"9382:62:21"},"nodeType":"YulExpressionStatement","src":"9382:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9464:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"9475:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9460:3:21"},"nodeType":"YulFunctionCall","src":"9460:18:21"},{"hexValue":"63656976657220696d706c656d656e746572","kind":"string","nodeType":"YulLiteral","src":"9480:20:21","type":"","value":"ceiver implementer"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9453:6:21"},"nodeType":"YulFunctionCall","src":"9453:48:21"},"nodeType":"YulExpressionStatement","src":"9453:48:21"},{"nodeType":"YulAssignment","src":"9510:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9522:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"9533:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9518:3:21"},"nodeType":"YulFunctionCall","src":"9518:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"9510:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"9280:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"9294:4:21","type":""}],"src":"9129:414:21"},{"body":{"nodeType":"YulBlock","src":"9580:152:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9597:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9600:77:21","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9590:6:21"},"nodeType":"YulFunctionCall","src":"9590:88:21"},"nodeType":"YulExpressionStatement","src":"9590:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9694:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"9697:4:21","type":"","value":"0x12"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9687:6:21"},"nodeType":"YulFunctionCall","src":"9687:15:21"},"nodeType":"YulExpressionStatement","src":"9687:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9718:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9721:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9711:6:21"},"nodeType":"YulFunctionCall","src":"9711:15:21"},"nodeType":"YulExpressionStatement","src":"9711:15:21"}]},"name":"panic_error_0x12","nodeType":"YulFunctionDefinition","src":"9548:184:21"},{"body":{"nodeType":"YulBlock","src":"9769:152:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9786:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9789:77:21","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9779:6:21"},"nodeType":"YulFunctionCall","src":"9779:88:21"},"nodeType":"YulExpressionStatement","src":"9779:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9883:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"9886:4:21","type":"","value":"0x11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9876:6:21"},"nodeType":"YulFunctionCall","src":"9876:15:21"},"nodeType":"YulExpressionStatement","src":"9876:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9907:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9910:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9900:6:21"},"nodeType":"YulFunctionCall","src":"9900:15:21"},"nodeType":"YulExpressionStatement","src":"9900:15:21"}]},"name":"panic_error_0x11","nodeType":"YulFunctionDefinition","src":"9737:184:21"},{"body":{"nodeType":"YulBlock","src":"9975:76:21","statements":[{"body":{"nodeType":"YulBlock","src":"9997:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"9999:16:21"},"nodeType":"YulFunctionCall","src":"9999:18:21"},"nodeType":"YulExpressionStatement","src":"9999:18:21"}]},"condition":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"9991:1:21"},{"name":"y","nodeType":"YulIdentifier","src":"9994:1:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"9988:2:21"},"nodeType":"YulFunctionCall","src":"9988:8:21"},"nodeType":"YulIf","src":"9985:34:21"},{"nodeType":"YulAssignment","src":"10028:17:21","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"10040:1:21"},{"name":"y","nodeType":"YulIdentifier","src":"10043:1:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"10036:3:21"},"nodeType":"YulFunctionCall","src":"10036:9:21"},"variableNames":[{"name":"diff","nodeType":"YulIdentifier","src":"10028:4:21"}]}]},"name":"checked_sub_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"9957:1:21","type":""},{"name":"y","nodeType":"YulTypedName","src":"9960:1:21","type":""}],"returnVariables":[{"name":"diff","nodeType":"YulTypedName","src":"9966:4:21","type":""}],"src":"9926:125:21"},{"body":{"nodeType":"YulBlock","src":"10104:80:21","statements":[{"body":{"nodeType":"YulBlock","src":"10131:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"10133:16:21"},"nodeType":"YulFunctionCall","src":"10133:18:21"},"nodeType":"YulExpressionStatement","src":"10133:18:21"}]},"condition":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"10120:1:21"},{"arguments":[{"name":"y","nodeType":"YulIdentifier","src":"10127:1:21"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"10123:3:21"},"nodeType":"YulFunctionCall","src":"10123:6:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"10117:2:21"},"nodeType":"YulFunctionCall","src":"10117:13:21"},"nodeType":"YulIf","src":"10114:39:21"},{"nodeType":"YulAssignment","src":"10162:16:21","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"10173:1:21"},{"name":"y","nodeType":"YulIdentifier","src":"10176:1:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10169:3:21"},"nodeType":"YulFunctionCall","src":"10169:9:21"},"variableNames":[{"name":"sum","nodeType":"YulIdentifier","src":"10162:3:21"}]}]},"name":"checked_add_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"10087:1:21","type":""},{"name":"y","nodeType":"YulTypedName","src":"10090:1:21","type":""}],"returnVariables":[{"name":"sum","nodeType":"YulTypedName","src":"10096:3:21","type":""}],"src":"10056:128:21"},{"body":{"nodeType":"YulBlock","src":"10392:309:21","statements":[{"nodeType":"YulVariableDeclaration","src":"10402:52:21","value":{"kind":"number","nodeType":"YulLiteral","src":"10412:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"10406:2:21","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10470:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10485:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"10493:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"10481:3:21"},"nodeType":"YulFunctionCall","src":"10481:15:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10463:6:21"},"nodeType":"YulFunctionCall","src":"10463:34:21"},"nodeType":"YulExpressionStatement","src":"10463:34:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10517:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"10528:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10513:3:21"},"nodeType":"YulFunctionCall","src":"10513:18:21"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"10537:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"10545:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"10533:3:21"},"nodeType":"YulFunctionCall","src":"10533:15:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10506:6:21"},"nodeType":"YulFunctionCall","src":"10506:43:21"},"nodeType":"YulExpressionStatement","src":"10506:43:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10569:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"10580:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10565:3:21"},"nodeType":"YulFunctionCall","src":"10565:18:21"},{"name":"value2","nodeType":"YulIdentifier","src":"10585:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10558:6:21"},"nodeType":"YulFunctionCall","src":"10558:34:21"},"nodeType":"YulExpressionStatement","src":"10558:34:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10612:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"10623:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10608:3:21"},"nodeType":"YulFunctionCall","src":"10608:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"10628:3:21","type":"","value":"128"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10601:6:21"},"nodeType":"YulFunctionCall","src":"10601:31:21"},"nodeType":"YulExpressionStatement","src":"10601:31:21"},{"nodeType":"YulAssignment","src":"10641:54:21","value":{"arguments":[{"name":"value3","nodeType":"YulIdentifier","src":"10667:6:21"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10679:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"10690:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10675:3:21"},"nodeType":"YulFunctionCall","src":"10675:19:21"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"10649:17:21"},"nodeType":"YulFunctionCall","src":"10649:46:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"10641:4:21"}]}]},"name":"abi_encode_tuple_t_address_t_address_t_uint256_t_bytes_memory_ptr__to_t_address_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10337:9:21","type":""},{"name":"value3","nodeType":"YulTypedName","src":"10348:6:21","type":""},{"name":"value2","nodeType":"YulTypedName","src":"10356:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"10364:6:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"10372:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"10383:4:21","type":""}],"src":"10189:512:21"},{"body":{"nodeType":"YulBlock","src":"10786:169:21","statements":[{"body":{"nodeType":"YulBlock","src":"10832:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"10841:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"10844:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"10834:6:21"},"nodeType":"YulFunctionCall","src":"10834:12:21"},"nodeType":"YulExpressionStatement","src":"10834:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"10807:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"10816:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"10803:3:21"},"nodeType":"YulFunctionCall","src":"10803:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"10828:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"10799:3:21"},"nodeType":"YulFunctionCall","src":"10799:32:21"},"nodeType":"YulIf","src":"10796:52:21"},{"nodeType":"YulVariableDeclaration","src":"10857:29:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10876:9:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"10870:5:21"},"nodeType":"YulFunctionCall","src":"10870:16:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"10861:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"10919:5:21"}],"functionName":{"name":"validator_revert_bytes4","nodeType":"YulIdentifier","src":"10895:23:21"},"nodeType":"YulFunctionCall","src":"10895:30:21"},"nodeType":"YulExpressionStatement","src":"10895:30:21"},{"nodeType":"YulAssignment","src":"10934:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"10944:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"10934:6:21"}]}]},"name":"abi_decode_tuple_t_bytes4_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10752:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"10763:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"10775:6:21","type":""}],"src":"10706:249:21"}]},"contents":"{\n    { }\n    function validator_revert_bytes4(value)\n    {\n        if iszero(eq(value, and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000))) { revert(0, 0) }\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        validator_revert_bytes4(value)\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 copy_memory_to_memory(src, dst, length)\n    {\n        let i := 0\n        for { } lt(i, length) { i := add(i, 32) }\n        {\n            mstore(add(dst, i), mload(add(src, i)))\n        }\n        if gt(i, length) { mstore(add(dst, length), 0) }\n    }\n    function abi_encode_string(value, pos) -> end\n    {\n        let length := mload(value)\n        mstore(pos, length)\n        copy_memory_to_memory(add(value, 0x20), add(pos, 0x20), length)\n        end := add(add(pos, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 0x20)\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        tail := abi_encode_string(value0, add(headStart, 32))\n    }\n    function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := calldataload(headStart)\n    }\n    function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n    }\n    function abi_decode_address(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { 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        value1 := calldataload(add(headStart, 32))\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_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_bool(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        let value := calldataload(add(headStart, 32))\n        if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n        value1 := value\n    }\n    function panic_error_0x41()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr(headStart, dataEnd) -> value0, value1, value2, value3\n    {\n        if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        value1 := abi_decode_address(add(headStart, 32))\n        value2 := calldataload(add(headStart, 64))\n        let offset := calldataload(add(headStart, 96))\n        let _1 := 0xffffffffffffffff\n        if gt(offset, _1) { revert(0, 0) }\n        let _2 := add(headStart, offset)\n        if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(0, 0) }\n        let _3 := calldataload(_2)\n        if gt(_3, _1) { panic_error_0x41() }\n        let _4 := 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0\n        let memPtr := mload(64)\n        let newFreePtr := add(memPtr, and(add(and(add(_3, 0x1f), _4), 63), _4))\n        if or(gt(newFreePtr, _1), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n        mstore(64, newFreePtr)\n        mstore(memPtr, _3)\n        if gt(add(add(_2, _3), 32), dataEnd) { revert(0, 0) }\n        calldatacopy(add(memPtr, 32), add(_2, 32), _3)\n        mstore(add(add(memPtr, _3), 32), 0)\n        value3 := memPtr\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, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n            mstore(4, 0x22)\n            revert(0, 0x24)\n        }\n    }\n    function abi_encode_tuple_t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 33)\n        mstore(add(headStart, 64), \"ERC721: approval to current owne\")\n        mstore(add(headStart, 96), \"r\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_c6e14a63ffb144eeef7cce6988e5dce07c60a7e0a7b1ef25dbe18c61483e0a83__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 61)\n        mstore(add(headStart, 64), \"ERC721: approve caller is not to\")\n        mstore(add(headStart, 96), \"ken owner or approved for all\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 45)\n        mstore(add(headStart, 64), \"ERC721: caller is not token owne\")\n        mstore(add(headStart, 96), \"r or approved\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 24)\n        mstore(add(headStart, 64), \"ERC721: invalid token ID\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_stringliteral_6d05c90094f31cfeb8f0eb86f0a513af3f7f8992991fbde41b08aa7960677159__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 41)\n        mstore(add(headStart, 64), \"ERC721: address zero is not a va\")\n        mstore(add(headStart, 96), \"lid owner\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_packed_t_string_memory_ptr_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n    {\n        let length := mload(value0)\n        copy_memory_to_memory(add(value0, 0x20), pos, length)\n        let end_1 := add(pos, length)\n        let length_1 := mload(value1)\n        copy_memory_to_memory(add(value1, 0x20), end_1, length_1)\n        end := add(end_1, length_1)\n    }\n    function abi_encode_tuple_t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 37)\n        mstore(add(headStart, 64), \"ERC721: transfer from incorrect \")\n        mstore(add(headStart, 96), \"owner\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 36)\n        mstore(add(headStart, 64), \"ERC721: transfer to the zero add\")\n        mstore(add(headStart, 96), \"ress\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 25)\n        mstore(add(headStart, 64), \"ERC721: approve to caller\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 50)\n        mstore(add(headStart, 64), \"ERC721: transfer to non ERC721Re\")\n        mstore(add(headStart, 96), \"ceiver implementer\")\n        tail := add(headStart, 128)\n    }\n    function panic_error_0x12()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x12)\n        revert(0, 0x24)\n    }\n    function panic_error_0x11()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x11)\n        revert(0, 0x24)\n    }\n    function checked_sub_t_uint256(x, y) -> diff\n    {\n        if lt(x, y) { panic_error_0x11() }\n        diff := sub(x, y)\n    }\n    function checked_add_t_uint256(x, y) -> sum\n    {\n        if gt(x, not(y)) { panic_error_0x11() }\n        sum := add(x, y)\n    }\n    function abi_encode_tuple_t_address_t_address_t_uint256_t_bytes_memory_ptr__to_t_address_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed(headStart, value3, value2, value1, value0) -> tail\n    {\n        let _1 := 0xffffffffffffffffffffffffffffffffffffffff\n        mstore(headStart, and(value0, _1))\n        mstore(add(headStart, 32), and(value1, _1))\n        mstore(add(headStart, 64), value2)\n        mstore(add(headStart, 96), 128)\n        tail := abi_encode_string(value3, add(headStart, 128))\n    }\n    function abi_decode_tuple_t_bytes4_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := mload(headStart)\n        validator_revert_bytes4(value)\n        value0 := value\n    }\n}","id":21,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106100df5760003560e01c80636352211e1161008c578063a22cb46511610066578063a22cb465146101c3578063b88d4fde146101d6578063c87b56dd146101e9578063e985e9c5146101fc57600080fd5b80636352211e1461018757806370a082311461019a57806395d89b41146101bb57600080fd5b8063095ea7b3116100bd578063095ea7b31461014c57806323b872dd1461016157806342842e0e1461017457600080fd5b806301ffc9a7146100e457806306fdde031461010c578063081812fc14610121575b600080fd5b6100f76100f23660046110d5565b610238565b60405190151581526020015b60405180910390f35b61011461031d565b604051610103919061114a565b61013461012f36600461115d565b6103af565b6040516001600160a01b039091168152602001610103565b61015f61015a366004611192565b6103d6565b005b61015f61016f3660046111bc565b61050c565b61015f6101823660046111bc565b610593565b61013461019536600461115d565b6105ae565b6101ad6101a83660046111f8565b610613565b604051908152602001610103565b6101146106ad565b61015f6101d1366004611213565b6106bc565b61015f6101e4366004611265565b6106cb565b6101146101f736600461115d565b610759565b6100f761020a366004611341565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806102cb57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061031757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606000805461032c90611374565b80601f016020809104026020016040519081016040528092919081815260200182805461035890611374565b80156103a55780601f1061037a576101008083540402835291602001916103a5565b820191906000526020600020905b81548152906001019060200180831161038857829003601f168201915b5050505050905090565b60006103ba826107cd565b506000908152600460205260409020546001600160a01b031690565b60006103e1826105ae565b9050806001600160a01b0316836001600160a01b03160361046f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b038216148061048b575061048b813361020a565b6104fd5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610466565b6105078383610834565b505050565b61051633826108ba565b6105885760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610466565b610507838383610939565b610507838383604051806020016040528060008152506106cb565b6000818152600260205260408120546001600160a01b0316806103175760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610466565b60006001600160a01b0382166106915760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610466565b506001600160a01b031660009081526003602052604090205490565b60606001805461032c90611374565b6106c7338383610b87565b5050565b6106d533836108ba565b6107475760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610466565b61075384848484610c73565b50505050565b6060610764826107cd565b600061077b60408051602081019091526000815290565b9050600081511161079b57604051806020016040528060008152506107c6565b806107a584610cfc565b6040516020016107b69291906113ae565b6040516020818303038152906040525b9392505050565b6000818152600260205260409020546001600160a01b03166108315760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610466565b50565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190610881826105ae565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806108c6836105ae565b9050806001600160a01b0316846001600160a01b0316148061090d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806109315750836001600160a01b0316610926846103af565b6001600160a01b0316145b949350505050565b826001600160a01b031661094c826105ae565b6001600160a01b0316146109c85760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610466565b6001600160a01b038216610a435760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610466565b610a508383836001610d9c565b826001600160a01b0316610a63826105ae565b6001600160a01b031614610adf5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610466565b600081815260046020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000009081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610be85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610466565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610c7e848484610939565b610c8a84848484610e24565b6107535760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610466565b60606000610d0983610fc5565b600101905060008167ffffffffffffffff811115610d2957610d2961124f565b6040519080825280601f01601f191660200182016040528015610d53576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610d5d57509392505050565b6001811115610753576001600160a01b03841615610de2576001600160a01b03841660009081526003602052604081208054839290610ddc9084906113f3565b90915550505b6001600160a01b03831615610753576001600160a01b03831660009081526003602052604081208054839290610e1990849061140a565b909155505050505050565b60006001600160a01b0384163b15610fba576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290610e81903390899088908890600401611422565b6020604051808303816000875af1925050508015610ebc575060408051601f3d908101601f19168201909252610eb99181019061145e565b60015b610f6f573d808015610eea576040519150601f19603f3d011682016040523d82523d6000602084013e610eef565b606091505b508051600003610f675760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610466565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050610931565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061100e577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061103a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061105857662386f26fc10000830492506010015b6305f5e1008310611070576305f5e100830492506008015b612710831061108457612710830492506004015b60648310611096576064830492506002015b600a83106103175760010192915050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461083157600080fd5b6000602082840312156110e757600080fd5b81356107c6816110a7565b60005b8381101561110d5781810151838201526020016110f5565b838111156107535750506000910152565b600081518084526111368160208601602086016110f2565b601f01601f19169290920160200192915050565b6020815260006107c6602083018461111e565b60006020828403121561116f57600080fd5b5035919050565b80356001600160a01b038116811461118d57600080fd5b919050565b600080604083850312156111a557600080fd5b6111ae83611176565b946020939093013593505050565b6000806000606084860312156111d157600080fd5b6111da84611176565b92506111e860208501611176565b9150604084013590509250925092565b60006020828403121561120a57600080fd5b6107c682611176565b6000806040838503121561122657600080fd5b61122f83611176565b91506020830135801515811461124457600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561127b57600080fd5b61128485611176565b935061129260208601611176565b925060408501359150606085013567ffffffffffffffff808211156112b657600080fd5b818701915087601f8301126112ca57600080fd5b8135818111156112dc576112dc61124f565b604051601f8201601f19908116603f011681019083821181831017156113045761130461124f565b816040528281528a602084870101111561131d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561135457600080fd5b61135d83611176565b915061136b60208401611176565b90509250929050565b600181811c9082168061138857607f821691505b6020821081036113a857634e487b7160e01b600052602260045260246000fd5b50919050565b600083516113c08184602088016110f2565b8351908301906113d48183602088016110f2565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b600082821015611405576114056113dd565b500390565b6000821982111561141d5761141d6113dd565b500190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611454608083018461111e565b9695505050505050565b60006020828403121561147057600080fd5b81516107c6816110a756fea2646970667358221220ec094137deba7286127d00fe0673765716d286f0a00e65c405afc0055c66d27164736f6c634300080f0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0xDF JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6352211E GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xA22CB465 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xA22CB465 EQ PUSH2 0x1C3 JUMPI DUP1 PUSH4 0xB88D4FDE EQ PUSH2 0x1D6 JUMPI DUP1 PUSH4 0xC87B56DD EQ PUSH2 0x1E9 JUMPI DUP1 PUSH4 0xE985E9C5 EQ PUSH2 0x1FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6352211E EQ PUSH2 0x187 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x19A JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x1BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x95EA7B3 GT PUSH2 0xBD JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x14C JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x161 JUMPI DUP1 PUSH4 0x42842E0E EQ PUSH2 0x174 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0xE4 JUMPI DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x10C JUMPI DUP1 PUSH4 0x81812FC EQ PUSH2 0x121 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF7 PUSH2 0xF2 CALLDATASIZE PUSH1 0x4 PUSH2 0x10D5 JUMP JUMPDEST PUSH2 0x238 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x114 PUSH2 0x31D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x103 SWAP2 SWAP1 PUSH2 0x114A JUMP JUMPDEST PUSH2 0x134 PUSH2 0x12F CALLDATASIZE PUSH1 0x4 PUSH2 0x115D JUMP JUMPDEST PUSH2 0x3AF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x103 JUMP JUMPDEST PUSH2 0x15F PUSH2 0x15A CALLDATASIZE PUSH1 0x4 PUSH2 0x1192 JUMP JUMPDEST PUSH2 0x3D6 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x15F PUSH2 0x16F CALLDATASIZE PUSH1 0x4 PUSH2 0x11BC JUMP JUMPDEST PUSH2 0x50C JUMP JUMPDEST PUSH2 0x15F PUSH2 0x182 CALLDATASIZE PUSH1 0x4 PUSH2 0x11BC JUMP JUMPDEST PUSH2 0x593 JUMP JUMPDEST PUSH2 0x134 PUSH2 0x195 CALLDATASIZE PUSH1 0x4 PUSH2 0x115D JUMP JUMPDEST PUSH2 0x5AE JUMP JUMPDEST PUSH2 0x1AD PUSH2 0x1A8 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F8 JUMP JUMPDEST PUSH2 0x613 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x103 JUMP JUMPDEST PUSH2 0x114 PUSH2 0x6AD JUMP JUMPDEST PUSH2 0x15F PUSH2 0x1D1 CALLDATASIZE PUSH1 0x4 PUSH2 0x1213 JUMP JUMPDEST PUSH2 0x6BC JUMP JUMPDEST PUSH2 0x15F PUSH2 0x1E4 CALLDATASIZE PUSH1 0x4 PUSH2 0x1265 JUMP JUMPDEST PUSH2 0x6CB JUMP JUMPDEST PUSH2 0x114 PUSH2 0x1F7 CALLDATASIZE PUSH1 0x4 PUSH2 0x115D JUMP JUMPDEST PUSH2 0x759 JUMP JUMPDEST PUSH2 0xF7 PUSH2 0x20A CALLDATASIZE PUSH1 0x4 PUSH2 0x1341 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH32 0x80AC58CD00000000000000000000000000000000000000000000000000000000 EQ DUP1 PUSH2 0x2CB JUMPI POP PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH32 0x5B5E139F00000000000000000000000000000000000000000000000000000000 EQ JUMPDEST DUP1 PUSH2 0x317 JUMPI POP PUSH32 0x1FFC9A700000000000000000000000000000000000000000000000000000000 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD PUSH2 0x32C SWAP1 PUSH2 0x1374 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 0x358 SWAP1 PUSH2 0x1374 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x3A5 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x37A JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x3A5 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 0x388 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3BA DUP3 PUSH2 0x7CD JUMP JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3E1 DUP3 PUSH2 0x5AE JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x46F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x21 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F76616C20746F2063757272656E74206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7200000000000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND EQ DUP1 PUSH2 0x48B JUMPI POP PUSH2 0x48B DUP2 CALLER PUSH2 0x20A JUMP JUMPDEST PUSH2 0x4FD JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F76652063616C6C6572206973206E6F7420746F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6B656E206F776E6572206F7220617070726F76656420666F7220616C6C000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH2 0x507 DUP4 DUP4 PUSH2 0x834 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0x516 CALLER DUP3 PUSH2 0x8BA JUMP JUMPDEST PUSH2 0x588 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2063616C6C6572206973206E6F7420746F6B656E206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x72206F7220617070726F76656400000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH2 0x507 DUP4 DUP4 DUP4 PUSH2 0x939 JUMP JUMPDEST PUSH2 0x507 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP PUSH2 0x6CB JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0x317 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x18 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20696E76616C696420746F6B656E2049440000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x466 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x691 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x29 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2061646472657373207A65726F206973206E6F742061207661 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6C6964206F776E65720000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x1 DUP1 SLOAD PUSH2 0x32C SWAP1 PUSH2 0x1374 JUMP JUMPDEST PUSH2 0x6C7 CALLER DUP4 DUP4 PUSH2 0xB87 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0x6D5 CALLER DUP4 PUSH2 0x8BA JUMP JUMPDEST PUSH2 0x747 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2063616C6C6572206973206E6F7420746F6B656E206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x72206F7220617070726F76656400000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH2 0x753 DUP5 DUP5 DUP5 DUP5 PUSH2 0xC73 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x764 DUP3 PUSH2 0x7CD JUMP JUMPDEST PUSH1 0x0 PUSH2 0x77B PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE SWAP1 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x79B JUMPI PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP PUSH2 0x7C6 JUMP JUMPDEST DUP1 PUSH2 0x7A5 DUP5 PUSH2 0xCFC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x7B6 SWAP3 SWAP2 SWAP1 PUSH2 0x13AE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x831 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x18 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20696E76616C696420746F6B656E2049440000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x466 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE DUP2 SWAP1 PUSH2 0x881 DUP3 PUSH2 0x5AE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x8C6 DUP4 PUSH2 0x5AE JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x90D JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP9 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST DUP1 PUSH2 0x931 JUMPI POP DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x926 DUP5 PUSH2 0x3AF JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x94C DUP3 PUSH2 0x5AE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x9C8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E736665722066726F6D20696E636F727265637420 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6F776E6572000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0xA43 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F20746865207A65726F20616464 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7265737300000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH2 0xA50 DUP4 DUP4 DUP4 PUSH1 0x1 PUSH2 0xD9C JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xA63 DUP3 PUSH2 0x5AE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0xADF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E736665722066726F6D20696E636F727265637420 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6F776E6572000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 SWAP1 DUP2 AND SWAP1 SWAP2 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 DUP2 AND DUP1 DUP7 MSTORE PUSH1 0x3 DUP6 MSTORE DUP4 DUP7 KECCAK256 DUP1 SLOAD PUSH1 0x0 NOT ADD SWAP1 SSTORE SWAP1 DUP8 AND DUP1 DUP7 MSTORE DUP4 DUP7 KECCAK256 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE DUP7 DUP7 MSTORE PUSH1 0x2 SWAP1 SWAP5 MSTORE DUP3 DUP6 KECCAK256 DUP1 SLOAD SWAP1 SWAP3 AND DUP5 OR SWAP1 SWAP2 SSTORE SWAP1 MLOAD DUP5 SWAP4 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP2 LOG4 POP POP POP JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0xBE8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F766520746F2063616C6C657200000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x466 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 AND DUP7 ISZERO ISZERO SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH32 0x17307EAB39AB6107E8899845AD3D59BD9653F200F220920489CA2B5937696C31 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH2 0xC7E DUP5 DUP5 DUP5 PUSH2 0x939 JUMP JUMPDEST PUSH2 0xC8A DUP5 DUP5 DUP5 DUP5 PUSH2 0xE24 JUMP JUMPDEST PUSH2 0x753 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x32 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F206E6F6E204552433732315265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x63656976657220696D706C656D656E7465720000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0xD09 DUP4 PUSH2 0xFC5 JUMP JUMPDEST PUSH1 0x1 ADD SWAP1 POP PUSH1 0x0 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xD29 JUMPI PUSH2 0xD29 PUSH2 0x124F JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xD53 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP DUP2 DUP2 ADD PUSH1 0x20 ADD JUMPDEST PUSH1 0x0 NOT ADD PUSH32 0x3031323334353637383961626364656600000000000000000000000000000000 PUSH1 0xA DUP7 MOD BYTE DUP2 MSTORE8 PUSH1 0xA DUP6 DIV SWAP5 POP DUP5 PUSH2 0xD5D JUMPI POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x753 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND ISZERO PUSH2 0xDE2 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0xDDC SWAP1 DUP5 SWAP1 PUSH2 0x13F3 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH2 0x753 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0xE19 SWAP1 DUP5 SWAP1 PUSH2 0x140A JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EXTCODESIZE ISZERO PUSH2 0xFBA JUMPI PUSH1 0x40 MLOAD PUSH32 0x150B7A0200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP1 PUSH4 0x150B7A02 SWAP1 PUSH2 0xE81 SWAP1 CALLER SWAP1 DUP10 SWAP1 DUP9 SWAP1 DUP9 SWAP1 PUSH1 0x4 ADD PUSH2 0x1422 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0xEBC JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0xEB9 SWAP2 DUP2 ADD SWAP1 PUSH2 0x145E JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH2 0xF6F JUMPI RETURNDATASIZE DUP1 DUP1 ISZERO PUSH2 0xEEA JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xEEF JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP DUP1 MLOAD PUSH1 0x0 SUB PUSH2 0xF67 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x32 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F206E6F6E204552433732315265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x63656976657220696D706C656D656E7465720000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x466 JUMP JUMPDEST DUP1 MLOAD DUP2 PUSH1 0x20 ADD REVERT JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH32 0x150B7A0200000000000000000000000000000000000000000000000000000000 EQ SWAP1 POP PUSH2 0x931 JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH27 0x184F03E93FF9F4DAA797ED6E38ED64BF6A1F010000000000000000 DUP4 LT PUSH2 0x100E JUMPI PUSH27 0x184F03E93FF9F4DAA797ED6E38ED64BF6A1F010000000000000000 DUP4 DIV SWAP3 POP PUSH1 0x40 ADD JUMPDEST PUSH14 0x4EE2D6D415B85ACEF8100000000 DUP4 LT PUSH2 0x103A JUMPI PUSH14 0x4EE2D6D415B85ACEF8100000000 DUP4 DIV SWAP3 POP PUSH1 0x20 ADD JUMPDEST PUSH7 0x2386F26FC10000 DUP4 LT PUSH2 0x1058 JUMPI PUSH7 0x2386F26FC10000 DUP4 DIV SWAP3 POP PUSH1 0x10 ADD JUMPDEST PUSH4 0x5F5E100 DUP4 LT PUSH2 0x1070 JUMPI PUSH4 0x5F5E100 DUP4 DIV SWAP3 POP PUSH1 0x8 ADD JUMPDEST PUSH2 0x2710 DUP4 LT PUSH2 0x1084 JUMPI PUSH2 0x2710 DUP4 DIV SWAP3 POP PUSH1 0x4 ADD JUMPDEST PUSH1 0x64 DUP4 LT PUSH2 0x1096 JUMPI PUSH1 0x64 DUP4 DIV SWAP3 POP PUSH1 0x2 ADD JUMPDEST PUSH1 0xA DUP4 LT PUSH2 0x317 JUMPI PUSH1 0x1 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x831 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x10E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x7C6 DUP2 PUSH2 0x10A7 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x110D JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x10F5 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x753 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1136 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x10F2 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x7C6 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x111E JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x116F 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 0x118D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x11A5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x11AE DUP4 PUSH2 0x1176 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 0x11D1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x11DA DUP5 PUSH2 0x1176 JUMP JUMPDEST SWAP3 POP PUSH2 0x11E8 PUSH1 0x20 DUP6 ADD PUSH2 0x1176 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 0x120A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7C6 DUP3 PUSH2 0x1176 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1226 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x122F DUP4 PUSH2 0x1176 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x1244 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x127B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1284 DUP6 PUSH2 0x1176 JUMP JUMPDEST SWAP4 POP PUSH2 0x1292 PUSH1 0x20 DUP7 ADD PUSH2 0x1176 JUMP JUMPDEST SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x12B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD SWAP2 POP DUP8 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x12CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x12DC JUMPI PUSH2 0x12DC PUSH2 0x124F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD SWAP1 DUP4 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH2 0x1304 JUMPI PUSH2 0x1304 PUSH2 0x124F JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP3 DUP2 MSTORE DUP11 PUSH1 0x20 DUP5 DUP8 ADD ADD GT ISZERO PUSH2 0x131D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 PUSH1 0x20 DUP5 DUP4 ADD ADD MSTORE DUP1 SWAP6 POP POP POP POP POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1354 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x135D DUP4 PUSH2 0x1176 JUMP JUMPDEST SWAP2 POP PUSH2 0x136B PUSH1 0x20 DUP5 ADD PUSH2 0x1176 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x1388 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x13A8 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 0x0 DUP4 MLOAD PUSH2 0x13C0 DUP2 DUP5 PUSH1 0x20 DUP9 ADD PUSH2 0x10F2 JUMP JUMPDEST DUP4 MLOAD SWAP1 DUP4 ADD SWAP1 PUSH2 0x13D4 DUP2 DUP4 PUSH1 0x20 DUP9 ADD PUSH2 0x10F2 JUMP JUMPDEST ADD 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 PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x1405 JUMPI PUSH2 0x1405 PUSH2 0x13DD JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x141D JUMPI PUSH2 0x141D PUSH2 0x13DD JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP8 AND DUP4 MSTORE DUP1 DUP7 AND PUSH1 0x20 DUP5 ADD MSTORE POP DUP4 PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x80 PUSH1 0x60 DUP4 ADD MSTORE PUSH2 0x1454 PUSH1 0x80 DUP4 ADD DUP5 PUSH2 0x111E JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1470 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x7C6 DUP2 PUSH2 0x10A7 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xEC MULMOD COINBASE CALLDATACOPY 0xDE 0xBA PUSH19 0x86127D00FE0673765716D286F0A00E65C405AF 0xC0 SDIV 0x5C PUSH7 0xD27164736F6C63 NUMBER STOP ADDMOD 0xF STOP CALLER ","sourceMap":"628:16327:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1570:300;;;;;;:::i;:::-;;:::i;:::-;;;611:14:21;;604:22;586:41;;574:2;559:18;1570:300:5;;;;;;;;2471:98;;;:::i;:::-;;;;;;;:::i;3935:167::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1797:55:21;;;1779:74;;1767:2;1752:18;3935:167:5;1633:226:21;3468:406:5;;;;;;:::i;:::-;;:::i;:::-;;4612:326;;;;;;:::i;:::-;;:::i;5004:179::-;;;;;;:::i;:::-;;:::i;2190:219::-;;;;;;:::i;:::-;;:::i;1929:204::-;;;;;;:::i;:::-;;:::i;:::-;;;2994:25:21;;;2982:2;2967:18;1929:204:5;2848:177:21;2633:102:5;;;:::i;4169:153::-;;;;;;:::i;:::-;;:::i;5249:314::-;;;;;;:::i;:::-;;:::i;2801:276::-;;;;;;:::i;:::-;;:::i;4388:162::-;;;;;;:::i;:::-;-1:-1:-1;;;;;4508:25:5;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4388:162;1570:300;1672:4;1707:40;;;1722:25;1707:40;;:104;;-1:-1:-1;1763:48:5;;;1778:33;1763:48;1707:104;:156;;;-1:-1:-1;952:25:14;937:40;;;;1827:36:5;1688:175;1570:300;-1:-1:-1;;1570:300:5:o;2471:98::-;2525:13;2557:5;2550:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2471:98;:::o;3935:167::-;4011:7;4030:23;4045:7;4030:14;:23::i;:::-;-1:-1:-1;4071:24:5;;;;:15;:24;;;;;;-1:-1:-1;;;;;4071:24:5;;3935:167::o;3468:406::-;3548:13;3564:23;3579:7;3564:14;:23::i;:::-;3548:39;;3611:5;-1:-1:-1;;;;;3605:11:5;:2;-1:-1:-1;;;;;3605:11:5;;3597:57;;;;-1:-1:-1;;;3597:57:5;;5682:2:21;3597:57:5;;;5664:21:21;5721:2;5701:18;;;5694:30;5760:34;5740:18;;;5733:62;5831:3;5811:18;;;5804:31;5852:19;;3597:57:5;;;;;;;;;719:10:12;-1:-1:-1;;;;;3686:21:5;;;;:62;;-1:-1:-1;3711:37:5;3728:5;719:10:12;4388:162:5;:::i;3711:37::-;3665:170;;;;-1:-1:-1;;;3665:170:5;;6084:2:21;3665:170:5;;;6066:21:21;6123:2;6103:18;;;6096:30;6162:34;6142:18;;;6135:62;6233:31;6213:18;;;6206:59;6282:19;;3665:170:5;5882:425:21;3665:170:5;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3538:336;3468:406;;:::o;4612:326::-;4801:41;719:10:12;4834:7:5;4801:18;:41::i;:::-;4793:99;;;;-1:-1:-1;;;4793:99:5;;6514:2:21;4793:99:5;;;6496:21:21;6553:2;6533:18;;;6526:30;6592:34;6572:18;;;6565:62;6663:15;6643:18;;;6636:43;6696:19;;4793:99:5;6312:409:21;4793:99:5;4903:28;4913:4;4919:2;4923:7;4903:9;:28::i;5004:179::-;5137:39;5154:4;5160:2;5164:7;5137:39;;;;;;;;;;;;:16;:39::i;2190:219::-;2262:7;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:5;;2324:56;;;;-1:-1:-1;;;2324:56:5;;6928:2:21;2324:56:5;;;6910:21:21;6967:2;6947:18;;;6940:30;7006:26;6986:18;;;6979:54;7050:18;;2324:56:5;6726:348:21;1929:204:5;2001:7;-1:-1:-1;;;;;2028:19:5;;2020:73;;;;-1:-1:-1;;;2020:73:5;;7281:2:21;2020:73:5;;;7263:21:21;7320:2;7300:18;;;7293:30;7359:34;7339:18;;;7332:62;7430:11;7410:18;;;7403:39;7459:19;;2020:73:5;7079:405:21;2020:73:5;-1:-1:-1;;;;;;2110:16:5;;;;;:9;:16;;;;;;;1929:204::o;2633:102::-;2689:13;2721:7;2714:14;;;;;:::i;4169:153::-;4263:52;719:10:12;4296:8:5;4306;4263:18;:52::i;:::-;4169:153;;:::o;5249:314::-;5417:41;719:10:12;5450:7:5;5417:18;:41::i;:::-;5409:99;;;;-1:-1:-1;;;5409:99:5;;6514:2:21;5409:99:5;;;6496:21:21;6553:2;6533:18;;;6526:30;6592:34;6572:18;;;6565:62;6663:15;6643:18;;;6636:43;6696:19;;5409:99:5;6312:409:21;5409:99:5;5518:38;5532:4;5538:2;5542:7;5551:4;5518:13;:38::i;:::-;5249:314;;;;:::o;2801:276::-;2874:13;2899:23;2914:7;2899:14;:23::i;:::-;2933:21;2957:10;3395:9;;;;;;;;;-1:-1:-1;3395:9:5;;;3319:92;2957:10;2933:34;;3008:1;2990:7;2984:21;:25;:86;;;;;;;;;;;;;;;;;3036:7;3045:18;:7;:16;:18::i;:::-;3019:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2984:86;2977:93;2801:276;-1:-1:-1;;;2801:276:5:o;13466:133::-;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:5;13539:53;;;;-1:-1:-1;;;13539:53:5;;6928:2:21;13539:53:5;;;6910:21:21;6967:2;6947:18;;;6940:30;7006:26;6986:18;;;6979:54;7050:18;;13539:53:5;6726:348:21;13539:53:5;13466:133;:::o;12768:171::-;12842:24;;;;:15;:24;;;;;:29;;;;-1:-1:-1;;;;;12842:29:5;;;;;;;;:24;;12895:23;12842:24;12895:14;:23::i;:::-;-1:-1:-1;;;;;12886:46:5;;;;;;;;;;;12768:171;;:::o;7540:261::-;7633:4;7649:13;7665:23;7680:7;7665:14;:23::i;:::-;7649:39;;7717:5;-1:-1:-1;;;;;7706:16:5;:7;-1:-1:-1;;;;;7706:16:5;;:52;;;-1:-1:-1;;;;;;4508:25:5;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7726:32;7706:87;;;;7786:7;-1:-1:-1;;;;;7762:31:5;:20;7774:7;7762:11;:20::i;:::-;-1:-1:-1;;;;;7762:31:5;;7706:87;7698:96;7540:261;-1:-1:-1;;;;7540:261:5:o;11423:1233::-;11577:4;-1:-1:-1;;;;;11550:31:5;:23;11565:7;11550:14;:23::i;:::-;-1:-1:-1;;;;;11550:31:5;;11542:81;;;;-1:-1:-1;;;11542:81:5;;8166:2:21;11542:81:5;;;8148:21:21;8205:2;8185:18;;;8178:30;8244:34;8224:18;;;8217:62;8315:7;8295:18;;;8288:35;8340:19;;11542:81:5;7964:401:21;11542:81:5;-1:-1:-1;;;;;11641:16:5;;11633:65;;;;-1:-1:-1;;;11633:65:5;;8572:2:21;11633:65:5;;;8554:21:21;8611:2;8591:18;;;8584:30;8650:34;8630:18;;;8623:62;8721:6;8701:18;;;8694:34;8745:19;;11633:65:5;8370:400:21;11633:65:5;11709:42;11730:4;11736:2;11740:7;11749:1;11709:20;:42::i;:::-;11878:4;-1:-1:-1;;;;;11851:31:5;:23;11866:7;11851:14;:23::i;:::-;-1:-1:-1;;;;;11851:31:5;;11843:81;;;;-1:-1:-1;;;11843:81:5;;8166:2:21;11843:81:5;;;8148:21:21;8205:2;8185:18;;;8178:30;8244:34;8224:18;;;8217:62;8315:7;8295:18;;;8288:35;8340:19;;11843:81:5;7964:401:21;11843:81:5;11993:24;;;;:15;:24;;;;;;;;11986:31;;;;;;;;;-1:-1:-1;;;;;12461:15:5;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12461:20:5;;;12495:13;;;;;;;;;:18;;11986:31;12495:18;;;12533:16;;;:7;:16;;;;;;:21;;;;;;;;;;12570:27;;12009:7;;12570:27;;;3538:336;3468:406;;:::o;13075:307::-;13225:8;-1:-1:-1;;;;;13216:17:5;:5;-1:-1:-1;;;;;13216:17:5;;13208:55;;;;-1:-1:-1;;;13208:55:5;;8977:2:21;13208:55:5;;;8959:21:21;9016:2;8996:18;;;8989:30;9055:27;9035:18;;;9028:55;9100:18;;13208:55:5;8775:349:21;13208:55:5;-1:-1:-1;;;;;13273:25:5;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;;;;;;;;;;;;13334:41;;586::21;;;13334::5;;559:18:21;13334:41:5;;;;;;;13075:307;;;:::o;6424:305::-;6574:28;6584:4;6590:2;6594:7;6574:9;:28::i;:::-;6620:47;6643:4;6649:2;6653:7;6662:4;6620:22;:47::i;:::-;6612:110;;;;-1:-1:-1;;;6612:110:5;;9331:2:21;6612:110:5;;;9313:21:21;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;9480:20;9460:18;;;9453:48;9518:19;;6612:110:5;9129:414:21;415:696:13;471:13;520:14;537:17;548:5;537:10;:17::i;:::-;557:1;537:21;520:38;;572:20;606:6;595:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;595:18:13;-1:-1:-1;572:41:13;-1:-1:-1;733:28:13;;;749:2;733:28;788:280;-1:-1:-1;;819:5:13;958:8;953:2;942:14;;937:30;819:5;924:44;1012:2;1003:11;;;-1:-1:-1;1032:21:13;788:280;1032:21;-1:-1:-1;1088:6:13;415:696;-1:-1:-1;;;415:696:13:o;15698:396:5:-;15882:1;15870:9;:13;15866:222;;;-1:-1:-1;;;;;15903:18:5;;;15899:85;;-1:-1:-1;;;;;15941:15:5;;;;;;:9;:15;;;;;:28;;15960:9;;15941:15;:28;;15960:9;;15941:28;:::i;:::-;;;;-1:-1:-1;;15899:85:5;-1:-1:-1;;;;;16001:16:5;;;15997:81;;-1:-1:-1;;;;;16037:13:5;;;;;;:9;:13;;;;;:26;;16054:9;;16037:13;:26;;16054:9;;16037:26;:::i;:::-;;;;-1:-1:-1;;15698:396:5;;;;:::o;14151:831::-;14300:4;-1:-1:-1;;;;;14320:13:5;;1465:19:11;:23;14316:660:5;;14355:71;;;;;-1:-1:-1;;;;;14355:36:5;;;;;:71;;719:10:12;;14406:4:5;;14412:7;;14421:4;;14355:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14355:71:5;;;;;;;;-1:-1:-1;;14355:71:5;;;;;;;;;;;;:::i;:::-;;;14351:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14593:6;:13;14610:1;14593:18;14589:321;;14635:60;;-1:-1:-1;;;14635:60:5;;9331:2:21;14635:60:5;;;9313:21:21;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;9480:20;9460:18;;;9453:48;9518:19;;14635:60:5;9129:414:21;14589:321:5;14862:6;14856:13;14847:6;14843:2;14839:15;14832:38;14351:573;14476:51;;14486:41;14476:51;;-1:-1:-1;14469:58:5;;14316:660;-1:-1:-1;14961:4:5;14151:831;;;;;;:::o;9889:890:16:-;9942:7;;10026:6;10017:15;;10013:99;;10061:6;10052:15;;;-1:-1:-1;10095:2:16;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:16;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:16;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:16;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:16;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:16;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:16:o;14:177:21:-;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:258::-;710:1;720:113;734:6;731:1;728:13;720:113;;;810:11;;;804:18;791:11;;;784:39;756:2;749:10;720:113;;;851:6;848:1;845:13;842:48;;;-1:-1:-1;;886:1:21;868:16;;861:27;638:258::o;901:317::-;943:3;981:5;975:12;1008:6;1003:3;996:19;1024:63;1080:6;1073:4;1068:3;1064:14;1057:4;1050:5;1046:16;1024:63;:::i;:::-;1132:2;1120:15;-1:-1:-1;;1116:88:21;1107:98;;;;1207:4;1103:109;;901:317;-1:-1:-1;;901:317:21:o;1223:220::-;1372:2;1361:9;1354:21;1335:4;1392:45;1433:2;1422:9;1418:18;1410:6;1392:45;:::i;1448:180::-;1507:6;1560:2;1548:9;1539:7;1535:23;1531:32;1528:52;;;1576:1;1573;1566:12;1528:52;-1:-1:-1;1599:23:21;;1448:180;-1:-1:-1;1448:180:21:o;1864:196::-;1932:20;;-1:-1:-1;;;;;1981:54:21;;1971:65;;1961:93;;2050:1;2047;2040:12;1961:93;1864:196;;;:::o;2065:254::-;2133:6;2141;2194:2;2182:9;2173:7;2169:23;2165:32;2162:52;;;2210:1;2207;2200:12;2162:52;2233:29;2252:9;2233:29;:::i;:::-;2223:39;2309:2;2294:18;;;;2281:32;;-1:-1:-1;;;2065:254:21:o;2324:328::-;2401:6;2409;2417;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;:::-;2499:39;;2557:38;2591:2;2580:9;2576:18;2557:38;:::i;:::-;2547:48;;2642:2;2631:9;2627:18;2614:32;2604:42;;2324:328;;;;;:::o;2657:186::-;2716:6;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;3030:347::-;3095:6;3103;3156:2;3144:9;3135:7;3131:23;3127:32;3124:52;;;3172:1;3169;3162:12;3124:52;3195:29;3214:9;3195:29;:::i;:::-;3185:39;;3274:2;3263:9;3259:18;3246:32;3321:5;3314:13;3307:21;3300:5;3297:32;3287:60;;3343:1;3340;3333:12;3287:60;3366:5;3356:15;;;3030:347;;;;;:::o;3382:184::-;-1:-1:-1;;;3431:1:21;3424:88;3531:4;3528:1;3521:15;3555:4;3552:1;3545:15;3571:1197;3666:6;3674;3682;3690;3743:3;3731:9;3722:7;3718:23;3714:33;3711:53;;;3760:1;3757;3750:12;3711:53;3783:29;3802:9;3783:29;:::i;:::-;3773:39;;3831:38;3865:2;3854:9;3850:18;3831:38;:::i;:::-;3821:48;;3916:2;3905:9;3901:18;3888:32;3878:42;;3971:2;3960:9;3956:18;3943:32;3994:18;4035:2;4027:6;4024:14;4021:34;;;4051:1;4048;4041:12;4021:34;4089:6;4078:9;4074:22;4064:32;;4134:7;4127:4;4123:2;4119:13;4115:27;4105:55;;4156:1;4153;4146:12;4105:55;4192:2;4179:16;4214:2;4210;4207:10;4204:36;;;4220:18;;:::i;:::-;4354:2;4348:9;4416:4;4408:13;;-1:-1:-1;;4404:22:21;;;4428:2;4400:31;4396:40;4384:53;;;4452:18;;;4472:22;;;4449:46;4446:72;;;4498:18;;:::i;:::-;4538:10;4534:2;4527:22;4573:2;4565:6;4558:18;4613:7;4608:2;4603;4599;4595:11;4591:20;4588:33;4585:53;;;4634:1;4631;4624:12;4585:53;4690:2;4685;4681;4677:11;4672:2;4664:6;4660:15;4647:46;4735:1;4730:2;4725;4717:6;4713:15;4709:24;4702:35;4756:6;4746:16;;;;;;;3571:1197;;;;;;;:::o;4773:260::-;4841:6;4849;4902:2;4890:9;4881:7;4877:23;4873:32;4870:52;;;4918:1;4915;4908:12;4870:52;4941:29;4960:9;4941:29;:::i;:::-;4931:39;;4989:38;5023:2;5012:9;5008:18;4989:38;:::i;:::-;4979:48;;4773:260;;;;;:::o;5038:437::-;5117:1;5113:12;;;;5160;;;5181:61;;5235:4;5227:6;5223:17;5213:27;;5181:61;5288:2;5280:6;5277:14;5257:18;5254:38;5251:218;;-1:-1:-1;;;5322:1:21;5315:88;5426:4;5423:1;5416:15;5454:4;5451:1;5444:15;5251:218;;5038:437;;;:::o;7489:470::-;7668:3;7706:6;7700:13;7722:53;7768:6;7763:3;7756:4;7748:6;7744:17;7722:53;:::i;:::-;7838:13;;7797:16;;;;7860:57;7838:13;7797:16;7894:4;7882:17;;7860:57;:::i;:::-;7933:20;;7489:470;-1:-1:-1;;;;7489:470:21:o;9737:184::-;-1:-1:-1;;;9786:1:21;9779:88;9886:4;9883:1;9876:15;9910:4;9907:1;9900:15;9926:125;9966:4;9994:1;9991;9988:8;9985:34;;;9999:18;;:::i;:::-;-1:-1:-1;10036:9:21;;9926:125::o;10056:128::-;10096:3;10127:1;10123:6;10120:1;10117:13;10114:39;;;10133:18;;:::i;:::-;-1:-1:-1;10169:9:21;;10056:128::o;10189:512::-;10383:4;-1:-1:-1;;;;;10493:2:21;10485:6;10481:15;10470:9;10463:34;10545:2;10537:6;10533:15;10528:2;10517:9;10513:18;10506:43;;10585:6;10580:2;10569:9;10565:18;10558:34;10628:3;10623:2;10612:9;10608:18;10601:31;10649:46;10690:3;10679:9;10675:19;10667:6;10649:46;:::i;:::-;10641:54;10189:512;-1:-1:-1;;;;;;10189:512:21:o;10706:249::-;10775:6;10828:2;10816:9;10807:7;10803:23;10799:32;10796:52;;;10844:1;10841;10834:12;10796:52;10876:9;10870:16;10895:30;10919:5;10895:30;:::i"},"methodIdentifiers":{"approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","name()":"06fdde03","ownerOf(uint256)":"6352211e","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","tokenURI(uint256)":"c87b56dd","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"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\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including the Metadata extension, but not including the Enumerable extension, which is available separately as {ERC721Enumerable}.\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"constructor\":{\"details\":\"Initializes the contract by setting a `name` and a `symbol` to the token collection.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":\"ERC721\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0xd89f3585b211fc9e3408384a4c4efdc3a93b2f877a3821046fa01c219d35be1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5ea15ef7c8980240ccd46df13809d163f749bc0a01d8bced1875660d4872da1c\",\"dweb:/ipfs/QmbDfAT9VeCSG4cnPd6tjDMp8ED85dLHbWyMyv7wbmL4CH\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708\",\"dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269\",\"dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"IERC721":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovalForAll","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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","ownerOf(uint256)":"6352211e","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"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\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Required interface of an ERC721 compliant contract.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"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[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":\"IERC721\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"IERC721Receiver":{"abi":[{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"onERC721Received(address,address,uint256,bytes)":"150b7a02"}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.\",\"kind\":\"dev\",\"methods\":{\"onERC721Received(address,address,uint256,bytes)\":{\"details\":\"Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} by `operator` from `from`, this function is called. It must return its Solidity selector to confirm the token transfer. If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\"}},\"title\":\"ERC721 token receiver interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":\"IERC721Receiver\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708\",\"dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol":{"ERC721Enumerable":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","name()":"06fdde03","ownerOf(uint256)":"6352211e","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","tokenByIndex(uint256)":"4f6ccce7","tokenOfOwnerByIndex(address,uint256)":"2f745c59","tokenURI(uint256)":"c87b56dd","totalSupply()":"18160ddd","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"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\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"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\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This implements an optional extension of {ERC721} defined in the EIP that adds enumerability of all the token ids in the contract as well as all token ids owned by each account.\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol\":\"ERC721Enumerable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0xd89f3585b211fc9e3408384a4c4efdc3a93b2f877a3821046fa01c219d35be1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5ea15ef7c8980240ccd46df13809d163f749bc0a01d8bced1875660d4872da1c\",\"dweb:/ipfs/QmbDfAT9VeCSG4cnPd6tjDMp8ED85dLHbWyMyv7wbmL4CH\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708\",\"dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV\"]},\"@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol\":{\"keccak256\":\"0xa8796bd16014cefb8c26449413981a49c510f92a98d6828494f5fd046223ced3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://63a5e0bb5a7d182e0d0eef87033f78115eab791de3626a929bc98c157087880a\",\"dweb:/ipfs/QmetkXAu2CJKS4qrZtEQPU8okAPwUwa6HL4XYwk8vrYMk8\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"keccak256\":\"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34\",\"dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269\",\"dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"IERC721Enumerable":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovalForAll","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":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","ownerOf(uint256)":"6352211e","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","tokenByIndex(uint256)":"4f6ccce7","tokenOfOwnerByIndex(address,uint256)":"2f745c59","totalSupply()":"18160ddd","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"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\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"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\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"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[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"tokenByIndex(uint256)\":{\"details\":\"Returns a token ID at a given `index` of all the tokens stored by the contract. Use along with {totalSupply} to enumerate all tokens.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"Returns a token ID owned by `owner` at a given `index` of its token list. Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\"},\"totalSupply()\":{\"details\":\"Returns the total amount of tokens stored by the contract.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC-721 Non-Fungible Token Standard, optional enumeration extension\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":\"IERC721Enumerable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"keccak256\":\"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34\",\"dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"IERC721Metadata":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovalForAll","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","name()":"06fdde03","ownerOf(uint256)":"6352211e","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","tokenURI(uint256)":"c87b56dd","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"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\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"name()\":{\"details\":\"Returns the token collection name.\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"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[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"Returns the token collection symbol.\"},\"tokenURI(uint256)\":{\"details\":\"Returns the Uniform Resource Identifier (URI) for `tokenId` token.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC-721 Non-Fungible Token Standard, optional metadata extension\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":\"IERC721Metadata\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Address.sol":{"Address":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b8f535f2a7fad89b1a103e53e1f95577c3031e2186c4fbf9195d3135f21607b064736f6c634300080f0033","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 0xB8 CREATE2 CALLDATALOAD CALLCODE 0xA7 STATICCALL 0xD8 SWAP12 BYTE LT RETURNDATACOPY MSTORE8 0xE1 0xF9 SSTORE PUSH24 0xC3031E2186C4FBF9195D3135F21607B064736F6C63430008 0xF STOP CALLER ","sourceMap":"194:8964:11:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;194:8964:11;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b8f535f2a7fad89b1a103e53e1f95577c3031e2186c4fbf9195d3135f21607b064736f6c634300080f0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xB8 CREATE2 CALLDATALOAD CALLCODE 0xA7 STATICCALL 0xD8 SWAP12 BYTE LT RETURNDATACOPY MSTORE8 0xE1 0xF9 SSTORE PUSH24 0xC3031E2186C4FBF9195D3135F21607B064736F6C63430008 0xF STOP CALLER ","sourceMap":"194:8964:11:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Collection of functions related to the address type\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Address.sol\":\"Address\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269\",\"dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj\"]}},\"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.15+commit.e14f2714\"},\"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\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Strings.sol":{"Strings":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d160ef56bc7745466ca5dbcf79a38cd81c21be0f78c769455970b41808a89ae864736f6c634300080f0033","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 0xD1 PUSH1 0xEF JUMP 0xBC PUSH24 0x45466CA5DBCF79A38CD81C21BE0F78C769455970B41808A8 SWAP11 0xE8 PUSH5 0x736F6C6343 STOP ADDMOD 0xF STOP CALLER ","sourceMap":"188:2065:13:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;188:2065:13;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d160ef56bc7745466ca5dbcf79a38cd81c21be0f78c769455970b41808a89ae864736f6c634300080f0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD1 PUSH1 0xEF JUMP 0xBC PUSH24 0x45466CA5DBCF79A38CD81C21BE0F78C769455970B41808A8 SWAP11 0xE8 PUSH5 0x736F6C6343 STOP ADDMOD 0xF STOP CALLER ","sourceMap":"188:2065:13:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"String operations.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Strings.sol\":\"Strings\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]}},\"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.15+commit.e14f2714\"},\"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 ERC165 should inherit from this contract and override {supportsInterface} to check for the additional interface id that will be supported. For example: ```solidity function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); } ``` Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\",\"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\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"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.15+commit.e14f2714\"},\"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 ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"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[EIP 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\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/math/Math.sol":{"Math":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f2c1d8661f8a75257b0f06761dec2c8afc496371105a9b4353562648b653811b64736f6c634300080f0033","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 CALLCODE 0xC1 0xD8 PUSH7 0x1F8A75257B0F06 PUSH23 0x1DEC2C8AFC496371105A9B4353562648B653811B64736F PUSH13 0x634300080F0033000000000000 ","sourceMap":"202:12302:16:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;202:12302:16;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f2c1d8661f8a75257b0f06761dec2c8afc496371105a9b4353562648b653811b64736f6c634300080f0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLCODE 0xC1 0xD8 PUSH7 0x1F8A75257B0F06 PUSH23 0x1DEC2C8AFC496371105A9B4353562648B653811B64736F PUSH13 0x634300080F0033000000000000 ","sourceMap":"202:12302:16:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"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\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/structs/EnumerableSet.sol":{"EnumerableSet":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c27d00d2ea5a5363f49007411db554d4499f852e9dc4947b9c844c450e35f94464736f6c634300080f0033","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 0xC2 PUSH30 0xD2EA5A5363F49007411DB554D4499F852E9DC4947B9C844C450E35F944 PUSH5 0x736F6C6343 STOP ADDMOD 0xF STOP CALLER ","sourceMap":"1321:11630:17:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;1321:11630:17;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c27d00d2ea5a5363f49007411db554d4499f852e9dc4947b9c844c450e35f94464736f6c634300080f0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC2 PUSH30 0xD2EA5A5363F49007411DB554D4499F852E9DC4947B9C844C450E35F944 PUSH5 0x736F6C6343 STOP ADDMOD 0xF STOP CALLER ","sourceMap":"1321:11630:17:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library for managing https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive types. Sets have the following properties: - Elements are added, removed, and checked for existence in constant time (O(1)). - Elements are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example {     // Add the library methods     using EnumerableSet for EnumerableSet.AddressSet;     // Declare a set state variable     EnumerableSet.AddressSet private mySet; } ``` As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) and `uint256` (`UintSet`) are supported. [WARNING] ==== Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable. See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet. ====\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\":\"EnumerableSet\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\":{\"keccak256\":\"0xc3ff3f5c4584e1d9a483ad7ced51ab64523201f4e3d3c65293e4ca8aeb77a961\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d7d3dd6067a994690471b5fc71b6f81fac3847798b37d404f74db00b4d3c3d0e\",\"dweb:/ipfs/QmRHF1RarifjNi93RttouNPkYZGyu6CD926PgRDzD5iL35\"]}},\"version\":1}"}},"contracts/staking-positions/GenericErrors.sol":{"GenericErrors":{"abi":[{"inputs":[],"name":"FailedTransfer","type":"error"},{"inputs":[],"name":"HighSlippage","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"InvalidToken","type":"error"},{"inputs":[],"name":"InvalidType","type":"error"},{"inputs":[],"name":"Locked","type":"error"},{"inputs":[],"name":"MismatchedArrayLengths","type":"error"},{"inputs":[],"name":"NoEffect","type":"error"},{"inputs":[],"name":"NonExistentToken","type":"error"},{"inputs":[],"name":"NullInput","type":"error"},{"inputs":[],"name":"OutOfBounds","type":"error"},{"inputs":[],"name":"Overflow","type":"error"},{"inputs":[],"name":"TooEarly","type":"error"},{"inputs":[],"name":"TooLate","type":"error"},{"inputs":[],"name":"Underflow","type":"error"},{"inputs":[],"name":"UnprivilegedCaller","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"FailedTransfer\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HighSlippage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Locked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MismatchedArrayLengths\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoEffect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonExistentToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NullInput\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OutOfBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Overflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TooEarly\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TooLate\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Underflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnprivilegedCaller\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/staking-positions/GenericErrors.sol\":\"GenericErrors\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"contracts/staking-positions/GenericErrors.sol\":{\"keccak256\":\"0x2259e2847683e12db8c0999ff9aec68181f6353b8f4dc1ae319bfff8d9acd211\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a09e011c4008772e3e33b1fb2da0e1f281ea06ba634ab69b83aef56abbfe725\",\"dweb:/ipfs/QmNYrC6GW3ugBmF4fZ9kAyprij4RheB9r4uWwqqGN27p2S\"]}},\"version\":1}"}},"contracts/staking-positions/PangolinStakingPositions.sol":{"ITokenMetadata":{"abi":[{"inputs":[{"internalType":"contract PangolinStakingPositions","name":"pangolinStakingPositions","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"tokenURI(address,uint256)":"e9dc6375"}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract PangolinStakingPositions\",\"name\":\"pangolinStakingPositions\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/staking-positions/PangolinStakingPositions.sol\":\"ITokenMetadata\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe\",\"dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q\"]},\"@openzeppelin/contracts/access/AccessControlEnumerable.sol\":{\"keccak256\":\"0x13f5e15f2a0650c0b6aaee2ef19e89eaf4870d6e79662d572a393334c1397247\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7ee05f28f549a5d6515e152580716b87636ed4bfab9812499a6e3803df88288b\",\"dweb:/ipfs/QmeEnhdwY1t5Y3YU5a4ffzgXuToydH2PNdNxV9W7dEPRQJ\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"@openzeppelin/contracts/access/IAccessControlEnumerable.sol\":{\"keccak256\":\"0xba4459ab871dfa300f5212c6c30178b63898c03533a1ede28436f11546626676\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3dcc7b09bfa6e18aab262ca372f4a9b1fc82e294b430706a4e1378cf58e6a276\",\"dweb:/ipfs/QmT8oSAcesdctR15HMLhr2a1HRpXymxdjTfdtfTYJcj2N2\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34\",\"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0xd89f3585b211fc9e3408384a4c4efdc3a93b2f877a3821046fa01c219d35be1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5ea15ef7c8980240ccd46df13809d163f749bc0a01d8bced1875660d4872da1c\",\"dweb:/ipfs/QmbDfAT9VeCSG4cnPd6tjDMp8ED85dLHbWyMyv7wbmL4CH\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708\",\"dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV\"]},\"@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol\":{\"keccak256\":\"0xa8796bd16014cefb8c26449413981a49c510f92a98d6828494f5fd046223ced3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://63a5e0bb5a7d182e0d0eef87033f78115eab791de3626a929bc98c157087880a\",\"dweb:/ipfs/QmetkXAu2CJKS4qrZtEQPU8okAPwUwa6HL4XYwk8vrYMk8\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"keccak256\":\"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34\",\"dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269\",\"dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]},\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\":{\"keccak256\":\"0xc3ff3f5c4584e1d9a483ad7ced51ab64523201f4e3d3c65293e4ca8aeb77a961\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d7d3dd6067a994690471b5fc71b6f81fac3847798b37d404f74db00b4d3c3d0e\",\"dweb:/ipfs/QmRHF1RarifjNi93RttouNPkYZGyu6CD926PgRDzD5iL35\"]},\"contracts/staking-positions/GenericErrors.sol\":{\"keccak256\":\"0x2259e2847683e12db8c0999ff9aec68181f6353b8f4dc1ae319bfff8d9acd211\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a09e011c4008772e3e33b1fb2da0e1f281ea06ba634ab69b83aef56abbfe725\",\"dweb:/ipfs/QmNYrC6GW3ugBmF4fZ9kAyprij4RheB9r4uWwqqGN27p2S\"]},\"contracts/staking-positions/PangolinStakingPositions.sol\":{\"keccak256\":\"0xe4c6b5b2eaa8b5085381cb3475bbbc674778ae02ac7722969b98d9be29eb7ce2\",\"license\":\"GPLv3\",\"urls\":[\"bzz-raw://ed60765a392e6f50ae8ef915ac64f362a9b25edb9ee2d8532f68c5f67df38b17\",\"dweb:/ipfs/QmT2EFZD3rmTezMpJepDGMuCtVLVLKiqMAWhymgEHR6M2g\"]},\"contracts/staking-positions/PangolinStakingPositionsFunding.sol\":{\"keccak256\":\"0xefcee662026897a273c4e6961f286c49d93e1e2e284faec89a9adca1b7915783\",\"license\":\"GPLv3\",\"urls\":[\"bzz-raw://f9a6167411900d27c4c764127d283b63b109fdde912059c52fd664dd06bf3325\",\"dweb:/ipfs/QmSu7FSkt3oX4eckdnHCVyGczLFBJP9u3DuLW8ZyjwCuUT\"]}},\"version\":1}"},"PangolinStakingPositions":{"abi":[{"inputs":[{"internalType":"address","name":"newRewardsToken","type":"address"},{"internalType":"address","name":"newAdmin","type":"address"},{"internalType":"contract ITokenMetadata","name":"newTokenMetadata","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"FailedTransfer","type":"error"},{"inputs":[],"name":"HighSlippage","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"InvalidToken","type":"error"},{"inputs":[],"name":"InvalidType","type":"error"},{"inputs":[],"name":"Locked","type":"error"},{"inputs":[],"name":"MismatchedArrayLengths","type":"error"},{"inputs":[],"name":"NoEffect","type":"error"},{"inputs":[],"name":"NonExistentToken","type":"error"},{"inputs":[],"name":"NullInput","type":"error"},{"inputs":[],"name":"OutOfBounds","type":"error"},{"inputs":[],"name":"Overflow","type":"error"},{"inputs":[],"name":"TooEarly","type":"error"},{"inputs":[],"name":"TooLate","type":"error"},{"inputs":[],"name":"Underflow","type":"error"},{"inputs":[],"name":"UnprivilegedCaller","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newApprovalPauseDuration","type":"uint256"}],"name":"PauseDurationSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"PeriodDurationUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"PeriodEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"positionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract ITokenMetadata","name":"newTokenMetadata","type":"address"}],"name":"TokenMetadataSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"positionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"approvalPauseDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"positionId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"positionId","type":"uint256"}],"name":"compound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"positionId","type":"uint256"}],"name":"emergencyExit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"positionId","type":"uint256"}],"name":"harvest","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":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdate","outputs":[{"internalType":"uint40","name":"","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"positionId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"positionIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"multiStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"positionIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"multiWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint40","name":"","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"positionId","type":"uint256"}],"name":"positionPendingRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"positionId","type":"uint256"}],"name":"positionRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"positions","outputs":[{"components":[{"internalType":"uint96","name":"balance","type":"uint96"},{"internalType":"uint160","name":"sumOfEntryTimes","type":"uint160"}],"internalType":"struct PangolinStakingPositions.ValueVariables","name":"valueVariables","type":"tuple"},{"components":[{"internalType":"uint256","name":"idealPosition","type":"uint256"},{"internalType":"uint256","name":"rewardPerValue","type":"uint256"}],"internalType":"struct PangolinStakingPositions.RewardSummations","name":"rewardSummationsPaid","type":"tuple"},{"internalType":"uint160","name":"previousValues","type":"uint160"},{"internalType":"uint48","name":"lastUpdate","type":"uint48"},{"internalType":"uint48","name":"lastDevaluation","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","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":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardSummationsStored","outputs":[{"internalType":"uint256","name":"idealPosition","type":"uint256"},{"internalType":"uint256","name":"rewardPerValue","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newApprovalPauseDuration","type":"uint256"}],"name":"setApprovalPauseDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"setPeriodDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITokenMetadata","name":"newTokenMetadata","type":"address"}],"name":"setTokenMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"positionId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenMetadata","outputs":[{"internalType":"contract ITokenMetadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"from","type":"uint256"},{"internalType":"uint256","name":"to","type":"uint256"}],"name":"tokensOfOwnerByIndex","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewardAdded","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalValueVariables","outputs":[{"internalType":"uint96","name":"balance","type":"uint96"},{"internalType":"uint160","name":"sumOfEntryTimes","type":"uint160"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"positionId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_4332":{"entryPoint":null,"id":4332,"parameterSlots":3,"returnSlots":0},"@_5545":{"entryPoint":null,"id":5545,"parameterSlots":2,"returnSlots":0},"@_679":{"entryPoint":null,"id":679,"parameterSlots":2,"returnSlots":0},"@_add_3588":{"entryPoint":649,"id":3588,"parameterSlots":2,"returnSlots":1},"@_contains_3691":{"entryPoint":null,"id":3691,"parameterSlots":2,"returnSlots":1},"@_grantRole_283":{"entryPoint":452,"id":283,"parameterSlots":2,"returnSlots":0},"@_grantRole_415":{"entryPoint":385,"id":415,"parameterSlots":2,"returnSlots":0},"@_msgSender_2449":{"entryPoint":null,"id":2449,"parameterSlots":0,"returnSlots":1},"@add_3888":{"entryPoint":617,"id":3888,"parameterSlots":2,"returnSlots":1},"@hasRole_79":{"entryPoint":null,"id":79,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_addresst_contract$_ITokenMetadata_$4200_fromMemory":{"entryPoint":756,"id":null,"parameterSlots":2,"returnSlots":3},"array_dataslot_string_storage":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"clean_up_bytearray_end_slots_string_storage":{"entryPoint":922,"id":null,"parameterSlots":3,"returnSlots":0},"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage":{"entryPoint":1004,"id":null,"parameterSlots":2,"returnSlots":0},"extract_byte_array_length":{"entryPoint":862,"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":840,"id":null,"parameterSlots":0,"returnSlots":0},"validator_revert_address":{"entryPoint":731,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:3415:21","statements":[{"nodeType":"YulBlock","src":"6:3:21","statements":[]},{"body":{"nodeType":"YulBlock","src":"59:86:21","statements":[{"body":{"nodeType":"YulBlock","src":"123:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"132:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"135:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"125:6:21"},"nodeType":"YulFunctionCall","src":"125:12:21"},"nodeType":"YulExpressionStatement","src":"125:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"82:5:21"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"93:5:21"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"108:3:21","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"113:1:21","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"104:3:21"},"nodeType":"YulFunctionCall","src":"104:11:21"},{"kind":"number","nodeType":"YulLiteral","src":"117:1:21","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"100:3:21"},"nodeType":"YulFunctionCall","src":"100:19:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"89:3:21"},"nodeType":"YulFunctionCall","src":"89:31:21"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"79:2:21"},"nodeType":"YulFunctionCall","src":"79:42:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"72:6:21"},"nodeType":"YulFunctionCall","src":"72:50:21"},"nodeType":"YulIf","src":"69:70:21"}]},"name":"validator_revert_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"48:5:21","type":""}],"src":"14:131:21"},{"body":{"nodeType":"YulBlock","src":"288:404:21","statements":[{"body":{"nodeType":"YulBlock","src":"334:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"343:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"346:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"336:6:21"},"nodeType":"YulFunctionCall","src":"336:12:21"},"nodeType":"YulExpressionStatement","src":"336:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"309:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"318:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"305:3:21"},"nodeType":"YulFunctionCall","src":"305:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"330:2:21","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"301:3:21"},"nodeType":"YulFunctionCall","src":"301:32:21"},"nodeType":"YulIf","src":"298:52:21"},{"nodeType":"YulVariableDeclaration","src":"359:29:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"378:9:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"372:5:21"},"nodeType":"YulFunctionCall","src":"372:16:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"363:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"422:5:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"397:24:21"},"nodeType":"YulFunctionCall","src":"397:31:21"},"nodeType":"YulExpressionStatement","src":"397:31:21"},{"nodeType":"YulAssignment","src":"437:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"447:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"437:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"461:40:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"486:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"497:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"482:3:21"},"nodeType":"YulFunctionCall","src":"482:18:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"476:5:21"},"nodeType":"YulFunctionCall","src":"476:25:21"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"465:7:21","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"535:7:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"510:24:21"},"nodeType":"YulFunctionCall","src":"510:33:21"},"nodeType":"YulExpressionStatement","src":"510:33:21"},{"nodeType":"YulAssignment","src":"552:17:21","value":{"name":"value_1","nodeType":"YulIdentifier","src":"562:7:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"552:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"578:40:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"603:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"614:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"599:3:21"},"nodeType":"YulFunctionCall","src":"599:18:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"593:5:21"},"nodeType":"YulFunctionCall","src":"593:25:21"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"582:7:21","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"652:7:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"627:24:21"},"nodeType":"YulFunctionCall","src":"627:33:21"},"nodeType":"YulExpressionStatement","src":"627:33:21"},{"nodeType":"YulAssignment","src":"669:17:21","value":{"name":"value_2","nodeType":"YulIdentifier","src":"679:7:21"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"669:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_contract$_ITokenMetadata_$4200_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"238:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"249:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"261:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"269:6:21","type":""},{"name":"value2","nodeType":"YulTypedName","src":"277:6:21","type":""}],"src":"150:542:21"},{"body":{"nodeType":"YulBlock","src":"729:95:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"746:1:21","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"753:3:21","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"758:10:21","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"749:3:21"},"nodeType":"YulFunctionCall","src":"749:20:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"739:6:21"},"nodeType":"YulFunctionCall","src":"739:31:21"},"nodeType":"YulExpressionStatement","src":"739:31:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"786:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"789:4:21","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"779:6:21"},"nodeType":"YulFunctionCall","src":"779:15:21"},"nodeType":"YulExpressionStatement","src":"779:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"810:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"813:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"803:6:21"},"nodeType":"YulFunctionCall","src":"803:15:21"},"nodeType":"YulExpressionStatement","src":"803:15:21"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"697:127:21"},{"body":{"nodeType":"YulBlock","src":"884:325:21","statements":[{"nodeType":"YulAssignment","src":"894:22:21","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"908:1:21","type":"","value":"1"},{"name":"data","nodeType":"YulIdentifier","src":"911:4:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"904:3:21"},"nodeType":"YulFunctionCall","src":"904:12:21"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"894:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"925:38:21","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"955:4:21"},{"kind":"number","nodeType":"YulLiteral","src":"961:1:21","type":"","value":"1"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"951:3:21"},"nodeType":"YulFunctionCall","src":"951:12:21"},"variables":[{"name":"outOfPlaceEncoding","nodeType":"YulTypedName","src":"929:18:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"1002:31:21","statements":[{"nodeType":"YulAssignment","src":"1004:27:21","value":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"1018:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"1026:4:21","type":"","value":"0x7f"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1014:3:21"},"nodeType":"YulFunctionCall","src":"1014:17:21"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"1004:6:21"}]}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"982:18:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"975:6:21"},"nodeType":"YulFunctionCall","src":"975:26:21"},"nodeType":"YulIf","src":"972:61:21"},{"body":{"nodeType":"YulBlock","src":"1092:111:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1113:1:21","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1120:3:21","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"1125:10:21","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"1116:3:21"},"nodeType":"YulFunctionCall","src":"1116:20:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1106:6:21"},"nodeType":"YulFunctionCall","src":"1106:31:21"},"nodeType":"YulExpressionStatement","src":"1106:31:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1157:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"1160:4:21","type":"","value":"0x22"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1150:6:21"},"nodeType":"YulFunctionCall","src":"1150:15:21"},"nodeType":"YulExpressionStatement","src":"1150:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1185:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1188:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1178:6:21"},"nodeType":"YulFunctionCall","src":"1178:15:21"},"nodeType":"YulExpressionStatement","src":"1178:15:21"}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"1048:18:21"},{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"1071:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"1079:2:21","type":"","value":"32"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1068:2:21"},"nodeType":"YulFunctionCall","src":"1068:14:21"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1045:2:21"},"nodeType":"YulFunctionCall","src":"1045:38:21"},"nodeType":"YulIf","src":"1042:161:21"}]},"name":"extract_byte_array_length","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"864:4:21","type":""}],"returnVariables":[{"name":"length","nodeType":"YulTypedName","src":"873:6:21","type":""}],"src":"829:380:21"},{"body":{"nodeType":"YulBlock","src":"1270:65:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1287:1:21","type":"","value":"0"},{"name":"ptr","nodeType":"YulIdentifier","src":"1290:3:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1280:6:21"},"nodeType":"YulFunctionCall","src":"1280:14:21"},"nodeType":"YulExpressionStatement","src":"1280:14:21"},{"nodeType":"YulAssignment","src":"1303:26:21","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1321:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1324:4:21","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"1311:9:21"},"nodeType":"YulFunctionCall","src":"1311:18:21"},"variableNames":[{"name":"data","nodeType":"YulIdentifier","src":"1303:4:21"}]}]},"name":"array_dataslot_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"ptr","nodeType":"YulTypedName","src":"1253:3:21","type":""}],"returnVariables":[{"name":"data","nodeType":"YulTypedName","src":"1261:4:21","type":""}],"src":"1214:121:21"},{"body":{"nodeType":"YulBlock","src":"1421:464:21","statements":[{"body":{"nodeType":"YulBlock","src":"1454:425:21","statements":[{"nodeType":"YulVariableDeclaration","src":"1468:11:21","value":{"kind":"number","nodeType":"YulLiteral","src":"1478:1:21","type":"","value":"0"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"1472:2:21","type":""}]},{"expression":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"1499:2:21"},{"name":"array","nodeType":"YulIdentifier","src":"1503:5:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1492:6:21"},"nodeType":"YulFunctionCall","src":"1492:17:21"},"nodeType":"YulExpressionStatement","src":"1492:17:21"},{"nodeType":"YulVariableDeclaration","src":"1522:31:21","value":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"1544:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"1548:4:21","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"1534:9:21"},"nodeType":"YulFunctionCall","src":"1534:19:21"},"variables":[{"name":"data","nodeType":"YulTypedName","src":"1526:4:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1566:57:21","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"1589:4:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1599:1:21","type":"","value":"5"},{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"1606:10:21"},{"kind":"number","nodeType":"YulLiteral","src":"1618:2:21","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1602:3:21"},"nodeType":"YulFunctionCall","src":"1602:19:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"1595:3:21"},"nodeType":"YulFunctionCall","src":"1595:27:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1585:3:21"},"nodeType":"YulFunctionCall","src":"1585:38:21"},"variables":[{"name":"deleteStart","nodeType":"YulTypedName","src":"1570:11:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"1660:23:21","statements":[{"nodeType":"YulAssignment","src":"1662:19:21","value":{"name":"data","nodeType":"YulIdentifier","src":"1677:4:21"},"variableNames":[{"name":"deleteStart","nodeType":"YulIdentifier","src":"1662:11:21"}]}]},"condition":{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"1642:10:21"},{"kind":"number","nodeType":"YulLiteral","src":"1654:4:21","type":"","value":"0x20"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1639:2:21"},"nodeType":"YulFunctionCall","src":"1639:20:21"},"nodeType":"YulIf","src":"1636:47:21"},{"nodeType":"YulVariableDeclaration","src":"1696:41:21","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"1710:4:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1720:1:21","type":"","value":"5"},{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"1727:3:21"},{"kind":"number","nodeType":"YulLiteral","src":"1732:2:21","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1723:3:21"},"nodeType":"YulFunctionCall","src":"1723:12:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"1716:3:21"},"nodeType":"YulFunctionCall","src":"1716:20:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1706:3:21"},"nodeType":"YulFunctionCall","src":"1706:31:21"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"1700:2:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1750:24:21","value":{"name":"deleteStart","nodeType":"YulIdentifier","src":"1763:11:21"},"variables":[{"name":"start","nodeType":"YulTypedName","src":"1754:5:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"1848:21:21","statements":[{"expression":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"1857:5:21"},{"name":"_1","nodeType":"YulIdentifier","src":"1864:2:21"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"1850:6:21"},"nodeType":"YulFunctionCall","src":"1850:17:21"},"nodeType":"YulExpressionStatement","src":"1850:17:21"}]},"condition":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"1798:5:21"},{"name":"_2","nodeType":"YulIdentifier","src":"1805:2:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1795:2:21"},"nodeType":"YulFunctionCall","src":"1795:13:21"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"1809:26:21","statements":[{"nodeType":"YulAssignment","src":"1811:22:21","value":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"1824:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"1831:1:21","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1820:3:21"},"nodeType":"YulFunctionCall","src":"1820:13:21"},"variableNames":[{"name":"start","nodeType":"YulIdentifier","src":"1811:5:21"}]}]},"pre":{"nodeType":"YulBlock","src":"1791:3:21","statements":[]},"src":"1787:82:21"}]},"condition":{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"1437:3:21"},{"kind":"number","nodeType":"YulLiteral","src":"1442:2:21","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1434:2:21"},"nodeType":"YulFunctionCall","src":"1434:11:21"},"nodeType":"YulIf","src":"1431:448:21"}]},"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"array","nodeType":"YulTypedName","src":"1393:5:21","type":""},{"name":"len","nodeType":"YulTypedName","src":"1400:3:21","type":""},{"name":"startIndex","nodeType":"YulTypedName","src":"1405:10:21","type":""}],"src":"1340:545:21"},{"body":{"nodeType":"YulBlock","src":"1975:81:21","statements":[{"nodeType":"YulAssignment","src":"1985:65:21","value":{"arguments":[{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"2000:4:21"},{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2018:1:21","type":"","value":"3"},{"name":"len","nodeType":"YulIdentifier","src":"2021:3:21"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"2014:3:21"},"nodeType":"YulFunctionCall","src":"2014:11:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2031:1:21","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"2027:3:21"},"nodeType":"YulFunctionCall","src":"2027:6:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"2010:3:21"},"nodeType":"YulFunctionCall","src":"2010:24:21"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"2006:3:21"},"nodeType":"YulFunctionCall","src":"2006:29:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1996:3:21"},"nodeType":"YulFunctionCall","src":"1996:40:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2042:1:21","type":"","value":"1"},{"name":"len","nodeType":"YulIdentifier","src":"2045:3:21"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"2038:3:21"},"nodeType":"YulFunctionCall","src":"2038:11:21"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"1993:2:21"},"nodeType":"YulFunctionCall","src":"1993:57:21"},"variableNames":[{"name":"used","nodeType":"YulIdentifier","src":"1985:4:21"}]}]},"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"1952:4:21","type":""},{"name":"len","nodeType":"YulTypedName","src":"1958:3:21","type":""}],"returnVariables":[{"name":"used","nodeType":"YulTypedName","src":"1966:4:21","type":""}],"src":"1890:166:21"},{"body":{"nodeType":"YulBlock","src":"2157:1256:21","statements":[{"nodeType":"YulVariableDeclaration","src":"2167:24:21","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2187:3:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"2181:5:21"},"nodeType":"YulFunctionCall","src":"2181:10:21"},"variables":[{"name":"newLen","nodeType":"YulTypedName","src":"2171:6:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"2234:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"2236:16:21"},"nodeType":"YulFunctionCall","src":"2236:18:21"},"nodeType":"YulExpressionStatement","src":"2236:18:21"}]},"condition":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"2206:6:21"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2222:2:21","type":"","value":"64"},{"kind":"number","nodeType":"YulLiteral","src":"2226:1:21","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"2218:3:21"},"nodeType":"YulFunctionCall","src":"2218:10:21"},{"kind":"number","nodeType":"YulLiteral","src":"2230:1:21","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2214:3:21"},"nodeType":"YulFunctionCall","src":"2214:18:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2203:2:21"},"nodeType":"YulFunctionCall","src":"2203:30:21"},"nodeType":"YulIf","src":"2200:56:21"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"2309:4:21"},{"arguments":[{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"2347:4:21"}],"functionName":{"name":"sload","nodeType":"YulIdentifier","src":"2341:5:21"},"nodeType":"YulFunctionCall","src":"2341:11:21"}],"functionName":{"name":"extract_byte_array_length","nodeType":"YulIdentifier","src":"2315:25:21"},"nodeType":"YulFunctionCall","src":"2315:38:21"},{"name":"newLen","nodeType":"YulIdentifier","src":"2355:6:21"}],"functionName":{"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulIdentifier","src":"2265:43:21"},"nodeType":"YulFunctionCall","src":"2265:97:21"},"nodeType":"YulExpressionStatement","src":"2265:97:21"},{"nodeType":"YulVariableDeclaration","src":"2371:18:21","value":{"kind":"number","nodeType":"YulLiteral","src":"2388:1:21","type":"","value":"0"},"variables":[{"name":"srcOffset","nodeType":"YulTypedName","src":"2375:9:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2398:23:21","value":{"kind":"number","nodeType":"YulLiteral","src":"2417:4:21","type":"","value":"0x20"},"variables":[{"name":"srcOffset_1","nodeType":"YulTypedName","src":"2402:11:21","type":""}]},{"nodeType":"YulAssignment","src":"2430:24:21","value":{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"2443:11:21"},"variableNames":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"2430:9:21"}]},{"cases":[{"body":{"nodeType":"YulBlock","src":"2500:656:21","statements":[{"nodeType":"YulVariableDeclaration","src":"2514:35:21","value":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"2533:6:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2545:2:21","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"2541:3:21"},"nodeType":"YulFunctionCall","src":"2541:7:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2529:3:21"},"nodeType":"YulFunctionCall","src":"2529:20:21"},"variables":[{"name":"loopEnd","nodeType":"YulTypedName","src":"2518:7:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2562:49:21","value":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"2606:4:21"}],"functionName":{"name":"array_dataslot_string_storage","nodeType":"YulIdentifier","src":"2576:29:21"},"nodeType":"YulFunctionCall","src":"2576:35:21"},"variables":[{"name":"dstPtr","nodeType":"YulTypedName","src":"2566:6:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2624:10:21","value":{"kind":"number","nodeType":"YulLiteral","src":"2633:1:21","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"2628:1:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"2711:172:21","statements":[{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"2736:6:21"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2754:3:21"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"2759:9:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2750:3:21"},"nodeType":"YulFunctionCall","src":"2750:19:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"2744:5:21"},"nodeType":"YulFunctionCall","src":"2744:26:21"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"2729:6:21"},"nodeType":"YulFunctionCall","src":"2729:42:21"},"nodeType":"YulExpressionStatement","src":"2729:42:21"},{"nodeType":"YulAssignment","src":"2788:24:21","value":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"2802:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"2810:1:21","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2798:3:21"},"nodeType":"YulFunctionCall","src":"2798:14:21"},"variableNames":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"2788:6:21"}]},{"nodeType":"YulAssignment","src":"2829:40:21","value":{"arguments":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"2846:9:21"},{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"2857:11:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2842:3:21"},"nodeType":"YulFunctionCall","src":"2842:27:21"},"variableNames":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"2829:9:21"}]}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"2658:1:21"},{"name":"loopEnd","nodeType":"YulIdentifier","src":"2661:7:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"2655:2:21"},"nodeType":"YulFunctionCall","src":"2655:14:21"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"2670:28:21","statements":[{"nodeType":"YulAssignment","src":"2672:24:21","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"2681:1:21"},{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"2684:11:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2677:3:21"},"nodeType":"YulFunctionCall","src":"2677:19:21"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"2672:1:21"}]}]},"pre":{"nodeType":"YulBlock","src":"2651:3:21","statements":[]},"src":"2647:236:21"},{"body":{"nodeType":"YulBlock","src":"2931:166:21","statements":[{"nodeType":"YulVariableDeclaration","src":"2949:43:21","value":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2976:3:21"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"2981:9:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2972:3:21"},"nodeType":"YulFunctionCall","src":"2972:19:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"2966:5:21"},"nodeType":"YulFunctionCall","src":"2966:26:21"},"variables":[{"name":"lastValue","nodeType":"YulTypedName","src":"2953:9:21","type":""}]},{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"3016:6:21"},{"arguments":[{"name":"lastValue","nodeType":"YulIdentifier","src":"3028:9:21"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3055:1:21","type":"","value":"3"},{"name":"newLen","nodeType":"YulIdentifier","src":"3058:6:21"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"3051:3:21"},"nodeType":"YulFunctionCall","src":"3051:14:21"},{"kind":"number","nodeType":"YulLiteral","src":"3067:3:21","type":"","value":"248"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3047:3:21"},"nodeType":"YulFunctionCall","src":"3047:24:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3077:1:21","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"3073:3:21"},"nodeType":"YulFunctionCall","src":"3073:6:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"3043:3:21"},"nodeType":"YulFunctionCall","src":"3043:37:21"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"3039:3:21"},"nodeType":"YulFunctionCall","src":"3039:42:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3024:3:21"},"nodeType":"YulFunctionCall","src":"3024:58:21"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"3009:6:21"},"nodeType":"YulFunctionCall","src":"3009:74:21"},"nodeType":"YulExpressionStatement","src":"3009:74:21"}]},"condition":{"arguments":[{"name":"loopEnd","nodeType":"YulIdentifier","src":"2902:7:21"},{"name":"newLen","nodeType":"YulIdentifier","src":"2911:6:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"2899:2:21"},"nodeType":"YulFunctionCall","src":"2899:19:21"},"nodeType":"YulIf","src":"2896:201:21"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"3117:4:21"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3131:1:21","type":"","value":"1"},{"name":"newLen","nodeType":"YulIdentifier","src":"3134:6:21"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"3127:3:21"},"nodeType":"YulFunctionCall","src":"3127:14:21"},{"kind":"number","nodeType":"YulLiteral","src":"3143:1:21","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3123:3:21"},"nodeType":"YulFunctionCall","src":"3123:22:21"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"3110:6:21"},"nodeType":"YulFunctionCall","src":"3110:36:21"},"nodeType":"YulExpressionStatement","src":"3110:36:21"}]},"nodeType":"YulCase","src":"2493:663:21","value":{"kind":"number","nodeType":"YulLiteral","src":"2498:1:21","type":"","value":"1"}},{"body":{"nodeType":"YulBlock","src":"3173:234:21","statements":[{"nodeType":"YulVariableDeclaration","src":"3187:14:21","value":{"kind":"number","nodeType":"YulLiteral","src":"3200:1:21","type":"","value":"0"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"3191:5:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"3236:67:21","statements":[{"nodeType":"YulAssignment","src":"3254:35:21","value":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3273:3:21"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"3278:9:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3269:3:21"},"nodeType":"YulFunctionCall","src":"3269:19:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"3263:5:21"},"nodeType":"YulFunctionCall","src":"3263:26:21"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"3254:5:21"}]}]},"condition":{"name":"newLen","nodeType":"YulIdentifier","src":"3217:6:21"},"nodeType":"YulIf","src":"3214:89:21"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"3323:4:21"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"3382:5:21"},{"name":"newLen","nodeType":"YulIdentifier","src":"3389:6:21"}],"functionName":{"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulIdentifier","src":"3329:52:21"},"nodeType":"YulFunctionCall","src":"3329:67:21"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"3316:6:21"},"nodeType":"YulFunctionCall","src":"3316:81:21"},"nodeType":"YulExpressionStatement","src":"3316:81:21"}]},"nodeType":"YulCase","src":"3165:242:21","value":"default"}],"expression":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"2473:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"2481:2:21","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2470:2:21"},"nodeType":"YulFunctionCall","src":"2470:14:21"},"nodeType":"YulSwitch","src":"2463:944:21"}]},"name":"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"slot","nodeType":"YulTypedName","src":"2142:4:21","type":""},{"name":"src","nodeType":"YulTypedName","src":"2148:3:21","type":""}],"src":"2061:1352:21"}]},"contents":"{\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_addresst_addresst_contract$_ITokenMetadata_$4200_fromMemory(headStart, dataEnd) -> value0, value1, value2\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        let value := mload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := mload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n        let value_2 := mload(add(headStart, 64))\n        validator_revert_address(value_2)\n        value2 := value_2\n    }\n    function panic_error_0x41()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x41)\n        revert(0, 0x24)\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            let _1 := 0\n            mstore(_1, array)\n            let data := keccak256(_1, 0x20)\n            let deleteStart := add(data, shr(5, add(startIndex, 31)))\n            if lt(startIndex, 0x20) { deleteStart := data }\n            let _2 := add(data, shr(5, add(len, 31)))\n            let start := deleteStart\n            for { } lt(start, _2) { start := add(start, 1) }\n            { sstore(start, _1) }\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        let srcOffset_1 := 0x20\n        srcOffset := srcOffset_1\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, srcOffset_1) }\n            {\n                sstore(dstPtr, mload(add(src, srcOffset)))\n                dstPtr := add(dstPtr, 1)\n                srcOffset := add(srcOffset, srcOffset_1)\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}","id":21,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"60a060405262127500600d55611c206013553480156200001e57600080fd5b5060405162004398380380620043988339810160408190526200004191620002f4565b82826040518060400160405280601a81526020017f50616e676f6c696e205374616b696e6720506f736974696f6e7300000000000081525060405180604001604052806007815260200166504e472d504f5360c81b8152508160009081620000aa9190620003ec565b506001620000b98282620003ec565b5050506001600160a01b038116620000e457604051632505ecc360e11b815260040160405180910390fd5b816001600160a01b03163b600003620001105760405163c1ab6dc160e01b815260040160405180910390fd5b6001600160a01b0382166080526200012a60008262000181565b620001567f0914bb97ca83e85ef385857d9d418f187ff630589e0c9f44db92976d8e4519cb8262000181565b5050600f80546001600160a01b0319166001600160a01b039290921691909117905550620004b89050565b620001988282620001c460201b620018f41760201c565b6000828152600b60209081526040909120620001bf9183906200199662000269821b17901c565b505050565b6000828152600a602090815260408083206001600160a01b038516845290915290205460ff1662000265576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002243390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600062000280836001600160a01b03841662000289565b90505b92915050565b6000818152600183016020526040812054620002d25750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000283565b50600062000283565b6001600160a01b0381168114620002f157600080fd5b50565b6000806000606084860312156200030a57600080fd5b83516200031781620002db565b60208501519093506200032a81620002db565b60408501519092506200033d81620002db565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200037357607f821691505b6020821081036200039457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001bf57600081815260208120601f850160051c81016020861015620003c35750805b601f850160051c820191505b81811015620003e457828155600101620003cf565b505050505050565b81516001600160401b0381111562000408576200040862000348565b62000420816200041984546200035e565b846200039a565b602080601f8311600181146200045857600084156200043f5750858301515b600019600386901b1c1916600185901b178555620003e4565b600085815260208120601f198616915b82811015620004895788860151825594840194600190910190840162000468565b5085821015620004a85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b608051613eb6620004e2600039600081816108050152818161261901526127000152613eb66000f3fe608060405234801561001057600080fd5b506004361061034c5760003560e01c80637b0472f0116101bd578063b88d4fde116100f9578063d547741f116100a2578063e985e9c51161007c578063e985e9c5146108ac578063ebe2b12b146108e8578063f5b2cad714610900578063f5c455001461091357600080fd5b8063d547741f14610827578063ddc632621461083a578063df3e1aa41461084d57600080fd5b8063ca15c873116100d3578063ca15c873146107cd578063ce9e2daa146107e0578063d1af0c7d1461080057600080fd5b8063b88d4fde14610772578063c046371114610785578063c87b56dd146107ba57600080fd5b806399fbab8811610166578063a22cb46511610140578063a22cb46514610730578063aa5f7e2614610743578063aea62e3f14610756578063b470aade1461076957600080fd5b806399fbab8814610615578063a0712d6814610715578063a217fddf1461072857600080fd5b80639010d07c116101975780639010d07c146105c157806391d14854146105d457806395d89b411461060d57600080fd5b80637b0472f0146105935780637b0a47ee146105a65780637c2d6e01146105ae57600080fd5b806342842e0e1161028c5780635e4c911f116102355780636fdff40f1161020f5780636fdff40f1461054757806370a082311461055a57806374de4ec41461056d57806375c3fd3f1461058057600080fd5b80635e4c911f146105195780635faa65ff1461052c5780636352211e1461053457600080fd5b8063468cc41e11610266578063468cc41e146104e0578063496cea98146104f35780634f6ccce71461050657600080fd5b806342842e0e146104a757806342966c68146104ba578063441a3e70146104cd57600080fd5b806323b872dd116102f95780632f745c59116102d35780632f745c5914610465578063340b13361461047857806336568abe146104815780634231b0bd1461049457600080fd5b806323b872dd1461041c578063248a9ca31461042f5780632f2ff15d1461045257600080fd5b8063095ea7b31161032a578063095ea7b3146103b9578063098b8858146103ce57806318160ddd1461040a57600080fd5b806301ffc9a71461035157806306fdde0314610379578063081812fc1461038e575b600080fd5b61036461035f36600461376d565b610936565b60405190151581526020015b60405180910390f35b610381610956565b60405161037091906137e2565b6103a161039c3660046137f5565b6109e8565b6040516001600160a01b039091168152602001610370565b6103cc6103c7366004613823565b610a0f565b005b600c546103ed90600160a01b90046bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff9091168152602001610370565b6008545b604051908152602001610370565b6103cc61042a36600461384f565b610b45565b61040e61043d3660046137f5565b6000908152600a602052604090206001015490565b6103cc610460366004613890565b610bcc565b61040e610473366004613823565b610bf1565b61040e60135481565b6103cc61048f366004613890565b610c99565b6103cc6104a23660046137f5565b610d25565b6103cc6104b536600461384f565b610d31565b6103cc6104c83660046137f5565b610d4c565b6103cc6104db3660046138c0565b610da9565b61040e6104ee3660046137f5565b610dbb565b61040e6105013660046137f5565b610e19565b61040e6105143660046137f5565b610e3f565b6103cc61052736600461392e565b610ee3565b6103cc610f7a565b6103a16105423660046137f5565b61108c565b6103cc61055536600461399a565b6110f1565b61040e61056836600461399a565b61115f565b6103cc61057b3660046137f5565b6111f9565b6103cc61058e3660046137f5565b611413565b6103cc6105a13660046138c0565b611477565b61040e611489565b6103cc6105bc3660046137f5565b6114cc565b6103a16105cf3660046138c0565b6115a1565b6103646105e2366004613890565b6000918252600a602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6103816115c0565b6106b16106233660046137f5565b600e602090815260009182526040918290208251808401845281546bffffffffffffffffffffffff811682526001600160a01b036c0100000000000000000000000090910481168285015284518086019095526001830154855260028301549385019390935260039091015490929181169065ffffffffffff600160a01b8204811691600160d01b90041685565b6040805186516bffffffffffffffffffffffff1681526020968701516001600160a01b03908116888301528651928201929092529590940151606086015292909116608084015265ffffffffffff90811660a08401521660c082015260e001610370565b61040e6107233660046137f5565b6115cf565b61040e600081565b6103cc61073e3660046139c5565b611608565b6103cc6107513660046137f5565b611613565b6103cc61076436600461392e565b611626565b61040e600d5481565b6103cc610780366004613a62565b6116b5565b600c546107a4906a0100000000000000000000900464ffffffffff1681565b60405164ffffffffff9091168152602001610370565b6103816107c83660046137f5565b611743565b61040e6107db3660046137f5565b6117de565b6107f36107ee366004613b11565b6117f5565b6040516103709190613b46565b6103a17f000000000000000000000000000000000000000000000000000000000000000081565b6103cc610835366004613890565b6118bc565b6103cc6108483660046137f5565b6118e1565b601054610880906bffffffffffffffffffffffff8116906c0100000000000000000000000090046001600160a01b031682565b604080516bffffffffffffffffffffffff90931683526001600160a01b03909116602083015201610370565b6103646108ba366004613b8a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600c546107a490600160781b900464ffffffffff1681565b600f546103a1906001600160a01b031681565b601154601254610921919082565b60408051928352602083019190915201610370565b6000610941826119ab565b806109505750610950826119e9565b92915050565b60606000805461096590613bb8565b80601f016020809104026020016040519081016040528092919081815260200182805461099190613bb8565b80156109de5780601f106109b3576101008083540402835291602001916109de565b820191906000526020600020905b8154815290600101906020018083116109c157829003601f168201915b5050505050905090565b60006109f382611a27565b506000908152600460205260409020546001600160a01b031690565b6000610a1a8261108c565b9050806001600160a01b0316836001600160a01b031603610aa85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b0382161480610ac45750610ac481336108ba565b610b365760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a9f565b610b408383611a8b565b505050565b610b4f3382611b06565b610bc15760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610a9f565b610b40838383611b84565b6000828152600a6020526040902060010154610be781611dc7565b610b408383611dd1565b6000610bfc8361115f565b8210610c705760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a9f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b0381163314610d175760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610a9f565b610d218282611df3565b5050565b610d2e81611e15565b50565b610b40838383604051806020016040528060008152506116b5565b6000818152600e60205260409020546bffffffffffffffffffffffff1615610da0576040517fc1ab6dc100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d2e81611f2c565b610db1611f8a565b610d218282611fdf565b600080610dc860106121af565b6000848152600e6020526040812091925090610de3906121af565b90508015610e0e578181610df5611489565b610dff9190613c08565b610e099190613c27565b610e11565b60005b949350505050565b6000818152600e6020526040812081610e338260016121f0565b9050610e1181836122fb565b6000610e4a60085490565b8210610ebe5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a9f565b60088281548110610ed157610ed1613c49565b90600052602060002001549050919050565b610eeb611f8a565b82818114610f25576040517f568efce200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610f7257610f6a868683818110610f4557610f45613c49565b90506020020135858584818110610f5e57610f5e613c49565b905060200201356123b7565b600101610f28565b505050505050565b6000610f8581611dc7565b600c54600160781b900464ffffffffff16428111610fcf576040517fecdd1c2900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c805464ffffffffff42908116600160781b027fffffffffffffffffffffffff0000000000ffffffffffffffffffffffffffffff91850369ffffffffffffffffffff8416026bffffffffffffffffffffffff600160a01b808604821683900390911602929092166effffffffffffffffffffffffffffff909316929092179190911790915561105e816125e4565b6040517fac02d07d013ae7c7e3ee940f8df0877c2ab1103bf87ab258ce31665f7111f09290600090a1505050565b6000818152600260205260408120546001600160a01b0316806109505760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610a9f565b60006110fc81611dc7565b600f805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091556040519081527f8a1803707dfd67114623e59e8141ee8d109332da42c6c3e8212724807e140a6b906020015b60405180910390a15050565b60006001600160a01b0382166111dd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610a9f565b506001600160a01b031660009081526003602052604090205490565b7f0914bb97ca83e85ef385857d9d418f187ff630589e0c9f44db92976d8e4519cb61122381611dc7565b600d546bffffffffffffffffffffffff83111561126c576040517f35278d1200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60148282829054906101000a90046bffffffffffffffffffffffff166112959190613c5f565b82546bffffffffffffffffffffffff9182166101009390930a928302919092021990911617905550600c5460009064ffffffffff600160781b820481166a010000000000000000000090920416106112f0575080830461132a565b50600c5464ffffffffff6a010000000000000000000082048116600160781b83049091160369ffffffffffffffffffff9091160283018190045b8060000361134b576040516324d0659d60e11b815260040160405180910390fd5b600c80544284810164ffffffffff908116600160781b027fffffffffffffffffffffffff0000000000ffffffffffffffffffffffffffffff919092166a0100000000000000000000027fffffffffffffffffffffffffffffffffff00000000000000000000000000000090931669ffffffffffffffffffff86161792909217919091161790556113da846126c5565b6040518481527fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9060200160405180910390a150505050565b600061141e81611dc7565b6202a30082111561144257604051632d0483c560e21b815260040160405180910390fd5b60138290556040518281527fa959cb2cc91580147f93f66fb85db8f308cfdaef3989ab5265408ff80ef6fa6690602001611153565b61147f611f8a565b610d2182826123b7565b600c5460009042600160781b90910464ffffffffff16106114b857600c5469ffffffffffffffffffff166114bb565b60005b69ffffffffffffffffffff16905090565b60006114d781611dc7565b600c5442600160781b90910464ffffffffff161115611522576040517f085de62500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6201000182101561154657604051632d0483c560e21b815260040160405180910390fd5b64010000000082111561156c57604051632d0483c560e21b815260040160405180910390fd5b600d8290556040518281527fbd6eb9cf4d6e2902587c57e3163aaafdb46e3b3f2086bdfa75c790228930a9d790602001611153565b6000828152600b602052604081206115b99083612737565b9392505050565b60606001805461096590613bb8565b60006115d9611f8a565b6014600081546115e890613c8f565b918290555090506115f93382612743565b61160381836123b7565b919050565b610d213383836128e9565b61161b611f8a565b610d2e8160006123b7565b61162e611f8a565b82818114611668576040517f568efce200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610f72576116ad86868381811061168857611688613c49565b905060200201358585848181106116a1576116a1613c49565b90506020020135611fdf565b60010161166b565b6116bf3383611b06565b6117315760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610a9f565b61173d848484846129b7565b50505050565b606061174e82611a27565b600f546040517fe9dc6375000000000000000000000000000000000000000000000000000000008152306004820152602481018490526001600160a01b039091169063e9dc637590604401600060405180830381865afa1580156117b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109509190810190613ca9565b6000818152600b6020526040812061095090612a40565b60608183111561181857604051632d0483c560e21b815260040160405180910390fd5b60006118248484613d17565b61182f906001613d2e565b905060008167ffffffffffffffff81111561184c5761184c6139f3565b604051908082528060200260200182016040528015611875578160200160208202803683370190505b5090505b8385116118b35761188a8686610bf1565b81868151811061189c5761189c613c49565b602002602001018181525050846001019450611879565b95945050505050565b6000828152600a60205260409020600101546118d781611dc7565b610b408383611df3565b6118e9611f8a565b610d2e816000611fdf565b6000828152600a602090815260408083206001600160a01b038516845290915290205460ff16610d21576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff191660011790556119523390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006115b9836001600160a01b038416612a4a565b60006001600160e01b031982167f5a05180f000000000000000000000000000000000000000000000000000000001480610950575061095082612a99565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610950575061095082612ad7565b6000818152600260205260409020546001600160a01b0316610d2e5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610a9f565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611acd8261108c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611b128361108c565b9050806001600160a01b0316846001600160a01b03161480611b5957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610e115750836001600160a01b0316611b72846109e8565b6001600160a01b031614949350505050565b826001600160a01b0316611b978261108c565b6001600160a01b031614611c135760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610a9f565b6001600160a01b038216611c8e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a9f565b611c9b8383836001612b72565b826001600160a01b0316611cae8261108c565b6001600160a01b031614611d2a5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610a9f565b6000818152600460209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610d2e8133612bfa565b611ddb82826118f4565b6000828152600b60205260409020610b409082611996565b611dfd8282612c6f565b6000828152600b60205260409020610b409082612cf2565b8033611e208261108c565b6001600160a01b031614611e4757604051631c62c2b160e11b815260040160405180910390fd5b6000828152600e60209081526040918290208251808401909352546bffffffffffffffffffffffff8082168085526001600160a01b036c01000000000000000000000000938490048116948601859052601080548085168490039094166bffffffffffffffffffffffff1990941684178590048216959095031690920217909155611ed184611f2c565b611ee8816bffffffffffffffffffffffff166125e4565b6000816bffffffffffffffffffffffff16857fabd2ab552bc04cdbfa4a54107fa44ac8c9cb06f6d21da11933ac05a653be19e960405160405180910390a450505050565b8033611f378261108c565b6001600160a01b031614611f5e57604051631c62c2b160e11b815260040160405180910390fd5b6000828152600e60205260408120818155600181018290556002810182905560030155610d2182612d07565b6000611f94612db7565b9050600080611fa283612e04565b915091508160116000016000828254611fbb9190613d2e565b909155505060128054829190600090611fd5908490613d2e565b9091555050505050565b8133611fea8261108c565b6001600160a01b03161461201157604051631c62c2b160e11b815260040160405180910390fd5b6000838152600e6020526040902080546bffffffffffffffffffffffff1680841115612069576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061207483612e7d565b905060006120828287613d2e565b9050806000036120a5576040516324d0659d60e11b815260040160405180910390fd5b601080546bffffffffffffffffffffffff1981166bffffffffffffffffffffffff918216899003821690811780845587546c01000000000000000000000000908190046001600160a01b039081168c8a0342818102958590048416860192909203831684029095179096559290931691169091021785557fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff600160d01b65ffffffffffff90921691820216600160a01b90910217600385015560115460018501556012546002850155612177816125e4565b8186887fabd2ab552bc04cdbfa4a54107fa44ac8c9cb06f6d21da11933ac05a653be19e960405160405180910390a450505050505050565b80546000906001600160a01b036c01000000000000000000000000820416906121e6906bffffffffffffffffffffffff1642613c08565b6109509190613d17565b60408051808201909152600080825260208201526003830154600160a01b900465ffffffffffff1660000361223957506040805180820190915260008082526020820152610950565b6001830182156122bd57600061224d612e97565b905060008061225b83612e04565b9150915060405180604001604052808560000154846011600001546122809190613d2e565b61228a9190613d17565b81526020018560010154836011600101546122a59190613d2e565b6122af9190613d17565b815250945050505050610950565b60408051808201909152815460115482916122d791613d17565b815260200182600101546011600101546122f19190613d17565b9052949350505050565b6003810154600090600160a01b900465ffffffffffff16156123ae576003820154602084015170010000000000000000000000000000000091612349916001600160a01b0390911690613c08565b8354600385015460208701516bffffffffffffffffffffffff9092169161237f91600160a01b900465ffffffffffff1690613c08565b865161238b9190613d17565b6123959190613c08565b61239f9190613d2e565b6123a99190613c27565b6115b9565b50600092915050565b81336123c28261108c565b6001600160a01b0316146123e957604051631c62c2b160e11b815260040160405180910390fd5b6000838152600e602052604081209061240182612e7d565b9050600061240f8286613d2e565b905080600003612432576040516324d0659d60e11b815260040160405180910390fd5b6010546000906124519083906bffffffffffffffffffffffff16613d2e565b90506bffffffffffffffffffffffff811115612499576040517f35278d1200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601080546bffffffffffffffffffffffff8381166001600160a01b036c0100000000000000000000000093849004811642808902918201831686026bffffffffffffffffffffffff19908116949094179096558954808516808a0190951693168317859004821601811690930217875560038701805480841665ffffffffffff600160a01b8304169095039092029390930190911673ffffffffffffffffffffffffffffffffffffffff1990911617905561259d8460038101805465ffffffffffff4216600160a01b027fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff9091161790556011546001820155601254600290910155565b85156125ac576125ac866126c5565b8286887fc8acfabcfb3af3df23b7b8a1aa1371d042bee71e137eeedc881ffa8f3c44626160405160405180910390a450505050505050565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044015b6020604051808303816000875af115801561266b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268f9190613d46565b610d2e576040517fbfa871c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd9060640161264c565b60006115b98383612f16565b6001600160a01b0382166127995760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a9f565b6000818152600260205260409020546001600160a01b0316156127fe5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a9f565b61280c600083836001612b72565b6000818152600260205260409020546001600160a01b0316156128715760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a9f565b6001600160a01b0382166000818152600360209081526040808320805460010190558483526002909152808220805473ffffffffffffffffffffffffffffffffffffffff19168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b03160361294a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a9f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6129c2848484611b84565b6129ce84848484612f40565b61173d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a9f565b6000610950825490565b6000818152600183016020526040812054612a9157508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610950565b506000610950565b60006001600160e01b031982167f7965db0b0000000000000000000000000000000000000000000000000000000014806109505750610950826119e9565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480612b3a57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061095057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610950565b336001600160a01b03851614612bee576013546000838152600e60205260408120600301549091612bb191600160d01b900465ffffffffffff16613d2e565b9050804211612bec576040517f085de62500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b61173d848484846130c9565b6000828152600a602090815260408083206001600160a01b038516845290915290205460ff16610d2157612c2d81613211565b612c38836020613223565b604051602001612c49929190613d63565b60408051601f198184030181529082905262461bcd60e51b8252610a9f916004016137e2565b6000828152600a602090815260408083206001600160a01b038516845290915290205460ff1615610d21576000828152600a602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006115b9836001600160a01b03841661344c565b6000612d128261108c565b9050612d22816000846001612b72565b612d2b8261108c565b6000838152600460209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000612dc1612e97565b600c80547fffffffffffffffffffffffffffffffffff0000000000ffffffffffffffffffff166a01000000000000000000004264ffffffffff1602179055919050565b6000806000612e1360106121af565b90508015612e775780700100000000000000000000000000000000612e384287613c08565b612e429190613c08565b612e4c9190613c27565b925080612e6a70010000000000000000000000000000000086613c08565b612e749190613c27565b91505b50915091565b600080612e8b8360006121f0565b90506115b981846122fb565b600c54600090600160781b900464ffffffffff1681428210612eb95742612ebb565b815b600c549091506a0100000000000000000000900464ffffffffff1680821115612ef457600c5469ffffffffffffffffffff168183030293505b6bffffffffffffffffffffffff841115612f1057612f10613de4565b50505090565b6000826000018281548110612f2d57612f2d613c49565b9060005260206000200154905092915050565b60006001600160a01b0384163b156130be576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612f9d903390899088908890600401613dfa565b6020604051808303816000875af1925050508015612fd8575060408051601f3d908101601f19168201909252612fd591810190613e36565b60015b61308b573d808015613006576040519150601f19603f3d011682016040523d82523d6000602084013e61300b565b606091505b5080516000036130835760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a9f565b805181602001fd5b6001600160e01b0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050610e11565b506001949350505050565b6130d58484848461353f565b600181111561314c5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e736563757469766520747260448201527f616e7366657273206e6f7420737570706f7274656400000000000000000000006064820152608401610a9f565b816001600160a01b0385166131a8576131a381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6131cb565b836001600160a01b0316856001600160a01b0316146131cb576131cb85826135c7565b6001600160a01b0384166131e7576131e281613664565b61320a565b846001600160a01b0316846001600160a01b03161461320a5761320a8482613713565b5050505050565b60606109506001600160a01b03831660145b60606000613232836002613c08565b61323d906002613d2e565b67ffffffffffffffff811115613255576132556139f3565b6040519080825280601f01601f19166020018201604052801561327f576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132b6576132b6613c49565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061331957613319613c49565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000613355846002613c08565b613360906001613d2e565b90505b60018111156133fd577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106133a1576133a1613c49565b1a60f81b8282815181106133b7576133b7613c49565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936133f681613e53565b9050613363565b5083156115b95760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a9f565b60008181526001830160205260408120548015613535576000613470600183613d17565b855490915060009061348490600190613d17565b90508181146134e95760008660000182815481106134a4576134a4613c49565b90600052602060002001549050808760000184815481106134c7576134c7613c49565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806134fa576134fa613e6a565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610950565b6000915050610950565b600181111561173d576001600160a01b03841615613585576001600160a01b0384166000908152600360205260408120805483929061357f908490613d17565b90915550505b6001600160a01b0383161561173d576001600160a01b038316600090815260036020526040812080548392906135bc908490613d2e565b909155505050505050565b600060016135d48461115f565b6135de9190613d17565b600083815260076020526040902054909150808214613631576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061367690600190613d17565b6000838152600960205260408120546008805493945090928490811061369e5761369e613c49565b9060005260206000200154905080600883815481106136bf576136bf613c49565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806136f7576136f7613e6a565b6001900381819060005260206000200160009055905550505050565b600061371e8361115f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610d2e57600080fd5b60006020828403121561377f57600080fd5b81356115b981613757565b60005b838110156137a557818101518382015260200161378d565b8381111561173d5750506000910152565b600081518084526137ce81602086016020860161378a565b601f01601f19169290920160200192915050565b6020815260006115b960208301846137b6565b60006020828403121561380757600080fd5b5035919050565b6001600160a01b0381168114610d2e57600080fd5b6000806040838503121561383657600080fd5b82356138418161380e565b946020939093013593505050565b60008060006060848603121561386457600080fd5b833561386f8161380e565b9250602084013561387f8161380e565b929592945050506040919091013590565b600080604083850312156138a357600080fd5b8235915060208301356138b58161380e565b809150509250929050565b600080604083850312156138d357600080fd5b50508035926020909101359150565b60008083601f8401126138f457600080fd5b50813567ffffffffffffffff81111561390c57600080fd5b6020830191508360208260051b850101111561392757600080fd5b9250929050565b6000806000806040858703121561394457600080fd5b843567ffffffffffffffff8082111561395c57600080fd5b613968888389016138e2565b9096509450602087013591508082111561398157600080fd5b5061398e878288016138e2565b95989497509550505050565b6000602082840312156139ac57600080fd5b81356115b98161380e565b8015158114610d2e57600080fd5b600080604083850312156139d857600080fd5b82356139e38161380e565b915060208301356138b5816139b7565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613a3257613a326139f3565b604052919050565b600067ffffffffffffffff821115613a5457613a546139f3565b50601f01601f191660200190565b60008060008060808587031215613a7857600080fd5b8435613a838161380e565b93506020850135613a938161380e565b925060408501359150606085013567ffffffffffffffff811115613ab657600080fd5b8501601f81018713613ac757600080fd5b8035613ada613ad582613a3a565b613a09565b818152886020838501011115613aef57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b600080600060608486031215613b2657600080fd5b8335613b318161380e565b95602085013595506040909401359392505050565b6020808252825182820181905260009190848201906040850190845b81811015613b7e57835183529284019291840191600101613b62565b50909695505050505050565b60008060408385031215613b9d57600080fd5b8235613ba88161380e565b915060208301356138b58161380e565b600181811c90821680613bcc57607f821691505b602082108103613bec57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613c2257613c22613bf2565b500290565b600082613c4457634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006bffffffffffffffffffffffff808316818516808303821115613c8657613c86613bf2565b01949350505050565b60006000198203613ca257613ca2613bf2565b5060010190565b600060208284031215613cbb57600080fd5b815167ffffffffffffffff811115613cd257600080fd5b8201601f81018413613ce357600080fd5b8051613cf1613ad582613a3a565b818152856020838501011115613d0657600080fd5b6118b382602083016020860161378a565b600082821015613d2957613d29613bf2565b500390565b60008219821115613d4157613d41613bf2565b500190565b600060208284031215613d5857600080fd5b81516115b9816139b7565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613d9b81601785016020880161378a565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351613dd881602884016020880161378a565b01602801949350505050565b634e487b7160e01b600052600160045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152613e2c60808301846137b6565b9695505050505050565b600060208284031215613e4857600080fd5b81516115b981613757565b600081613e6257613e62613bf2565b506000190190565b634e487b7160e01b600052603160045260246000fdfea26469706673582212208466454c916a0f0ba4c38f4e538bca6a31d10def7fc72f12df3d85267271798964736f6c634300080f0033","opcodes":"PUSH1 0xA0 PUSH1 0x40 MSTORE PUSH3 0x127500 PUSH1 0xD SSTORE PUSH2 0x1C20 PUSH1 0x13 SSTORE CALLVALUE DUP1 ISZERO PUSH3 0x1E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x4398 CODESIZE SUB DUP1 PUSH3 0x4398 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x41 SWAP2 PUSH3 0x2F4 JUMP JUMPDEST DUP3 DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1A DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x50616E676F6C696E205374616B696E6720506F736974696F6E73000000000000 DUP2 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x7 DUP2 MSTORE PUSH1 0x20 ADD PUSH7 0x504E472D504F53 PUSH1 0xC8 SHL DUP2 MSTORE POP DUP2 PUSH1 0x0 SWAP1 DUP2 PUSH3 0xAA SWAP2 SWAP1 PUSH3 0x3EC JUMP JUMPDEST POP PUSH1 0x1 PUSH3 0xB9 DUP3 DUP3 PUSH3 0x3EC JUMP JUMPDEST POP POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH3 0xE4 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2505ECC3 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EXTCODESIZE PUSH1 0x0 SUB PUSH3 0x110 JUMPI PUSH1 0x40 MLOAD PUSH4 0xC1AB6DC1 PUSH1 0xE0 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 PUSH1 0x80 MSTORE PUSH3 0x12A PUSH1 0x0 DUP3 PUSH3 0x181 JUMP JUMPDEST PUSH3 0x156 PUSH32 0x914BB97CA83E85EF385857D9D418F187FF630589E0C9F44DB92976D8E4519CB DUP3 PUSH3 0x181 JUMP JUMPDEST POP POP PUSH1 0xF DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE POP PUSH3 0x4B8 SWAP1 POP JUMP JUMPDEST PUSH3 0x198 DUP3 DUP3 PUSH3 0x1C4 PUSH1 0x20 SHL PUSH3 0x18F4 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 PUSH3 0x1BF SWAP2 DUP4 SWAP1 PUSH3 0x1996 PUSH3 0x269 DUP3 SHL OR SWAP1 SHR JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH3 0x265 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH3 0x224 CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x280 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH3 0x289 JUMP JUMPDEST SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP4 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH3 0x2D2 JUMPI POP DUP2 SLOAD PUSH1 0x1 DUP2 DUP2 ADD DUP5 SSTORE PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 SWAP1 SWAP4 ADD DUP5 SWAP1 SSTORE DUP5 SLOAD DUP5 DUP3 MSTORE DUP3 DUP7 ADD SWAP1 SWAP4 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP2 SWAP1 SWAP2 SSTORE PUSH3 0x283 JUMP JUMPDEST POP PUSH1 0x0 PUSH3 0x283 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x2F1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH3 0x30A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 MLOAD PUSH3 0x317 DUP2 PUSH3 0x2DB JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD SWAP1 SWAP4 POP PUSH3 0x32A DUP2 PUSH3 0x2DB JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MLOAD SWAP1 SWAP3 POP PUSH3 0x33D DUP2 PUSH3 0x2DB JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH3 0x373 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH3 0x394 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 PUSH3 0x1BF JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP2 ADD PUSH1 0x20 DUP7 LT ISZERO PUSH3 0x3C3 JUMPI POP DUP1 JUMPDEST PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP3 ADD SWAP2 POP JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x3E4 JUMPI DUP3 DUP2 SSTORE PUSH1 0x1 ADD PUSH3 0x3CF JUMP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH3 0x408 JUMPI PUSH3 0x408 PUSH3 0x348 JUMP JUMPDEST PUSH3 0x420 DUP2 PUSH3 0x419 DUP5 SLOAD PUSH3 0x35E JUMP JUMPDEST DUP5 PUSH3 0x39A JUMP JUMPDEST PUSH1 0x20 DUP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH3 0x458 JUMPI PUSH1 0x0 DUP5 ISZERO PUSH3 0x43F JUMPI POP DUP6 DUP4 ADD MLOAD JUMPDEST PUSH1 0x0 NOT PUSH1 0x3 DUP7 SWAP1 SHL SHR NOT AND PUSH1 0x1 DUP6 SWAP1 SHL OR DUP6 SSTORE PUSH3 0x3E4 JUMP JUMPDEST PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH1 0x1F NOT DUP7 AND SWAP2 JUMPDEST DUP3 DUP2 LT ISZERO PUSH3 0x489 JUMPI DUP9 DUP7 ADD MLOAD DUP3 SSTORE SWAP5 DUP5 ADD SWAP5 PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 DUP5 ADD PUSH3 0x468 JUMP JUMPDEST POP DUP6 DUP3 LT ISZERO PUSH3 0x4A8 JUMPI DUP8 DUP6 ADD MLOAD PUSH1 0x0 NOT PUSH1 0x3 DUP9 SWAP1 SHL PUSH1 0xF8 AND SHR NOT AND DUP2 SSTORE JUMPDEST POP POP POP POP POP PUSH1 0x1 SWAP1 DUP2 SHL ADD SWAP1 SSTORE POP JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH2 0x3EB6 PUSH3 0x4E2 PUSH1 0x0 CODECOPY PUSH1 0x0 DUP2 DUP2 PUSH2 0x805 ADD MSTORE DUP2 DUP2 PUSH2 0x2619 ADD MSTORE PUSH2 0x2700 ADD MSTORE PUSH2 0x3EB6 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 0x34C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7B0472F0 GT PUSH2 0x1BD JUMPI DUP1 PUSH4 0xB88D4FDE GT PUSH2 0xF9 JUMPI DUP1 PUSH4 0xD547741F GT PUSH2 0xA2 JUMPI DUP1 PUSH4 0xE985E9C5 GT PUSH2 0x7C JUMPI DUP1 PUSH4 0xE985E9C5 EQ PUSH2 0x8AC JUMPI DUP1 PUSH4 0xEBE2B12B EQ PUSH2 0x8E8 JUMPI DUP1 PUSH4 0xF5B2CAD7 EQ PUSH2 0x900 JUMPI DUP1 PUSH4 0xF5C45500 EQ PUSH2 0x913 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xD547741F EQ PUSH2 0x827 JUMPI DUP1 PUSH4 0xDDC63262 EQ PUSH2 0x83A JUMPI DUP1 PUSH4 0xDF3E1AA4 EQ PUSH2 0x84D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xCA15C873 GT PUSH2 0xD3 JUMPI DUP1 PUSH4 0xCA15C873 EQ PUSH2 0x7CD JUMPI DUP1 PUSH4 0xCE9E2DAA EQ PUSH2 0x7E0 JUMPI DUP1 PUSH4 0xD1AF0C7D EQ PUSH2 0x800 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xB88D4FDE EQ PUSH2 0x772 JUMPI DUP1 PUSH4 0xC0463711 EQ PUSH2 0x785 JUMPI DUP1 PUSH4 0xC87B56DD EQ PUSH2 0x7BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x99FBAB88 GT PUSH2 0x166 JUMPI DUP1 PUSH4 0xA22CB465 GT PUSH2 0x140 JUMPI DUP1 PUSH4 0xA22CB465 EQ PUSH2 0x730 JUMPI DUP1 PUSH4 0xAA5F7E26 EQ PUSH2 0x743 JUMPI DUP1 PUSH4 0xAEA62E3F EQ PUSH2 0x756 JUMPI DUP1 PUSH4 0xB470AADE EQ PUSH2 0x769 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x99FBAB88 EQ PUSH2 0x615 JUMPI DUP1 PUSH4 0xA0712D68 EQ PUSH2 0x715 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x728 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x9010D07C GT PUSH2 0x197 JUMPI DUP1 PUSH4 0x9010D07C EQ PUSH2 0x5C1 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x5D4 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x60D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x7B0472F0 EQ PUSH2 0x593 JUMPI DUP1 PUSH4 0x7B0A47EE EQ PUSH2 0x5A6 JUMPI DUP1 PUSH4 0x7C2D6E01 EQ PUSH2 0x5AE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x42842E0E GT PUSH2 0x28C JUMPI DUP1 PUSH4 0x5E4C911F GT PUSH2 0x235 JUMPI DUP1 PUSH4 0x6FDFF40F GT PUSH2 0x20F JUMPI DUP1 PUSH4 0x6FDFF40F EQ PUSH2 0x547 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x55A JUMPI DUP1 PUSH4 0x74DE4EC4 EQ PUSH2 0x56D JUMPI DUP1 PUSH4 0x75C3FD3F EQ PUSH2 0x580 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x5E4C911F EQ PUSH2 0x519 JUMPI DUP1 PUSH4 0x5FAA65FF EQ PUSH2 0x52C JUMPI DUP1 PUSH4 0x6352211E EQ PUSH2 0x534 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x468CC41E GT PUSH2 0x266 JUMPI DUP1 PUSH4 0x468CC41E EQ PUSH2 0x4E0 JUMPI DUP1 PUSH4 0x496CEA98 EQ PUSH2 0x4F3 JUMPI DUP1 PUSH4 0x4F6CCCE7 EQ PUSH2 0x506 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x42842E0E EQ PUSH2 0x4A7 JUMPI DUP1 PUSH4 0x42966C68 EQ PUSH2 0x4BA JUMPI DUP1 PUSH4 0x441A3E70 EQ PUSH2 0x4CD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x23B872DD GT PUSH2 0x2F9 JUMPI DUP1 PUSH4 0x2F745C59 GT PUSH2 0x2D3 JUMPI DUP1 PUSH4 0x2F745C59 EQ PUSH2 0x465 JUMPI DUP1 PUSH4 0x340B1336 EQ PUSH2 0x478 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x481 JUMPI DUP1 PUSH4 0x4231B0BD EQ PUSH2 0x494 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x23B872DD EQ PUSH2 0x41C JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x42F JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x452 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x95EA7B3 GT PUSH2 0x32A JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x3B9 JUMPI DUP1 PUSH4 0x98B8858 EQ PUSH2 0x3CE JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x40A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x351 JUMPI DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x379 JUMPI DUP1 PUSH4 0x81812FC EQ PUSH2 0x38E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x364 PUSH2 0x35F CALLDATASIZE PUSH1 0x4 PUSH2 0x376D JUMP JUMPDEST PUSH2 0x936 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x381 PUSH2 0x956 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x370 SWAP2 SWAP1 PUSH2 0x37E2 JUMP JUMPDEST PUSH2 0x3A1 PUSH2 0x39C CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x9E8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x370 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x3C7 CALLDATASIZE PUSH1 0x4 PUSH2 0x3823 JUMP JUMPDEST PUSH2 0xA0F JUMP JUMPDEST STOP JUMPDEST PUSH1 0xC SLOAD PUSH2 0x3ED SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x370 JUMP JUMPDEST PUSH1 0x8 SLOAD JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x370 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x42A CALLDATASIZE PUSH1 0x4 PUSH2 0x384F JUMP JUMPDEST PUSH2 0xB45 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x43D CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x460 CALLDATASIZE PUSH1 0x4 PUSH2 0x3890 JUMP JUMPDEST PUSH2 0xBCC JUMP JUMPDEST PUSH2 0x40E PUSH2 0x473 CALLDATASIZE PUSH1 0x4 PUSH2 0x3823 JUMP JUMPDEST PUSH2 0xBF1 JUMP JUMPDEST PUSH2 0x40E PUSH1 0x13 SLOAD DUP2 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x48F CALLDATASIZE PUSH1 0x4 PUSH2 0x3890 JUMP JUMPDEST PUSH2 0xC99 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x4A2 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0xD25 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x4B5 CALLDATASIZE PUSH1 0x4 PUSH2 0x384F JUMP JUMPDEST PUSH2 0xD31 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x4C8 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0xD4C JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x4DB CALLDATASIZE PUSH1 0x4 PUSH2 0x38C0 JUMP JUMPDEST PUSH2 0xDA9 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x4EE CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0xDBB JUMP JUMPDEST PUSH2 0x40E PUSH2 0x501 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0xE19 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x514 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0xE3F JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x527 CALLDATASIZE PUSH1 0x4 PUSH2 0x392E JUMP JUMPDEST PUSH2 0xEE3 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0xF7A JUMP JUMPDEST PUSH2 0x3A1 PUSH2 0x542 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x108C JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x555 CALLDATASIZE PUSH1 0x4 PUSH2 0x399A JUMP JUMPDEST PUSH2 0x10F1 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x568 CALLDATASIZE PUSH1 0x4 PUSH2 0x399A JUMP JUMPDEST PUSH2 0x115F JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x57B CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x11F9 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x58E CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x1413 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x5A1 CALLDATASIZE PUSH1 0x4 PUSH2 0x38C0 JUMP JUMPDEST PUSH2 0x1477 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x1489 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x5BC CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x14CC JUMP JUMPDEST PUSH2 0x3A1 PUSH2 0x5CF CALLDATASIZE PUSH1 0x4 PUSH2 0x38C0 JUMP JUMPDEST PUSH2 0x15A1 JUMP JUMPDEST PUSH2 0x364 PUSH2 0x5E2 CALLDATASIZE PUSH1 0x4 PUSH2 0x3890 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 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 PUSH2 0x381 PUSH2 0x15C0 JUMP JUMPDEST PUSH2 0x6B1 PUSH2 0x623 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH1 0xE PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP3 MLOAD DUP1 DUP5 ADD DUP5 MSTORE DUP2 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH13 0x1000000000000000000000000 SWAP1 SWAP2 DIV DUP2 AND DUP3 DUP6 ADD MSTORE DUP5 MLOAD DUP1 DUP7 ADD SWAP1 SWAP6 MSTORE PUSH1 0x1 DUP4 ADD SLOAD DUP6 MSTORE PUSH1 0x2 DUP4 ADD SLOAD SWAP4 DUP6 ADD SWAP4 SWAP1 SWAP4 MSTORE PUSH1 0x3 SWAP1 SWAP2 ADD SLOAD SWAP1 SWAP3 SWAP2 DUP2 AND SWAP1 PUSH6 0xFFFFFFFFFFFF PUSH1 0x1 PUSH1 0xA0 SHL DUP3 DIV DUP2 AND SWAP2 PUSH1 0x1 PUSH1 0xD0 SHL SWAP1 DIV AND DUP6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP7 MLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 SWAP7 DUP8 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP9 DUP4 ADD MSTORE DUP7 MLOAD SWAP3 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP6 SWAP1 SWAP5 ADD MLOAD PUSH1 0x60 DUP7 ADD MSTORE SWAP3 SWAP1 SWAP2 AND PUSH1 0x80 DUP5 ADD MSTORE PUSH6 0xFFFFFFFFFFFF SWAP1 DUP2 AND PUSH1 0xA0 DUP5 ADD MSTORE AND PUSH1 0xC0 DUP3 ADD MSTORE PUSH1 0xE0 ADD PUSH2 0x370 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x723 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x15CF JUMP JUMPDEST PUSH2 0x40E PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x73E CALLDATASIZE PUSH1 0x4 PUSH2 0x39C5 JUMP JUMPDEST PUSH2 0x1608 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x751 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x1613 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x764 CALLDATASIZE PUSH1 0x4 PUSH2 0x392E JUMP JUMPDEST PUSH2 0x1626 JUMP JUMPDEST PUSH2 0x40E PUSH1 0xD SLOAD DUP2 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x780 CALLDATASIZE PUSH1 0x4 PUSH2 0x3A62 JUMP JUMPDEST PUSH2 0x16B5 JUMP JUMPDEST PUSH1 0xC SLOAD PUSH2 0x7A4 SWAP1 PUSH11 0x100000000000000000000 SWAP1 DIV PUSH5 0xFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH5 0xFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x370 JUMP JUMPDEST PUSH2 0x381 PUSH2 0x7C8 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x1743 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x7DB CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x17DE JUMP JUMPDEST PUSH2 0x7F3 PUSH2 0x7EE CALLDATASIZE PUSH1 0x4 PUSH2 0x3B11 JUMP JUMPDEST PUSH2 0x17F5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x370 SWAP2 SWAP1 PUSH2 0x3B46 JUMP JUMPDEST PUSH2 0x3A1 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x835 CALLDATASIZE PUSH1 0x4 PUSH2 0x3890 JUMP JUMPDEST PUSH2 0x18BC JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x848 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x18E1 JUMP JUMPDEST PUSH1 0x10 SLOAD PUSH2 0x880 SWAP1 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND SWAP1 PUSH13 0x1000000000000000000000000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP4 AND DUP4 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x20 DUP4 ADD MSTORE ADD PUSH2 0x370 JUMP JUMPDEST PUSH2 0x364 PUSH2 0x8BA CALLDATASIZE PUSH1 0x4 PUSH2 0x3B8A JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0xC SLOAD PUSH2 0x7A4 SWAP1 PUSH1 0x1 PUSH1 0x78 SHL SWAP1 DIV PUSH5 0xFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0xF SLOAD PUSH2 0x3A1 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x11 SLOAD PUSH1 0x12 SLOAD PUSH2 0x921 SWAP2 SWAP1 DUP3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE ADD PUSH2 0x370 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x941 DUP3 PUSH2 0x19AB JUMP JUMPDEST DUP1 PUSH2 0x950 JUMPI POP PUSH2 0x950 DUP3 PUSH2 0x19E9 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD PUSH2 0x965 SWAP1 PUSH2 0x3BB8 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 0x991 SWAP1 PUSH2 0x3BB8 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x9DE JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x9B3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x9DE 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 0x9C1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9F3 DUP3 PUSH2 0x1A27 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA1A DUP3 PUSH2 0x108C JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0xAA8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x21 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F76616C20746F2063757272656E74206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7200000000000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND EQ DUP1 PUSH2 0xAC4 JUMPI POP PUSH2 0xAC4 DUP2 CALLER PUSH2 0x8BA JUMP JUMPDEST PUSH2 0xB36 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F76652063616C6C6572206973206E6F7420746F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6B656E206F776E6572206F7220617070726F76656420666F7220616C6C000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0xB40 DUP4 DUP4 PUSH2 0x1A8B JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0xB4F CALLER DUP3 PUSH2 0x1B06 JUMP JUMPDEST PUSH2 0xBC1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2063616C6C6572206973206E6F7420746F6B656E206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x72206F7220617070726F76656400000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0xB40 DUP4 DUP4 DUP4 PUSH2 0x1B84 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xBE7 DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH2 0xB40 DUP4 DUP4 PUSH2 0x1DD1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xBFC DUP4 PUSH2 0x115F JUMP JUMPDEST DUP3 LT PUSH2 0xC70 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x455243373231456E756D657261626C653A206F776E657220696E646578206F75 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74206F6620626F756E6473000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0xD17 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x20726F6C657320666F722073656C660000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0xD21 DUP3 DUP3 PUSH2 0x1DF3 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0xD2E DUP2 PUSH2 0x1E15 JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0xB40 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP PUSH2 0x16B5 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND ISZERO PUSH2 0xDA0 JUMPI PUSH1 0x40 MLOAD PUSH32 0xC1AB6DC100000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xD2E DUP2 PUSH2 0x1F2C JUMP JUMPDEST PUSH2 0xDB1 PUSH2 0x1F8A JUMP JUMPDEST PUSH2 0xD21 DUP3 DUP3 PUSH2 0x1FDF JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0xDC8 PUSH1 0x10 PUSH2 0x21AF JUMP JUMPDEST PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SWAP2 SWAP3 POP SWAP1 PUSH2 0xDE3 SWAP1 PUSH2 0x21AF JUMP JUMPDEST SWAP1 POP DUP1 ISZERO PUSH2 0xE0E JUMPI DUP2 DUP2 PUSH2 0xDF5 PUSH2 0x1489 JUMP JUMPDEST PUSH2 0xDFF SWAP2 SWAP1 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0xE09 SWAP2 SWAP1 PUSH2 0x3C27 JUMP JUMPDEST PUSH2 0xE11 JUMP JUMPDEST PUSH1 0x0 JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP2 PUSH2 0xE33 DUP3 PUSH1 0x1 PUSH2 0x21F0 JUMP JUMPDEST SWAP1 POP PUSH2 0xE11 DUP2 DUP4 PUSH2 0x22FB JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE4A PUSH1 0x8 SLOAD SWAP1 JUMP JUMPDEST DUP3 LT PUSH2 0xEBE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x455243373231456E756D657261626C653A20676C6F62616C20696E646578206F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7574206F6620626F756E64730000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x8 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0xED1 JUMPI PUSH2 0xED1 PUSH2 0x3C49 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xEEB PUSH2 0x1F8A JUMP JUMPDEST DUP3 DUP2 DUP2 EQ PUSH2 0xF25 JUMPI PUSH1 0x40 MLOAD PUSH32 0x568EFCE200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xF72 JUMPI PUSH2 0xF6A DUP7 DUP7 DUP4 DUP2 DUP2 LT PUSH2 0xF45 JUMPI PUSH2 0xF45 PUSH2 0x3C49 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD DUP6 DUP6 DUP5 DUP2 DUP2 LT PUSH2 0xF5E JUMPI PUSH2 0xF5E PUSH2 0x3C49 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD PUSH2 0x23B7 JUMP JUMPDEST PUSH1 0x1 ADD PUSH2 0xF28 JUMP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF85 DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH1 0xC SLOAD PUSH1 0x1 PUSH1 0x78 SHL SWAP1 DIV PUSH5 0xFFFFFFFFFF AND TIMESTAMP DUP2 GT PUSH2 0xFCF JUMPI PUSH1 0x40 MLOAD PUSH32 0xECDD1C2900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xC DUP1 SLOAD PUSH5 0xFFFFFFFFFF TIMESTAMP SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0x78 SHL MUL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 DUP6 SUB PUSH10 0xFFFFFFFFFFFFFFFFFFFF DUP5 AND MUL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x1 PUSH1 0xA0 SHL DUP1 DUP7 DIV DUP3 AND DUP4 SWAP1 SUB SWAP1 SWAP2 AND MUL SWAP3 SWAP1 SWAP3 AND PUSH15 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP2 SWAP1 SWAP2 OR SWAP1 SWAP2 SSTORE PUSH2 0x105E DUP2 PUSH2 0x25E4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xAC02D07D013AE7C7E3EE940F8DF0877C2AB1103BF87AB258CE31665F7111F092 SWAP1 PUSH1 0x0 SWAP1 LOG1 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0x950 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x18 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20696E76616C696420746F6B656E2049440000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x10FC DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH1 0xF DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH32 0x8A1803707DFD67114623E59E8141EE8D109332DA42C6C3E8212724807E140A6B SWAP1 PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x11DD JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x29 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2061646472657373207A65726F206973206E6F742061207661 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6C6964206F776E65720000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH32 0x914BB97CA83E85EF385857D9D418F187FF630589E0C9F44DB92976D8E4519CB PUSH2 0x1223 DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH1 0xD SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP4 GT ISZERO PUSH2 0x126C JUMPI PUSH1 0x40 MLOAD PUSH32 0x35278D1200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP3 PUSH1 0xC PUSH1 0x14 DUP3 DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1295 SWAP2 SWAP1 PUSH2 0x3C5F JUMP JUMPDEST DUP3 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 DUP3 AND PUSH2 0x100 SWAP4 SWAP1 SWAP4 EXP SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP3 MUL NOT SWAP1 SWAP2 AND OR SWAP1 SSTORE POP PUSH1 0xC SLOAD PUSH1 0x0 SWAP1 PUSH5 0xFFFFFFFFFF PUSH1 0x1 PUSH1 0x78 SHL DUP3 DIV DUP2 AND PUSH11 0x100000000000000000000 SWAP1 SWAP3 DIV AND LT PUSH2 0x12F0 JUMPI POP DUP1 DUP4 DIV PUSH2 0x132A JUMP JUMPDEST POP PUSH1 0xC SLOAD PUSH5 0xFFFFFFFFFF PUSH11 0x100000000000000000000 DUP3 DIV DUP2 AND PUSH1 0x1 PUSH1 0x78 SHL DUP4 DIV SWAP1 SWAP2 AND SUB PUSH10 0xFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND MUL DUP4 ADD DUP2 SWAP1 DIV JUMPDEST DUP1 PUSH1 0x0 SUB PUSH2 0x134B JUMPI PUSH1 0x40 MLOAD PUSH4 0x24D0659D PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xC DUP1 SLOAD TIMESTAMP DUP5 DUP2 ADD PUSH5 0xFFFFFFFFFF SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0x78 SHL MUL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP3 AND PUSH11 0x100000000000000000000 MUL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000 SWAP1 SWAP4 AND PUSH10 0xFFFFFFFFFFFFFFFFFFFF DUP7 AND OR SWAP3 SWAP1 SWAP3 OR SWAP2 SWAP1 SWAP2 AND OR SWAP1 SSTORE PUSH2 0x13DA DUP5 PUSH2 0x26C5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP5 DUP2 MSTORE PUSH32 0xDE88A922E0D3B88B24E9623EFEB464919C6BF9F66857A65E2BFCF2CE87A9433D SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x141E DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH3 0x2A300 DUP3 GT ISZERO PUSH2 0x1442 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2D0483C5 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x13 DUP3 SWAP1 SSTORE PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH32 0xA959CB2CC91580147F93F66FB85DB8F308CFDAEF3989AB5265408FF80EF6FA66 SWAP1 PUSH1 0x20 ADD PUSH2 0x1153 JUMP JUMPDEST PUSH2 0x147F PUSH2 0x1F8A JUMP JUMPDEST PUSH2 0xD21 DUP3 DUP3 PUSH2 0x23B7 JUMP JUMPDEST PUSH1 0xC SLOAD PUSH1 0x0 SWAP1 TIMESTAMP PUSH1 0x1 PUSH1 0x78 SHL SWAP1 SWAP2 DIV PUSH5 0xFFFFFFFFFF AND LT PUSH2 0x14B8 JUMPI PUSH1 0xC SLOAD PUSH10 0xFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x0 JUMPDEST PUSH10 0xFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x14D7 DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH1 0xC SLOAD TIMESTAMP PUSH1 0x1 PUSH1 0x78 SHL SWAP1 SWAP2 DIV PUSH5 0xFFFFFFFFFF AND GT ISZERO PUSH2 0x1522 JUMPI PUSH1 0x40 MLOAD PUSH32 0x85DE62500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH3 0x10001 DUP3 LT ISZERO PUSH2 0x1546 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2D0483C5 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH5 0x100000000 DUP3 GT ISZERO PUSH2 0x156C JUMPI PUSH1 0x40 MLOAD PUSH4 0x2D0483C5 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xD DUP3 SWAP1 SSTORE PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH32 0xBD6EB9CF4D6E2902587C57E3163AAAFDB46E3B3F2086BDFA75C790228930A9D7 SWAP1 PUSH1 0x20 ADD PUSH2 0x1153 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH2 0x15B9 SWAP1 DUP4 PUSH2 0x2737 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x1 DUP1 SLOAD PUSH2 0x965 SWAP1 PUSH2 0x3BB8 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15D9 PUSH2 0x1F8A JUMP JUMPDEST PUSH1 0x14 PUSH1 0x0 DUP2 SLOAD PUSH2 0x15E8 SWAP1 PUSH2 0x3C8F JUMP JUMPDEST SWAP2 DUP3 SWAP1 SSTORE POP SWAP1 POP PUSH2 0x15F9 CALLER DUP3 PUSH2 0x2743 JUMP JUMPDEST PUSH2 0x1603 DUP2 DUP4 PUSH2 0x23B7 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xD21 CALLER DUP4 DUP4 PUSH2 0x28E9 JUMP JUMPDEST PUSH2 0x161B PUSH2 0x1F8A JUMP JUMPDEST PUSH2 0xD2E DUP2 PUSH1 0x0 PUSH2 0x23B7 JUMP JUMPDEST PUSH2 0x162E PUSH2 0x1F8A JUMP JUMPDEST DUP3 DUP2 DUP2 EQ PUSH2 0x1668 JUMPI PUSH1 0x40 MLOAD PUSH32 0x568EFCE200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xF72 JUMPI PUSH2 0x16AD DUP7 DUP7 DUP4 DUP2 DUP2 LT PUSH2 0x1688 JUMPI PUSH2 0x1688 PUSH2 0x3C49 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD DUP6 DUP6 DUP5 DUP2 DUP2 LT PUSH2 0x16A1 JUMPI PUSH2 0x16A1 PUSH2 0x3C49 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD PUSH2 0x1FDF JUMP JUMPDEST PUSH1 0x1 ADD PUSH2 0x166B JUMP JUMPDEST PUSH2 0x16BF CALLER DUP4 PUSH2 0x1B06 JUMP JUMPDEST PUSH2 0x1731 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2063616C6C6572206973206E6F7420746F6B656E206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x72206F7220617070726F76656400000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0x173D DUP5 DUP5 DUP5 DUP5 PUSH2 0x29B7 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x174E DUP3 PUSH2 0x1A27 JUMP JUMPDEST PUSH1 0xF SLOAD PUSH1 0x40 MLOAD PUSH32 0xE9DC637500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xE9DC6375 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x17B6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x950 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x3CA9 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH2 0x950 SWAP1 PUSH2 0x2A40 JUMP JUMPDEST PUSH1 0x60 DUP2 DUP4 GT ISZERO PUSH2 0x1818 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2D0483C5 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1824 DUP5 DUP5 PUSH2 0x3D17 JUMP JUMPDEST PUSH2 0x182F SWAP1 PUSH1 0x1 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x184C JUMPI PUSH2 0x184C PUSH2 0x39F3 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1875 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP JUMPDEST DUP4 DUP6 GT PUSH2 0x18B3 JUMPI PUSH2 0x188A DUP7 DUP7 PUSH2 0xBF1 JUMP JUMPDEST DUP2 DUP7 DUP2 MLOAD DUP2 LT PUSH2 0x189C JUMPI PUSH2 0x189C PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 DUP2 MSTORE POP POP DUP5 PUSH1 0x1 ADD SWAP5 POP PUSH2 0x1879 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x18D7 DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH2 0xB40 DUP4 DUP4 PUSH2 0x1DF3 JUMP JUMPDEST PUSH2 0x18E9 PUSH2 0x1F8A JUMP JUMPDEST PUSH2 0xD2E DUP2 PUSH1 0x0 PUSH2 0x1FDF JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0xD21 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x1952 CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15B9 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x2A4A JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH32 0x5A05180F00000000000000000000000000000000000000000000000000000000 EQ DUP1 PUSH2 0x950 JUMPI POP PUSH2 0x950 DUP3 PUSH2 0x2A99 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH32 0x780E9D6300000000000000000000000000000000000000000000000000000000 EQ DUP1 PUSH2 0x950 JUMPI POP PUSH2 0x950 DUP3 PUSH2 0x2AD7 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xD2E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x18 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20696E76616C696420746F6B656E2049440000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE DUP2 SWAP1 PUSH2 0x1ACD DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x1B12 DUP4 PUSH2 0x108C JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x1B59 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP9 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST DUP1 PUSH2 0xE11 JUMPI POP DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1B72 DUP5 PUSH2 0x9E8 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1B97 DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x1C13 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E736665722066726F6D20696E636F727265637420 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6F776E6572000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1C8E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F20746865207A65726F20616464 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7265737300000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0x1C9B DUP4 DUP4 DUP4 PUSH1 0x1 PUSH2 0x2B72 JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1CAE DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x1D2A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E736665722066726F6D20696E636F727265637420 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6F776E6572000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT SWAP1 DUP2 AND SWAP1 SWAP2 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 DUP2 AND DUP1 DUP7 MSTORE PUSH1 0x3 DUP6 MSTORE DUP4 DUP7 KECCAK256 DUP1 SLOAD PUSH1 0x0 NOT ADD SWAP1 SSTORE SWAP1 DUP8 AND DUP1 DUP7 MSTORE DUP4 DUP7 KECCAK256 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE DUP7 DUP7 MSTORE PUSH1 0x2 SWAP1 SWAP5 MSTORE DUP3 DUP6 KECCAK256 DUP1 SLOAD SWAP1 SWAP3 AND DUP5 OR SWAP1 SWAP2 SSTORE SWAP1 MLOAD DUP5 SWAP4 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP2 LOG4 POP POP POP JUMP JUMPDEST PUSH2 0xD2E DUP2 CALLER PUSH2 0x2BFA JUMP JUMPDEST PUSH2 0x1DDB DUP3 DUP3 PUSH2 0x18F4 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0xB40 SWAP1 DUP3 PUSH2 0x1996 JUMP JUMPDEST PUSH2 0x1DFD DUP3 DUP3 PUSH2 0x2C6F JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0xB40 SWAP1 DUP3 PUSH2 0x2CF2 JUMP JUMPDEST DUP1 CALLER PUSH2 0x1E20 DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x1E47 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1C62C2B1 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP3 MLOAD DUP1 DUP5 ADD SWAP1 SWAP4 MSTORE SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP3 AND DUP1 DUP6 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH13 0x1000000000000000000000000 SWAP4 DUP5 SWAP1 DIV DUP2 AND SWAP5 DUP7 ADD DUP6 SWAP1 MSTORE PUSH1 0x10 DUP1 SLOAD DUP1 DUP6 AND DUP5 SWAP1 SUB SWAP1 SWAP5 AND PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT SWAP1 SWAP5 AND DUP5 OR DUP6 SWAP1 DIV DUP3 AND SWAP6 SWAP1 SWAP6 SUB AND SWAP1 SWAP3 MUL OR SWAP1 SWAP2 SSTORE PUSH2 0x1ED1 DUP5 PUSH2 0x1F2C JUMP JUMPDEST PUSH2 0x1EE8 DUP2 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x25E4 JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND DUP6 PUSH32 0xABD2AB552BC04CDBFA4A54107FA44AC8C9CB06F6D21DA11933AC05A653BE19E9 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP POP POP JUMP JUMPDEST DUP1 CALLER PUSH2 0x1F37 DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x1F5E JUMPI PUSH1 0x40 MLOAD PUSH4 0x1C62C2B1 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP2 DUP2 SSTORE PUSH1 0x1 DUP2 ADD DUP3 SWAP1 SSTORE PUSH1 0x2 DUP2 ADD DUP3 SWAP1 SSTORE PUSH1 0x3 ADD SSTORE PUSH2 0xD21 DUP3 PUSH2 0x2D07 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1F94 PUSH2 0x2DB7 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP1 PUSH2 0x1FA2 DUP4 PUSH2 0x2E04 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP2 PUSH1 0x11 PUSH1 0x0 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x1FBB SWAP2 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x12 DUP1 SLOAD DUP3 SWAP2 SWAP1 PUSH1 0x0 SWAP1 PUSH2 0x1FD5 SWAP1 DUP5 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP POP POP POP JUMP JUMPDEST DUP2 CALLER PUSH2 0x1FEA DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x2011 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1C62C2B1 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 DUP5 GT ISZERO PUSH2 0x2069 JUMPI PUSH1 0x40 MLOAD PUSH32 0xF4D678B800000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x2074 DUP4 PUSH2 0x2E7D JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x2082 DUP3 DUP8 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x0 SUB PUSH2 0x20A5 JUMPI PUSH1 0x40 MLOAD PUSH4 0x24D0659D PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x10 DUP1 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT DUP2 AND PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 DUP3 AND DUP10 SWAP1 SUB DUP3 AND SWAP1 DUP2 OR DUP1 DUP5 SSTORE DUP8 SLOAD PUSH13 0x1000000000000000000000000 SWAP1 DUP2 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP13 DUP11 SUB TIMESTAMP DUP2 DUP2 MUL SWAP6 DUP6 SWAP1 DIV DUP5 AND DUP7 ADD SWAP3 SWAP1 SWAP3 SUB DUP4 AND DUP5 MUL SWAP1 SWAP6 OR SWAP1 SWAP7 SSTORE SWAP3 SWAP1 SWAP4 AND SWAP2 AND SWAP1 SWAP2 MUL OR DUP6 SSTORE PUSH32 0xFFFFFFFFFFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x1 PUSH1 0xD0 SHL PUSH6 0xFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 DUP3 MUL AND PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 SWAP2 MUL OR PUSH1 0x3 DUP6 ADD SSTORE PUSH1 0x11 SLOAD PUSH1 0x1 DUP6 ADD SSTORE PUSH1 0x12 SLOAD PUSH1 0x2 DUP6 ADD SSTORE PUSH2 0x2177 DUP2 PUSH2 0x25E4 JUMP JUMPDEST DUP2 DUP7 DUP9 PUSH32 0xABD2AB552BC04CDBFA4A54107FA44AC8C9CB06F6D21DA11933AC05A653BE19E9 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP POP POP POP POP POP JUMP JUMPDEST DUP1 SLOAD PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH13 0x1000000000000000000000000 DUP3 DIV AND SWAP1 PUSH2 0x21E6 SWAP1 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND TIMESTAMP PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x950 SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x3 DUP4 ADD SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH6 0xFFFFFFFFFFFF AND PUSH1 0x0 SUB PUSH2 0x2239 JUMPI POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH2 0x950 JUMP JUMPDEST PUSH1 0x1 DUP4 ADD DUP3 ISZERO PUSH2 0x22BD JUMPI PUSH1 0x0 PUSH2 0x224D PUSH2 0x2E97 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP1 PUSH2 0x225B DUP4 PUSH2 0x2E04 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP6 PUSH1 0x0 ADD SLOAD DUP5 PUSH1 0x11 PUSH1 0x0 ADD SLOAD PUSH2 0x2280 SWAP2 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST PUSH2 0x228A SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH1 0x1 ADD SLOAD DUP4 PUSH1 0x11 PUSH1 0x1 ADD SLOAD PUSH2 0x22A5 SWAP2 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST PUSH2 0x22AF SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST DUP2 MSTORE POP SWAP5 POP POP POP POP POP PUSH2 0x950 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE DUP2 SLOAD PUSH1 0x11 SLOAD DUP3 SWAP2 PUSH2 0x22D7 SWAP2 PUSH2 0x3D17 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD DUP3 PUSH1 0x1 ADD SLOAD PUSH1 0x11 PUSH1 0x1 ADD SLOAD PUSH2 0x22F1 SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST SWAP1 MSTORE SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x3 DUP2 ADD SLOAD PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH6 0xFFFFFFFFFFFF AND ISZERO PUSH2 0x23AE JUMPI PUSH1 0x3 DUP3 ADD SLOAD PUSH1 0x20 DUP5 ADD MLOAD PUSH17 0x100000000000000000000000000000000 SWAP2 PUSH2 0x2349 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH2 0x3C08 JUMP JUMPDEST DUP4 SLOAD PUSH1 0x3 DUP6 ADD SLOAD PUSH1 0x20 DUP8 ADD MLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 PUSH2 0x237F SWAP2 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH6 0xFFFFFFFFFFFF AND SWAP1 PUSH2 0x3C08 JUMP JUMPDEST DUP7 MLOAD PUSH2 0x238B SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST PUSH2 0x2395 SWAP2 SWAP1 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x239F SWAP2 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST PUSH2 0x23A9 SWAP2 SWAP1 PUSH2 0x3C27 JUMP JUMPDEST PUSH2 0x15B9 JUMP JUMPDEST POP PUSH1 0x0 SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP2 CALLER PUSH2 0x23C2 DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x23E9 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1C62C2B1 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SWAP1 PUSH2 0x2401 DUP3 PUSH2 0x2E7D JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x240F DUP3 DUP7 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x0 SUB PUSH2 0x2432 JUMPI PUSH1 0x40 MLOAD PUSH4 0x24D0659D PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x10 SLOAD PUSH1 0x0 SWAP1 PUSH2 0x2451 SWAP1 DUP4 SWAP1 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2499 JUMPI PUSH1 0x40 MLOAD PUSH32 0x35278D1200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x10 DUP1 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH13 0x1000000000000000000000000 SWAP4 DUP5 SWAP1 DIV DUP2 AND TIMESTAMP DUP1 DUP10 MUL SWAP2 DUP3 ADD DUP4 AND DUP7 MUL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT SWAP1 DUP2 AND SWAP5 SWAP1 SWAP5 OR SWAP1 SWAP7 SSTORE DUP10 SLOAD DUP1 DUP6 AND DUP1 DUP11 ADD SWAP1 SWAP6 AND SWAP4 AND DUP4 OR DUP6 SWAP1 DIV DUP3 AND ADD DUP2 AND SWAP1 SWAP4 MUL OR DUP8 SSTORE PUSH1 0x3 DUP8 ADD DUP1 SLOAD DUP1 DUP5 AND PUSH6 0xFFFFFFFFFFFF PUSH1 0x1 PUSH1 0xA0 SHL DUP4 DIV AND SWAP1 SWAP6 SUB SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 ADD SWAP1 SWAP2 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT SWAP1 SWAP2 AND OR SWAP1 SSTORE PUSH2 0x259D DUP5 PUSH1 0x3 DUP2 ADD DUP1 SLOAD PUSH6 0xFFFFFFFFFFFF TIMESTAMP AND PUSH1 0x1 PUSH1 0xA0 SHL MUL PUSH32 0xFFFFFFFFFFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND OR SWAP1 SSTORE PUSH1 0x11 SLOAD PUSH1 0x1 DUP3 ADD SSTORE PUSH1 0x12 SLOAD PUSH1 0x2 SWAP1 SWAP2 ADD SSTORE JUMP JUMPDEST DUP6 ISZERO PUSH2 0x25AC JUMPI PUSH2 0x25AC DUP7 PUSH2 0x26C5 JUMP JUMPDEST DUP3 DUP7 DUP9 PUSH32 0xC8ACFABCFB3AF3DF23B7B8A1AA1371D042BEE71E137EEEDC881FFA8F3C446261 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xA9059CBB00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP3 SWAP1 MSTORE PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xA9059CBB SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x266B 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 0x268F SWAP2 SWAP1 PUSH2 0x3D46 JUMP JUMPDEST PUSH2 0xD2E JUMPI PUSH1 0x40 MLOAD PUSH32 0xBFA871C500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x23B872DD00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD DUP3 SWAP1 MSTORE PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x23B872DD SWAP1 PUSH1 0x64 ADD PUSH2 0x264C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15B9 DUP4 DUP4 PUSH2 0x2F16 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x2799 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A206D696E7420746F20746865207A65726F2061646472657373 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x27FE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20746F6B656E20616C7265616479206D696E74656400000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0x280C PUSH1 0x0 DUP4 DUP4 PUSH1 0x1 PUSH2 0x2B72 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x2871 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20746F6B656E20616C7265616479206D696E74656400000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE DUP5 DUP4 MSTORE PUSH1 0x2 SWAP1 SWAP2 MSTORE DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP5 OR SWAP1 SSTORE MLOAD DUP4 SWAP3 SWAP2 SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 DUP3 SWAP1 LOG4 POP POP JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x294A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F766520746F2063616C6C657200000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND DUP7 ISZERO ISZERO SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH32 0x17307EAB39AB6107E8899845AD3D59BD9653F200F220920489CA2B5937696C31 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH2 0x29C2 DUP5 DUP5 DUP5 PUSH2 0x1B84 JUMP JUMPDEST PUSH2 0x29CE DUP5 DUP5 DUP5 DUP5 PUSH2 0x2F40 JUMP JUMPDEST PUSH2 0x173D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x32 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F206E6F6E204552433732315265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x63656976657220696D706C656D656E7465720000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x950 DUP3 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP4 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH2 0x2A91 JUMPI POP DUP2 SLOAD PUSH1 0x1 DUP2 DUP2 ADD DUP5 SSTORE PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 SWAP1 SWAP4 ADD DUP5 SWAP1 SSTORE DUP5 SLOAD DUP5 DUP3 MSTORE DUP3 DUP7 ADD SWAP1 SWAP4 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP2 SWAP1 SWAP2 SSTORE PUSH2 0x950 JUMP JUMPDEST POP PUSH1 0x0 PUSH2 0x950 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH32 0x7965DB0B00000000000000000000000000000000000000000000000000000000 EQ DUP1 PUSH2 0x950 JUMPI POP PUSH2 0x950 DUP3 PUSH2 0x19E9 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH32 0x80AC58CD00000000000000000000000000000000000000000000000000000000 EQ DUP1 PUSH2 0x2B3A JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH32 0x5B5E139F00000000000000000000000000000000000000000000000000000000 EQ JUMPDEST DUP1 PUSH2 0x950 JUMPI POP PUSH32 0x1FFC9A700000000000000000000000000000000000000000000000000000000 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ PUSH2 0x950 JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND EQ PUSH2 0x2BEE JUMPI PUSH1 0x13 SLOAD PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH1 0x3 ADD SLOAD SWAP1 SWAP2 PUSH2 0x2BB1 SWAP2 PUSH1 0x1 PUSH1 0xD0 SHL SWAP1 DIV PUSH6 0xFFFFFFFFFFFF AND PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP DUP1 TIMESTAMP GT PUSH2 0x2BEC JUMPI PUSH1 0x40 MLOAD PUSH32 0x85DE62500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP JUMPDEST PUSH2 0x173D DUP5 DUP5 DUP5 DUP5 PUSH2 0x30C9 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0xD21 JUMPI PUSH2 0x2C2D DUP2 PUSH2 0x3211 JUMP JUMPDEST PUSH2 0x2C38 DUP4 PUSH1 0x20 PUSH2 0x3223 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x2C49 SWAP3 SWAP2 SWAP1 PUSH2 0x3D63 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0xA9F SWAP2 PUSH1 0x4 ADD PUSH2 0x37E2 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0xD21 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15B9 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x344C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2D12 DUP3 PUSH2 0x108C JUMP JUMPDEST SWAP1 POP PUSH2 0x2D22 DUP2 PUSH1 0x0 DUP5 PUSH1 0x1 PUSH2 0x2B72 JUMP JUMPDEST PUSH2 0x2D2B DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT SWAP1 DUP2 AND SWAP1 SWAP2 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE PUSH1 0x3 DUP5 MSTORE DUP3 DUP6 KECCAK256 DUP1 SLOAD PUSH1 0x0 NOT ADD SWAP1 SSTORE DUP8 DUP6 MSTORE PUSH1 0x2 SWAP1 SWAP4 MSTORE DUP2 DUP5 KECCAK256 DUP1 SLOAD SWAP1 SWAP2 AND SWAP1 SSTORE MLOAD SWAP3 SWAP4 POP DUP5 SWAP3 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 DUP4 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2DC1 PUSH2 0x2E97 JUMP JUMPDEST PUSH1 0xC DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000000FFFFFFFFFFFFFFFFFFFF AND PUSH11 0x100000000000000000000 TIMESTAMP PUSH5 0xFFFFFFFFFF AND MUL OR SWAP1 SSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x2E13 PUSH1 0x10 PUSH2 0x21AF JUMP JUMPDEST SWAP1 POP DUP1 ISZERO PUSH2 0x2E77 JUMPI DUP1 PUSH17 0x100000000000000000000000000000000 PUSH2 0x2E38 TIMESTAMP DUP8 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x2E42 SWAP2 SWAP1 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x2E4C SWAP2 SWAP1 PUSH2 0x3C27 JUMP JUMPDEST SWAP3 POP DUP1 PUSH2 0x2E6A PUSH17 0x100000000000000000000000000000000 DUP7 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x2E74 SWAP2 SWAP1 PUSH2 0x3C27 JUMP JUMPDEST SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x2E8B DUP4 PUSH1 0x0 PUSH2 0x21F0 JUMP JUMPDEST SWAP1 POP PUSH2 0x15B9 DUP2 DUP5 PUSH2 0x22FB JUMP JUMPDEST PUSH1 0xC SLOAD PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x78 SHL SWAP1 DIV PUSH5 0xFFFFFFFFFF AND DUP2 TIMESTAMP DUP3 LT PUSH2 0x2EB9 JUMPI TIMESTAMP PUSH2 0x2EBB JUMP JUMPDEST DUP2 JUMPDEST PUSH1 0xC SLOAD SWAP1 SWAP2 POP PUSH11 0x100000000000000000000 SWAP1 DIV PUSH5 0xFFFFFFFFFF AND DUP1 DUP3 GT ISZERO PUSH2 0x2EF4 JUMPI PUSH1 0xC SLOAD PUSH10 0xFFFFFFFFFFFFFFFFFFFF AND DUP2 DUP4 SUB MUL SWAP4 POP JUMPDEST PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP5 GT ISZERO PUSH2 0x2F10 JUMPI PUSH2 0x2F10 PUSH2 0x3DE4 JUMP JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x0 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x2F2D JUMPI PUSH2 0x2F2D PUSH2 0x3C49 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EXTCODESIZE ISZERO PUSH2 0x30BE JUMPI PUSH1 0x40 MLOAD PUSH32 0x150B7A0200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP1 PUSH4 0x150B7A02 SWAP1 PUSH2 0x2F9D SWAP1 CALLER SWAP1 DUP10 SWAP1 DUP9 SWAP1 DUP9 SWAP1 PUSH1 0x4 ADD PUSH2 0x3DFA JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x2FD8 JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0x2FD5 SWAP2 DUP2 ADD SWAP1 PUSH2 0x3E36 JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH2 0x308B JUMPI RETURNDATASIZE DUP1 DUP1 ISZERO PUSH2 0x3006 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x300B JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP DUP1 MLOAD PUSH1 0x0 SUB PUSH2 0x3083 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x32 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F206E6F6E204552433732315265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x63656976657220696D706C656D656E7465720000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST DUP1 MLOAD DUP2 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH32 0x150B7A0200000000000000000000000000000000000000000000000000000000 EQ SWAP1 POP PUSH2 0xE11 JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x30D5 DUP5 DUP5 DUP5 DUP5 PUSH2 0x353F JUMP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x314C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x455243373231456E756D657261626C653A20636F6E7365637574697665207472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x616E7366657273206E6F7420737570706F727465640000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH2 0x31A8 JUMPI PUSH2 0x31A3 DUP2 PUSH1 0x8 DUP1 SLOAD PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP3 SWAP1 SSTORE PUSH1 0x1 DUP3 ADD DUP4 SSTORE SWAP2 SWAP1 SWAP2 MSTORE PUSH32 0xF3F7A9FE364FAAB93B216DA50A3214154F22A0A2B415B23A84C8169E8B636EE3 ADD SSTORE JUMP JUMPDEST PUSH2 0x31CB JUMP JUMPDEST DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x31CB JUMPI PUSH2 0x31CB DUP6 DUP3 PUSH2 0x35C7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x31E7 JUMPI PUSH2 0x31E2 DUP2 PUSH2 0x3664 JUMP JUMPDEST PUSH2 0x320A JUMP JUMPDEST DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x320A JUMPI PUSH2 0x320A DUP5 DUP3 PUSH2 0x3713 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x950 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x14 JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x3232 DUP4 PUSH1 0x2 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x323D SWAP1 PUSH1 0x2 PUSH2 0x3D2E JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3255 JUMPI PUSH2 0x3255 PUSH2 0x39F3 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x327F JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH32 0x3000000000000000000000000000000000000000000000000000000000000000 DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x32B6 JUMPI PUSH2 0x32B6 PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH32 0x7800000000000000000000000000000000000000000000000000000000000000 DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x3319 JUMPI PUSH2 0x3319 PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x3355 DUP5 PUSH1 0x2 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x3360 SWAP1 PUSH1 0x1 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x33FD JUMPI PUSH32 0x3031323334353637383961626364656600000000000000000000000000000000 DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x33A1 JUMPI PUSH2 0x33A1 PUSH2 0x3C49 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x33B7 JUMPI PUSH2 0x33B7 PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x33F6 DUP2 PUSH2 0x3E53 JUMP JUMPDEST SWAP1 POP PUSH2 0x3363 JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x15B9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP4 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP1 ISZERO PUSH2 0x3535 JUMPI PUSH1 0x0 PUSH2 0x3470 PUSH1 0x1 DUP4 PUSH2 0x3D17 JUMP JUMPDEST DUP6 SLOAD SWAP1 SWAP2 POP PUSH1 0x0 SWAP1 PUSH2 0x3484 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST SWAP1 POP DUP2 DUP2 EQ PUSH2 0x34E9 JUMPI PUSH1 0x0 DUP7 PUSH1 0x0 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x34A4 JUMPI PUSH2 0x34A4 PUSH2 0x3C49 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP DUP1 DUP8 PUSH1 0x0 ADD DUP5 DUP2 SLOAD DUP2 LT PUSH2 0x34C7 JUMPI PUSH2 0x34C7 PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP1 SWAP2 ADD SWAP3 SWAP1 SWAP3 SSTORE SWAP2 DUP3 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP4 SWAP1 SSTORE JUMPDEST DUP6 SLOAD DUP7 SWAP1 DUP1 PUSH2 0x34FA JUMPI PUSH2 0x34FA PUSH2 0x3E6A JUMP JUMPDEST PUSH1 0x1 SWAP1 SUB DUP2 DUP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SSTORE SWAP1 SSTORE DUP6 PUSH1 0x1 ADD PUSH1 0x0 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP1 SSTORE PUSH1 0x1 SWAP4 POP POP POP POP PUSH2 0x950 JUMP JUMPDEST PUSH1 0x0 SWAP2 POP POP PUSH2 0x950 JUMP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x173D JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND ISZERO PUSH2 0x3585 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x357F SWAP1 DUP5 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH2 0x173D JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x35BC SWAP1 DUP5 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH2 0x35D4 DUP5 PUSH2 0x115F JUMP JUMPDEST PUSH2 0x35DE SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH2 0x3631 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP6 DUP5 MSTORE DUP3 MSTORE DUP1 DUP4 KECCAK256 SLOAD DUP5 DUP5 MSTORE DUP2 DUP5 KECCAK256 DUP2 SWAP1 SSTORE DUP4 MSTORE PUSH1 0x7 SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP2 SWAP1 SSTORE JUMPDEST POP PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x7 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP5 SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP5 AND DUP4 MSTORE PUSH1 0x6 DUP2 MSTORE DUP4 DUP4 KECCAK256 SWAP2 DUP4 MSTORE MSTORE SWAP1 DUP2 KECCAK256 SSTORE JUMP JUMPDEST PUSH1 0x8 SLOAD PUSH1 0x0 SWAP1 PUSH2 0x3676 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x8 DUP1 SLOAD SWAP4 SWAP5 POP SWAP1 SWAP3 DUP5 SWAP1 DUP2 LT PUSH2 0x369E JUMPI PUSH2 0x369E PUSH2 0x3C49 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP DUP1 PUSH1 0x8 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x36BF JUMPI PUSH2 0x36BF PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP1 SWAP2 ADD SWAP3 SWAP1 SWAP3 SSTORE DUP3 DUP2 MSTORE PUSH1 0x9 SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP5 SWAP1 SSTORE DUP6 DUP3 MSTORE DUP2 KECCAK256 SSTORE PUSH1 0x8 DUP1 SLOAD DUP1 PUSH2 0x36F7 JUMPI PUSH2 0x36F7 PUSH2 0x3E6A JUMP JUMPDEST PUSH1 0x1 SWAP1 SUB DUP2 DUP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SSTORE SWAP1 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x371E DUP4 PUSH2 0x115F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP7 DUP5 MSTORE DUP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE SWAP4 DUP3 MSTORE PUSH1 0x7 SWAP1 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP2 SWAP1 SWAP2 SSTORE POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0xD2E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x377F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x15B9 DUP2 PUSH2 0x3757 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x37A5 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x378D JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x173D JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x37CE DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x378A JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x15B9 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x37B6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3807 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xD2E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x3836 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x3841 DUP2 PUSH2 0x380E 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 0x3864 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x386F DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x387F DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x38A3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x38B5 DUP2 PUSH2 0x380E JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x38D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x38F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x390C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 PUSH1 0x5 SHL DUP6 ADD ADD GT ISZERO PUSH2 0x3927 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x40 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x3944 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x395C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x3968 DUP9 DUP4 DUP10 ADD PUSH2 0x38E2 JUMP JUMPDEST SWAP1 SWAP7 POP SWAP5 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x3981 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x398E DUP8 DUP3 DUP9 ADD PUSH2 0x38E2 JUMP JUMPDEST SWAP6 SWAP9 SWAP5 SWAP8 POP SWAP6 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x39AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x15B9 DUP2 PUSH2 0x380E JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0xD2E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x39D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x39E3 DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x38B5 DUP2 PUSH2 0x39B7 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 0x1F DUP3 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x3A32 JUMPI PUSH2 0x3A32 PUSH2 0x39F3 JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x3A54 JUMPI PUSH2 0x3A54 PUSH2 0x39F3 JUMP JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x3A78 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH2 0x3A83 DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH2 0x3A93 DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3AB6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 ADD PUSH1 0x1F DUP2 ADD DUP8 SGT PUSH2 0x3AC7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH2 0x3ADA PUSH2 0x3AD5 DUP3 PUSH2 0x3A3A JUMP JUMPDEST PUSH2 0x3A09 JUMP JUMPDEST DUP2 DUP2 MSTORE DUP9 PUSH1 0x20 DUP4 DUP6 ADD ADD GT ISZERO PUSH2 0x3AEF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP5 ADD PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 PUSH1 0x20 DUP4 DUP4 ADD ADD MSTORE DUP1 SWAP4 POP POP POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x3B26 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x3B31 DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP6 PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP6 POP PUSH1 0x40 SWAP1 SWAP5 ADD CALLDATALOAD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x3B7E JUMPI DUP4 MLOAD DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x3B62 JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x3B9D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x3BA8 DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x38B5 DUP2 PUSH2 0x380E JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x3BCC JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x3BEC JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x3C22 JUMPI PUSH2 0x3C22 PUSH2 0x3BF2 JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x3C44 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 PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP4 AND DUP2 DUP6 AND DUP1 DUP4 SUB DUP3 GT ISZERO PUSH2 0x3C86 JUMPI PUSH2 0x3C86 PUSH2 0x3BF2 JUMP JUMPDEST ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x0 NOT DUP3 SUB PUSH2 0x3CA2 JUMPI PUSH2 0x3CA2 PUSH2 0x3BF2 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3CBB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3CD2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD PUSH1 0x1F DUP2 ADD DUP5 SGT PUSH2 0x3CE3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 MLOAD PUSH2 0x3CF1 PUSH2 0x3AD5 DUP3 PUSH2 0x3A3A JUMP JUMPDEST DUP2 DUP2 MSTORE DUP6 PUSH1 0x20 DUP4 DUP6 ADD ADD GT ISZERO PUSH2 0x3D06 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x18B3 DUP3 PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x378A JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x3D29 JUMPI PUSH2 0x3D29 PUSH2 0x3BF2 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x3D41 JUMPI PUSH2 0x3D41 PUSH2 0x3BF2 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3D58 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x15B9 DUP2 PUSH2 0x39B7 JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x3D9B DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x378A JUMP JUMPDEST PUSH32 0x206973206D697373696E6720726F6C6520000000000000000000000000000000 PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x3DD8 DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x378A JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP8 AND DUP4 MSTORE DUP1 DUP7 AND PUSH1 0x20 DUP5 ADD MSTORE POP DUP4 PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x80 PUSH1 0x60 DUP4 ADD MSTORE PUSH2 0x3E2C PUSH1 0x80 DUP4 ADD DUP5 PUSH2 0x37B6 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3E48 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x15B9 DUP2 PUSH2 0x3757 JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x3E62 JUMPI PUSH2 0x3E62 PUSH2 0x3BF2 JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP5 PUSH7 0x454C916A0F0BA4 0xC3 DUP16 0x4E MSTORE8 DUP12 0xCA PUSH11 0x31D10DEF7FC72F12DF3D85 0x26 PUSH19 0x71798964736F6C634300080F00330000000000 ","sourceMap":"2501:31556:19:-:0;;;1445:7:20;1413:39;;6614:7:19;6575:46;;8246:303;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8466:15;8483:8;1390:113:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1390:113:5;;;1464:5;1456;:13;;;;;;:::i;:::-;-1:-1:-1;1479:7:5;:17;1489:7;1479;:17;:::i;:::-;-1:-1:-1;;;;;;;;2780:22:20;;2776:46;;2811:11;;-1:-1:-1;;;2811:11:20;;;;;;;;;;;2776:46;2837:15;-1:-1:-1;;;;;2837:27:20;;2868:1;2837:32;2833:59;;2878:14;;-1:-1:-1;;;2878:14:20;;;;;;;;;;;2833:59;-1:-1:-1;;;;;2905:38:20;;;;2954:40;2072:4:0;2985:8:20;2954:10;:40::i;:::-;3005:33;2072:24;3029:8;3005:10;:33::i;:::-;-1:-1:-1;;8509:13:19::2;:32:::0;;-1:-1:-1;;;;;;8509:32:19::2;-1:-1:-1::0;;;;;8509:32:19;;;::::2;::::0;;;::::2;::::0;;-1:-1:-1;2501:31556:19;;-1:-1:-1;2501:31556:19;1978:166:1;2065:31;2082:4;2088:7;2065:16;;;;;:31;;:::i;:::-;2106:18;;;;:12;:18;;;;;;;;:31;;2129:7;;2106:22;;;;;:31;;:::i;:::-;;1978:166;;:::o;7461:233:0:-;2981:4;3004:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3004:29:0;;;;;;;;;;;;7539:149;;7582:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;7582:29:0;;;;;;;;;:36;;-1:-1:-1;;7582:36:0;7614:4;7582:36;;;7664:12;719:10:12;;640:96;7664:12:0;-1:-1:-1;;;;;7637:40:0;7655:7;-1:-1:-1;;;;;7637:40:0;7649:4;7637:40;;;;;;;;;;7539:149;7461:233;;:::o;8297:150:17:-;8367:4;8390:50;8395:3;-1:-1:-1;;;;;8415:23:17;;8390:4;:50::i;:::-;8383:57;;8297:150;;;;;:::o;2206:404::-;2269:4;4343:19;;;:12;;;:19;;;;;;2285:319;;-1:-1:-1;2327:23:17;;;;;;;;:11;:23;;;;;;;;;;;;;2507:18;;2485:19;;;:12;;;:19;;;;;;:40;;;;2539:11;;2285:319;-1:-1:-1;2588:5:17;2581:12;;14:131:21;-1:-1:-1;;;;;89:31:21;;79:42;;69:70;;135:1;132;125:12;69:70;14:131;:::o;150:542::-;261:6;269;277;330:2;318:9;309:7;305:23;301:32;298:52;;;346:1;343;336:12;298:52;378:9;372:16;397:31;422:5;397:31;:::i;:::-;497:2;482:18;;476:25;447:5;;-1:-1:-1;510:33:21;476:25;510:33;:::i;:::-;614:2;599:18;;593:25;562:7;;-1:-1:-1;627:33:21;593:25;627:33;:::i;:::-;679:7;669:17;;;150:542;;;;;:::o;697:127::-;758:10;753:3;749:20;746:1;739:31;789:4;786:1;779:15;813:4;810:1;803:15;829:380;908:1;904:12;;;;951;;;972:61;;1026:4;1018:6;1014:17;1004:27;;972:61;1079:2;1071:6;1068:14;1048:18;1045:38;1042:161;;1125:10;1120:3;1116:20;1113:1;1106:31;1160:4;1157:1;1150:15;1188:4;1185:1;1178:15;1042:161;;829:380;;;:::o;1340:545::-;1442:2;1437:3;1434:11;1431:448;;;1478:1;1503:5;1499:2;1492:17;1548:4;1544:2;1534:19;1618:2;1606:10;1602:19;1599:1;1595:27;1589:4;1585:38;1654:4;1642:10;1639:20;1636:47;;;-1:-1:-1;1677:4:21;1636:47;1732:2;1727:3;1723:12;1720:1;1716:20;1710:4;1706:31;1696:41;;1787:82;1805:2;1798:5;1795:13;1787:82;;;1850:17;;;1831:1;1820:13;1787:82;;;1791:3;;;1340:545;;;:::o;2061:1352::-;2181:10;;-1:-1:-1;;;;;2203:30:21;;2200:56;;;2236:18;;:::i;:::-;2265:97;2355:6;2315:38;2347:4;2341:11;2315:38;:::i;:::-;2309:4;2265:97;:::i;:::-;2417:4;;2481:2;2470:14;;2498:1;2493:663;;;;3200:1;3217:6;3214:89;;;-1:-1:-1;3269:19:21;;;3263:26;3214:89;-1:-1:-1;;2018:1:21;2014:11;;;2010:24;2006:29;1996:40;2042:1;2038:11;;;1993:57;3316:81;;2463:944;;2493:663;1287:1;1280:14;;;1324:4;1311:18;;-1:-1:-1;;2529:20:21;;;2647:236;2661:7;2658:1;2655:14;2647:236;;;2750:19;;;2744:26;2729:42;;2842:27;;;;2810:1;2798:14;;;;2677:19;;2647:236;;;2651:3;2911:6;2902:7;2899:19;2896:201;;;2972:19;;;2966:26;-1:-1:-1;;3055:1:21;3051:14;;;3067:3;3047:24;3043:37;3039:42;3024:58;3009:74;;2896:201;-1:-1:-1;;;;;3143:1:21;3127:14;;;3123:22;3110:36;;-1:-1:-1;2061:1352:21:o;:::-;2501:31556:19;;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@DEFAULT_ADMIN_ROLE_27":{"entryPoint":null,"id":27,"parameterSlots":0,"returnSlots":0},"@_addTokenToAllTokensEnumeration_1937":{"entryPoint":null,"id":1937,"parameterSlots":1,"returnSlots":0},"@_addTokenToOwnerEnumeration_1917":{"entryPoint":14099,"id":1917,"parameterSlots":2,"returnSlots":0},"@_add_3588":{"entryPoint":10826,"id":3588,"parameterSlots":2,"returnSlots":1},"@_afterTokenTransfer_1560":{"entryPoint":null,"id":1560,"parameterSlots":4,"returnSlots":0},"@_approve_1393":{"entryPoint":6795,"id":1393,"parameterSlots":2,"returnSlots":0},"@_at_3722":{"entryPoint":12054,"id":3722,"parameterSlots":2,"returnSlots":1},"@_beforeTokenTransfer_1547":{"entryPoint":13631,"id":1547,"parameterSlots":4,"returnSlots":0},"@_beforeTokenTransfer_1887":{"entryPoint":12489,"id":1887,"parameterSlots":4,"returnSlots":0},"@_beforeTokenTransfer_5387":{"entryPoint":11122,"id":5387,"parameterSlots":4,"returnSlots":0},"@_burn_1284":{"entryPoint":11527,"id":1284,"parameterSlots":1,"returnSlots":0},"@_burn_5342":{"entryPoint":7980,"id":5342,"parameterSlots":1,"returnSlots":0},"@_checkOnERC721Received_1501":{"entryPoint":12096,"id":1501,"parameterSlots":4,"returnSlots":1},"@_checkRole_131":{"entryPoint":11258,"id":131,"parameterSlots":2,"returnSlots":0},"@_checkRole_92":{"entryPoint":7623,"id":92,"parameterSlots":1,"returnSlots":0},"@_claim_5766":{"entryPoint":11703,"id":5766,"parameterSlots":0,"returnSlots":1},"@_contains_3691":{"entryPoint":null,"id":3691,"parameterSlots":2,"returnSlots":1},"@_earned_5262":{"entryPoint":8955,"id":5262,"parameterSlots":2,"returnSlots":1},"@_emergencyExit_5003":{"entryPoint":7701,"id":5003,"parameterSlots":1,"returnSlots":0},"@_exists_1062":{"entryPoint":null,"id":1062,"parameterSlots":1,"returnSlots":1},"@_getDeltaRewardSummations_5155":{"entryPoint":8688,"id":5155,"parameterSlots":2,"returnSlots":1},"@_getRewardSummationsIncrementations_5198":{"entryPoint":11780,"id":5198,"parameterSlots":1,"returnSlots":2},"@_getValue_5217":{"entryPoint":8623,"id":5217,"parameterSlots":1,"returnSlots":1},"@_grantRole_283":{"entryPoint":6388,"id":283,"parameterSlots":2,"returnSlots":0},"@_grantRole_415":{"entryPoint":7633,"id":415,"parameterSlots":2,"returnSlots":0},"@_isApprovedOrOwner_1096":{"entryPoint":6918,"id":1096,"parameterSlots":2,"returnSlots":1},"@_length_3705":{"entryPoint":null,"id":3705,"parameterSlots":1,"returnSlots":1},"@_mint_1217":{"entryPoint":10051,"id":1217,"parameterSlots":2,"returnSlots":0},"@_msgSender_2449":{"entryPoint":null,"id":2449,"parameterSlots":0,"returnSlots":1},"@_ownerOf_1044":{"entryPoint":null,"id":1044,"parameterSlots":1,"returnSlots":1},"@_pendingRewards_5857":{"entryPoint":11927,"id":5857,"parameterSlots":0,"returnSlots":1},"@_positionPendingRewards_5080":{"entryPoint":11901,"id":5080,"parameterSlots":1,"returnSlots":1},"@_removeTokenFromAllTokensEnumeration_2048":{"entryPoint":13924,"id":2048,"parameterSlots":1,"returnSlots":0},"@_removeTokenFromOwnerEnumeration_2000":{"entryPoint":13767,"id":2000,"parameterSlots":2,"returnSlots":0},"@_remove_3672":{"entryPoint":13388,"id":3672,"parameterSlots":2,"returnSlots":1},"@_requireMinted_1439":{"entryPoint":6695,"id":1439,"parameterSlots":1,"returnSlots":0},"@_revokeRole_314":{"entryPoint":11375,"id":314,"parameterSlots":2,"returnSlots":0},"@_revokeRole_439":{"entryPoint":7667,"id":439,"parameterSlots":2,"returnSlots":0},"@_safeTransfer_1031":{"entryPoint":10679,"id":1031,"parameterSlots":4,"returnSlots":0},"@_setApprovalForAll_1425":{"entryPoint":10473,"id":1425,"parameterSlots":3,"returnSlots":0},"@_snapshotRewardSummations_5057":{"entryPoint":null,"id":5057,"parameterSlots":1,"returnSlots":0},"@_stake_4809":{"entryPoint":9143,"id":4809,"parameterSlots":2,"returnSlots":0},"@_transferFromCaller_5806":{"entryPoint":9925,"id":5806,"parameterSlots":1,"returnSlots":0},"@_transferToCaller_5784":{"entryPoint":9700,"id":5784,"parameterSlots":1,"returnSlots":0},"@_transfer_1369":{"entryPoint":7044,"id":1369,"parameterSlots":3,"returnSlots":0},"@_updateRewardSummations_5033":{"entryPoint":8074,"id":5033,"parameterSlots":0,"returnSlots":0},"@_withdraw_4952":{"entryPoint":8159,"id":4952,"parameterSlots":2,"returnSlots":0},"@addReward_5731":{"entryPoint":4601,"id":5731,"parameterSlots":1,"returnSlots":0},"@add_3888":{"entryPoint":6550,"id":3888,"parameterSlots":2,"returnSlots":1},"@approvalPauseDuration_4250":{"entryPoint":null,"id":4250,"parameterSlots":0,"returnSlots":0},"@approve_873":{"entryPoint":2575,"id":873,"parameterSlots":2,"returnSlots":0},"@at_3984":{"entryPoint":10039,"id":3984,"parameterSlots":2,"returnSlots":1},"@balanceOf_734":{"entryPoint":4447,"id":734,"parameterSlots":1,"returnSlots":1},"@burn_4446":{"entryPoint":3404,"id":4446,"parameterSlots":1,"returnSlots":0},"@compound_4407":{"entryPoint":5651,"id":4407,"parameterSlots":1,"returnSlots":0},"@emergencyExit_4457":{"entryPoint":3365,"id":4457,"parameterSlots":1,"returnSlots":0},"@endPeriod_5638":{"entryPoint":3962,"id":5638,"parameterSlots":0,"returnSlots":0},"@getApproved_891":{"entryPoint":2536,"id":891,"parameterSlots":1,"returnSlots":1},"@getRoleAdmin_146":{"entryPoint":null,"id":146,"parameterSlots":1,"returnSlots":1},"@getRoleMemberCount_391":{"entryPoint":6110,"id":391,"parameterSlots":1,"returnSlots":1},"@getRoleMember_375":{"entryPoint":5537,"id":375,"parameterSlots":2,"returnSlots":1},"@grantRole_166":{"entryPoint":3020,"id":166,"parameterSlots":2,"returnSlots":0},"@harvest_4392":{"entryPoint":6369,"id":4392,"parameterSlots":1,"returnSlots":0},"@hasRole_79":{"entryPoint":null,"id":79,"parameterSlots":2,"returnSlots":1},"@isApprovedForAll_926":{"entryPoint":null,"id":926,"parameterSlots":2,"returnSlots":1},"@isContract_2125":{"entryPoint":null,"id":2125,"parameterSlots":1,"returnSlots":1},"@lastUpdate_5446":{"entryPoint":null,"id":5446,"parameterSlots":0,"returnSlots":0},"@length_3957":{"entryPoint":10816,"id":3957,"parameterSlots":1,"returnSlots":1},"@mint_4360":{"entryPoint":5583,"id":4360,"parameterSlots":1,"returnSlots":1},"@multiStake_4506":{"entryPoint":3811,"id":4506,"parameterSlots":4,"returnSlots":0},"@multiWithdraw_4555":{"entryPoint":5670,"id":4555,"parameterSlots":4,"returnSlots":0},"@name_772":{"entryPoint":2390,"id":772,"parameterSlots":0,"returnSlots":1},"@ownerOf_762":{"entryPoint":4236,"id":762,"parameterSlots":1,"returnSlots":1},"@periodDuration_5456":{"entryPoint":null,"id":5456,"parameterSlots":0,"returnSlots":0},"@periodFinish_5449":{"entryPoint":null,"id":5449,"parameterSlots":0,"returnSlots":0},"@positionPendingRewards_4665":{"entryPoint":3609,"id":4665,"parameterSlots":1,"returnSlots":1},"@positionRewardRate_4636":{"entryPoint":3515,"id":4636,"parameterSlots":1,"returnSlots":1},"@positions_4234":{"entryPoint":null,"id":4234,"parameterSlots":0,"returnSlots":0},"@remove_3915":{"entryPoint":11506,"id":3915,"parameterSlots":2,"returnSlots":1},"@renounceRole_209":{"entryPoint":3225,"id":209,"parameterSlots":2,"returnSlots":0},"@revokeRole_186":{"entryPoint":6332,"id":186,"parameterSlots":2,"returnSlots":0},"@rewardRate_5746":{"entryPoint":5257,"id":5746,"parameterSlots":0,"returnSlots":1},"@rewardSummationsStored_4246":{"entryPoint":null,"id":4246,"parameterSlots":0,"returnSlots":0},"@rewardsToken_5460":{"entryPoint":null,"id":5460,"parameterSlots":0,"returnSlots":0},"@safeTransferFrom_1002":{"entryPoint":5813,"id":1002,"parameterSlots":4,"returnSlots":0},"@safeTransferFrom_972":{"entryPoint":3377,"id":972,"parameterSlots":3,"returnSlots":0},"@setApprovalForAll_908":{"entryPoint":5640,"id":908,"parameterSlots":2,"returnSlots":0},"@setApprovalPauseDuration_4580":{"entryPoint":5139,"id":4580,"parameterSlots":1,"returnSlots":0},"@setPeriodDuration_5585":{"entryPoint":5324,"id":5585,"parameterSlots":1,"returnSlots":0},"@setTokenMetadata_4599":{"entryPoint":4337,"id":4599,"parameterSlots":1,"returnSlots":0},"@stake_4377":{"entryPoint":5239,"id":4377,"parameterSlots":2,"returnSlots":0},"@supportsInterface_1745":{"entryPoint":6633,"id":1745,"parameterSlots":1,"returnSlots":1},"@supportsInterface_2657":{"entryPoint":null,"id":2657,"parameterSlots":1,"returnSlots":1},"@supportsInterface_356":{"entryPoint":6571,"id":356,"parameterSlots":1,"returnSlots":1},"@supportsInterface_5429":{"entryPoint":2358,"id":5429,"parameterSlots":1,"returnSlots":1},"@supportsInterface_60":{"entryPoint":10905,"id":60,"parameterSlots":1,"returnSlots":1},"@supportsInterface_710":{"entryPoint":10967,"id":710,"parameterSlots":1,"returnSlots":1},"@symbol_782":{"entryPoint":5568,"id":782,"parameterSlots":0,"returnSlots":1},"@toHexString_2613":{"entryPoint":12835,"id":2613,"parameterSlots":2,"returnSlots":1},"@toHexString_2633":{"entryPoint":12817,"id":2633,"parameterSlots":1,"returnSlots":1},"@tokenByIndex_1807":{"entryPoint":3647,"id":1807,"parameterSlots":1,"returnSlots":1},"@tokenMetadata_4238":{"entryPoint":null,"id":4238,"parameterSlots":0,"returnSlots":0},"@tokenOfOwnerByIndex_1773":{"entryPoint":3057,"id":1773,"parameterSlots":2,"returnSlots":1},"@tokenURI_5408":{"entryPoint":5955,"id":5408,"parameterSlots":1,"returnSlots":1},"@tokensOfOwnerByIndex_5321":{"entryPoint":6133,"id":5321,"parameterSlots":3,"returnSlots":1},"@totalRewardAdded_5452":{"entryPoint":null,"id":5452,"parameterSlots":0,"returnSlots":0},"@totalSupply_1784":{"entryPoint":null,"id":1784,"parameterSlots":0,"returnSlots":1},"@totalValueVariables_4242":{"entryPoint":null,"id":4242,"parameterSlots":0,"returnSlots":0},"@transferFrom_953":{"entryPoint":2885,"id":953,"parameterSlots":3,"returnSlots":0},"@withdraw_4424":{"entryPoint":3497,"id":4424,"parameterSlots":2,"returnSlots":0},"abi_decode_array_uint256_dyn_calldata":{"entryPoint":14562,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_address":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_address":{"entryPoint":15242,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_addresst_uint256":{"entryPoint":14415,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr":{"entryPoint":14946,"id":null,"parameterSlots":2,"returnSlots":4},"abi_decode_tuple_t_addresst_bool":{"entryPoint":14789,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_uint256":{"entryPoint":14371,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_uint256t_uint256":{"entryPoint":15121,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_array$_t_uint256_$dyn_calldata_ptrt_array$_t_uint256_$dyn_calldata_ptr":{"entryPoint":14638,"id":null,"parameterSlots":2,"returnSlots":4},"abi_decode_tuple_t_bool_fromMemory":{"entryPoint":15686,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_bytes32":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_bytes32t_address":{"entryPoint":14480,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_bytes32t_uint256":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_bytes4":{"entryPoint":14189,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_bytes4_fromMemory":{"entryPoint":15926,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_contract$_ITokenMetadata_$4200":{"entryPoint":14746,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_string_memory_ptr_fromMemory":{"entryPoint":15529,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256":{"entryPoint":14325,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256t_uint256":{"entryPoint":14528,"id":null,"parameterSlots":2,"returnSlots":2},"abi_encode_string":{"entryPoint":14262,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed":{"entryPoint":15715,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_address__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_tuple_t_address_t_address_t_uint256_t_bytes_memory_ptr__to_t_address_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed":{"entryPoint":15866,"id":null,"parameterSlots":5,"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_uint256_$dyn_memory_ptr__to_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed":{"entryPoint":15174,"id":null,"parameterSlots":2,"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_contract$_IERC20_$616__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_contract$_ITokenMetadata_$4200__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_contract$_PangolinStakingPositions_$5430_t_uint256__to_t_address_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":14306,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_1d7f5dcf03a65f41ee49b0ab593e3851cfbe3fd7da53b6cf4eddd83c7df5734c__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_6d05c90094f31cfeb8f0eb86f0a513af3f7f8992991fbde41b08aa7960677159__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_c6e14a63ffb144eeef7cce6988e5dce07c60a7e0a7b1ef25dbe18c61483e0a83__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_d269a4e9f5820dcdb69ea21f528512eb9b927c8d846d48aa51c9219f461d4dcc__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_da49291af84b6a1e37ed9eacd9a67360593e4a0e561cb261a6a738f621783314__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_struct$_ValueVariables_$4210_memory_ptr_t_struct$_RewardSummations_$4215_memory_ptr_t_uint160_t_uint48_t_uint48__to_t_struct$_ValueVariables_$4210_memory_ptr_t_struct$_RewardSummations_$4215_memory_ptr_t_uint160_t_uint48_t_uint48__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":6,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_uint40__to_t_uint40__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint96__to_t_uint96__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint96_t_uint160__to_t_uint96_t_uint160__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"allocate_memory":{"entryPoint":14857,"id":null,"parameterSlots":1,"returnSlots":1},"array_allocation_size_bytes":{"entryPoint":14906,"id":null,"parameterSlots":1,"returnSlots":1},"checked_add_t_uint256":{"entryPoint":15662,"id":null,"parameterSlots":2,"returnSlots":1},"checked_add_t_uint96":{"entryPoint":15455,"id":null,"parameterSlots":2,"returnSlots":1},"checked_div_t_uint256":{"entryPoint":15399,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_t_uint256":{"entryPoint":15368,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_t_uint256":{"entryPoint":15639,"id":null,"parameterSlots":2,"returnSlots":1},"copy_memory_to_memory":{"entryPoint":14218,"id":null,"parameterSlots":3,"returnSlots":0},"decrement_t_uint256":{"entryPoint":15955,"id":null,"parameterSlots":1,"returnSlots":1},"extract_byte_array_length":{"entryPoint":15288,"id":null,"parameterSlots":1,"returnSlots":1},"increment_t_uint256":{"entryPoint":15503,"id":null,"parameterSlots":1,"returnSlots":1},"panic_error_0x01":{"entryPoint":15844,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x11":{"entryPoint":15346,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x31":{"entryPoint":15978,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x32":{"entryPoint":15433,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x41":{"entryPoint":14835,"id":null,"parameterSlots":0,"returnSlots":0},"validator_revert_address":{"entryPoint":14350,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_bool":{"entryPoint":14775,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_bytes4":{"entryPoint":14167,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:24467:21","statements":[{"nodeType":"YulBlock","src":"6:3:21","statements":[]},{"body":{"nodeType":"YulBlock","src":"58:133:21","statements":[{"body":{"nodeType":"YulBlock","src":"169:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"178:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"181:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"171:6:21"},"nodeType":"YulFunctionCall","src":"171:12:21"},"nodeType":"YulExpressionStatement","src":"171:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"81:5:21"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"92:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"99:66:21","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"88:3:21"},"nodeType":"YulFunctionCall","src":"88:78:21"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"78:2:21"},"nodeType":"YulFunctionCall","src":"78:89:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"71:6:21"},"nodeType":"YulFunctionCall","src":"71:97:21"},"nodeType":"YulIf","src":"68:117:21"}]},"name":"validator_revert_bytes4","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"47:5:21","type":""}],"src":"14:177:21"},{"body":{"nodeType":"YulBlock","src":"265:176:21","statements":[{"body":{"nodeType":"YulBlock","src":"311:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"320:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"323:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"313:6:21"},"nodeType":"YulFunctionCall","src":"313:12:21"},"nodeType":"YulExpressionStatement","src":"313:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"286:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"295:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"282:3:21"},"nodeType":"YulFunctionCall","src":"282:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"307:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"278:3:21"},"nodeType":"YulFunctionCall","src":"278:32:21"},"nodeType":"YulIf","src":"275:52:21"},{"nodeType":"YulVariableDeclaration","src":"336:36:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"362:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"349:12:21"},"nodeType":"YulFunctionCall","src":"349:23:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"340:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"405:5:21"}],"functionName":{"name":"validator_revert_bytes4","nodeType":"YulIdentifier","src":"381:23:21"},"nodeType":"YulFunctionCall","src":"381:30:21"},"nodeType":"YulExpressionStatement","src":"381:30:21"},{"nodeType":"YulAssignment","src":"420:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"430:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"420:6:21"}]}]},"name":"abi_decode_tuple_t_bytes4","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"231:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"242:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"254:6:21","type":""}],"src":"196:245:21"},{"body":{"nodeType":"YulBlock","src":"541:92:21","statements":[{"nodeType":"YulAssignment","src":"551:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"563:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"574:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"559:3:21"},"nodeType":"YulFunctionCall","src":"559:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"551:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"593:9:21"},{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"618:6:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"611:6:21"},"nodeType":"YulFunctionCall","src":"611:14:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"604:6:21"},"nodeType":"YulFunctionCall","src":"604:22:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"586:6:21"},"nodeType":"YulFunctionCall","src":"586:41:21"},"nodeType":"YulExpressionStatement","src":"586:41:21"}]},"name":"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"510:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"521:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"532:4:21","type":""}],"src":"446:187:21"},{"body":{"nodeType":"YulBlock","src":"691:205:21","statements":[{"nodeType":"YulVariableDeclaration","src":"701:10:21","value":{"kind":"number","nodeType":"YulLiteral","src":"710:1:21","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"705:1:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"770:63:21","statements":[{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"795:3:21"},{"name":"i","nodeType":"YulIdentifier","src":"800:1:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"791:3:21"},"nodeType":"YulFunctionCall","src":"791:11:21"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"814:3:21"},{"name":"i","nodeType":"YulIdentifier","src":"819:1:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"810:3:21"},"nodeType":"YulFunctionCall","src":"810:11:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"804:5:21"},"nodeType":"YulFunctionCall","src":"804:18:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"784:6:21"},"nodeType":"YulFunctionCall","src":"784:39:21"},"nodeType":"YulExpressionStatement","src":"784:39:21"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"731:1:21"},{"name":"length","nodeType":"YulIdentifier","src":"734:6:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"728:2:21"},"nodeType":"YulFunctionCall","src":"728:13:21"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"742:19:21","statements":[{"nodeType":"YulAssignment","src":"744:15:21","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"753:1:21"},{"kind":"number","nodeType":"YulLiteral","src":"756:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"749:3:21"},"nodeType":"YulFunctionCall","src":"749:10:21"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"744:1:21"}]}]},"pre":{"nodeType":"YulBlock","src":"724:3:21","statements":[]},"src":"720:113:21"},{"body":{"nodeType":"YulBlock","src":"859:31:21","statements":[{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"872:3:21"},{"name":"length","nodeType":"YulIdentifier","src":"877:6:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"868:3:21"},"nodeType":"YulFunctionCall","src":"868:16:21"},{"kind":"number","nodeType":"YulLiteral","src":"886:1:21","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"861:6:21"},"nodeType":"YulFunctionCall","src":"861:27:21"},"nodeType":"YulExpressionStatement","src":"861:27:21"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"848:1:21"},{"name":"length","nodeType":"YulIdentifier","src":"851:6:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"845:2:21"},"nodeType":"YulFunctionCall","src":"845:13:21"},"nodeType":"YulIf","src":"842:48:21"}]},"name":"copy_memory_to_memory","nodeType":"YulFunctionDefinition","parameters":[{"name":"src","nodeType":"YulTypedName","src":"669:3:21","type":""},{"name":"dst","nodeType":"YulTypedName","src":"674:3:21","type":""},{"name":"length","nodeType":"YulTypedName","src":"679:6:21","type":""}],"src":"638:258:21"},{"body":{"nodeType":"YulBlock","src":"951:267:21","statements":[{"nodeType":"YulVariableDeclaration","src":"961:26:21","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"981:5:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"975:5:21"},"nodeType":"YulFunctionCall","src":"975:12:21"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"965:6:21","type":""}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1003:3:21"},{"name":"length","nodeType":"YulIdentifier","src":"1008:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"996:6:21"},"nodeType":"YulFunctionCall","src":"996:19:21"},"nodeType":"YulExpressionStatement","src":"996:19:21"},{"expression":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1050:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"1057:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1046:3:21"},"nodeType":"YulFunctionCall","src":"1046:16:21"},{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1068:3:21"},{"kind":"number","nodeType":"YulLiteral","src":"1073:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1064:3:21"},"nodeType":"YulFunctionCall","src":"1064:14:21"},{"name":"length","nodeType":"YulIdentifier","src":"1080:6:21"}],"functionName":{"name":"copy_memory_to_memory","nodeType":"YulIdentifier","src":"1024:21:21"},"nodeType":"YulFunctionCall","src":"1024:63:21"},"nodeType":"YulExpressionStatement","src":"1024:63:21"},{"nodeType":"YulAssignment","src":"1096:116:21","value":{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1111:3:21"},{"arguments":[{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"1124:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"1132:2:21","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1120:3:21"},"nodeType":"YulFunctionCall","src":"1120:15:21"},{"kind":"number","nodeType":"YulLiteral","src":"1137:66:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1116:3:21"},"nodeType":"YulFunctionCall","src":"1116:88:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1107:3:21"},"nodeType":"YulFunctionCall","src":"1107:98:21"},{"kind":"number","nodeType":"YulLiteral","src":"1207:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1103:3:21"},"nodeType":"YulFunctionCall","src":"1103:109:21"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"1096:3:21"}]}]},"name":"abi_encode_string","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"928:5:21","type":""},{"name":"pos","nodeType":"YulTypedName","src":"935:3:21","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"943:3:21","type":""}],"src":"901:317:21"},{"body":{"nodeType":"YulBlock","src":"1344:99:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1361:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"1372:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1354:6:21"},"nodeType":"YulFunctionCall","src":"1354:21:21"},"nodeType":"YulExpressionStatement","src":"1354:21:21"},{"nodeType":"YulAssignment","src":"1384:53:21","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1410:6:21"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1422:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"1433:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1418:3:21"},"nodeType":"YulFunctionCall","src":"1418:18:21"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"1392:17:21"},"nodeType":"YulFunctionCall","src":"1392:45:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1384:4:21"}]}]},"name":"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1313:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1324:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1335:4:21","type":""}],"src":"1223:220:21"},{"body":{"nodeType":"YulBlock","src":"1518:110:21","statements":[{"body":{"nodeType":"YulBlock","src":"1564:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1573:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1576:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1566:6:21"},"nodeType":"YulFunctionCall","src":"1566:12:21"},"nodeType":"YulExpressionStatement","src":"1566:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"1539:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"1548:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1535:3:21"},"nodeType":"YulFunctionCall","src":"1535:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"1560:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1531:3:21"},"nodeType":"YulFunctionCall","src":"1531:32:21"},"nodeType":"YulIf","src":"1528:52:21"},{"nodeType":"YulAssignment","src":"1589:33:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1612:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1599:12:21"},"nodeType":"YulFunctionCall","src":"1599:23:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"1589:6:21"}]}]},"name":"abi_decode_tuple_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1484:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"1495:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"1507:6:21","type":""}],"src":"1448:180:21"},{"body":{"nodeType":"YulBlock","src":"1734:125:21","statements":[{"nodeType":"YulAssignment","src":"1744:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1756:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"1767:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1752:3:21"},"nodeType":"YulFunctionCall","src":"1752:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1744:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1786:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1801:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"1809:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1797:3:21"},"nodeType":"YulFunctionCall","src":"1797:55:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1779:6:21"},"nodeType":"YulFunctionCall","src":"1779:74:21"},"nodeType":"YulExpressionStatement","src":"1779:74:21"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1703:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1714:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1725:4:21","type":""}],"src":"1633:226:21"},{"body":{"nodeType":"YulBlock","src":"1909:109:21","statements":[{"body":{"nodeType":"YulBlock","src":"1996:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2005:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2008:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1998:6:21"},"nodeType":"YulFunctionCall","src":"1998:12:21"},"nodeType":"YulExpressionStatement","src":"1998:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1932:5:21"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1943:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"1950:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1939:3:21"},"nodeType":"YulFunctionCall","src":"1939:54:21"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1929:2:21"},"nodeType":"YulFunctionCall","src":"1929:65:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1922:6:21"},"nodeType":"YulFunctionCall","src":"1922:73:21"},"nodeType":"YulIf","src":"1919:93:21"}]},"name":"validator_revert_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"1898:5:21","type":""}],"src":"1864:154:21"},{"body":{"nodeType":"YulBlock","src":"2110:228:21","statements":[{"body":{"nodeType":"YulBlock","src":"2156:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2165:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2168:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2158:6:21"},"nodeType":"YulFunctionCall","src":"2158:12:21"},"nodeType":"YulExpressionStatement","src":"2158:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2131:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"2140:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2127:3:21"},"nodeType":"YulFunctionCall","src":"2127:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"2152:2:21","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2123:3:21"},"nodeType":"YulFunctionCall","src":"2123:32:21"},"nodeType":"YulIf","src":"2120:52:21"},{"nodeType":"YulVariableDeclaration","src":"2181:36:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2207:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2194:12:21"},"nodeType":"YulFunctionCall","src":"2194:23:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"2185:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"2251:5:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"2226:24:21"},"nodeType":"YulFunctionCall","src":"2226:31:21"},"nodeType":"YulExpressionStatement","src":"2226:31:21"},{"nodeType":"YulAssignment","src":"2266:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"2276:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"2266:6:21"}]},{"nodeType":"YulAssignment","src":"2290:42:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2317:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"2328:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2313:3:21"},"nodeType":"YulFunctionCall","src":"2313:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2300:12:21"},"nodeType":"YulFunctionCall","src":"2300:32:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"2290:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2068:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2079:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2091:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"2099:6:21","type":""}],"src":"2023:315:21"},{"body":{"nodeType":"YulBlock","src":"2442:109:21","statements":[{"nodeType":"YulAssignment","src":"2452:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2464:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"2475:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2460:3:21"},"nodeType":"YulFunctionCall","src":"2460:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2452:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2494:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2509:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"2517:26:21","type":"","value":"0xffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2505:3:21"},"nodeType":"YulFunctionCall","src":"2505:39:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2487:6:21"},"nodeType":"YulFunctionCall","src":"2487:58:21"},"nodeType":"YulExpressionStatement","src":"2487:58:21"}]},"name":"abi_encode_tuple_t_uint96__to_t_uint96__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2411:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2422:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2433:4:21","type":""}],"src":"2343:208:21"},{"body":{"nodeType":"YulBlock","src":"2657:76:21","statements":[{"nodeType":"YulAssignment","src":"2667:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2679:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"2690:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2675:3:21"},"nodeType":"YulFunctionCall","src":"2675:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2667:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2709:9:21"},{"name":"value0","nodeType":"YulIdentifier","src":"2720:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2702:6:21"},"nodeType":"YulFunctionCall","src":"2702:25:21"},"nodeType":"YulExpressionStatement","src":"2702:25:21"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2626:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2637:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2648:4:21","type":""}],"src":"2556:177:21"},{"body":{"nodeType":"YulBlock","src":"2842:352:21","statements":[{"body":{"nodeType":"YulBlock","src":"2888:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2897:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2900:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2890:6:21"},"nodeType":"YulFunctionCall","src":"2890:12:21"},"nodeType":"YulExpressionStatement","src":"2890:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2863:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"2872:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2859:3:21"},"nodeType":"YulFunctionCall","src":"2859:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"2884:2:21","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2855:3:21"},"nodeType":"YulFunctionCall","src":"2855:32:21"},"nodeType":"YulIf","src":"2852:52:21"},{"nodeType":"YulVariableDeclaration","src":"2913:36:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2939:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2926:12:21"},"nodeType":"YulFunctionCall","src":"2926:23:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"2917:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"2983:5:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"2958:24:21"},"nodeType":"YulFunctionCall","src":"2958:31:21"},"nodeType":"YulExpressionStatement","src":"2958:31:21"},{"nodeType":"YulAssignment","src":"2998:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"3008:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"2998:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"3022:47:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3054:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"3065:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3050:3:21"},"nodeType":"YulFunctionCall","src":"3050:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3037:12:21"},"nodeType":"YulFunctionCall","src":"3037:32:21"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"3026:7:21","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"3103:7:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"3078:24:21"},"nodeType":"YulFunctionCall","src":"3078:33:21"},"nodeType":"YulExpressionStatement","src":"3078:33:21"},{"nodeType":"YulAssignment","src":"3120:17:21","value":{"name":"value_1","nodeType":"YulIdentifier","src":"3130:7:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"3120:6:21"}]},{"nodeType":"YulAssignment","src":"3146:42:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3173:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"3184:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3169:3:21"},"nodeType":"YulFunctionCall","src":"3169:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3156:12:21"},"nodeType":"YulFunctionCall","src":"3156:32:21"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"3146:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2792:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2803:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2815:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"2823:6:21","type":""},{"name":"value2","nodeType":"YulTypedName","src":"2831:6:21","type":""}],"src":"2738:456:21"},{"body":{"nodeType":"YulBlock","src":"3269:110:21","statements":[{"body":{"nodeType":"YulBlock","src":"3315:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3324:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3327:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3317:6:21"},"nodeType":"YulFunctionCall","src":"3317:12:21"},"nodeType":"YulExpressionStatement","src":"3317:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"3290:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"3299:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3286:3:21"},"nodeType":"YulFunctionCall","src":"3286:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"3311:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"3282:3:21"},"nodeType":"YulFunctionCall","src":"3282:32:21"},"nodeType":"YulIf","src":"3279:52:21"},{"nodeType":"YulAssignment","src":"3340:33:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3363:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3350:12:21"},"nodeType":"YulFunctionCall","src":"3350:23:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"3340:6:21"}]}]},"name":"abi_decode_tuple_t_bytes32","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3235:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"3246:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"3258:6:21","type":""}],"src":"3199:180:21"},{"body":{"nodeType":"YulBlock","src":"3485:76:21","statements":[{"nodeType":"YulAssignment","src":"3495:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3507:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"3518:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3503:3:21"},"nodeType":"YulFunctionCall","src":"3503:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3495:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3537:9:21"},{"name":"value0","nodeType":"YulIdentifier","src":"3548:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3530:6:21"},"nodeType":"YulFunctionCall","src":"3530:25:21"},"nodeType":"YulExpressionStatement","src":"3530:25:21"}]},"name":"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3454:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3465:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3476:4:21","type":""}],"src":"3384:177:21"},{"body":{"nodeType":"YulBlock","src":"3653:228:21","statements":[{"body":{"nodeType":"YulBlock","src":"3699:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3708:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3711:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3701:6:21"},"nodeType":"YulFunctionCall","src":"3701:12:21"},"nodeType":"YulExpressionStatement","src":"3701:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"3674:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"3683:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3670:3:21"},"nodeType":"YulFunctionCall","src":"3670:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"3695:2:21","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"3666:3:21"},"nodeType":"YulFunctionCall","src":"3666:32:21"},"nodeType":"YulIf","src":"3663:52:21"},{"nodeType":"YulAssignment","src":"3724:33:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3747:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3734:12:21"},"nodeType":"YulFunctionCall","src":"3734:23:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"3724:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"3766:45:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3796:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"3807:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3792:3:21"},"nodeType":"YulFunctionCall","src":"3792:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3779:12:21"},"nodeType":"YulFunctionCall","src":"3779:32:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"3770:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"3845:5:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"3820:24:21"},"nodeType":"YulFunctionCall","src":"3820:31:21"},"nodeType":"YulExpressionStatement","src":"3820:31:21"},{"nodeType":"YulAssignment","src":"3860:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"3870:5:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"3860:6:21"}]}]},"name":"abi_decode_tuple_t_bytes32t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3611:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"3622:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"3634:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"3642:6:21","type":""}],"src":"3566:315:21"},{"body":{"nodeType":"YulBlock","src":"3973:161:21","statements":[{"body":{"nodeType":"YulBlock","src":"4019:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4028:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4031:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4021:6:21"},"nodeType":"YulFunctionCall","src":"4021:12:21"},"nodeType":"YulExpressionStatement","src":"4021:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"3994:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"4003:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3990:3:21"},"nodeType":"YulFunctionCall","src":"3990:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"4015:2:21","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"3986:3:21"},"nodeType":"YulFunctionCall","src":"3986:32:21"},"nodeType":"YulIf","src":"3983:52:21"},{"nodeType":"YulAssignment","src":"4044:33:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4067:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4054:12:21"},"nodeType":"YulFunctionCall","src":"4054:23:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"4044:6:21"}]},{"nodeType":"YulAssignment","src":"4086:42:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4113:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"4124:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4109:3:21"},"nodeType":"YulFunctionCall","src":"4109:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4096:12:21"},"nodeType":"YulFunctionCall","src":"4096:32:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"4086:6:21"}]}]},"name":"abi_decode_tuple_t_uint256t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3931:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"3942:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"3954:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"3962:6:21","type":""}],"src":"3886:248:21"},{"body":{"nodeType":"YulBlock","src":"4223:283:21","statements":[{"body":{"nodeType":"YulBlock","src":"4272:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4281:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4284:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4274:6:21"},"nodeType":"YulFunctionCall","src":"4274:12:21"},"nodeType":"YulExpressionStatement","src":"4274:12:21"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"4251:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"4259:4:21","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4247:3:21"},"nodeType":"YulFunctionCall","src":"4247:17:21"},{"name":"end","nodeType":"YulIdentifier","src":"4266:3:21"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"4243:3:21"},"nodeType":"YulFunctionCall","src":"4243:27:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"4236:6:21"},"nodeType":"YulFunctionCall","src":"4236:35:21"},"nodeType":"YulIf","src":"4233:55:21"},{"nodeType":"YulAssignment","src":"4297:30:21","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"4320:6:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4307:12:21"},"nodeType":"YulFunctionCall","src":"4307:20:21"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"4297:6:21"}]},{"body":{"nodeType":"YulBlock","src":"4370:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4379:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4382:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4372:6:21"},"nodeType":"YulFunctionCall","src":"4372:12:21"},"nodeType":"YulExpressionStatement","src":"4372:12:21"}]},"condition":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"4342:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"4350:18:21","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"4339:2:21"},"nodeType":"YulFunctionCall","src":"4339:30:21"},"nodeType":"YulIf","src":"4336:50:21"},{"nodeType":"YulAssignment","src":"4395:29:21","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"4411:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"4419:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4407:3:21"},"nodeType":"YulFunctionCall","src":"4407:17:21"},"variableNames":[{"name":"arrayPos","nodeType":"YulIdentifier","src":"4395:8:21"}]},{"body":{"nodeType":"YulBlock","src":"4484:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4493:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4496:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4486:6:21"},"nodeType":"YulFunctionCall","src":"4486:12:21"},"nodeType":"YulExpressionStatement","src":"4486:12:21"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"4447:6:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4459:1:21","type":"","value":"5"},{"name":"length","nodeType":"YulIdentifier","src":"4462:6:21"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"4455:3:21"},"nodeType":"YulFunctionCall","src":"4455:14:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4443:3:21"},"nodeType":"YulFunctionCall","src":"4443:27:21"},{"kind":"number","nodeType":"YulLiteral","src":"4472:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4439:3:21"},"nodeType":"YulFunctionCall","src":"4439:38:21"},{"name":"end","nodeType":"YulIdentifier","src":"4479:3:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"4436:2:21"},"nodeType":"YulFunctionCall","src":"4436:47:21"},"nodeType":"YulIf","src":"4433:67:21"}]},"name":"abi_decode_array_uint256_dyn_calldata","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"4186:6:21","type":""},{"name":"end","nodeType":"YulTypedName","src":"4194:3:21","type":""}],"returnVariables":[{"name":"arrayPos","nodeType":"YulTypedName","src":"4202:8:21","type":""},{"name":"length","nodeType":"YulTypedName","src":"4212:6:21","type":""}],"src":"4139:367:21"},{"body":{"nodeType":"YulBlock","src":"4668:616:21","statements":[{"body":{"nodeType":"YulBlock","src":"4714:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4723:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4726:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4716:6:21"},"nodeType":"YulFunctionCall","src":"4716:12:21"},"nodeType":"YulExpressionStatement","src":"4716:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"4689:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"4698:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"4685:3:21"},"nodeType":"YulFunctionCall","src":"4685:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"4710:2:21","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"4681:3:21"},"nodeType":"YulFunctionCall","src":"4681:32:21"},"nodeType":"YulIf","src":"4678:52:21"},{"nodeType":"YulVariableDeclaration","src":"4739:37:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4766:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4753:12:21"},"nodeType":"YulFunctionCall","src":"4753:23:21"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"4743:6:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"4785:28:21","value":{"kind":"number","nodeType":"YulLiteral","src":"4795:18:21","type":"","value":"0xffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"4789:2:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"4840:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4849:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4852:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4842:6:21"},"nodeType":"YulFunctionCall","src":"4842:12:21"},"nodeType":"YulExpressionStatement","src":"4842:12:21"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"4828:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"4836:2:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"4825:2:21"},"nodeType":"YulFunctionCall","src":"4825:14:21"},"nodeType":"YulIf","src":"4822:34:21"},{"nodeType":"YulVariableDeclaration","src":"4865:96:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4933:9:21"},{"name":"offset","nodeType":"YulIdentifier","src":"4944:6:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4929:3:21"},"nodeType":"YulFunctionCall","src":"4929:22:21"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"4953:7:21"}],"functionName":{"name":"abi_decode_array_uint256_dyn_calldata","nodeType":"YulIdentifier","src":"4891:37:21"},"nodeType":"YulFunctionCall","src":"4891:70:21"},"variables":[{"name":"value0_1","nodeType":"YulTypedName","src":"4869:8:21","type":""},{"name":"value1_1","nodeType":"YulTypedName","src":"4879:8:21","type":""}]},{"nodeType":"YulAssignment","src":"4970:18:21","value":{"name":"value0_1","nodeType":"YulIdentifier","src":"4980:8:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"4970:6:21"}]},{"nodeType":"YulAssignment","src":"4997:18:21","value":{"name":"value1_1","nodeType":"YulIdentifier","src":"5007:8:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"4997:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"5024:48:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5057:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"5068:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5053:3:21"},"nodeType":"YulFunctionCall","src":"5053:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5040:12:21"},"nodeType":"YulFunctionCall","src":"5040:32:21"},"variables":[{"name":"offset_1","nodeType":"YulTypedName","src":"5028:8:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"5101:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5110:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5113:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5103:6:21"},"nodeType":"YulFunctionCall","src":"5103:12:21"},"nodeType":"YulExpressionStatement","src":"5103:12:21"}]},"condition":{"arguments":[{"name":"offset_1","nodeType":"YulIdentifier","src":"5087:8:21"},{"name":"_1","nodeType":"YulIdentifier","src":"5097:2:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5084:2:21"},"nodeType":"YulFunctionCall","src":"5084:16:21"},"nodeType":"YulIf","src":"5081:36:21"},{"nodeType":"YulVariableDeclaration","src":"5126:98:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5194:9:21"},{"name":"offset_1","nodeType":"YulIdentifier","src":"5205:8:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5190:3:21"},"nodeType":"YulFunctionCall","src":"5190:24:21"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"5216:7:21"}],"functionName":{"name":"abi_decode_array_uint256_dyn_calldata","nodeType":"YulIdentifier","src":"5152:37:21"},"nodeType":"YulFunctionCall","src":"5152:72:21"},"variables":[{"name":"value2_1","nodeType":"YulTypedName","src":"5130:8:21","type":""},{"name":"value3_1","nodeType":"YulTypedName","src":"5140:8:21","type":""}]},{"nodeType":"YulAssignment","src":"5233:18:21","value":{"name":"value2_1","nodeType":"YulIdentifier","src":"5243:8:21"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"5233:6:21"}]},{"nodeType":"YulAssignment","src":"5260:18:21","value":{"name":"value3_1","nodeType":"YulIdentifier","src":"5270:8:21"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"5260:6:21"}]}]},"name":"abi_decode_tuple_t_array$_t_uint256_$dyn_calldata_ptrt_array$_t_uint256_$dyn_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4610:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"4621:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"4633:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"4641:6:21","type":""},{"name":"value2","nodeType":"YulTypedName","src":"4649:6:21","type":""},{"name":"value3","nodeType":"YulTypedName","src":"4657:6:21","type":""}],"src":"4511:773:21"},{"body":{"nodeType":"YulBlock","src":"5382:177:21","statements":[{"body":{"nodeType":"YulBlock","src":"5428:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5437:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5440:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5430:6:21"},"nodeType":"YulFunctionCall","src":"5430:12:21"},"nodeType":"YulExpressionStatement","src":"5430:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"5403:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"5412:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"5399:3:21"},"nodeType":"YulFunctionCall","src":"5399:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"5424:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"5395:3:21"},"nodeType":"YulFunctionCall","src":"5395:32:21"},"nodeType":"YulIf","src":"5392:52:21"},{"nodeType":"YulVariableDeclaration","src":"5453:36:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5479:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5466:12:21"},"nodeType":"YulFunctionCall","src":"5466:23:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"5457:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5523:5:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"5498:24:21"},"nodeType":"YulFunctionCall","src":"5498:31:21"},"nodeType":"YulExpressionStatement","src":"5498:31:21"},{"nodeType":"YulAssignment","src":"5538:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"5548:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"5538:6:21"}]}]},"name":"abi_decode_tuple_t_contract$_ITokenMetadata_$4200","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5348:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"5359:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"5371:6:21","type":""}],"src":"5289:270:21"},{"body":{"nodeType":"YulBlock","src":"5634:177:21","statements":[{"body":{"nodeType":"YulBlock","src":"5680:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5689:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5692:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5682:6:21"},"nodeType":"YulFunctionCall","src":"5682:12:21"},"nodeType":"YulExpressionStatement","src":"5682:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"5655:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"5664:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"5651:3:21"},"nodeType":"YulFunctionCall","src":"5651:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"5676:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"5647:3:21"},"nodeType":"YulFunctionCall","src":"5647:32:21"},"nodeType":"YulIf","src":"5644:52:21"},{"nodeType":"YulVariableDeclaration","src":"5705:36:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5731:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5718:12:21"},"nodeType":"YulFunctionCall","src":"5718:23:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"5709:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5775:5:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"5750:24:21"},"nodeType":"YulFunctionCall","src":"5750:31:21"},"nodeType":"YulExpressionStatement","src":"5750:31:21"},{"nodeType":"YulAssignment","src":"5790:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"5800:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"5790:6:21"}]}]},"name":"abi_decode_tuple_t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5600:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"5611:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"5623:6:21","type":""}],"src":"5564:247:21"},{"body":{"nodeType":"YulBlock","src":"5903:161:21","statements":[{"body":{"nodeType":"YulBlock","src":"5949:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5958:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5961:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5951:6:21"},"nodeType":"YulFunctionCall","src":"5951:12:21"},"nodeType":"YulExpressionStatement","src":"5951:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"5924:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"5933:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"5920:3:21"},"nodeType":"YulFunctionCall","src":"5920:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"5945:2:21","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"5916:3:21"},"nodeType":"YulFunctionCall","src":"5916:32:21"},"nodeType":"YulIf","src":"5913:52:21"},{"nodeType":"YulAssignment","src":"5974:33:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5997:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5984:12:21"},"nodeType":"YulFunctionCall","src":"5984:23:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"5974:6:21"}]},{"nodeType":"YulAssignment","src":"6016:42:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6043:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6054:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6039:3:21"},"nodeType":"YulFunctionCall","src":"6039:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6026:12:21"},"nodeType":"YulFunctionCall","src":"6026:32:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"6016:6:21"}]}]},"name":"abi_decode_tuple_t_bytes32t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5861:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"5872:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"5884:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"5892:6:21","type":""}],"src":"5816:248:21"},{"body":{"nodeType":"YulBlock","src":"6410:594:21","statements":[{"nodeType":"YulAssignment","src":"6420:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6432:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6443:3:21","type":"","value":"224"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6428:3:21"},"nodeType":"YulFunctionCall","src":"6428:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"6420:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6463:9:21"},{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"6484:6:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"6478:5:21"},"nodeType":"YulFunctionCall","src":"6478:13:21"},{"kind":"number","nodeType":"YulLiteral","src":"6493:26:21","type":"","value":"0xffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6474:3:21"},"nodeType":"YulFunctionCall","src":"6474:46:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6456:6:21"},"nodeType":"YulFunctionCall","src":"6456:65:21"},"nodeType":"YulExpressionStatement","src":"6456:65:21"},{"nodeType":"YulVariableDeclaration","src":"6530:44:21","value":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"6560:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"6568:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6556:3:21"},"nodeType":"YulFunctionCall","src":"6556:17:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"6550:5:21"},"nodeType":"YulFunctionCall","src":"6550:24:21"},"variables":[{"name":"memberValue0","nodeType":"YulTypedName","src":"6534:12:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"6583:52:21","value":{"kind":"number","nodeType":"YulLiteral","src":"6593:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"6587:2:21","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6655:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6666:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6651:3:21"},"nodeType":"YulFunctionCall","src":"6651:20:21"},{"arguments":[{"name":"memberValue0","nodeType":"YulIdentifier","src":"6677:12:21"},{"name":"_1","nodeType":"YulIdentifier","src":"6691:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6673:3:21"},"nodeType":"YulFunctionCall","src":"6673:21:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6644:6:21"},"nodeType":"YulFunctionCall","src":"6644:51:21"},"nodeType":"YulExpressionStatement","src":"6644:51:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6715:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6726:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6711:3:21"},"nodeType":"YulFunctionCall","src":"6711:18:21"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"6737:6:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"6731:5:21"},"nodeType":"YulFunctionCall","src":"6731:13:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6704:6:21"},"nodeType":"YulFunctionCall","src":"6704:41:21"},"nodeType":"YulExpressionStatement","src":"6704:41:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6765:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6776:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6761:3:21"},"nodeType":"YulFunctionCall","src":"6761:18:21"},{"arguments":[{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"6791:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"6799:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6787:3:21"},"nodeType":"YulFunctionCall","src":"6787:17:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"6781:5:21"},"nodeType":"YulFunctionCall","src":"6781:24:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6754:6:21"},"nodeType":"YulFunctionCall","src":"6754:52:21"},"nodeType":"YulExpressionStatement","src":"6754:52:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6826:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6837:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6822:3:21"},"nodeType":"YulFunctionCall","src":"6822:19:21"},{"arguments":[{"name":"value2","nodeType":"YulIdentifier","src":"6847:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"6855:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6843:3:21"},"nodeType":"YulFunctionCall","src":"6843:15:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6815:6:21"},"nodeType":"YulFunctionCall","src":"6815:44:21"},"nodeType":"YulExpressionStatement","src":"6815:44:21"},{"nodeType":"YulVariableDeclaration","src":"6868:24:21","value":{"kind":"number","nodeType":"YulLiteral","src":"6878:14:21","type":"","value":"0xffffffffffff"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"6872:2:21","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6912:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6923:3:21","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6908:3:21"},"nodeType":"YulFunctionCall","src":"6908:19:21"},{"arguments":[{"name":"value3","nodeType":"YulIdentifier","src":"6933:6:21"},{"name":"_2","nodeType":"YulIdentifier","src":"6941:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6929:3:21"},"nodeType":"YulFunctionCall","src":"6929:15:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6901:6:21"},"nodeType":"YulFunctionCall","src":"6901:44:21"},"nodeType":"YulExpressionStatement","src":"6901:44:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6965:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"6976:3:21","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6961:3:21"},"nodeType":"YulFunctionCall","src":"6961:19:21"},{"arguments":[{"name":"value4","nodeType":"YulIdentifier","src":"6986:6:21"},{"name":"_2","nodeType":"YulIdentifier","src":"6994:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6982:3:21"},"nodeType":"YulFunctionCall","src":"6982:15:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6954:6:21"},"nodeType":"YulFunctionCall","src":"6954:44:21"},"nodeType":"YulExpressionStatement","src":"6954:44:21"}]},"name":"abi_encode_tuple_t_struct$_ValueVariables_$4210_memory_ptr_t_struct$_RewardSummations_$4215_memory_ptr_t_uint160_t_uint48_t_uint48__to_t_struct$_ValueVariables_$4210_memory_ptr_t_struct$_RewardSummations_$4215_memory_ptr_t_uint160_t_uint48_t_uint48__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6347:9:21","type":""},{"name":"value4","nodeType":"YulTypedName","src":"6358:6:21","type":""},{"name":"value3","nodeType":"YulTypedName","src":"6366:6:21","type":""},{"name":"value2","nodeType":"YulTypedName","src":"6374:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"6382:6:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"6390:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"6401:4:21","type":""}],"src":"6069:935:21"},{"body":{"nodeType":"YulBlock","src":"7051:76:21","statements":[{"body":{"nodeType":"YulBlock","src":"7105:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7114:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7117:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"7107:6:21"},"nodeType":"YulFunctionCall","src":"7107:12:21"},"nodeType":"YulExpressionStatement","src":"7107:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"7074:5:21"},{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"7095:5:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"7088:6:21"},"nodeType":"YulFunctionCall","src":"7088:13:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"7081:6:21"},"nodeType":"YulFunctionCall","src":"7081:21:21"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"7071:2:21"},"nodeType":"YulFunctionCall","src":"7071:32:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"7064:6:21"},"nodeType":"YulFunctionCall","src":"7064:40:21"},"nodeType":"YulIf","src":"7061:60:21"}]},"name":"validator_revert_bool","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"7040:5:21","type":""}],"src":"7009:118:21"},{"body":{"nodeType":"YulBlock","src":"7216:298:21","statements":[{"body":{"nodeType":"YulBlock","src":"7262:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7271:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7274:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"7264:6:21"},"nodeType":"YulFunctionCall","src":"7264:12:21"},"nodeType":"YulExpressionStatement","src":"7264:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"7237:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"7246:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"7233:3:21"},"nodeType":"YulFunctionCall","src":"7233:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"7258:2:21","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"7229:3:21"},"nodeType":"YulFunctionCall","src":"7229:32:21"},"nodeType":"YulIf","src":"7226:52:21"},{"nodeType":"YulVariableDeclaration","src":"7287:36:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7313:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7300:12:21"},"nodeType":"YulFunctionCall","src":"7300:23:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"7291:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"7357:5:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7332:24:21"},"nodeType":"YulFunctionCall","src":"7332:31:21"},"nodeType":"YulExpressionStatement","src":"7332:31:21"},{"nodeType":"YulAssignment","src":"7372:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"7382:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"7372:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"7396:47:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7428:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"7439:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7424:3:21"},"nodeType":"YulFunctionCall","src":"7424:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7411:12:21"},"nodeType":"YulFunctionCall","src":"7411:32:21"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"7400:7:21","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"7474:7:21"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"7452:21:21"},"nodeType":"YulFunctionCall","src":"7452:30:21"},"nodeType":"YulExpressionStatement","src":"7452:30:21"},{"nodeType":"YulAssignment","src":"7491:17:21","value":{"name":"value_1","nodeType":"YulIdentifier","src":"7501:7:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"7491:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_bool","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"7174:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"7185:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"7197:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"7205:6:21","type":""}],"src":"7132:382:21"},{"body":{"nodeType":"YulBlock","src":"7551:152:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7568:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7571:77:21","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7561:6:21"},"nodeType":"YulFunctionCall","src":"7561:88:21"},"nodeType":"YulExpressionStatement","src":"7561:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7665:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"7668:4:21","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7658:6:21"},"nodeType":"YulFunctionCall","src":"7658:15:21"},"nodeType":"YulExpressionStatement","src":"7658:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7689:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7692:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"7682:6:21"},"nodeType":"YulFunctionCall","src":"7682:15:21"},"nodeType":"YulExpressionStatement","src":"7682:15:21"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"7519:184:21"},{"body":{"nodeType":"YulBlock","src":"7753:289:21","statements":[{"nodeType":"YulAssignment","src":"7763:19:21","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7779:2:21","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"7773:5:21"},"nodeType":"YulFunctionCall","src":"7773:9:21"},"variableNames":[{"name":"memPtr","nodeType":"YulIdentifier","src":"7763:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"7791:117:21","value":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"7813:6:21"},{"arguments":[{"arguments":[{"name":"size","nodeType":"YulIdentifier","src":"7829:4:21"},{"kind":"number","nodeType":"YulLiteral","src":"7835:2:21","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7825:3:21"},"nodeType":"YulFunctionCall","src":"7825:13:21"},{"kind":"number","nodeType":"YulLiteral","src":"7840:66:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"7821:3:21"},"nodeType":"YulFunctionCall","src":"7821:86:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7809:3:21"},"nodeType":"YulFunctionCall","src":"7809:99:21"},"variables":[{"name":"newFreePtr","nodeType":"YulTypedName","src":"7795:10:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"7983:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"7985:16:21"},"nodeType":"YulFunctionCall","src":"7985:18:21"},"nodeType":"YulExpressionStatement","src":"7985:18:21"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"7926:10:21"},{"kind":"number","nodeType":"YulLiteral","src":"7938:18:21","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"7923:2:21"},"nodeType":"YulFunctionCall","src":"7923:34:21"},{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"7962:10:21"},{"name":"memPtr","nodeType":"YulIdentifier","src":"7974:6:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"7959:2:21"},"nodeType":"YulFunctionCall","src":"7959:22:21"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"7920:2:21"},"nodeType":"YulFunctionCall","src":"7920:62:21"},"nodeType":"YulIf","src":"7917:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8021:2:21","type":"","value":"64"},{"name":"newFreePtr","nodeType":"YulIdentifier","src":"8025:10:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8014:6:21"},"nodeType":"YulFunctionCall","src":"8014:22:21"},"nodeType":"YulExpressionStatement","src":"8014:22:21"}]},"name":"allocate_memory","nodeType":"YulFunctionDefinition","parameters":[{"name":"size","nodeType":"YulTypedName","src":"7733:4:21","type":""}],"returnVariables":[{"name":"memPtr","nodeType":"YulTypedName","src":"7742:6:21","type":""}],"src":"7708:334:21"},{"body":{"nodeType":"YulBlock","src":"8104:188:21","statements":[{"body":{"nodeType":"YulBlock","src":"8148:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"8150:16:21"},"nodeType":"YulFunctionCall","src":"8150:18:21"},"nodeType":"YulExpressionStatement","src":"8150:18:21"}]},"condition":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"8120:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"8128:18:21","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"8117:2:21"},"nodeType":"YulFunctionCall","src":"8117:30:21"},"nodeType":"YulIf","src":"8114:56:21"},{"nodeType":"YulAssignment","src":"8179:107:21","value":{"arguments":[{"arguments":[{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"8199:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"8207:2:21","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8195:3:21"},"nodeType":"YulFunctionCall","src":"8195:15:21"},{"kind":"number","nodeType":"YulLiteral","src":"8212:66:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"8191:3:21"},"nodeType":"YulFunctionCall","src":"8191:88:21"},{"kind":"number","nodeType":"YulLiteral","src":"8281:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8187:3:21"},"nodeType":"YulFunctionCall","src":"8187:99:21"},"variableNames":[{"name":"size","nodeType":"YulIdentifier","src":"8179:4:21"}]}]},"name":"array_allocation_size_bytes","nodeType":"YulFunctionDefinition","parameters":[{"name":"length","nodeType":"YulTypedName","src":"8084:6:21","type":""}],"returnVariables":[{"name":"size","nodeType":"YulTypedName","src":"8095:4:21","type":""}],"src":"8047:245:21"},{"body":{"nodeType":"YulBlock","src":"8427:886:21","statements":[{"body":{"nodeType":"YulBlock","src":"8474:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8483:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"8486:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"8476:6:21"},"nodeType":"YulFunctionCall","src":"8476:12:21"},"nodeType":"YulExpressionStatement","src":"8476:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"8448:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"8457:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"8444:3:21"},"nodeType":"YulFunctionCall","src":"8444:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"8469:3:21","type":"","value":"128"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"8440:3:21"},"nodeType":"YulFunctionCall","src":"8440:33:21"},"nodeType":"YulIf","src":"8437:53:21"},{"nodeType":"YulVariableDeclaration","src":"8499:36:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8525:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8512:12:21"},"nodeType":"YulFunctionCall","src":"8512:23:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"8503:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"8569:5:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"8544:24:21"},"nodeType":"YulFunctionCall","src":"8544:31:21"},"nodeType":"YulExpressionStatement","src":"8544:31:21"},{"nodeType":"YulAssignment","src":"8584:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"8594:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"8584:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"8608:47:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8640:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8651:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8636:3:21"},"nodeType":"YulFunctionCall","src":"8636:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8623:12:21"},"nodeType":"YulFunctionCall","src":"8623:32:21"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"8612:7:21","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"8689:7:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"8664:24:21"},"nodeType":"YulFunctionCall","src":"8664:33:21"},"nodeType":"YulExpressionStatement","src":"8664:33:21"},{"nodeType":"YulAssignment","src":"8706:17:21","value":{"name":"value_1","nodeType":"YulIdentifier","src":"8716:7:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"8706:6:21"}]},{"nodeType":"YulAssignment","src":"8732:42:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8759:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8770:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8755:3:21"},"nodeType":"YulFunctionCall","src":"8755:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8742:12:21"},"nodeType":"YulFunctionCall","src":"8742:32:21"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"8732:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"8783:46:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8814:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"8825:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8810:3:21"},"nodeType":"YulFunctionCall","src":"8810:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8797:12:21"},"nodeType":"YulFunctionCall","src":"8797:32:21"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"8787:6:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"8872:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8881:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"8884:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"8874:6:21"},"nodeType":"YulFunctionCall","src":"8874:12:21"},"nodeType":"YulExpressionStatement","src":"8874:12:21"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"8844:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"8852:18:21","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"8841:2:21"},"nodeType":"YulFunctionCall","src":"8841:30:21"},"nodeType":"YulIf","src":"8838:50:21"},{"nodeType":"YulVariableDeclaration","src":"8897:32:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8911:9:21"},{"name":"offset","nodeType":"YulIdentifier","src":"8922:6:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8907:3:21"},"nodeType":"YulFunctionCall","src":"8907:22:21"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"8901:2:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"8977:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8986:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"8989:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"8979:6:21"},"nodeType":"YulFunctionCall","src":"8979:12:21"},"nodeType":"YulExpressionStatement","src":"8979:12:21"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"8956:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"8960:4:21","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8952:3:21"},"nodeType":"YulFunctionCall","src":"8952:13:21"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"8967:7:21"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"8948:3:21"},"nodeType":"YulFunctionCall","src":"8948:27:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"8941:6:21"},"nodeType":"YulFunctionCall","src":"8941:35:21"},"nodeType":"YulIf","src":"8938:55:21"},{"nodeType":"YulVariableDeclaration","src":"9002:26:21","value":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"9025:2:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9012:12:21"},"nodeType":"YulFunctionCall","src":"9012:16:21"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"9006:2:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"9037:61:21","value":{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"9094:2:21"}],"functionName":{"name":"array_allocation_size_bytes","nodeType":"YulIdentifier","src":"9066:27:21"},"nodeType":"YulFunctionCall","src":"9066:31:21"}],"functionName":{"name":"allocate_memory","nodeType":"YulIdentifier","src":"9050:15:21"},"nodeType":"YulFunctionCall","src":"9050:48:21"},"variables":[{"name":"array","nodeType":"YulTypedName","src":"9041:5:21","type":""}]},{"expression":{"arguments":[{"name":"array","nodeType":"YulIdentifier","src":"9114:5:21"},{"name":"_2","nodeType":"YulIdentifier","src":"9121:2:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9107:6:21"},"nodeType":"YulFunctionCall","src":"9107:17:21"},"nodeType":"YulExpressionStatement","src":"9107:17:21"},{"body":{"nodeType":"YulBlock","src":"9170:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9179:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9182:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9172:6:21"},"nodeType":"YulFunctionCall","src":"9172:12:21"},"nodeType":"YulExpressionStatement","src":"9172:12:21"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"9147:2:21"},{"name":"_2","nodeType":"YulIdentifier","src":"9151:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9143:3:21"},"nodeType":"YulFunctionCall","src":"9143:11:21"},{"kind":"number","nodeType":"YulLiteral","src":"9156:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9139:3:21"},"nodeType":"YulFunctionCall","src":"9139:20:21"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"9161:7:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"9136:2:21"},"nodeType":"YulFunctionCall","src":"9136:33:21"},"nodeType":"YulIf","src":"9133:53:21"},{"expression":{"arguments":[{"arguments":[{"name":"array","nodeType":"YulIdentifier","src":"9212:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"9219:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9208:3:21"},"nodeType":"YulFunctionCall","src":"9208:14:21"},{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"9228:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"9232:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9224:3:21"},"nodeType":"YulFunctionCall","src":"9224:11:21"},{"name":"_2","nodeType":"YulIdentifier","src":"9237:2:21"}],"functionName":{"name":"calldatacopy","nodeType":"YulIdentifier","src":"9195:12:21"},"nodeType":"YulFunctionCall","src":"9195:45:21"},"nodeType":"YulExpressionStatement","src":"9195:45:21"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"array","nodeType":"YulIdentifier","src":"9264:5:21"},{"name":"_2","nodeType":"YulIdentifier","src":"9271:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9260:3:21"},"nodeType":"YulFunctionCall","src":"9260:14:21"},{"kind":"number","nodeType":"YulLiteral","src":"9276:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9256:3:21"},"nodeType":"YulFunctionCall","src":"9256:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"9281:1:21","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9249:6:21"},"nodeType":"YulFunctionCall","src":"9249:34:21"},"nodeType":"YulExpressionStatement","src":"9249:34:21"},{"nodeType":"YulAssignment","src":"9292:15:21","value":{"name":"array","nodeType":"YulIdentifier","src":"9302:5:21"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"9292:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"8369:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"8380:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"8392:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"8400:6:21","type":""},{"name":"value2","nodeType":"YulTypedName","src":"8408:6:21","type":""},{"name":"value3","nodeType":"YulTypedName","src":"8416:6:21","type":""}],"src":"8297:1016:21"},{"body":{"nodeType":"YulBlock","src":"9417:95:21","statements":[{"nodeType":"YulAssignment","src":"9427:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9439:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"9450:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9435:3:21"},"nodeType":"YulFunctionCall","src":"9435:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"9427:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9469:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"9484:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"9492:12:21","type":"","value":"0xffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"9480:3:21"},"nodeType":"YulFunctionCall","src":"9480:25:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9462:6:21"},"nodeType":"YulFunctionCall","src":"9462:44:21"},"nodeType":"YulExpressionStatement","src":"9462:44:21"}]},"name":"abi_encode_tuple_t_uint40__to_t_uint40__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"9386:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"9397:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"9408:4:21","type":""}],"src":"9318:194:21"},{"body":{"nodeType":"YulBlock","src":"9621:279:21","statements":[{"body":{"nodeType":"YulBlock","src":"9667:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9676:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9679:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9669:6:21"},"nodeType":"YulFunctionCall","src":"9669:12:21"},"nodeType":"YulExpressionStatement","src":"9669:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"9642:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"9651:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"9638:3:21"},"nodeType":"YulFunctionCall","src":"9638:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"9663:2:21","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"9634:3:21"},"nodeType":"YulFunctionCall","src":"9634:32:21"},"nodeType":"YulIf","src":"9631:52:21"},{"nodeType":"YulVariableDeclaration","src":"9692:36:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9718:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9705:12:21"},"nodeType":"YulFunctionCall","src":"9705:23:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"9696:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"9762:5:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"9737:24:21"},"nodeType":"YulFunctionCall","src":"9737:31:21"},"nodeType":"YulExpressionStatement","src":"9737:31:21"},{"nodeType":"YulAssignment","src":"9777:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"9787:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"9777:6:21"}]},{"nodeType":"YulAssignment","src":"9801:42:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9828:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"9839:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9824:3:21"},"nodeType":"YulFunctionCall","src":"9824:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9811:12:21"},"nodeType":"YulFunctionCall","src":"9811:32:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"9801:6:21"}]},{"nodeType":"YulAssignment","src":"9852:42:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9879:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"9890:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9875:3:21"},"nodeType":"YulFunctionCall","src":"9875:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9862:12:21"},"nodeType":"YulFunctionCall","src":"9862:32:21"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"9852:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_uint256t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"9571:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"9582:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"9594:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"9602:6:21","type":""},{"name":"value2","nodeType":"YulTypedName","src":"9610:6:21","type":""}],"src":"9517:383:21"},{"body":{"nodeType":"YulBlock","src":"10056:481:21","statements":[{"nodeType":"YulVariableDeclaration","src":"10066:12:21","value":{"kind":"number","nodeType":"YulLiteral","src":"10076:2:21","type":"","value":"32"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"10070:2:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10087:32:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10105:9:21"},{"name":"_1","nodeType":"YulIdentifier","src":"10116:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10101:3:21"},"nodeType":"YulFunctionCall","src":"10101:18:21"},"variables":[{"name":"tail_1","nodeType":"YulTypedName","src":"10091:6:21","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10135:9:21"},{"name":"_1","nodeType":"YulIdentifier","src":"10146:2:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10128:6:21"},"nodeType":"YulFunctionCall","src":"10128:21:21"},"nodeType":"YulExpressionStatement","src":"10128:21:21"},{"nodeType":"YulVariableDeclaration","src":"10158:17:21","value":{"name":"tail_1","nodeType":"YulIdentifier","src":"10169:6:21"},"variables":[{"name":"pos","nodeType":"YulTypedName","src":"10162:3:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10184:27:21","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10204:6:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"10198:5:21"},"nodeType":"YulFunctionCall","src":"10198:13:21"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"10188:6:21","type":""}]},{"expression":{"arguments":[{"name":"tail_1","nodeType":"YulIdentifier","src":"10227:6:21"},{"name":"length","nodeType":"YulIdentifier","src":"10235:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10220:6:21"},"nodeType":"YulFunctionCall","src":"10220:22:21"},"nodeType":"YulExpressionStatement","src":"10220:22:21"},{"nodeType":"YulAssignment","src":"10251:25:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10262:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"10273:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10258:3:21"},"nodeType":"YulFunctionCall","src":"10258:18:21"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"10251:3:21"}]},{"nodeType":"YulVariableDeclaration","src":"10285:29:21","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10303:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"10311:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10299:3:21"},"nodeType":"YulFunctionCall","src":"10299:15:21"},"variables":[{"name":"srcPtr","nodeType":"YulTypedName","src":"10289:6:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10323:10:21","value":{"kind":"number","nodeType":"YulLiteral","src":"10332:1:21","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"10327:1:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"10391:120:21","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"10412:3:21"},{"arguments":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"10423:6:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"10417:5:21"},"nodeType":"YulFunctionCall","src":"10417:13:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10405:6:21"},"nodeType":"YulFunctionCall","src":"10405:26:21"},"nodeType":"YulExpressionStatement","src":"10405:26:21"},{"nodeType":"YulAssignment","src":"10444:19:21","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"10455:3:21"},{"name":"_1","nodeType":"YulIdentifier","src":"10460:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10451:3:21"},"nodeType":"YulFunctionCall","src":"10451:12:21"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"10444:3:21"}]},{"nodeType":"YulAssignment","src":"10476:25:21","value":{"arguments":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"10490:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"10498:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10486:3:21"},"nodeType":"YulFunctionCall","src":"10486:15:21"},"variableNames":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"10476:6:21"}]}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"10353:1:21"},{"name":"length","nodeType":"YulIdentifier","src":"10356:6:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"10350:2:21"},"nodeType":"YulFunctionCall","src":"10350:13:21"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"10364:18:21","statements":[{"nodeType":"YulAssignment","src":"10366:14:21","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"10375:1:21"},{"kind":"number","nodeType":"YulLiteral","src":"10378:1:21","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10371:3:21"},"nodeType":"YulFunctionCall","src":"10371:9:21"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"10366:1:21"}]}]},"pre":{"nodeType":"YulBlock","src":"10346:3:21","statements":[]},"src":"10342:169:21"},{"nodeType":"YulAssignment","src":"10520:11:21","value":{"name":"pos","nodeType":"YulIdentifier","src":"10528:3:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"10520:4:21"}]}]},"name":"abi_encode_tuple_t_array$_t_uint256_$dyn_memory_ptr__to_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10025:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"10036:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"10047:4:21","type":""}],"src":"9905:632:21"},{"body":{"nodeType":"YulBlock","src":"10657:125:21","statements":[{"nodeType":"YulAssignment","src":"10667:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10679:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"10690:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10675:3:21"},"nodeType":"YulFunctionCall","src":"10675:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"10667:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10709:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10724:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"10732:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"10720:3:21"},"nodeType":"YulFunctionCall","src":"10720:55:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10702:6:21"},"nodeType":"YulFunctionCall","src":"10702:74:21"},"nodeType":"YulExpressionStatement","src":"10702:74:21"}]},"name":"abi_encode_tuple_t_contract$_IERC20_$616__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10626:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"10637:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"10648:4:21","type":""}],"src":"10542:240:21"},{"body":{"nodeType":"YulBlock","src":"10914:201:21","statements":[{"nodeType":"YulAssignment","src":"10924:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10936:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"10947:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10932:3:21"},"nodeType":"YulFunctionCall","src":"10932:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"10924:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10966:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10981:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"10989:26:21","type":"","value":"0xffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"10977:3:21"},"nodeType":"YulFunctionCall","src":"10977:39:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10959:6:21"},"nodeType":"YulFunctionCall","src":"10959:58:21"},"nodeType":"YulExpressionStatement","src":"10959:58:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11037:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"11048:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11033:3:21"},"nodeType":"YulFunctionCall","src":"11033:18:21"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"11057:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"11065:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"11053:3:21"},"nodeType":"YulFunctionCall","src":"11053:55:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11026:6:21"},"nodeType":"YulFunctionCall","src":"11026:83:21"},"nodeType":"YulExpressionStatement","src":"11026:83:21"}]},"name":"abi_encode_tuple_t_uint96_t_uint160__to_t_uint96_t_uint160__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10875:9:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"10886:6:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"10894:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"10905:4:21","type":""}],"src":"10787:328:21"},{"body":{"nodeType":"YulBlock","src":"11207:301:21","statements":[{"body":{"nodeType":"YulBlock","src":"11253:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"11262:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"11265:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"11255:6:21"},"nodeType":"YulFunctionCall","src":"11255:12:21"},"nodeType":"YulExpressionStatement","src":"11255:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"11228:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"11237:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"11224:3:21"},"nodeType":"YulFunctionCall","src":"11224:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"11249:2:21","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"11220:3:21"},"nodeType":"YulFunctionCall","src":"11220:32:21"},"nodeType":"YulIf","src":"11217:52:21"},{"nodeType":"YulVariableDeclaration","src":"11278:36:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11304:9:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11291:12:21"},"nodeType":"YulFunctionCall","src":"11291:23:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"11282:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"11348:5:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"11323:24:21"},"nodeType":"YulFunctionCall","src":"11323:31:21"},"nodeType":"YulExpressionStatement","src":"11323:31:21"},{"nodeType":"YulAssignment","src":"11363:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"11373:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"11363:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"11387:47:21","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11419:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"11430:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11415:3:21"},"nodeType":"YulFunctionCall","src":"11415:18:21"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11402:12:21"},"nodeType":"YulFunctionCall","src":"11402:32:21"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"11391:7:21","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"11468:7:21"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"11443:24:21"},"nodeType":"YulFunctionCall","src":"11443:33:21"},"nodeType":"YulExpressionStatement","src":"11443:33:21"},{"nodeType":"YulAssignment","src":"11485:17:21","value":{"name":"value_1","nodeType":"YulIdentifier","src":"11495:7:21"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"11485:6:21"}]}]},"name":"abi_decode_tuple_t_addresst_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11165:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"11176:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"11188:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"11196:6:21","type":""}],"src":"11120:388:21"},{"body":{"nodeType":"YulBlock","src":"11637:125:21","statements":[{"nodeType":"YulAssignment","src":"11647:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11659:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"11670:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11655:3:21"},"nodeType":"YulFunctionCall","src":"11655:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"11647:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11689:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"11704:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"11712:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"11700:3:21"},"nodeType":"YulFunctionCall","src":"11700:55:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11682:6:21"},"nodeType":"YulFunctionCall","src":"11682:74:21"},"nodeType":"YulExpressionStatement","src":"11682:74:21"}]},"name":"abi_encode_tuple_t_contract$_ITokenMetadata_$4200__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11606:9:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"11617:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"11628:4:21","type":""}],"src":"11513:249:21"},{"body":{"nodeType":"YulBlock","src":"11896:119:21","statements":[{"nodeType":"YulAssignment","src":"11906:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11918:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"11929:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11914:3:21"},"nodeType":"YulFunctionCall","src":"11914:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"11906:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11948:9:21"},{"name":"value0","nodeType":"YulIdentifier","src":"11959:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11941:6:21"},"nodeType":"YulFunctionCall","src":"11941:25:21"},"nodeType":"YulExpressionStatement","src":"11941:25:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11986:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"11997:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11982:3:21"},"nodeType":"YulFunctionCall","src":"11982:18:21"},{"name":"value1","nodeType":"YulIdentifier","src":"12002:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11975:6:21"},"nodeType":"YulFunctionCall","src":"11975:34:21"},"nodeType":"YulExpressionStatement","src":"11975:34:21"}]},"name":"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11857:9:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"11868:6:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"11876:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"11887:4:21","type":""}],"src":"11767:248:21"},{"body":{"nodeType":"YulBlock","src":"12075:382:21","statements":[{"nodeType":"YulAssignment","src":"12085:22:21","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12099:1:21","type":"","value":"1"},{"name":"data","nodeType":"YulIdentifier","src":"12102:4:21"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"12095:3:21"},"nodeType":"YulFunctionCall","src":"12095:12:21"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"12085:6:21"}]},{"nodeType":"YulVariableDeclaration","src":"12116:38:21","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"12146:4:21"},{"kind":"number","nodeType":"YulLiteral","src":"12152:1:21","type":"","value":"1"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"12142:3:21"},"nodeType":"YulFunctionCall","src":"12142:12:21"},"variables":[{"name":"outOfPlaceEncoding","nodeType":"YulTypedName","src":"12120:18:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"12193:31:21","statements":[{"nodeType":"YulAssignment","src":"12195:27:21","value":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"12209:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"12217:4:21","type":"","value":"0x7f"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"12205:3:21"},"nodeType":"YulFunctionCall","src":"12205:17:21"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"12195:6:21"}]}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"12173:18:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"12166:6:21"},"nodeType":"YulFunctionCall","src":"12166:26:21"},"nodeType":"YulIf","src":"12163:61:21"},{"body":{"nodeType":"YulBlock","src":"12283:168:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12304:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"12307:77:21","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12297:6:21"},"nodeType":"YulFunctionCall","src":"12297:88:21"},"nodeType":"YulExpressionStatement","src":"12297:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12405:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"12408:4:21","type":"","value":"0x22"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12398:6:21"},"nodeType":"YulFunctionCall","src":"12398:15:21"},"nodeType":"YulExpressionStatement","src":"12398:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12433:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"12436:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"12426:6:21"},"nodeType":"YulFunctionCall","src":"12426:15:21"},"nodeType":"YulExpressionStatement","src":"12426:15:21"}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"12239:18:21"},{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"12262:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"12270:2:21","type":"","value":"32"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"12259:2:21"},"nodeType":"YulFunctionCall","src":"12259:14:21"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"12236:2:21"},"nodeType":"YulFunctionCall","src":"12236:38:21"},"nodeType":"YulIf","src":"12233:218:21"}]},"name":"extract_byte_array_length","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"12055:4:21","type":""}],"returnVariables":[{"name":"length","nodeType":"YulTypedName","src":"12064:6:21","type":""}],"src":"12020:437:21"},{"body":{"nodeType":"YulBlock","src":"12636:223:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12653:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"12664:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12646:6:21"},"nodeType":"YulFunctionCall","src":"12646:21:21"},"nodeType":"YulExpressionStatement","src":"12646:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12687:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"12698:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12683:3:21"},"nodeType":"YulFunctionCall","src":"12683:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"12703:2:21","type":"","value":"33"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12676:6:21"},"nodeType":"YulFunctionCall","src":"12676:30:21"},"nodeType":"YulExpressionStatement","src":"12676:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12726:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"12737:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12722:3:21"},"nodeType":"YulFunctionCall","src":"12722:18:21"},{"hexValue":"4552433732313a20617070726f76616c20746f2063757272656e74206f776e65","kind":"string","nodeType":"YulLiteral","src":"12742:34:21","type":"","value":"ERC721: approval to current owne"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12715:6:21"},"nodeType":"YulFunctionCall","src":"12715:62:21"},"nodeType":"YulExpressionStatement","src":"12715:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12797:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"12808:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12793:3:21"},"nodeType":"YulFunctionCall","src":"12793:18:21"},{"hexValue":"72","kind":"string","nodeType":"YulLiteral","src":"12813:3:21","type":"","value":"r"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12786:6:21"},"nodeType":"YulFunctionCall","src":"12786:31:21"},"nodeType":"YulExpressionStatement","src":"12786:31:21"},{"nodeType":"YulAssignment","src":"12826:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12838:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"12849:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12834:3:21"},"nodeType":"YulFunctionCall","src":"12834:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"12826:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"12613:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"12627:4:21","type":""}],"src":"12462:397:21"},{"body":{"nodeType":"YulBlock","src":"13038:251:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13055:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13066:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13048:6:21"},"nodeType":"YulFunctionCall","src":"13048:21:21"},"nodeType":"YulExpressionStatement","src":"13048:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13089:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13100:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13085:3:21"},"nodeType":"YulFunctionCall","src":"13085:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"13105:2:21","type":"","value":"61"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13078:6:21"},"nodeType":"YulFunctionCall","src":"13078:30:21"},"nodeType":"YulExpressionStatement","src":"13078:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13128:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13139:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13124:3:21"},"nodeType":"YulFunctionCall","src":"13124:18:21"},{"hexValue":"4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f","kind":"string","nodeType":"YulLiteral","src":"13144:34:21","type":"","value":"ERC721: approve caller is not to"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13117:6:21"},"nodeType":"YulFunctionCall","src":"13117:62:21"},"nodeType":"YulExpressionStatement","src":"13117:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13199:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13210:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13195:3:21"},"nodeType":"YulFunctionCall","src":"13195:18:21"},{"hexValue":"6b656e206f776e6572206f7220617070726f76656420666f7220616c6c","kind":"string","nodeType":"YulLiteral","src":"13215:31:21","type":"","value":"ken owner or approved for all"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13188:6:21"},"nodeType":"YulFunctionCall","src":"13188:59:21"},"nodeType":"YulExpressionStatement","src":"13188:59:21"},{"nodeType":"YulAssignment","src":"13256:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13268:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13279:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13264:3:21"},"nodeType":"YulFunctionCall","src":"13264:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"13256:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_c6e14a63ffb144eeef7cce6988e5dce07c60a7e0a7b1ef25dbe18c61483e0a83__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"13015:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"13029:4:21","type":""}],"src":"12864:425:21"},{"body":{"nodeType":"YulBlock","src":"13468:235:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13485:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13496:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13478:6:21"},"nodeType":"YulFunctionCall","src":"13478:21:21"},"nodeType":"YulExpressionStatement","src":"13478:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13519:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13530:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13515:3:21"},"nodeType":"YulFunctionCall","src":"13515:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"13535:2:21","type":"","value":"45"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13508:6:21"},"nodeType":"YulFunctionCall","src":"13508:30:21"},"nodeType":"YulExpressionStatement","src":"13508:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13558:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13569:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13554:3:21"},"nodeType":"YulFunctionCall","src":"13554:18:21"},{"hexValue":"4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e65","kind":"string","nodeType":"YulLiteral","src":"13574:34:21","type":"","value":"ERC721: caller is not token owne"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13547:6:21"},"nodeType":"YulFunctionCall","src":"13547:62:21"},"nodeType":"YulExpressionStatement","src":"13547:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13629:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13640:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13625:3:21"},"nodeType":"YulFunctionCall","src":"13625:18:21"},{"hexValue":"72206f7220617070726f766564","kind":"string","nodeType":"YulLiteral","src":"13645:15:21","type":"","value":"r or approved"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13618:6:21"},"nodeType":"YulFunctionCall","src":"13618:43:21"},"nodeType":"YulExpressionStatement","src":"13618:43:21"},{"nodeType":"YulAssignment","src":"13670:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13682:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13693:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13678:3:21"},"nodeType":"YulFunctionCall","src":"13678:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"13670:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"13445:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"13459:4:21","type":""}],"src":"13294:409:21"},{"body":{"nodeType":"YulBlock","src":"13882:233:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13899:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13910:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13892:6:21"},"nodeType":"YulFunctionCall","src":"13892:21:21"},"nodeType":"YulExpressionStatement","src":"13892:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13933:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13944:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13929:3:21"},"nodeType":"YulFunctionCall","src":"13929:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"13949:2:21","type":"","value":"43"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13922:6:21"},"nodeType":"YulFunctionCall","src":"13922:30:21"},"nodeType":"YulExpressionStatement","src":"13922:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13972:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"13983:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13968:3:21"},"nodeType":"YulFunctionCall","src":"13968:18:21"},{"hexValue":"455243373231456e756d657261626c653a206f776e657220696e646578206f75","kind":"string","nodeType":"YulLiteral","src":"13988:34:21","type":"","value":"ERC721Enumerable: owner index ou"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13961:6:21"},"nodeType":"YulFunctionCall","src":"13961:62:21"},"nodeType":"YulExpressionStatement","src":"13961:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14043:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"14054:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14039:3:21"},"nodeType":"YulFunctionCall","src":"14039:18:21"},{"hexValue":"74206f6620626f756e6473","kind":"string","nodeType":"YulLiteral","src":"14059:13:21","type":"","value":"t of bounds"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14032:6:21"},"nodeType":"YulFunctionCall","src":"14032:41:21"},"nodeType":"YulExpressionStatement","src":"14032:41:21"},{"nodeType":"YulAssignment","src":"14082:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14094:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"14105:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14090:3:21"},"nodeType":"YulFunctionCall","src":"14090:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"14082:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_1d7f5dcf03a65f41ee49b0ab593e3851cfbe3fd7da53b6cf4eddd83c7df5734c__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"13859:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"13873:4:21","type":""}],"src":"13708:407:21"},{"body":{"nodeType":"YulBlock","src":"14294:237:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14311:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"14322:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14304:6:21"},"nodeType":"YulFunctionCall","src":"14304:21:21"},"nodeType":"YulExpressionStatement","src":"14304:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14345:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"14356:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14341:3:21"},"nodeType":"YulFunctionCall","src":"14341:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"14361:2:21","type":"","value":"47"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14334:6:21"},"nodeType":"YulFunctionCall","src":"14334:30:21"},"nodeType":"YulExpressionStatement","src":"14334:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14384:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"14395:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14380:3:21"},"nodeType":"YulFunctionCall","src":"14380:18:21"},{"hexValue":"416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e6365","kind":"string","nodeType":"YulLiteral","src":"14400:34:21","type":"","value":"AccessControl: can only renounce"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14373:6:21"},"nodeType":"YulFunctionCall","src":"14373:62:21"},"nodeType":"YulExpressionStatement","src":"14373:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14455:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"14466:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14451:3:21"},"nodeType":"YulFunctionCall","src":"14451:18:21"},{"hexValue":"20726f6c657320666f722073656c66","kind":"string","nodeType":"YulLiteral","src":"14471:17:21","type":"","value":" roles for self"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14444:6:21"},"nodeType":"YulFunctionCall","src":"14444:45:21"},"nodeType":"YulExpressionStatement","src":"14444:45:21"},{"nodeType":"YulAssignment","src":"14498:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14510:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"14521:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14506:3:21"},"nodeType":"YulFunctionCall","src":"14506:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"14498:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"14271:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"14285:4:21","type":""}],"src":"14120:411:21"},{"body":{"nodeType":"YulBlock","src":"14568:152:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14585:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"14588:77:21","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14578:6:21"},"nodeType":"YulFunctionCall","src":"14578:88:21"},"nodeType":"YulExpressionStatement","src":"14578:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14682:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"14685:4:21","type":"","value":"0x11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14675:6:21"},"nodeType":"YulFunctionCall","src":"14675:15:21"},"nodeType":"YulExpressionStatement","src":"14675:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14706:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"14709:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"14699:6:21"},"nodeType":"YulFunctionCall","src":"14699:15:21"},"nodeType":"YulExpressionStatement","src":"14699:15:21"}]},"name":"panic_error_0x11","nodeType":"YulFunctionDefinition","src":"14536:184:21"},{"body":{"nodeType":"YulBlock","src":"14777:176:21","statements":[{"body":{"nodeType":"YulBlock","src":"14896:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"14898:16:21"},"nodeType":"YulFunctionCall","src":"14898:18:21"},"nodeType":"YulExpressionStatement","src":"14898:18:21"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"14808:1:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"14801:6:21"},"nodeType":"YulFunctionCall","src":"14801:9:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"14794:6:21"},"nodeType":"YulFunctionCall","src":"14794:17:21"},{"arguments":[{"name":"y","nodeType":"YulIdentifier","src":"14816:1:21"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14823:66:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},{"name":"x","nodeType":"YulIdentifier","src":"14891:1:21"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"14819:3:21"},"nodeType":"YulFunctionCall","src":"14819:74:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"14813:2:21"},"nodeType":"YulFunctionCall","src":"14813:81:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"14790:3:21"},"nodeType":"YulFunctionCall","src":"14790:105:21"},"nodeType":"YulIf","src":"14787:131:21"},{"nodeType":"YulAssignment","src":"14927:20:21","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"14942:1:21"},{"name":"y","nodeType":"YulIdentifier","src":"14945:1:21"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"14938:3:21"},"nodeType":"YulFunctionCall","src":"14938:9:21"},"variableNames":[{"name":"product","nodeType":"YulIdentifier","src":"14927:7:21"}]}]},"name":"checked_mul_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"14756:1:21","type":""},{"name":"y","nodeType":"YulTypedName","src":"14759:1:21","type":""}],"returnVariables":[{"name":"product","nodeType":"YulTypedName","src":"14765:7:21","type":""}],"src":"14725:228:21"},{"body":{"nodeType":"YulBlock","src":"15004:228:21","statements":[{"body":{"nodeType":"YulBlock","src":"15035:168:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15056:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"15059:77:21","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15049:6:21"},"nodeType":"YulFunctionCall","src":"15049:88:21"},"nodeType":"YulExpressionStatement","src":"15049:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15157:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"15160:4:21","type":"","value":"0x12"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15150:6:21"},"nodeType":"YulFunctionCall","src":"15150:15:21"},"nodeType":"YulExpressionStatement","src":"15150:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15185:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"15188:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"15178:6:21"},"nodeType":"YulFunctionCall","src":"15178:15:21"},"nodeType":"YulExpressionStatement","src":"15178:15:21"}]},"condition":{"arguments":[{"name":"y","nodeType":"YulIdentifier","src":"15024:1:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"15017:6:21"},"nodeType":"YulFunctionCall","src":"15017:9:21"},"nodeType":"YulIf","src":"15014:189:21"},{"nodeType":"YulAssignment","src":"15212:14:21","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"15221:1:21"},{"name":"y","nodeType":"YulIdentifier","src":"15224:1:21"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"15217:3:21"},"nodeType":"YulFunctionCall","src":"15217:9:21"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"15212:1:21"}]}]},"name":"checked_div_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"14989:1:21","type":""},{"name":"y","nodeType":"YulTypedName","src":"14992:1:21","type":""}],"returnVariables":[{"name":"r","nodeType":"YulTypedName","src":"14998:1:21","type":""}],"src":"14958:274:21"},{"body":{"nodeType":"YulBlock","src":"15411:234:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15428:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"15439:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15421:6:21"},"nodeType":"YulFunctionCall","src":"15421:21:21"},"nodeType":"YulExpressionStatement","src":"15421:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15462:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"15473:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15458:3:21"},"nodeType":"YulFunctionCall","src":"15458:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"15478:2:21","type":"","value":"44"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15451:6:21"},"nodeType":"YulFunctionCall","src":"15451:30:21"},"nodeType":"YulExpressionStatement","src":"15451:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15501:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"15512:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15497:3:21"},"nodeType":"YulFunctionCall","src":"15497:18:21"},{"hexValue":"455243373231456e756d657261626c653a20676c6f62616c20696e646578206f","kind":"string","nodeType":"YulLiteral","src":"15517:34:21","type":"","value":"ERC721Enumerable: global index o"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15490:6:21"},"nodeType":"YulFunctionCall","src":"15490:62:21"},"nodeType":"YulExpressionStatement","src":"15490:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15572:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"15583:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15568:3:21"},"nodeType":"YulFunctionCall","src":"15568:18:21"},{"hexValue":"7574206f6620626f756e6473","kind":"string","nodeType":"YulLiteral","src":"15588:14:21","type":"","value":"ut of bounds"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15561:6:21"},"nodeType":"YulFunctionCall","src":"15561:42:21"},"nodeType":"YulExpressionStatement","src":"15561:42:21"},{"nodeType":"YulAssignment","src":"15612:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15624:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"15635:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15620:3:21"},"nodeType":"YulFunctionCall","src":"15620:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"15612:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_d269a4e9f5820dcdb69ea21f528512eb9b927c8d846d48aa51c9219f461d4dcc__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"15388:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"15402:4:21","type":""}],"src":"15237:408:21"},{"body":{"nodeType":"YulBlock","src":"15682:152:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15699:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"15702:77:21","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15692:6:21"},"nodeType":"YulFunctionCall","src":"15692:88:21"},"nodeType":"YulExpressionStatement","src":"15692:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15796:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"15799:4:21","type":"","value":"0x32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15789:6:21"},"nodeType":"YulFunctionCall","src":"15789:15:21"},"nodeType":"YulExpressionStatement","src":"15789:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15820:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"15823:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"15813:6:21"},"nodeType":"YulFunctionCall","src":"15813:15:21"},"nodeType":"YulExpressionStatement","src":"15813:15:21"}]},"name":"panic_error_0x32","nodeType":"YulFunctionDefinition","src":"15650:184:21"},{"body":{"nodeType":"YulBlock","src":"16013:174:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16030:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"16041:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16023:6:21"},"nodeType":"YulFunctionCall","src":"16023:21:21"},"nodeType":"YulExpressionStatement","src":"16023:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16064:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"16075:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16060:3:21"},"nodeType":"YulFunctionCall","src":"16060:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"16080:2:21","type":"","value":"24"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16053:6:21"},"nodeType":"YulFunctionCall","src":"16053:30:21"},"nodeType":"YulExpressionStatement","src":"16053:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16103:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"16114:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16099:3:21"},"nodeType":"YulFunctionCall","src":"16099:18:21"},{"hexValue":"4552433732313a20696e76616c696420746f6b656e204944","kind":"string","nodeType":"YulLiteral","src":"16119:26:21","type":"","value":"ERC721: invalid token ID"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16092:6:21"},"nodeType":"YulFunctionCall","src":"16092:54:21"},"nodeType":"YulExpressionStatement","src":"16092:54:21"},{"nodeType":"YulAssignment","src":"16155:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16167:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"16178:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16163:3:21"},"nodeType":"YulFunctionCall","src":"16163:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"16155:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"15990:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"16004:4:21","type":""}],"src":"15839:348:21"},{"body":{"nodeType":"YulBlock","src":"16366:231:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16383:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"16394:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16376:6:21"},"nodeType":"YulFunctionCall","src":"16376:21:21"},"nodeType":"YulExpressionStatement","src":"16376:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16417:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"16428:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16413:3:21"},"nodeType":"YulFunctionCall","src":"16413:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"16433:2:21","type":"","value":"41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16406:6:21"},"nodeType":"YulFunctionCall","src":"16406:30:21"},"nodeType":"YulExpressionStatement","src":"16406:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16456:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"16467:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16452:3:21"},"nodeType":"YulFunctionCall","src":"16452:18:21"},{"hexValue":"4552433732313a2061646472657373207a65726f206973206e6f742061207661","kind":"string","nodeType":"YulLiteral","src":"16472:34:21","type":"","value":"ERC721: address zero is not a va"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16445:6:21"},"nodeType":"YulFunctionCall","src":"16445:62:21"},"nodeType":"YulExpressionStatement","src":"16445:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16527:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"16538:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16523:3:21"},"nodeType":"YulFunctionCall","src":"16523:18:21"},{"hexValue":"6c6964206f776e6572","kind":"string","nodeType":"YulLiteral","src":"16543:11:21","type":"","value":"lid owner"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16516:6:21"},"nodeType":"YulFunctionCall","src":"16516:39:21"},"nodeType":"YulExpressionStatement","src":"16516:39:21"},{"nodeType":"YulAssignment","src":"16564:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16576:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"16587:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16572:3:21"},"nodeType":"YulFunctionCall","src":"16572:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"16564:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_6d05c90094f31cfeb8f0eb86f0a513af3f7f8992991fbde41b08aa7960677159__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"16343:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"16357:4:21","type":""}],"src":"16192:405:21"},{"body":{"nodeType":"YulBlock","src":"16649:197:21","statements":[{"nodeType":"YulVariableDeclaration","src":"16659:36:21","value":{"kind":"number","nodeType":"YulLiteral","src":"16669:26:21","type":"","value":"0xffffffffffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"16663:2:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"16704:21:21","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"16719:1:21"},{"name":"_1","nodeType":"YulIdentifier","src":"16722:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"16715:3:21"},"nodeType":"YulFunctionCall","src":"16715:10:21"},"variables":[{"name":"x_1","nodeType":"YulTypedName","src":"16708:3:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"16734:21:21","value":{"arguments":[{"name":"y","nodeType":"YulIdentifier","src":"16749:1:21"},{"name":"_1","nodeType":"YulIdentifier","src":"16752:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"16745:3:21"},"nodeType":"YulFunctionCall","src":"16745:10:21"},"variables":[{"name":"y_1","nodeType":"YulTypedName","src":"16738:3:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"16789:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"16791:16:21"},"nodeType":"YulFunctionCall","src":"16791:18:21"},"nodeType":"YulExpressionStatement","src":"16791:18:21"}]},"condition":{"arguments":[{"name":"x_1","nodeType":"YulIdentifier","src":"16770:3:21"},{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"16779:2:21"},{"name":"y_1","nodeType":"YulIdentifier","src":"16783:3:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"16775:3:21"},"nodeType":"YulFunctionCall","src":"16775:12:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"16767:2:21"},"nodeType":"YulFunctionCall","src":"16767:21:21"},"nodeType":"YulIf","src":"16764:47:21"},{"nodeType":"YulAssignment","src":"16820:20:21","value":{"arguments":[{"name":"x_1","nodeType":"YulIdentifier","src":"16831:3:21"},{"name":"y_1","nodeType":"YulIdentifier","src":"16836:3:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16827:3:21"},"nodeType":"YulFunctionCall","src":"16827:13:21"},"variableNames":[{"name":"sum","nodeType":"YulIdentifier","src":"16820:3:21"}]}]},"name":"checked_add_t_uint96","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"16632:1:21","type":""},{"name":"y","nodeType":"YulTypedName","src":"16635:1:21","type":""}],"returnVariables":[{"name":"sum","nodeType":"YulTypedName","src":"16641:3:21","type":""}],"src":"16602:244:21"},{"body":{"nodeType":"YulBlock","src":"16898:148:21","statements":[{"body":{"nodeType":"YulBlock","src":"16989:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"16991:16:21"},"nodeType":"YulFunctionCall","src":"16991:18:21"},"nodeType":"YulExpressionStatement","src":"16991:18:21"}]},"condition":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"16914:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"16921:66:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"16911:2:21"},"nodeType":"YulFunctionCall","src":"16911:77:21"},"nodeType":"YulIf","src":"16908:103:21"},{"nodeType":"YulAssignment","src":"17020:20:21","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"17031:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"17038:1:21","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17027:3:21"},"nodeType":"YulFunctionCall","src":"17027:13:21"},"variableNames":[{"name":"ret","nodeType":"YulIdentifier","src":"17020:3:21"}]}]},"name":"increment_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"16880:5:21","type":""}],"returnVariables":[{"name":"ret","nodeType":"YulTypedName","src":"16890:3:21","type":""}],"src":"16851:195:21"},{"body":{"nodeType":"YulBlock","src":"17213:168:21","statements":[{"nodeType":"YulAssignment","src":"17223:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"17235:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"17246:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17231:3:21"},"nodeType":"YulFunctionCall","src":"17231:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"17223:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"17265:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"17280:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"17288:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"17276:3:21"},"nodeType":"YulFunctionCall","src":"17276:55:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"17258:6:21"},"nodeType":"YulFunctionCall","src":"17258:74:21"},"nodeType":"YulExpressionStatement","src":"17258:74:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"17352:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"17363:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17348:3:21"},"nodeType":"YulFunctionCall","src":"17348:18:21"},{"name":"value1","nodeType":"YulIdentifier","src":"17368:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"17341:6:21"},"nodeType":"YulFunctionCall","src":"17341:34:21"},"nodeType":"YulExpressionStatement","src":"17341:34:21"}]},"name":"abi_encode_tuple_t_contract$_PangolinStakingPositions_$5430_t_uint256__to_t_address_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"17174:9:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"17185:6:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"17193:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"17204:4:21","type":""}],"src":"17051:330:21"},{"body":{"nodeType":"YulBlock","src":"17477:544:21","statements":[{"body":{"nodeType":"YulBlock","src":"17523:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17532:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"17535:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"17525:6:21"},"nodeType":"YulFunctionCall","src":"17525:12:21"},"nodeType":"YulExpressionStatement","src":"17525:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"17498:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"17507:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"17494:3:21"},"nodeType":"YulFunctionCall","src":"17494:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"17519:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"17490:3:21"},"nodeType":"YulFunctionCall","src":"17490:32:21"},"nodeType":"YulIf","src":"17487:52:21"},{"nodeType":"YulVariableDeclaration","src":"17548:30:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"17568:9:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"17562:5:21"},"nodeType":"YulFunctionCall","src":"17562:16:21"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"17552:6:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"17621:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17630:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"17633:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"17623:6:21"},"nodeType":"YulFunctionCall","src":"17623:12:21"},"nodeType":"YulExpressionStatement","src":"17623:12:21"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"17593:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"17601:18:21","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"17590:2:21"},"nodeType":"YulFunctionCall","src":"17590:30:21"},"nodeType":"YulIf","src":"17587:50:21"},{"nodeType":"YulVariableDeclaration","src":"17646:32:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"17660:9:21"},{"name":"offset","nodeType":"YulIdentifier","src":"17671:6:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17656:3:21"},"nodeType":"YulFunctionCall","src":"17656:22:21"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"17650:2:21","type":""}]},{"body":{"nodeType":"YulBlock","src":"17726:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17735:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"17738:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"17728:6:21"},"nodeType":"YulFunctionCall","src":"17728:12:21"},"nodeType":"YulExpressionStatement","src":"17728:12:21"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"17705:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"17709:4:21","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17701:3:21"},"nodeType":"YulFunctionCall","src":"17701:13:21"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"17716:7:21"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"17697:3:21"},"nodeType":"YulFunctionCall","src":"17697:27:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"17690:6:21"},"nodeType":"YulFunctionCall","src":"17690:35:21"},"nodeType":"YulIf","src":"17687:55:21"},{"nodeType":"YulVariableDeclaration","src":"17751:19:21","value":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"17767:2:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"17761:5:21"},"nodeType":"YulFunctionCall","src":"17761:9:21"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"17755:2:21","type":""}]},{"nodeType":"YulVariableDeclaration","src":"17779:61:21","value":{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"17836:2:21"}],"functionName":{"name":"array_allocation_size_bytes","nodeType":"YulIdentifier","src":"17808:27:21"},"nodeType":"YulFunctionCall","src":"17808:31:21"}],"functionName":{"name":"allocate_memory","nodeType":"YulIdentifier","src":"17792:15:21"},"nodeType":"YulFunctionCall","src":"17792:48:21"},"variables":[{"name":"array","nodeType":"YulTypedName","src":"17783:5:21","type":""}]},{"expression":{"arguments":[{"name":"array","nodeType":"YulIdentifier","src":"17856:5:21"},{"name":"_2","nodeType":"YulIdentifier","src":"17863:2:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"17849:6:21"},"nodeType":"YulFunctionCall","src":"17849:17:21"},"nodeType":"YulExpressionStatement","src":"17849:17:21"},{"body":{"nodeType":"YulBlock","src":"17912:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17921:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"17924:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"17914:6:21"},"nodeType":"YulFunctionCall","src":"17914:12:21"},"nodeType":"YulExpressionStatement","src":"17914:12:21"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"17889:2:21"},{"name":"_2","nodeType":"YulIdentifier","src":"17893:2:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17885:3:21"},"nodeType":"YulFunctionCall","src":"17885:11:21"},{"kind":"number","nodeType":"YulLiteral","src":"17898:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17881:3:21"},"nodeType":"YulFunctionCall","src":"17881:20:21"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"17903:7:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"17878:2:21"},"nodeType":"YulFunctionCall","src":"17878:33:21"},"nodeType":"YulIf","src":"17875:53:21"},{"expression":{"arguments":[{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"17963:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"17967:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17959:3:21"},"nodeType":"YulFunctionCall","src":"17959:11:21"},{"arguments":[{"name":"array","nodeType":"YulIdentifier","src":"17976:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"17983:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17972:3:21"},"nodeType":"YulFunctionCall","src":"17972:14:21"},{"name":"_2","nodeType":"YulIdentifier","src":"17988:2:21"}],"functionName":{"name":"copy_memory_to_memory","nodeType":"YulIdentifier","src":"17937:21:21"},"nodeType":"YulFunctionCall","src":"17937:54:21"},"nodeType":"YulExpressionStatement","src":"17937:54:21"},{"nodeType":"YulAssignment","src":"18000:15:21","value":{"name":"array","nodeType":"YulIdentifier","src":"18010:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"18000:6:21"}]}]},"name":"abi_decode_tuple_t_string_memory_ptr_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"17443:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"17454:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"17466:6:21","type":""}],"src":"17386:635:21"},{"body":{"nodeType":"YulBlock","src":"18075:76:21","statements":[{"body":{"nodeType":"YulBlock","src":"18097:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"18099:16:21"},"nodeType":"YulFunctionCall","src":"18099:18:21"},"nodeType":"YulExpressionStatement","src":"18099:18:21"}]},"condition":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"18091:1:21"},{"name":"y","nodeType":"YulIdentifier","src":"18094:1:21"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"18088:2:21"},"nodeType":"YulFunctionCall","src":"18088:8:21"},"nodeType":"YulIf","src":"18085:34:21"},{"nodeType":"YulAssignment","src":"18128:17:21","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"18140:1:21"},{"name":"y","nodeType":"YulIdentifier","src":"18143:1:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"18136:3:21"},"nodeType":"YulFunctionCall","src":"18136:9:21"},"variableNames":[{"name":"diff","nodeType":"YulIdentifier","src":"18128:4:21"}]}]},"name":"checked_sub_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"18057:1:21","type":""},{"name":"y","nodeType":"YulTypedName","src":"18060:1:21","type":""}],"returnVariables":[{"name":"diff","nodeType":"YulTypedName","src":"18066:4:21","type":""}],"src":"18026:125:21"},{"body":{"nodeType":"YulBlock","src":"18204:80:21","statements":[{"body":{"nodeType":"YulBlock","src":"18231:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"18233:16:21"},"nodeType":"YulFunctionCall","src":"18233:18:21"},"nodeType":"YulExpressionStatement","src":"18233:18:21"}]},"condition":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"18220:1:21"},{"arguments":[{"name":"y","nodeType":"YulIdentifier","src":"18227:1:21"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"18223:3:21"},"nodeType":"YulFunctionCall","src":"18223:6:21"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"18217:2:21"},"nodeType":"YulFunctionCall","src":"18217:13:21"},"nodeType":"YulIf","src":"18214:39:21"},{"nodeType":"YulAssignment","src":"18262:16:21","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"18273:1:21"},{"name":"y","nodeType":"YulIdentifier","src":"18276:1:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18269:3:21"},"nodeType":"YulFunctionCall","src":"18269:9:21"},"variableNames":[{"name":"sum","nodeType":"YulIdentifier","src":"18262:3:21"}]}]},"name":"checked_add_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"18187:1:21","type":""},{"name":"y","nodeType":"YulTypedName","src":"18190:1:21","type":""}],"returnVariables":[{"name":"sum","nodeType":"YulTypedName","src":"18196:3:21","type":""}],"src":"18156:128:21"},{"body":{"nodeType":"YulBlock","src":"18463:227:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18480:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"18491:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"18473:6:21"},"nodeType":"YulFunctionCall","src":"18473:21:21"},"nodeType":"YulExpressionStatement","src":"18473:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18514:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"18525:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18510:3:21"},"nodeType":"YulFunctionCall","src":"18510:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"18530:2:21","type":"","value":"37"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"18503:6:21"},"nodeType":"YulFunctionCall","src":"18503:30:21"},"nodeType":"YulExpressionStatement","src":"18503:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18553:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"18564:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18549:3:21"},"nodeType":"YulFunctionCall","src":"18549:18:21"},{"hexValue":"4552433732313a207472616e736665722066726f6d20696e636f727265637420","kind":"string","nodeType":"YulLiteral","src":"18569:34:21","type":"","value":"ERC721: transfer from incorrect "}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"18542:6:21"},"nodeType":"YulFunctionCall","src":"18542:62:21"},"nodeType":"YulExpressionStatement","src":"18542:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18624:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"18635:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18620:3:21"},"nodeType":"YulFunctionCall","src":"18620:18:21"},{"hexValue":"6f776e6572","kind":"string","nodeType":"YulLiteral","src":"18640:7:21","type":"","value":"owner"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"18613:6:21"},"nodeType":"YulFunctionCall","src":"18613:35:21"},"nodeType":"YulExpressionStatement","src":"18613:35:21"},{"nodeType":"YulAssignment","src":"18657:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18669:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"18680:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18665:3:21"},"nodeType":"YulFunctionCall","src":"18665:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"18657:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"18440:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"18454:4:21","type":""}],"src":"18289:401:21"},{"body":{"nodeType":"YulBlock","src":"18869:226:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18886:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"18897:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"18879:6:21"},"nodeType":"YulFunctionCall","src":"18879:21:21"},"nodeType":"YulExpressionStatement","src":"18879:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18920:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"18931:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18916:3:21"},"nodeType":"YulFunctionCall","src":"18916:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"18936:2:21","type":"","value":"36"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"18909:6:21"},"nodeType":"YulFunctionCall","src":"18909:30:21"},"nodeType":"YulExpressionStatement","src":"18909:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18959:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"18970:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18955:3:21"},"nodeType":"YulFunctionCall","src":"18955:18:21"},{"hexValue":"4552433732313a207472616e7366657220746f20746865207a65726f20616464","kind":"string","nodeType":"YulLiteral","src":"18975:34:21","type":"","value":"ERC721: transfer to the zero add"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"18948:6:21"},"nodeType":"YulFunctionCall","src":"18948:62:21"},"nodeType":"YulExpressionStatement","src":"18948:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19030:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"19041:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19026:3:21"},"nodeType":"YulFunctionCall","src":"19026:18:21"},{"hexValue":"72657373","kind":"string","nodeType":"YulLiteral","src":"19046:6:21","type":"","value":"ress"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19019:6:21"},"nodeType":"YulFunctionCall","src":"19019:34:21"},"nodeType":"YulExpressionStatement","src":"19019:34:21"},{"nodeType":"YulAssignment","src":"19062:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19074:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"19085:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19070:3:21"},"nodeType":"YulFunctionCall","src":"19070:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"19062:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"18846:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"18860:4:21","type":""}],"src":"18695:400:21"},{"body":{"nodeType":"YulBlock","src":"19229:168:21","statements":[{"nodeType":"YulAssignment","src":"19239:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19251:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"19262:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19247:3:21"},"nodeType":"YulFunctionCall","src":"19247:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"19239:4:21"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19281:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"19296:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"19304:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"19292:3:21"},"nodeType":"YulFunctionCall","src":"19292:55:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19274:6:21"},"nodeType":"YulFunctionCall","src":"19274:74:21"},"nodeType":"YulExpressionStatement","src":"19274:74:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19368:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"19379:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19364:3:21"},"nodeType":"YulFunctionCall","src":"19364:18:21"},{"name":"value1","nodeType":"YulIdentifier","src":"19384:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19357:6:21"},"nodeType":"YulFunctionCall","src":"19357:34:21"},"nodeType":"YulExpressionStatement","src":"19357:34:21"}]},"name":"abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"19190:9:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"19201:6:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"19209:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"19220:4:21","type":""}],"src":"19100:297:21"},{"body":{"nodeType":"YulBlock","src":"19480:167:21","statements":[{"body":{"nodeType":"YulBlock","src":"19526:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"19535:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"19538:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"19528:6:21"},"nodeType":"YulFunctionCall","src":"19528:12:21"},"nodeType":"YulExpressionStatement","src":"19528:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"19501:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"19510:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"19497:3:21"},"nodeType":"YulFunctionCall","src":"19497:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"19522:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"19493:3:21"},"nodeType":"YulFunctionCall","src":"19493:32:21"},"nodeType":"YulIf","src":"19490:52:21"},{"nodeType":"YulVariableDeclaration","src":"19551:29:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19570:9:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"19564:5:21"},"nodeType":"YulFunctionCall","src":"19564:16:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"19555:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"19611:5:21"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"19589:21:21"},"nodeType":"YulFunctionCall","src":"19589:28:21"},"nodeType":"YulExpressionStatement","src":"19589:28:21"},{"nodeType":"YulAssignment","src":"19626:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"19636:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"19626:6:21"}]}]},"name":"abi_decode_tuple_t_bool_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"19446:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"19457:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"19469:6:21","type":""}],"src":"19402:245:21"},{"body":{"nodeType":"YulBlock","src":"19809:241:21","statements":[{"nodeType":"YulAssignment","src":"19819:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19831:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"19842:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19827:3:21"},"nodeType":"YulFunctionCall","src":"19827:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"19819:4:21"}]},{"nodeType":"YulVariableDeclaration","src":"19854:52:21","value":{"kind":"number","nodeType":"YulLiteral","src":"19864:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"19858:2:21","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19922:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"19937:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"19945:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"19933:3:21"},"nodeType":"YulFunctionCall","src":"19933:15:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19915:6:21"},"nodeType":"YulFunctionCall","src":"19915:34:21"},"nodeType":"YulExpressionStatement","src":"19915:34:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19969:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"19980:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19965:3:21"},"nodeType":"YulFunctionCall","src":"19965:18:21"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"19989:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"19997:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"19985:3:21"},"nodeType":"YulFunctionCall","src":"19985:15:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19958:6:21"},"nodeType":"YulFunctionCall","src":"19958:43:21"},"nodeType":"YulExpressionStatement","src":"19958:43:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20021:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"20032:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20017:3:21"},"nodeType":"YulFunctionCall","src":"20017:18:21"},{"name":"value2","nodeType":"YulIdentifier","src":"20037:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20010:6:21"},"nodeType":"YulFunctionCall","src":"20010:34:21"},"nodeType":"YulExpressionStatement","src":"20010:34:21"}]},"name":"abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"19762:9:21","type":""},{"name":"value2","nodeType":"YulTypedName","src":"19773:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"19781:6:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"19789:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"19800:4:21","type":""}],"src":"19652:398:21"},{"body":{"nodeType":"YulBlock","src":"20229:182:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20246:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"20257:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20239:6:21"},"nodeType":"YulFunctionCall","src":"20239:21:21"},"nodeType":"YulExpressionStatement","src":"20239:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20280:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"20291:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20276:3:21"},"nodeType":"YulFunctionCall","src":"20276:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"20296:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20269:6:21"},"nodeType":"YulFunctionCall","src":"20269:30:21"},"nodeType":"YulExpressionStatement","src":"20269:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20319:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"20330:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20315:3:21"},"nodeType":"YulFunctionCall","src":"20315:18:21"},{"hexValue":"4552433732313a206d696e7420746f20746865207a65726f2061646472657373","kind":"string","nodeType":"YulLiteral","src":"20335:34:21","type":"","value":"ERC721: mint to the zero address"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20308:6:21"},"nodeType":"YulFunctionCall","src":"20308:62:21"},"nodeType":"YulExpressionStatement","src":"20308:62:21"},{"nodeType":"YulAssignment","src":"20379:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20391:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"20402:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20387:3:21"},"nodeType":"YulFunctionCall","src":"20387:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"20379:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"20206:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"20220:4:21","type":""}],"src":"20055:356:21"},{"body":{"nodeType":"YulBlock","src":"20590:178:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20607:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"20618:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20600:6:21"},"nodeType":"YulFunctionCall","src":"20600:21:21"},"nodeType":"YulExpressionStatement","src":"20600:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20641:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"20652:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20637:3:21"},"nodeType":"YulFunctionCall","src":"20637:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"20657:2:21","type":"","value":"28"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20630:6:21"},"nodeType":"YulFunctionCall","src":"20630:30:21"},"nodeType":"YulExpressionStatement","src":"20630:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20680:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"20691:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20676:3:21"},"nodeType":"YulFunctionCall","src":"20676:18:21"},{"hexValue":"4552433732313a20746f6b656e20616c7265616479206d696e746564","kind":"string","nodeType":"YulLiteral","src":"20696:30:21","type":"","value":"ERC721: token already minted"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20669:6:21"},"nodeType":"YulFunctionCall","src":"20669:58:21"},"nodeType":"YulExpressionStatement","src":"20669:58:21"},{"nodeType":"YulAssignment","src":"20736:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20748:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"20759:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20744:3:21"},"nodeType":"YulFunctionCall","src":"20744:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"20736:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"20567:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"20581:4:21","type":""}],"src":"20416:352:21"},{"body":{"nodeType":"YulBlock","src":"20947:175:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20964:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"20975:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20957:6:21"},"nodeType":"YulFunctionCall","src":"20957:21:21"},"nodeType":"YulExpressionStatement","src":"20957:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20998:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"21009:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20994:3:21"},"nodeType":"YulFunctionCall","src":"20994:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"21014:2:21","type":"","value":"25"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20987:6:21"},"nodeType":"YulFunctionCall","src":"20987:30:21"},"nodeType":"YulExpressionStatement","src":"20987:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21037:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"21048:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"21033:3:21"},"nodeType":"YulFunctionCall","src":"21033:18:21"},{"hexValue":"4552433732313a20617070726f766520746f2063616c6c6572","kind":"string","nodeType":"YulLiteral","src":"21053:27:21","type":"","value":"ERC721: approve to caller"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"21026:6:21"},"nodeType":"YulFunctionCall","src":"21026:55:21"},"nodeType":"YulExpressionStatement","src":"21026:55:21"},{"nodeType":"YulAssignment","src":"21090:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21102:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"21113:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"21098:3:21"},"nodeType":"YulFunctionCall","src":"21098:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"21090:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"20924:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"20938:4:21","type":""}],"src":"20773:349:21"},{"body":{"nodeType":"YulBlock","src":"21301:240:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21318:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"21329:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"21311:6:21"},"nodeType":"YulFunctionCall","src":"21311:21:21"},"nodeType":"YulExpressionStatement","src":"21311:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21352:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"21363:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"21348:3:21"},"nodeType":"YulFunctionCall","src":"21348:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"21368:2:21","type":"","value":"50"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"21341:6:21"},"nodeType":"YulFunctionCall","src":"21341:30:21"},"nodeType":"YulExpressionStatement","src":"21341:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21391:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"21402:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"21387:3:21"},"nodeType":"YulFunctionCall","src":"21387:18:21"},{"hexValue":"4552433732313a207472616e7366657220746f206e6f6e204552433732315265","kind":"string","nodeType":"YulLiteral","src":"21407:34:21","type":"","value":"ERC721: transfer to non ERC721Re"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"21380:6:21"},"nodeType":"YulFunctionCall","src":"21380:62:21"},"nodeType":"YulExpressionStatement","src":"21380:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21462:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"21473:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"21458:3:21"},"nodeType":"YulFunctionCall","src":"21458:18:21"},{"hexValue":"63656976657220696d706c656d656e746572","kind":"string","nodeType":"YulLiteral","src":"21478:20:21","type":"","value":"ceiver implementer"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"21451:6:21"},"nodeType":"YulFunctionCall","src":"21451:48:21"},"nodeType":"YulExpressionStatement","src":"21451:48:21"},{"nodeType":"YulAssignment","src":"21508:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21520:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"21531:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"21516:3:21"},"nodeType":"YulFunctionCall","src":"21516:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"21508:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"21278:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"21292:4:21","type":""}],"src":"21127:414:21"},{"body":{"nodeType":"YulBlock","src":"21935:397:21","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"21952:3:21"},{"hexValue":"416363657373436f6e74726f6c3a206163636f756e7420","kind":"string","nodeType":"YulLiteral","src":"21957:25:21","type":"","value":"AccessControl: account "}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"21945:6:21"},"nodeType":"YulFunctionCall","src":"21945:38:21"},"nodeType":"YulExpressionStatement","src":"21945:38:21"},{"nodeType":"YulVariableDeclaration","src":"21992:27:21","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"22012:6:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"22006:5:21"},"nodeType":"YulFunctionCall","src":"22006:13:21"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"21996:6:21","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"22054:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"22062:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"22050:3:21"},"nodeType":"YulFunctionCall","src":"22050:17:21"},{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"22073:3:21"},{"kind":"number","nodeType":"YulLiteral","src":"22078:2:21","type":"","value":"23"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"22069:3:21"},"nodeType":"YulFunctionCall","src":"22069:12:21"},{"name":"length","nodeType":"YulIdentifier","src":"22083:6:21"}],"functionName":{"name":"copy_memory_to_memory","nodeType":"YulIdentifier","src":"22028:21:21"},"nodeType":"YulFunctionCall","src":"22028:62:21"},"nodeType":"YulExpressionStatement","src":"22028:62:21"},{"nodeType":"YulVariableDeclaration","src":"22099:26:21","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"22113:3:21"},{"name":"length","nodeType":"YulIdentifier","src":"22118:6:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"22109:3:21"},"nodeType":"YulFunctionCall","src":"22109:16:21"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"22103:2:21","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"22145:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"22149:2:21","type":"","value":"23"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"22141:3:21"},"nodeType":"YulFunctionCall","src":"22141:11:21"},{"hexValue":"206973206d697373696e6720726f6c6520","kind":"string","nodeType":"YulLiteral","src":"22154:19:21","type":"","value":" is missing role "}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"22134:6:21"},"nodeType":"YulFunctionCall","src":"22134:40:21"},"nodeType":"YulExpressionStatement","src":"22134:40:21"},{"nodeType":"YulVariableDeclaration","src":"22183:29:21","value":{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"22205:6:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"22199:5:21"},"nodeType":"YulFunctionCall","src":"22199:13:21"},"variables":[{"name":"length_1","nodeType":"YulTypedName","src":"22187:8:21","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"22247:6:21"},{"kind":"number","nodeType":"YulLiteral","src":"22255:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"22243:3:21"},"nodeType":"YulFunctionCall","src":"22243:17:21"},{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"22266:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"22270:2:21","type":"","value":"40"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"22262:3:21"},"nodeType":"YulFunctionCall","src":"22262:11:21"},{"name":"length_1","nodeType":"YulIdentifier","src":"22275:8:21"}],"functionName":{"name":"copy_memory_to_memory","nodeType":"YulIdentifier","src":"22221:21:21"},"nodeType":"YulFunctionCall","src":"22221:63:21"},"nodeType":"YulExpressionStatement","src":"22221:63:21"},{"nodeType":"YulAssignment","src":"22293:33:21","value":{"arguments":[{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"22308:2:21"},{"name":"length_1","nodeType":"YulIdentifier","src":"22312:8:21"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"22304:3:21"},"nodeType":"YulFunctionCall","src":"22304:17:21"},{"kind":"number","nodeType":"YulLiteral","src":"22323:2:21","type":"","value":"40"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"22300:3:21"},"nodeType":"YulFunctionCall","src":"22300:26:21"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"22293:3:21"}]}]},"name":"abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"21903:3:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"21908:6:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"21916:6:21","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"21927:3:21","type":""}],"src":"21546:786:21"},{"body":{"nodeType":"YulBlock","src":"22369:152:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"22386:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"22389:77:21","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"22379:6:21"},"nodeType":"YulFunctionCall","src":"22379:88:21"},"nodeType":"YulExpressionStatement","src":"22379:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"22483:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"22486:4:21","type":"","value":"0x01"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"22476:6:21"},"nodeType":"YulFunctionCall","src":"22476:15:21"},"nodeType":"YulExpressionStatement","src":"22476:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"22507:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"22510:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"22500:6:21"},"nodeType":"YulFunctionCall","src":"22500:15:21"},"nodeType":"YulExpressionStatement","src":"22500:15:21"}]},"name":"panic_error_0x01","nodeType":"YulFunctionDefinition","src":"22337:184:21"},{"body":{"nodeType":"YulBlock","src":"22729:309:21","statements":[{"nodeType":"YulVariableDeclaration","src":"22739:52:21","value":{"kind":"number","nodeType":"YulLiteral","src":"22749:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"22743:2:21","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"22807:9:21"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"22822:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"22830:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"22818:3:21"},"nodeType":"YulFunctionCall","src":"22818:15:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"22800:6:21"},"nodeType":"YulFunctionCall","src":"22800:34:21"},"nodeType":"YulExpressionStatement","src":"22800:34:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"22854:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"22865:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"22850:3:21"},"nodeType":"YulFunctionCall","src":"22850:18:21"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"22874:6:21"},{"name":"_1","nodeType":"YulIdentifier","src":"22882:2:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"22870:3:21"},"nodeType":"YulFunctionCall","src":"22870:15:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"22843:6:21"},"nodeType":"YulFunctionCall","src":"22843:43:21"},"nodeType":"YulExpressionStatement","src":"22843:43:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"22906:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"22917:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"22902:3:21"},"nodeType":"YulFunctionCall","src":"22902:18:21"},{"name":"value2","nodeType":"YulIdentifier","src":"22922:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"22895:6:21"},"nodeType":"YulFunctionCall","src":"22895:34:21"},"nodeType":"YulExpressionStatement","src":"22895:34:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"22949:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"22960:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"22945:3:21"},"nodeType":"YulFunctionCall","src":"22945:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"22965:3:21","type":"","value":"128"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"22938:6:21"},"nodeType":"YulFunctionCall","src":"22938:31:21"},"nodeType":"YulExpressionStatement","src":"22938:31:21"},{"nodeType":"YulAssignment","src":"22978:54:21","value":{"arguments":[{"name":"value3","nodeType":"YulIdentifier","src":"23004:6:21"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"23016:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"23027:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"23012:3:21"},"nodeType":"YulFunctionCall","src":"23012:19:21"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"22986:17:21"},"nodeType":"YulFunctionCall","src":"22986:46:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"22978:4:21"}]}]},"name":"abi_encode_tuple_t_address_t_address_t_uint256_t_bytes_memory_ptr__to_t_address_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"22674:9:21","type":""},{"name":"value3","nodeType":"YulTypedName","src":"22685:6:21","type":""},{"name":"value2","nodeType":"YulTypedName","src":"22693:6:21","type":""},{"name":"value1","nodeType":"YulTypedName","src":"22701:6:21","type":""},{"name":"value0","nodeType":"YulTypedName","src":"22709:6:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"22720:4:21","type":""}],"src":"22526:512:21"},{"body":{"nodeType":"YulBlock","src":"23123:169:21","statements":[{"body":{"nodeType":"YulBlock","src":"23169:16:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"23178:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"23181:1:21","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"23171:6:21"},"nodeType":"YulFunctionCall","src":"23171:12:21"},"nodeType":"YulExpressionStatement","src":"23171:12:21"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"23144:7:21"},{"name":"headStart","nodeType":"YulIdentifier","src":"23153:9:21"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"23140:3:21"},"nodeType":"YulFunctionCall","src":"23140:23:21"},{"kind":"number","nodeType":"YulLiteral","src":"23165:2:21","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"23136:3:21"},"nodeType":"YulFunctionCall","src":"23136:32:21"},"nodeType":"YulIf","src":"23133:52:21"},{"nodeType":"YulVariableDeclaration","src":"23194:29:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"23213:9:21"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"23207:5:21"},"nodeType":"YulFunctionCall","src":"23207:16:21"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"23198:5:21","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"23256:5:21"}],"functionName":{"name":"validator_revert_bytes4","nodeType":"YulIdentifier","src":"23232:23:21"},"nodeType":"YulFunctionCall","src":"23232:30:21"},"nodeType":"YulExpressionStatement","src":"23232:30:21"},{"nodeType":"YulAssignment","src":"23271:15:21","value":{"name":"value","nodeType":"YulIdentifier","src":"23281:5:21"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"23271:6:21"}]}]},"name":"abi_decode_tuple_t_bytes4_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"23089:9:21","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"23100:7:21","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"23112:6:21","type":""}],"src":"23043:249:21"},{"body":{"nodeType":"YulBlock","src":"23471:243:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"23488:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"23499:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"23481:6:21"},"nodeType":"YulFunctionCall","src":"23481:21:21"},"nodeType":"YulExpressionStatement","src":"23481:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"23522:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"23533:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"23518:3:21"},"nodeType":"YulFunctionCall","src":"23518:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"23538:2:21","type":"","value":"53"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"23511:6:21"},"nodeType":"YulFunctionCall","src":"23511:30:21"},"nodeType":"YulExpressionStatement","src":"23511:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"23561:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"23572:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"23557:3:21"},"nodeType":"YulFunctionCall","src":"23557:18:21"},{"hexValue":"455243373231456e756d657261626c653a20636f6e7365637574697665207472","kind":"string","nodeType":"YulLiteral","src":"23577:34:21","type":"","value":"ERC721Enumerable: consecutive tr"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"23550:6:21"},"nodeType":"YulFunctionCall","src":"23550:62:21"},"nodeType":"YulExpressionStatement","src":"23550:62:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"23632:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"23643:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"23628:3:21"},"nodeType":"YulFunctionCall","src":"23628:18:21"},{"hexValue":"616e7366657273206e6f7420737570706f72746564","kind":"string","nodeType":"YulLiteral","src":"23648:23:21","type":"","value":"ansfers not supported"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"23621:6:21"},"nodeType":"YulFunctionCall","src":"23621:51:21"},"nodeType":"YulExpressionStatement","src":"23621:51:21"},{"nodeType":"YulAssignment","src":"23681:27:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"23693:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"23704:3:21","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"23689:3:21"},"nodeType":"YulFunctionCall","src":"23689:19:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"23681:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_da49291af84b6a1e37ed9eacd9a67360593e4a0e561cb261a6a738f621783314__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"23448:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"23462:4:21","type":""}],"src":"23297:417:21"},{"body":{"nodeType":"YulBlock","src":"23766:149:21","statements":[{"body":{"nodeType":"YulBlock","src":"23793:22:21","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"23795:16:21"},"nodeType":"YulFunctionCall","src":"23795:18:21"},"nodeType":"YulExpressionStatement","src":"23795:18:21"}]},"condition":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"23786:5:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"23779:6:21"},"nodeType":"YulFunctionCall","src":"23779:13:21"},"nodeType":"YulIf","src":"23776:39:21"},{"nodeType":"YulAssignment","src":"23824:85:21","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"23835:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"23842:66:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"23831:3:21"},"nodeType":"YulFunctionCall","src":"23831:78:21"},"variableNames":[{"name":"ret","nodeType":"YulIdentifier","src":"23824:3:21"}]}]},"name":"decrement_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"23748:5:21","type":""}],"returnVariables":[{"name":"ret","nodeType":"YulTypedName","src":"23758:3:21","type":""}],"src":"23719:196:21"},{"body":{"nodeType":"YulBlock","src":"24094:182:21","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"24111:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"24122:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"24104:6:21"},"nodeType":"YulFunctionCall","src":"24104:21:21"},"nodeType":"YulExpressionStatement","src":"24104:21:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"24145:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"24156:2:21","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"24141:3:21"},"nodeType":"YulFunctionCall","src":"24141:18:21"},{"kind":"number","nodeType":"YulLiteral","src":"24161:2:21","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"24134:6:21"},"nodeType":"YulFunctionCall","src":"24134:30:21"},"nodeType":"YulExpressionStatement","src":"24134:30:21"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"24184:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"24195:2:21","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"24180:3:21"},"nodeType":"YulFunctionCall","src":"24180:18:21"},{"hexValue":"537472696e67733a20686578206c656e67746820696e73756666696369656e74","kind":"string","nodeType":"YulLiteral","src":"24200:34:21","type":"","value":"Strings: hex length insufficient"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"24173:6:21"},"nodeType":"YulFunctionCall","src":"24173:62:21"},"nodeType":"YulExpressionStatement","src":"24173:62:21"},{"nodeType":"YulAssignment","src":"24244:26:21","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"24256:9:21"},{"kind":"number","nodeType":"YulLiteral","src":"24267:2:21","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"24252:3:21"},"nodeType":"YulFunctionCall","src":"24252:18:21"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"24244:4:21"}]}]},"name":"abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"24071:9:21","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"24085:4:21","type":""}],"src":"23920:356:21"},{"body":{"nodeType":"YulBlock","src":"24313:152:21","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"24330:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"24333:77:21","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"24323:6:21"},"nodeType":"YulFunctionCall","src":"24323:88:21"},"nodeType":"YulExpressionStatement","src":"24323:88:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"24427:1:21","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"24430:4:21","type":"","value":"0x31"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"24420:6:21"},"nodeType":"YulFunctionCall","src":"24420:15:21"},"nodeType":"YulExpressionStatement","src":"24420:15:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"24451:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"24454:4:21","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"24444:6:21"},"nodeType":"YulFunctionCall","src":"24444:15:21"},"nodeType":"YulExpressionStatement","src":"24444:15:21"}]},"name":"panic_error_0x31","nodeType":"YulFunctionDefinition","src":"24281:184:21"}]},"contents":"{\n    { }\n    function validator_revert_bytes4(value)\n    {\n        if iszero(eq(value, and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000))) { revert(0, 0) }\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        validator_revert_bytes4(value)\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 copy_memory_to_memory(src, dst, length)\n    {\n        let i := 0\n        for { } lt(i, length) { i := add(i, 32) }\n        {\n            mstore(add(dst, i), mload(add(src, i)))\n        }\n        if gt(i, length) { mstore(add(dst, length), 0) }\n    }\n    function abi_encode_string(value, pos) -> end\n    {\n        let length := mload(value)\n        mstore(pos, length)\n        copy_memory_to_memory(add(value, 0x20), add(pos, 0x20), length)\n        end := add(add(pos, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 0x20)\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        tail := abi_encode_string(value0, add(headStart, 32))\n    }\n    function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := calldataload(headStart)\n    }\n    function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n    }\n    function validator_revert_address(value)\n    {\n        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { 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        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        value1 := calldataload(add(headStart, 32))\n    }\n    function abi_encode_tuple_t_uint96__to_t_uint96__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffffffffffffffffffffffff))\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        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n        value2 := calldataload(add(headStart, 64))\n    }\n    function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := calldataload(headStart)\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_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := calldataload(headStart)\n        let value := calldataload(add(headStart, 32))\n        validator_revert_address(value)\n        value1 := value\n    }\n    function abi_decode_tuple_t_uint256t_uint256(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := calldataload(headStart)\n        value1 := calldataload(add(headStart, 32))\n    }\n    function abi_decode_array_uint256_dyn_calldata(offset, end) -> arrayPos, length\n    {\n        if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n        length := calldataload(offset)\n        if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n        arrayPos := add(offset, 0x20)\n        if gt(add(add(offset, shl(5, length)), 0x20), end) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_array$_t_uint256_$dyn_calldata_ptrt_array$_t_uint256_$dyn_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        let offset := calldataload(headStart)\n        let _1 := 0xffffffffffffffff\n        if gt(offset, _1) { revert(0, 0) }\n        let value0_1, value1_1 := abi_decode_array_uint256_dyn_calldata(add(headStart, offset), dataEnd)\n        value0 := value0_1\n        value1 := value1_1\n        let offset_1 := calldataload(add(headStart, 32))\n        if gt(offset_1, _1) { revert(0, 0) }\n        let value2_1, value3_1 := abi_decode_array_uint256_dyn_calldata(add(headStart, offset_1), dataEnd)\n        value2 := value2_1\n        value3 := value3_1\n    }\n    function abi_decode_tuple_t_contract$_ITokenMetadata_$4200(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n    }\n    function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n    }\n    function abi_decode_tuple_t_bytes32t_uint256(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := calldataload(headStart)\n        value1 := calldataload(add(headStart, 32))\n    }\n    function abi_encode_tuple_t_struct$_ValueVariables_$4210_memory_ptr_t_struct$_RewardSummations_$4215_memory_ptr_t_uint160_t_uint48_t_uint48__to_t_struct$_ValueVariables_$4210_memory_ptr_t_struct$_RewardSummations_$4215_memory_ptr_t_uint160_t_uint48_t_uint48__fromStack_reversed(headStart, value4, value3, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 224)\n        mstore(headStart, and(mload(value0), 0xffffffffffffffffffffffff))\n        let memberValue0 := mload(add(value0, 0x20))\n        let _1 := 0xffffffffffffffffffffffffffffffffffffffff\n        mstore(add(headStart, 0x20), and(memberValue0, _1))\n        mstore(add(headStart, 64), mload(value1))\n        mstore(add(headStart, 96), mload(add(value1, 0x20)))\n        mstore(add(headStart, 128), and(value2, _1))\n        let _2 := 0xffffffffffff\n        mstore(add(headStart, 160), and(value3, _2))\n        mstore(add(headStart, 192), and(value4, _2))\n    }\n    function validator_revert_bool(value)\n    {\n        if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_bool(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_bool(value_1)\n        value1 := value_1\n    }\n    function panic_error_0x41()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function allocate_memory(size) -> memPtr\n    {\n        memPtr := mload(64)\n        let newFreePtr := add(memPtr, and(add(size, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))\n        if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n        mstore(64, newFreePtr)\n    }\n    function array_allocation_size_bytes(length) -> size\n    {\n        if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n        size := add(and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0), 0x20)\n    }\n    function abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr(headStart, dataEnd) -> value0, value1, value2, value3\n    {\n        if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n        value2 := calldataload(add(headStart, 64))\n        let offset := calldataload(add(headStart, 96))\n        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 _2 := calldataload(_1)\n        let array := allocate_memory(array_allocation_size_bytes(_2))\n        mstore(array, _2)\n        if gt(add(add(_1, _2), 32), dataEnd) { revert(0, 0) }\n        calldatacopy(add(array, 32), add(_1, 32), _2)\n        mstore(add(add(array, _2), 32), 0)\n        value3 := array\n    }\n    function abi_encode_tuple_t_uint40__to_t_uint40__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffffffffff))\n    }\n    function abi_decode_tuple_t_addresst_uint256t_uint256(headStart, dataEnd) -> value0, value1, value2\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        value1 := calldataload(add(headStart, 32))\n        value2 := calldataload(add(headStart, 64))\n    }\n    function abi_encode_tuple_t_array$_t_uint256_$dyn_memory_ptr__to_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        let _1 := 32\n        let tail_1 := add(headStart, _1)\n        mstore(headStart, _1)\n        let pos := tail_1\n        let length := mload(value0)\n        mstore(tail_1, length)\n        pos := add(headStart, 64)\n        let srcPtr := add(value0, _1)\n        let i := 0\n        for { } lt(i, length) { i := add(i, 1) }\n        {\n            mstore(pos, mload(srcPtr))\n            pos := add(pos, _1)\n            srcPtr := add(srcPtr, _1)\n        }\n        tail := pos\n    }\n    function abi_encode_tuple_t_contract$_IERC20_$616__to_t_address__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n    }\n    function abi_encode_tuple_t_uint96_t_uint160__to_t_uint96_t_uint160__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, and(value0, 0xffffffffffffffffffffffff))\n        mstore(add(headStart, 32), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n    }\n    function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n    }\n    function abi_encode_tuple_t_contract$_ITokenMetadata_$4200__to_t_address__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\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 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, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n            mstore(4, 0x22)\n            revert(0, 0x24)\n        }\n    }\n    function abi_encode_tuple_t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 33)\n        mstore(add(headStart, 64), \"ERC721: approval to current owne\")\n        mstore(add(headStart, 96), \"r\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_c6e14a63ffb144eeef7cce6988e5dce07c60a7e0a7b1ef25dbe18c61483e0a83__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 61)\n        mstore(add(headStart, 64), \"ERC721: approve caller is not to\")\n        mstore(add(headStart, 96), \"ken owner or approved for all\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 45)\n        mstore(add(headStart, 64), \"ERC721: caller is not token owne\")\n        mstore(add(headStart, 96), \"r or approved\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_1d7f5dcf03a65f41ee49b0ab593e3851cfbe3fd7da53b6cf4eddd83c7df5734c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 43)\n        mstore(add(headStart, 64), \"ERC721Enumerable: owner index ou\")\n        mstore(add(headStart, 96), \"t of bounds\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 47)\n        mstore(add(headStart, 64), \"AccessControl: can only renounce\")\n        mstore(add(headStart, 96), \" roles for self\")\n        tail := add(headStart, 128)\n    }\n    function panic_error_0x11()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x11)\n        revert(0, 0x24)\n    }\n    function checked_mul_t_uint256(x, y) -> product\n    {\n        if and(iszero(iszero(x)), gt(y, div(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, x))) { panic_error_0x11() }\n        product := mul(x, y)\n    }\n    function checked_div_t_uint256(x, y) -> r\n    {\n        if iszero(y)\n        {\n            mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n            mstore(4, 0x12)\n            revert(0, 0x24)\n        }\n        r := div(x, y)\n    }\n    function abi_encode_tuple_t_stringliteral_d269a4e9f5820dcdb69ea21f528512eb9b927c8d846d48aa51c9219f461d4dcc__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 44)\n        mstore(add(headStart, 64), \"ERC721Enumerable: global index o\")\n        mstore(add(headStart, 96), \"ut of bounds\")\n        tail := add(headStart, 128)\n    }\n    function panic_error_0x32()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x32)\n        revert(0, 0x24)\n    }\n    function abi_encode_tuple_t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 24)\n        mstore(add(headStart, 64), \"ERC721: invalid token ID\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_stringliteral_6d05c90094f31cfeb8f0eb86f0a513af3f7f8992991fbde41b08aa7960677159__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 41)\n        mstore(add(headStart, 64), \"ERC721: address zero is not a va\")\n        mstore(add(headStart, 96), \"lid owner\")\n        tail := add(headStart, 128)\n    }\n    function checked_add_t_uint96(x, y) -> sum\n    {\n        let _1 := 0xffffffffffffffffffffffff\n        let x_1 := and(x, _1)\n        let y_1 := and(y, _1)\n        if gt(x_1, sub(_1, y_1)) { panic_error_0x11() }\n        sum := add(x_1, y_1)\n    }\n    function increment_t_uint256(value) -> ret\n    {\n        if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { panic_error_0x11() }\n        ret := add(value, 1)\n    }\n    function abi_encode_tuple_t_contract$_PangolinStakingPositions_$5430_t_uint256__to_t_address_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n        mstore(add(headStart, 32), value1)\n    }\n    function abi_decode_tuple_t_string_memory_ptr_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let offset := mload(headStart)\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 _2 := mload(_1)\n        let array := allocate_memory(array_allocation_size_bytes(_2))\n        mstore(array, _2)\n        if gt(add(add(_1, _2), 32), dataEnd) { revert(0, 0) }\n        copy_memory_to_memory(add(_1, 32), add(array, 32), _2)\n        value0 := array\n    }\n    function checked_sub_t_uint256(x, y) -> diff\n    {\n        if lt(x, y) { panic_error_0x11() }\n        diff := sub(x, y)\n    }\n    function checked_add_t_uint256(x, y) -> sum\n    {\n        if gt(x, not(y)) { panic_error_0x11() }\n        sum := add(x, y)\n    }\n    function abi_encode_tuple_t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 37)\n        mstore(add(headStart, 64), \"ERC721: transfer from incorrect \")\n        mstore(add(headStart, 96), \"owner\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 36)\n        mstore(add(headStart, 64), \"ERC721: transfer to the zero add\")\n        mstore(add(headStart, 96), \"ress\")\n        tail := add(headStart, 128)\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, 0xffffffffffffffffffffffffffffffffffffffff))\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        validator_revert_bool(value)\n        value0 := value\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        let _1 := 0xffffffffffffffffffffffffffffffffffffffff\n        mstore(headStart, and(value0, _1))\n        mstore(add(headStart, 32), and(value1, _1))\n        mstore(add(headStart, 64), value2)\n    }\n    function abi_encode_tuple_t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 32)\n        mstore(add(headStart, 64), \"ERC721: mint to the zero address\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 28)\n        mstore(add(headStart, 64), \"ERC721: token already minted\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 25)\n        mstore(add(headStart, 64), \"ERC721: approve to caller\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 50)\n        mstore(add(headStart, 64), \"ERC721: transfer to non ERC721Re\")\n        mstore(add(headStart, 96), \"ceiver implementer\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n    {\n        mstore(pos, \"AccessControl: account \")\n        let length := mload(value0)\n        copy_memory_to_memory(add(value0, 0x20), add(pos, 23), length)\n        let _1 := add(pos, length)\n        mstore(add(_1, 23), \" is missing role \")\n        let length_1 := mload(value1)\n        copy_memory_to_memory(add(value1, 0x20), add(_1, 40), length_1)\n        end := add(add(_1, length_1), 40)\n    }\n    function panic_error_0x01()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x01)\n        revert(0, 0x24)\n    }\n    function abi_encode_tuple_t_address_t_address_t_uint256_t_bytes_memory_ptr__to_t_address_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed(headStart, value3, value2, value1, value0) -> tail\n    {\n        let _1 := 0xffffffffffffffffffffffffffffffffffffffff\n        mstore(headStart, and(value0, _1))\n        mstore(add(headStart, 32), and(value1, _1))\n        mstore(add(headStart, 64), value2)\n        mstore(add(headStart, 96), 128)\n        tail := abi_encode_string(value3, add(headStart, 128))\n    }\n    function abi_decode_tuple_t_bytes4_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := mload(headStart)\n        validator_revert_bytes4(value)\n        value0 := value\n    }\n    function abi_encode_tuple_t_stringliteral_da49291af84b6a1e37ed9eacd9a67360593e4a0e561cb261a6a738f621783314__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 53)\n        mstore(add(headStart, 64), \"ERC721Enumerable: consecutive tr\")\n        mstore(add(headStart, 96), \"ansfers not supported\")\n        tail := add(headStart, 128)\n    }\n    function decrement_t_uint256(value) -> ret\n    {\n        if iszero(value) { panic_error_0x11() }\n        ret := add(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n    }\n    function abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 32)\n        mstore(add(headStart, 64), \"Strings: hex length insufficient\")\n        tail := add(headStart, 96)\n    }\n    function panic_error_0x31()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x31)\n        revert(0, 0x24)\n    }\n}","id":21,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{"5460":[{"length":32,"start":2053},{"length":32,"start":9753},{"length":32,"start":9984}]},"linkReferences":{},"object":"608060405234801561001057600080fd5b506004361061034c5760003560e01c80637b0472f0116101bd578063b88d4fde116100f9578063d547741f116100a2578063e985e9c51161007c578063e985e9c5146108ac578063ebe2b12b146108e8578063f5b2cad714610900578063f5c455001461091357600080fd5b8063d547741f14610827578063ddc632621461083a578063df3e1aa41461084d57600080fd5b8063ca15c873116100d3578063ca15c873146107cd578063ce9e2daa146107e0578063d1af0c7d1461080057600080fd5b8063b88d4fde14610772578063c046371114610785578063c87b56dd146107ba57600080fd5b806399fbab8811610166578063a22cb46511610140578063a22cb46514610730578063aa5f7e2614610743578063aea62e3f14610756578063b470aade1461076957600080fd5b806399fbab8814610615578063a0712d6814610715578063a217fddf1461072857600080fd5b80639010d07c116101975780639010d07c146105c157806391d14854146105d457806395d89b411461060d57600080fd5b80637b0472f0146105935780637b0a47ee146105a65780637c2d6e01146105ae57600080fd5b806342842e0e1161028c5780635e4c911f116102355780636fdff40f1161020f5780636fdff40f1461054757806370a082311461055a57806374de4ec41461056d57806375c3fd3f1461058057600080fd5b80635e4c911f146105195780635faa65ff1461052c5780636352211e1461053457600080fd5b8063468cc41e11610266578063468cc41e146104e0578063496cea98146104f35780634f6ccce71461050657600080fd5b806342842e0e146104a757806342966c68146104ba578063441a3e70146104cd57600080fd5b806323b872dd116102f95780632f745c59116102d35780632f745c5914610465578063340b13361461047857806336568abe146104815780634231b0bd1461049457600080fd5b806323b872dd1461041c578063248a9ca31461042f5780632f2ff15d1461045257600080fd5b8063095ea7b31161032a578063095ea7b3146103b9578063098b8858146103ce57806318160ddd1461040a57600080fd5b806301ffc9a71461035157806306fdde0314610379578063081812fc1461038e575b600080fd5b61036461035f36600461376d565b610936565b60405190151581526020015b60405180910390f35b610381610956565b60405161037091906137e2565b6103a161039c3660046137f5565b6109e8565b6040516001600160a01b039091168152602001610370565b6103cc6103c7366004613823565b610a0f565b005b600c546103ed90600160a01b90046bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff9091168152602001610370565b6008545b604051908152602001610370565b6103cc61042a36600461384f565b610b45565b61040e61043d3660046137f5565b6000908152600a602052604090206001015490565b6103cc610460366004613890565b610bcc565b61040e610473366004613823565b610bf1565b61040e60135481565b6103cc61048f366004613890565b610c99565b6103cc6104a23660046137f5565b610d25565b6103cc6104b536600461384f565b610d31565b6103cc6104c83660046137f5565b610d4c565b6103cc6104db3660046138c0565b610da9565b61040e6104ee3660046137f5565b610dbb565b61040e6105013660046137f5565b610e19565b61040e6105143660046137f5565b610e3f565b6103cc61052736600461392e565b610ee3565b6103cc610f7a565b6103a16105423660046137f5565b61108c565b6103cc61055536600461399a565b6110f1565b61040e61056836600461399a565b61115f565b6103cc61057b3660046137f5565b6111f9565b6103cc61058e3660046137f5565b611413565b6103cc6105a13660046138c0565b611477565b61040e611489565b6103cc6105bc3660046137f5565b6114cc565b6103a16105cf3660046138c0565b6115a1565b6103646105e2366004613890565b6000918252600a602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6103816115c0565b6106b16106233660046137f5565b600e602090815260009182526040918290208251808401845281546bffffffffffffffffffffffff811682526001600160a01b036c0100000000000000000000000090910481168285015284518086019095526001830154855260028301549385019390935260039091015490929181169065ffffffffffff600160a01b8204811691600160d01b90041685565b6040805186516bffffffffffffffffffffffff1681526020968701516001600160a01b03908116888301528651928201929092529590940151606086015292909116608084015265ffffffffffff90811660a08401521660c082015260e001610370565b61040e6107233660046137f5565b6115cf565b61040e600081565b6103cc61073e3660046139c5565b611608565b6103cc6107513660046137f5565b611613565b6103cc61076436600461392e565b611626565b61040e600d5481565b6103cc610780366004613a62565b6116b5565b600c546107a4906a0100000000000000000000900464ffffffffff1681565b60405164ffffffffff9091168152602001610370565b6103816107c83660046137f5565b611743565b61040e6107db3660046137f5565b6117de565b6107f36107ee366004613b11565b6117f5565b6040516103709190613b46565b6103a17f000000000000000000000000000000000000000000000000000000000000000081565b6103cc610835366004613890565b6118bc565b6103cc6108483660046137f5565b6118e1565b601054610880906bffffffffffffffffffffffff8116906c0100000000000000000000000090046001600160a01b031682565b604080516bffffffffffffffffffffffff90931683526001600160a01b03909116602083015201610370565b6103646108ba366004613b8a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600c546107a490600160781b900464ffffffffff1681565b600f546103a1906001600160a01b031681565b601154601254610921919082565b60408051928352602083019190915201610370565b6000610941826119ab565b806109505750610950826119e9565b92915050565b60606000805461096590613bb8565b80601f016020809104026020016040519081016040528092919081815260200182805461099190613bb8565b80156109de5780601f106109b3576101008083540402835291602001916109de565b820191906000526020600020905b8154815290600101906020018083116109c157829003601f168201915b5050505050905090565b60006109f382611a27565b506000908152600460205260409020546001600160a01b031690565b6000610a1a8261108c565b9050806001600160a01b0316836001600160a01b031603610aa85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b0382161480610ac45750610ac481336108ba565b610b365760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a9f565b610b408383611a8b565b505050565b610b4f3382611b06565b610bc15760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610a9f565b610b40838383611b84565b6000828152600a6020526040902060010154610be781611dc7565b610b408383611dd1565b6000610bfc8361115f565b8210610c705760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a9f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b0381163314610d175760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610a9f565b610d218282611df3565b5050565b610d2e81611e15565b50565b610b40838383604051806020016040528060008152506116b5565b6000818152600e60205260409020546bffffffffffffffffffffffff1615610da0576040517fc1ab6dc100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d2e81611f2c565b610db1611f8a565b610d218282611fdf565b600080610dc860106121af565b6000848152600e6020526040812091925090610de3906121af565b90508015610e0e578181610df5611489565b610dff9190613c08565b610e099190613c27565b610e11565b60005b949350505050565b6000818152600e6020526040812081610e338260016121f0565b9050610e1181836122fb565b6000610e4a60085490565b8210610ebe5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a9f565b60088281548110610ed157610ed1613c49565b90600052602060002001549050919050565b610eeb611f8a565b82818114610f25576040517f568efce200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610f7257610f6a868683818110610f4557610f45613c49565b90506020020135858584818110610f5e57610f5e613c49565b905060200201356123b7565b600101610f28565b505050505050565b6000610f8581611dc7565b600c54600160781b900464ffffffffff16428111610fcf576040517fecdd1c2900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c805464ffffffffff42908116600160781b027fffffffffffffffffffffffff0000000000ffffffffffffffffffffffffffffff91850369ffffffffffffffffffff8416026bffffffffffffffffffffffff600160a01b808604821683900390911602929092166effffffffffffffffffffffffffffff909316929092179190911790915561105e816125e4565b6040517fac02d07d013ae7c7e3ee940f8df0877c2ab1103bf87ab258ce31665f7111f09290600090a1505050565b6000818152600260205260408120546001600160a01b0316806109505760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610a9f565b60006110fc81611dc7565b600f805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091556040519081527f8a1803707dfd67114623e59e8141ee8d109332da42c6c3e8212724807e140a6b906020015b60405180910390a15050565b60006001600160a01b0382166111dd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610a9f565b506001600160a01b031660009081526003602052604090205490565b7f0914bb97ca83e85ef385857d9d418f187ff630589e0c9f44db92976d8e4519cb61122381611dc7565b600d546bffffffffffffffffffffffff83111561126c576040517f35278d1200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60148282829054906101000a90046bffffffffffffffffffffffff166112959190613c5f565b82546bffffffffffffffffffffffff9182166101009390930a928302919092021990911617905550600c5460009064ffffffffff600160781b820481166a010000000000000000000090920416106112f0575080830461132a565b50600c5464ffffffffff6a010000000000000000000082048116600160781b83049091160369ffffffffffffffffffff9091160283018190045b8060000361134b576040516324d0659d60e11b815260040160405180910390fd5b600c80544284810164ffffffffff908116600160781b027fffffffffffffffffffffffff0000000000ffffffffffffffffffffffffffffff919092166a0100000000000000000000027fffffffffffffffffffffffffffffffffff00000000000000000000000000000090931669ffffffffffffffffffff86161792909217919091161790556113da846126c5565b6040518481527fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9060200160405180910390a150505050565b600061141e81611dc7565b6202a30082111561144257604051632d0483c560e21b815260040160405180910390fd5b60138290556040518281527fa959cb2cc91580147f93f66fb85db8f308cfdaef3989ab5265408ff80ef6fa6690602001611153565b61147f611f8a565b610d2182826123b7565b600c5460009042600160781b90910464ffffffffff16106114b857600c5469ffffffffffffffffffff166114bb565b60005b69ffffffffffffffffffff16905090565b60006114d781611dc7565b600c5442600160781b90910464ffffffffff161115611522576040517f085de62500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6201000182101561154657604051632d0483c560e21b815260040160405180910390fd5b64010000000082111561156c57604051632d0483c560e21b815260040160405180910390fd5b600d8290556040518281527fbd6eb9cf4d6e2902587c57e3163aaafdb46e3b3f2086bdfa75c790228930a9d790602001611153565b6000828152600b602052604081206115b99083612737565b9392505050565b60606001805461096590613bb8565b60006115d9611f8a565b6014600081546115e890613c8f565b918290555090506115f93382612743565b61160381836123b7565b919050565b610d213383836128e9565b61161b611f8a565b610d2e8160006123b7565b61162e611f8a565b82818114611668576040517f568efce200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610f72576116ad86868381811061168857611688613c49565b905060200201358585848181106116a1576116a1613c49565b90506020020135611fdf565b60010161166b565b6116bf3383611b06565b6117315760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610a9f565b61173d848484846129b7565b50505050565b606061174e82611a27565b600f546040517fe9dc6375000000000000000000000000000000000000000000000000000000008152306004820152602481018490526001600160a01b039091169063e9dc637590604401600060405180830381865afa1580156117b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109509190810190613ca9565b6000818152600b6020526040812061095090612a40565b60608183111561181857604051632d0483c560e21b815260040160405180910390fd5b60006118248484613d17565b61182f906001613d2e565b905060008167ffffffffffffffff81111561184c5761184c6139f3565b604051908082528060200260200182016040528015611875578160200160208202803683370190505b5090505b8385116118b35761188a8686610bf1565b81868151811061189c5761189c613c49565b602002602001018181525050846001019450611879565b95945050505050565b6000828152600a60205260409020600101546118d781611dc7565b610b408383611df3565b6118e9611f8a565b610d2e816000611fdf565b6000828152600a602090815260408083206001600160a01b038516845290915290205460ff16610d21576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff191660011790556119523390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006115b9836001600160a01b038416612a4a565b60006001600160e01b031982167f5a05180f000000000000000000000000000000000000000000000000000000001480610950575061095082612a99565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610950575061095082612ad7565b6000818152600260205260409020546001600160a01b0316610d2e5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610a9f565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611acd8261108c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611b128361108c565b9050806001600160a01b0316846001600160a01b03161480611b5957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610e115750836001600160a01b0316611b72846109e8565b6001600160a01b031614949350505050565b826001600160a01b0316611b978261108c565b6001600160a01b031614611c135760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610a9f565b6001600160a01b038216611c8e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a9f565b611c9b8383836001612b72565b826001600160a01b0316611cae8261108c565b6001600160a01b031614611d2a5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610a9f565b6000818152600460209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610d2e8133612bfa565b611ddb82826118f4565b6000828152600b60205260409020610b409082611996565b611dfd8282612c6f565b6000828152600b60205260409020610b409082612cf2565b8033611e208261108c565b6001600160a01b031614611e4757604051631c62c2b160e11b815260040160405180910390fd5b6000828152600e60209081526040918290208251808401909352546bffffffffffffffffffffffff8082168085526001600160a01b036c01000000000000000000000000938490048116948601859052601080548085168490039094166bffffffffffffffffffffffff1990941684178590048216959095031690920217909155611ed184611f2c565b611ee8816bffffffffffffffffffffffff166125e4565b6000816bffffffffffffffffffffffff16857fabd2ab552bc04cdbfa4a54107fa44ac8c9cb06f6d21da11933ac05a653be19e960405160405180910390a450505050565b8033611f378261108c565b6001600160a01b031614611f5e57604051631c62c2b160e11b815260040160405180910390fd5b6000828152600e60205260408120818155600181018290556002810182905560030155610d2182612d07565b6000611f94612db7565b9050600080611fa283612e04565b915091508160116000016000828254611fbb9190613d2e565b909155505060128054829190600090611fd5908490613d2e565b9091555050505050565b8133611fea8261108c565b6001600160a01b03161461201157604051631c62c2b160e11b815260040160405180910390fd5b6000838152600e6020526040902080546bffffffffffffffffffffffff1680841115612069576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061207483612e7d565b905060006120828287613d2e565b9050806000036120a5576040516324d0659d60e11b815260040160405180910390fd5b601080546bffffffffffffffffffffffff1981166bffffffffffffffffffffffff918216899003821690811780845587546c01000000000000000000000000908190046001600160a01b039081168c8a0342818102958590048416860192909203831684029095179096559290931691169091021785557fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff600160d01b65ffffffffffff90921691820216600160a01b90910217600385015560115460018501556012546002850155612177816125e4565b8186887fabd2ab552bc04cdbfa4a54107fa44ac8c9cb06f6d21da11933ac05a653be19e960405160405180910390a450505050505050565b80546000906001600160a01b036c01000000000000000000000000820416906121e6906bffffffffffffffffffffffff1642613c08565b6109509190613d17565b60408051808201909152600080825260208201526003830154600160a01b900465ffffffffffff1660000361223957506040805180820190915260008082526020820152610950565b6001830182156122bd57600061224d612e97565b905060008061225b83612e04565b9150915060405180604001604052808560000154846011600001546122809190613d2e565b61228a9190613d17565b81526020018560010154836011600101546122a59190613d2e565b6122af9190613d17565b815250945050505050610950565b60408051808201909152815460115482916122d791613d17565b815260200182600101546011600101546122f19190613d17565b9052949350505050565b6003810154600090600160a01b900465ffffffffffff16156123ae576003820154602084015170010000000000000000000000000000000091612349916001600160a01b0390911690613c08565b8354600385015460208701516bffffffffffffffffffffffff9092169161237f91600160a01b900465ffffffffffff1690613c08565b865161238b9190613d17565b6123959190613c08565b61239f9190613d2e565b6123a99190613c27565b6115b9565b50600092915050565b81336123c28261108c565b6001600160a01b0316146123e957604051631c62c2b160e11b815260040160405180910390fd5b6000838152600e602052604081209061240182612e7d565b9050600061240f8286613d2e565b905080600003612432576040516324d0659d60e11b815260040160405180910390fd5b6010546000906124519083906bffffffffffffffffffffffff16613d2e565b90506bffffffffffffffffffffffff811115612499576040517f35278d1200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601080546bffffffffffffffffffffffff8381166001600160a01b036c0100000000000000000000000093849004811642808902918201831686026bffffffffffffffffffffffff19908116949094179096558954808516808a0190951693168317859004821601811690930217875560038701805480841665ffffffffffff600160a01b8304169095039092029390930190911673ffffffffffffffffffffffffffffffffffffffff1990911617905561259d8460038101805465ffffffffffff4216600160a01b027fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff9091161790556011546001820155601254600290910155565b85156125ac576125ac866126c5565b8286887fc8acfabcfb3af3df23b7b8a1aa1371d042bee71e137eeedc881ffa8f3c44626160405160405180910390a450505050505050565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044015b6020604051808303816000875af115801561266b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268f9190613d46565b610d2e576040517fbfa871c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd9060640161264c565b60006115b98383612f16565b6001600160a01b0382166127995760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a9f565b6000818152600260205260409020546001600160a01b0316156127fe5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a9f565b61280c600083836001612b72565b6000818152600260205260409020546001600160a01b0316156128715760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a9f565b6001600160a01b0382166000818152600360209081526040808320805460010190558483526002909152808220805473ffffffffffffffffffffffffffffffffffffffff19168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b03160361294a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a9f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6129c2848484611b84565b6129ce84848484612f40565b61173d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a9f565b6000610950825490565b6000818152600183016020526040812054612a9157508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610950565b506000610950565b60006001600160e01b031982167f7965db0b0000000000000000000000000000000000000000000000000000000014806109505750610950826119e9565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480612b3a57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061095057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610950565b336001600160a01b03851614612bee576013546000838152600e60205260408120600301549091612bb191600160d01b900465ffffffffffff16613d2e565b9050804211612bec576040517f085de62500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b61173d848484846130c9565b6000828152600a602090815260408083206001600160a01b038516845290915290205460ff16610d2157612c2d81613211565b612c38836020613223565b604051602001612c49929190613d63565b60408051601f198184030181529082905262461bcd60e51b8252610a9f916004016137e2565b6000828152600a602090815260408083206001600160a01b038516845290915290205460ff1615610d21576000828152600a602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006115b9836001600160a01b03841661344c565b6000612d128261108c565b9050612d22816000846001612b72565b612d2b8261108c565b6000838152600460209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000612dc1612e97565b600c80547fffffffffffffffffffffffffffffffffff0000000000ffffffffffffffffffff166a01000000000000000000004264ffffffffff1602179055919050565b6000806000612e1360106121af565b90508015612e775780700100000000000000000000000000000000612e384287613c08565b612e429190613c08565b612e4c9190613c27565b925080612e6a70010000000000000000000000000000000086613c08565b612e749190613c27565b91505b50915091565b600080612e8b8360006121f0565b90506115b981846122fb565b600c54600090600160781b900464ffffffffff1681428210612eb95742612ebb565b815b600c549091506a0100000000000000000000900464ffffffffff1680821115612ef457600c5469ffffffffffffffffffff168183030293505b6bffffffffffffffffffffffff841115612f1057612f10613de4565b50505090565b6000826000018281548110612f2d57612f2d613c49565b9060005260206000200154905092915050565b60006001600160a01b0384163b156130be576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612f9d903390899088908890600401613dfa565b6020604051808303816000875af1925050508015612fd8575060408051601f3d908101601f19168201909252612fd591810190613e36565b60015b61308b573d808015613006576040519150601f19603f3d011682016040523d82523d6000602084013e61300b565b606091505b5080516000036130835760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a9f565b805181602001fd5b6001600160e01b0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050610e11565b506001949350505050565b6130d58484848461353f565b600181111561314c5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e736563757469766520747260448201527f616e7366657273206e6f7420737570706f7274656400000000000000000000006064820152608401610a9f565b816001600160a01b0385166131a8576131a381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6131cb565b836001600160a01b0316856001600160a01b0316146131cb576131cb85826135c7565b6001600160a01b0384166131e7576131e281613664565b61320a565b846001600160a01b0316846001600160a01b03161461320a5761320a8482613713565b5050505050565b60606109506001600160a01b03831660145b60606000613232836002613c08565b61323d906002613d2e565b67ffffffffffffffff811115613255576132556139f3565b6040519080825280601f01601f19166020018201604052801561327f576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132b6576132b6613c49565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061331957613319613c49565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000613355846002613c08565b613360906001613d2e565b90505b60018111156133fd577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106133a1576133a1613c49565b1a60f81b8282815181106133b7576133b7613c49565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936133f681613e53565b9050613363565b5083156115b95760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a9f565b60008181526001830160205260408120548015613535576000613470600183613d17565b855490915060009061348490600190613d17565b90508181146134e95760008660000182815481106134a4576134a4613c49565b90600052602060002001549050808760000184815481106134c7576134c7613c49565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806134fa576134fa613e6a565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610950565b6000915050610950565b600181111561173d576001600160a01b03841615613585576001600160a01b0384166000908152600360205260408120805483929061357f908490613d17565b90915550505b6001600160a01b0383161561173d576001600160a01b038316600090815260036020526040812080548392906135bc908490613d2e565b909155505050505050565b600060016135d48461115f565b6135de9190613d17565b600083815260076020526040902054909150808214613631576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061367690600190613d17565b6000838152600960205260408120546008805493945090928490811061369e5761369e613c49565b9060005260206000200154905080600883815481106136bf576136bf613c49565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806136f7576136f7613e6a565b6001900381819060005260206000200160009055905550505050565b600061371e8361115f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610d2e57600080fd5b60006020828403121561377f57600080fd5b81356115b981613757565b60005b838110156137a557818101518382015260200161378d565b8381111561173d5750506000910152565b600081518084526137ce81602086016020860161378a565b601f01601f19169290920160200192915050565b6020815260006115b960208301846137b6565b60006020828403121561380757600080fd5b5035919050565b6001600160a01b0381168114610d2e57600080fd5b6000806040838503121561383657600080fd5b82356138418161380e565b946020939093013593505050565b60008060006060848603121561386457600080fd5b833561386f8161380e565b9250602084013561387f8161380e565b929592945050506040919091013590565b600080604083850312156138a357600080fd5b8235915060208301356138b58161380e565b809150509250929050565b600080604083850312156138d357600080fd5b50508035926020909101359150565b60008083601f8401126138f457600080fd5b50813567ffffffffffffffff81111561390c57600080fd5b6020830191508360208260051b850101111561392757600080fd5b9250929050565b6000806000806040858703121561394457600080fd5b843567ffffffffffffffff8082111561395c57600080fd5b613968888389016138e2565b9096509450602087013591508082111561398157600080fd5b5061398e878288016138e2565b95989497509550505050565b6000602082840312156139ac57600080fd5b81356115b98161380e565b8015158114610d2e57600080fd5b600080604083850312156139d857600080fd5b82356139e38161380e565b915060208301356138b5816139b7565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613a3257613a326139f3565b604052919050565b600067ffffffffffffffff821115613a5457613a546139f3565b50601f01601f191660200190565b60008060008060808587031215613a7857600080fd5b8435613a838161380e565b93506020850135613a938161380e565b925060408501359150606085013567ffffffffffffffff811115613ab657600080fd5b8501601f81018713613ac757600080fd5b8035613ada613ad582613a3a565b613a09565b818152886020838501011115613aef57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b600080600060608486031215613b2657600080fd5b8335613b318161380e565b95602085013595506040909401359392505050565b6020808252825182820181905260009190848201906040850190845b81811015613b7e57835183529284019291840191600101613b62565b50909695505050505050565b60008060408385031215613b9d57600080fd5b8235613ba88161380e565b915060208301356138b58161380e565b600181811c90821680613bcc57607f821691505b602082108103613bec57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613c2257613c22613bf2565b500290565b600082613c4457634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006bffffffffffffffffffffffff808316818516808303821115613c8657613c86613bf2565b01949350505050565b60006000198203613ca257613ca2613bf2565b5060010190565b600060208284031215613cbb57600080fd5b815167ffffffffffffffff811115613cd257600080fd5b8201601f81018413613ce357600080fd5b8051613cf1613ad582613a3a565b818152856020838501011115613d0657600080fd5b6118b382602083016020860161378a565b600082821015613d2957613d29613bf2565b500390565b60008219821115613d4157613d41613bf2565b500190565b600060208284031215613d5857600080fd5b81516115b9816139b7565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613d9b81601785016020880161378a565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351613dd881602884016020880161378a565b01602801949350505050565b634e487b7160e01b600052600160045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152613e2c60808301846137b6565b9695505050505050565b600060208284031215613e4857600080fd5b81516115b981613757565b600081613e6257613e62613bf2565b506000190190565b634e487b7160e01b600052603160045260246000fdfea26469706673582212208466454c916a0f0ba4c38f4e538bca6a31d10def7fc72f12df3d85267271798964736f6c634300080f0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7B0472F0 GT PUSH2 0x1BD JUMPI DUP1 PUSH4 0xB88D4FDE GT PUSH2 0xF9 JUMPI DUP1 PUSH4 0xD547741F GT PUSH2 0xA2 JUMPI DUP1 PUSH4 0xE985E9C5 GT PUSH2 0x7C JUMPI DUP1 PUSH4 0xE985E9C5 EQ PUSH2 0x8AC JUMPI DUP1 PUSH4 0xEBE2B12B EQ PUSH2 0x8E8 JUMPI DUP1 PUSH4 0xF5B2CAD7 EQ PUSH2 0x900 JUMPI DUP1 PUSH4 0xF5C45500 EQ PUSH2 0x913 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xD547741F EQ PUSH2 0x827 JUMPI DUP1 PUSH4 0xDDC63262 EQ PUSH2 0x83A JUMPI DUP1 PUSH4 0xDF3E1AA4 EQ PUSH2 0x84D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xCA15C873 GT PUSH2 0xD3 JUMPI DUP1 PUSH4 0xCA15C873 EQ PUSH2 0x7CD JUMPI DUP1 PUSH4 0xCE9E2DAA EQ PUSH2 0x7E0 JUMPI DUP1 PUSH4 0xD1AF0C7D EQ PUSH2 0x800 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xB88D4FDE EQ PUSH2 0x772 JUMPI DUP1 PUSH4 0xC0463711 EQ PUSH2 0x785 JUMPI DUP1 PUSH4 0xC87B56DD EQ PUSH2 0x7BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x99FBAB88 GT PUSH2 0x166 JUMPI DUP1 PUSH4 0xA22CB465 GT PUSH2 0x140 JUMPI DUP1 PUSH4 0xA22CB465 EQ PUSH2 0x730 JUMPI DUP1 PUSH4 0xAA5F7E26 EQ PUSH2 0x743 JUMPI DUP1 PUSH4 0xAEA62E3F EQ PUSH2 0x756 JUMPI DUP1 PUSH4 0xB470AADE EQ PUSH2 0x769 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x99FBAB88 EQ PUSH2 0x615 JUMPI DUP1 PUSH4 0xA0712D68 EQ PUSH2 0x715 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x728 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x9010D07C GT PUSH2 0x197 JUMPI DUP1 PUSH4 0x9010D07C EQ PUSH2 0x5C1 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x5D4 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x60D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x7B0472F0 EQ PUSH2 0x593 JUMPI DUP1 PUSH4 0x7B0A47EE EQ PUSH2 0x5A6 JUMPI DUP1 PUSH4 0x7C2D6E01 EQ PUSH2 0x5AE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x42842E0E GT PUSH2 0x28C JUMPI DUP1 PUSH4 0x5E4C911F GT PUSH2 0x235 JUMPI DUP1 PUSH4 0x6FDFF40F GT PUSH2 0x20F JUMPI DUP1 PUSH4 0x6FDFF40F EQ PUSH2 0x547 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x55A JUMPI DUP1 PUSH4 0x74DE4EC4 EQ PUSH2 0x56D JUMPI DUP1 PUSH4 0x75C3FD3F EQ PUSH2 0x580 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x5E4C911F EQ PUSH2 0x519 JUMPI DUP1 PUSH4 0x5FAA65FF EQ PUSH2 0x52C JUMPI DUP1 PUSH4 0x6352211E EQ PUSH2 0x534 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x468CC41E GT PUSH2 0x266 JUMPI DUP1 PUSH4 0x468CC41E EQ PUSH2 0x4E0 JUMPI DUP1 PUSH4 0x496CEA98 EQ PUSH2 0x4F3 JUMPI DUP1 PUSH4 0x4F6CCCE7 EQ PUSH2 0x506 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x42842E0E EQ PUSH2 0x4A7 JUMPI DUP1 PUSH4 0x42966C68 EQ PUSH2 0x4BA JUMPI DUP1 PUSH4 0x441A3E70 EQ PUSH2 0x4CD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x23B872DD GT PUSH2 0x2F9 JUMPI DUP1 PUSH4 0x2F745C59 GT PUSH2 0x2D3 JUMPI DUP1 PUSH4 0x2F745C59 EQ PUSH2 0x465 JUMPI DUP1 PUSH4 0x340B1336 EQ PUSH2 0x478 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x481 JUMPI DUP1 PUSH4 0x4231B0BD EQ PUSH2 0x494 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x23B872DD EQ PUSH2 0x41C JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x42F JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x452 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x95EA7B3 GT PUSH2 0x32A JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x3B9 JUMPI DUP1 PUSH4 0x98B8858 EQ PUSH2 0x3CE JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x40A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x351 JUMPI DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x379 JUMPI DUP1 PUSH4 0x81812FC EQ PUSH2 0x38E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x364 PUSH2 0x35F CALLDATASIZE PUSH1 0x4 PUSH2 0x376D JUMP JUMPDEST PUSH2 0x936 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x381 PUSH2 0x956 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x370 SWAP2 SWAP1 PUSH2 0x37E2 JUMP JUMPDEST PUSH2 0x3A1 PUSH2 0x39C CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x9E8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x370 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x3C7 CALLDATASIZE PUSH1 0x4 PUSH2 0x3823 JUMP JUMPDEST PUSH2 0xA0F JUMP JUMPDEST STOP JUMPDEST PUSH1 0xC SLOAD PUSH2 0x3ED SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x370 JUMP JUMPDEST PUSH1 0x8 SLOAD JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x370 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x42A CALLDATASIZE PUSH1 0x4 PUSH2 0x384F JUMP JUMPDEST PUSH2 0xB45 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x43D CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x460 CALLDATASIZE PUSH1 0x4 PUSH2 0x3890 JUMP JUMPDEST PUSH2 0xBCC JUMP JUMPDEST PUSH2 0x40E PUSH2 0x473 CALLDATASIZE PUSH1 0x4 PUSH2 0x3823 JUMP JUMPDEST PUSH2 0xBF1 JUMP JUMPDEST PUSH2 0x40E PUSH1 0x13 SLOAD DUP2 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x48F CALLDATASIZE PUSH1 0x4 PUSH2 0x3890 JUMP JUMPDEST PUSH2 0xC99 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x4A2 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0xD25 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x4B5 CALLDATASIZE PUSH1 0x4 PUSH2 0x384F JUMP JUMPDEST PUSH2 0xD31 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x4C8 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0xD4C JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x4DB CALLDATASIZE PUSH1 0x4 PUSH2 0x38C0 JUMP JUMPDEST PUSH2 0xDA9 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x4EE CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0xDBB JUMP JUMPDEST PUSH2 0x40E PUSH2 0x501 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0xE19 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x514 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0xE3F JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x527 CALLDATASIZE PUSH1 0x4 PUSH2 0x392E JUMP JUMPDEST PUSH2 0xEE3 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0xF7A JUMP JUMPDEST PUSH2 0x3A1 PUSH2 0x542 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x108C JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x555 CALLDATASIZE PUSH1 0x4 PUSH2 0x399A JUMP JUMPDEST PUSH2 0x10F1 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x568 CALLDATASIZE PUSH1 0x4 PUSH2 0x399A JUMP JUMPDEST PUSH2 0x115F JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x57B CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x11F9 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x58E CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x1413 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x5A1 CALLDATASIZE PUSH1 0x4 PUSH2 0x38C0 JUMP JUMPDEST PUSH2 0x1477 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x1489 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x5BC CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x14CC JUMP JUMPDEST PUSH2 0x3A1 PUSH2 0x5CF CALLDATASIZE PUSH1 0x4 PUSH2 0x38C0 JUMP JUMPDEST PUSH2 0x15A1 JUMP JUMPDEST PUSH2 0x364 PUSH2 0x5E2 CALLDATASIZE PUSH1 0x4 PUSH2 0x3890 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 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 PUSH2 0x381 PUSH2 0x15C0 JUMP JUMPDEST PUSH2 0x6B1 PUSH2 0x623 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH1 0xE PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP3 MLOAD DUP1 DUP5 ADD DUP5 MSTORE DUP2 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH13 0x1000000000000000000000000 SWAP1 SWAP2 DIV DUP2 AND DUP3 DUP6 ADD MSTORE DUP5 MLOAD DUP1 DUP7 ADD SWAP1 SWAP6 MSTORE PUSH1 0x1 DUP4 ADD SLOAD DUP6 MSTORE PUSH1 0x2 DUP4 ADD SLOAD SWAP4 DUP6 ADD SWAP4 SWAP1 SWAP4 MSTORE PUSH1 0x3 SWAP1 SWAP2 ADD SLOAD SWAP1 SWAP3 SWAP2 DUP2 AND SWAP1 PUSH6 0xFFFFFFFFFFFF PUSH1 0x1 PUSH1 0xA0 SHL DUP3 DIV DUP2 AND SWAP2 PUSH1 0x1 PUSH1 0xD0 SHL SWAP1 DIV AND DUP6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP7 MLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 SWAP7 DUP8 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP9 DUP4 ADD MSTORE DUP7 MLOAD SWAP3 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP6 SWAP1 SWAP5 ADD MLOAD PUSH1 0x60 DUP7 ADD MSTORE SWAP3 SWAP1 SWAP2 AND PUSH1 0x80 DUP5 ADD MSTORE PUSH6 0xFFFFFFFFFFFF SWAP1 DUP2 AND PUSH1 0xA0 DUP5 ADD MSTORE AND PUSH1 0xC0 DUP3 ADD MSTORE PUSH1 0xE0 ADD PUSH2 0x370 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x723 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x15CF JUMP JUMPDEST PUSH2 0x40E PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x73E CALLDATASIZE PUSH1 0x4 PUSH2 0x39C5 JUMP JUMPDEST PUSH2 0x1608 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x751 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x1613 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x764 CALLDATASIZE PUSH1 0x4 PUSH2 0x392E JUMP JUMPDEST PUSH2 0x1626 JUMP JUMPDEST PUSH2 0x40E PUSH1 0xD SLOAD DUP2 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x780 CALLDATASIZE PUSH1 0x4 PUSH2 0x3A62 JUMP JUMPDEST PUSH2 0x16B5 JUMP JUMPDEST PUSH1 0xC SLOAD PUSH2 0x7A4 SWAP1 PUSH11 0x100000000000000000000 SWAP1 DIV PUSH5 0xFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH5 0xFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x370 JUMP JUMPDEST PUSH2 0x381 PUSH2 0x7C8 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x1743 JUMP JUMPDEST PUSH2 0x40E PUSH2 0x7DB CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x17DE JUMP JUMPDEST PUSH2 0x7F3 PUSH2 0x7EE CALLDATASIZE PUSH1 0x4 PUSH2 0x3B11 JUMP JUMPDEST PUSH2 0x17F5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x370 SWAP2 SWAP1 PUSH2 0x3B46 JUMP JUMPDEST PUSH2 0x3A1 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x835 CALLDATASIZE PUSH1 0x4 PUSH2 0x3890 JUMP JUMPDEST PUSH2 0x18BC JUMP JUMPDEST PUSH2 0x3CC PUSH2 0x848 CALLDATASIZE PUSH1 0x4 PUSH2 0x37F5 JUMP JUMPDEST PUSH2 0x18E1 JUMP JUMPDEST PUSH1 0x10 SLOAD PUSH2 0x880 SWAP1 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND SWAP1 PUSH13 0x1000000000000000000000000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP4 AND DUP4 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x20 DUP4 ADD MSTORE ADD PUSH2 0x370 JUMP JUMPDEST PUSH2 0x364 PUSH2 0x8BA CALLDATASIZE PUSH1 0x4 PUSH2 0x3B8A JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0xC SLOAD PUSH2 0x7A4 SWAP1 PUSH1 0x1 PUSH1 0x78 SHL SWAP1 DIV PUSH5 0xFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0xF SLOAD PUSH2 0x3A1 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x11 SLOAD PUSH1 0x12 SLOAD PUSH2 0x921 SWAP2 SWAP1 DUP3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE ADD PUSH2 0x370 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x941 DUP3 PUSH2 0x19AB JUMP JUMPDEST DUP1 PUSH2 0x950 JUMPI POP PUSH2 0x950 DUP3 PUSH2 0x19E9 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD PUSH2 0x965 SWAP1 PUSH2 0x3BB8 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 0x991 SWAP1 PUSH2 0x3BB8 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x9DE JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x9B3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x9DE 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 0x9C1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9F3 DUP3 PUSH2 0x1A27 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA1A DUP3 PUSH2 0x108C JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0xAA8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x21 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F76616C20746F2063757272656E74206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7200000000000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND EQ DUP1 PUSH2 0xAC4 JUMPI POP PUSH2 0xAC4 DUP2 CALLER PUSH2 0x8BA JUMP JUMPDEST PUSH2 0xB36 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F76652063616C6C6572206973206E6F7420746F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6B656E206F776E6572206F7220617070726F76656420666F7220616C6C000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0xB40 DUP4 DUP4 PUSH2 0x1A8B JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0xB4F CALLER DUP3 PUSH2 0x1B06 JUMP JUMPDEST PUSH2 0xBC1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2063616C6C6572206973206E6F7420746F6B656E206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x72206F7220617070726F76656400000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0xB40 DUP4 DUP4 DUP4 PUSH2 0x1B84 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xBE7 DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH2 0xB40 DUP4 DUP4 PUSH2 0x1DD1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xBFC DUP4 PUSH2 0x115F JUMP JUMPDEST DUP3 LT PUSH2 0xC70 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x455243373231456E756D657261626C653A206F776E657220696E646578206F75 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74206F6620626F756E6473000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0xD17 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x20726F6C657320666F722073656C660000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0xD21 DUP3 DUP3 PUSH2 0x1DF3 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0xD2E DUP2 PUSH2 0x1E15 JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0xB40 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP PUSH2 0x16B5 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND ISZERO PUSH2 0xDA0 JUMPI PUSH1 0x40 MLOAD PUSH32 0xC1AB6DC100000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xD2E DUP2 PUSH2 0x1F2C JUMP JUMPDEST PUSH2 0xDB1 PUSH2 0x1F8A JUMP JUMPDEST PUSH2 0xD21 DUP3 DUP3 PUSH2 0x1FDF JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0xDC8 PUSH1 0x10 PUSH2 0x21AF JUMP JUMPDEST PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SWAP2 SWAP3 POP SWAP1 PUSH2 0xDE3 SWAP1 PUSH2 0x21AF JUMP JUMPDEST SWAP1 POP DUP1 ISZERO PUSH2 0xE0E JUMPI DUP2 DUP2 PUSH2 0xDF5 PUSH2 0x1489 JUMP JUMPDEST PUSH2 0xDFF SWAP2 SWAP1 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0xE09 SWAP2 SWAP1 PUSH2 0x3C27 JUMP JUMPDEST PUSH2 0xE11 JUMP JUMPDEST PUSH1 0x0 JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP2 PUSH2 0xE33 DUP3 PUSH1 0x1 PUSH2 0x21F0 JUMP JUMPDEST SWAP1 POP PUSH2 0xE11 DUP2 DUP4 PUSH2 0x22FB JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE4A PUSH1 0x8 SLOAD SWAP1 JUMP JUMPDEST DUP3 LT PUSH2 0xEBE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x455243373231456E756D657261626C653A20676C6F62616C20696E646578206F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7574206F6620626F756E64730000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x8 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0xED1 JUMPI PUSH2 0xED1 PUSH2 0x3C49 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xEEB PUSH2 0x1F8A JUMP JUMPDEST DUP3 DUP2 DUP2 EQ PUSH2 0xF25 JUMPI PUSH1 0x40 MLOAD PUSH32 0x568EFCE200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xF72 JUMPI PUSH2 0xF6A DUP7 DUP7 DUP4 DUP2 DUP2 LT PUSH2 0xF45 JUMPI PUSH2 0xF45 PUSH2 0x3C49 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD DUP6 DUP6 DUP5 DUP2 DUP2 LT PUSH2 0xF5E JUMPI PUSH2 0xF5E PUSH2 0x3C49 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD PUSH2 0x23B7 JUMP JUMPDEST PUSH1 0x1 ADD PUSH2 0xF28 JUMP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF85 DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH1 0xC SLOAD PUSH1 0x1 PUSH1 0x78 SHL SWAP1 DIV PUSH5 0xFFFFFFFFFF AND TIMESTAMP DUP2 GT PUSH2 0xFCF JUMPI PUSH1 0x40 MLOAD PUSH32 0xECDD1C2900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xC DUP1 SLOAD PUSH5 0xFFFFFFFFFF TIMESTAMP SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0x78 SHL MUL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 DUP6 SUB PUSH10 0xFFFFFFFFFFFFFFFFFFFF DUP5 AND MUL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x1 PUSH1 0xA0 SHL DUP1 DUP7 DIV DUP3 AND DUP4 SWAP1 SUB SWAP1 SWAP2 AND MUL SWAP3 SWAP1 SWAP3 AND PUSH15 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP2 SWAP1 SWAP2 OR SWAP1 SWAP2 SSTORE PUSH2 0x105E DUP2 PUSH2 0x25E4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xAC02D07D013AE7C7E3EE940F8DF0877C2AB1103BF87AB258CE31665F7111F092 SWAP1 PUSH1 0x0 SWAP1 LOG1 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0x950 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x18 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20696E76616C696420746F6B656E2049440000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x10FC DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH1 0xF DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH32 0x8A1803707DFD67114623E59E8141EE8D109332DA42C6C3E8212724807E140A6B SWAP1 PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x11DD JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x29 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2061646472657373207A65726F206973206E6F742061207661 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6C6964206F776E65720000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH32 0x914BB97CA83E85EF385857D9D418F187FF630589E0C9F44DB92976D8E4519CB PUSH2 0x1223 DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH1 0xD SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP4 GT ISZERO PUSH2 0x126C JUMPI PUSH1 0x40 MLOAD PUSH32 0x35278D1200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP3 PUSH1 0xC PUSH1 0x14 DUP3 DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1295 SWAP2 SWAP1 PUSH2 0x3C5F JUMP JUMPDEST DUP3 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 DUP3 AND PUSH2 0x100 SWAP4 SWAP1 SWAP4 EXP SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP3 MUL NOT SWAP1 SWAP2 AND OR SWAP1 SSTORE POP PUSH1 0xC SLOAD PUSH1 0x0 SWAP1 PUSH5 0xFFFFFFFFFF PUSH1 0x1 PUSH1 0x78 SHL DUP3 DIV DUP2 AND PUSH11 0x100000000000000000000 SWAP1 SWAP3 DIV AND LT PUSH2 0x12F0 JUMPI POP DUP1 DUP4 DIV PUSH2 0x132A JUMP JUMPDEST POP PUSH1 0xC SLOAD PUSH5 0xFFFFFFFFFF PUSH11 0x100000000000000000000 DUP3 DIV DUP2 AND PUSH1 0x1 PUSH1 0x78 SHL DUP4 DIV SWAP1 SWAP2 AND SUB PUSH10 0xFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND MUL DUP4 ADD DUP2 SWAP1 DIV JUMPDEST DUP1 PUSH1 0x0 SUB PUSH2 0x134B JUMPI PUSH1 0x40 MLOAD PUSH4 0x24D0659D PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xC DUP1 SLOAD TIMESTAMP DUP5 DUP2 ADD PUSH5 0xFFFFFFFFFF SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0x78 SHL MUL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP3 AND PUSH11 0x100000000000000000000 MUL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000 SWAP1 SWAP4 AND PUSH10 0xFFFFFFFFFFFFFFFFFFFF DUP7 AND OR SWAP3 SWAP1 SWAP3 OR SWAP2 SWAP1 SWAP2 AND OR SWAP1 SSTORE PUSH2 0x13DA DUP5 PUSH2 0x26C5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP5 DUP2 MSTORE PUSH32 0xDE88A922E0D3B88B24E9623EFEB464919C6BF9F66857A65E2BFCF2CE87A9433D SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x141E DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH3 0x2A300 DUP3 GT ISZERO PUSH2 0x1442 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2D0483C5 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x13 DUP3 SWAP1 SSTORE PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH32 0xA959CB2CC91580147F93F66FB85DB8F308CFDAEF3989AB5265408FF80EF6FA66 SWAP1 PUSH1 0x20 ADD PUSH2 0x1153 JUMP JUMPDEST PUSH2 0x147F PUSH2 0x1F8A JUMP JUMPDEST PUSH2 0xD21 DUP3 DUP3 PUSH2 0x23B7 JUMP JUMPDEST PUSH1 0xC SLOAD PUSH1 0x0 SWAP1 TIMESTAMP PUSH1 0x1 PUSH1 0x78 SHL SWAP1 SWAP2 DIV PUSH5 0xFFFFFFFFFF AND LT PUSH2 0x14B8 JUMPI PUSH1 0xC SLOAD PUSH10 0xFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x0 JUMPDEST PUSH10 0xFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x14D7 DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH1 0xC SLOAD TIMESTAMP PUSH1 0x1 PUSH1 0x78 SHL SWAP1 SWAP2 DIV PUSH5 0xFFFFFFFFFF AND GT ISZERO PUSH2 0x1522 JUMPI PUSH1 0x40 MLOAD PUSH32 0x85DE62500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH3 0x10001 DUP3 LT ISZERO PUSH2 0x1546 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2D0483C5 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH5 0x100000000 DUP3 GT ISZERO PUSH2 0x156C JUMPI PUSH1 0x40 MLOAD PUSH4 0x2D0483C5 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xD DUP3 SWAP1 SSTORE PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH32 0xBD6EB9CF4D6E2902587C57E3163AAAFDB46E3B3F2086BDFA75C790228930A9D7 SWAP1 PUSH1 0x20 ADD PUSH2 0x1153 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH2 0x15B9 SWAP1 DUP4 PUSH2 0x2737 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x1 DUP1 SLOAD PUSH2 0x965 SWAP1 PUSH2 0x3BB8 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15D9 PUSH2 0x1F8A JUMP JUMPDEST PUSH1 0x14 PUSH1 0x0 DUP2 SLOAD PUSH2 0x15E8 SWAP1 PUSH2 0x3C8F JUMP JUMPDEST SWAP2 DUP3 SWAP1 SSTORE POP SWAP1 POP PUSH2 0x15F9 CALLER DUP3 PUSH2 0x2743 JUMP JUMPDEST PUSH2 0x1603 DUP2 DUP4 PUSH2 0x23B7 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xD21 CALLER DUP4 DUP4 PUSH2 0x28E9 JUMP JUMPDEST PUSH2 0x161B PUSH2 0x1F8A JUMP JUMPDEST PUSH2 0xD2E DUP2 PUSH1 0x0 PUSH2 0x23B7 JUMP JUMPDEST PUSH2 0x162E PUSH2 0x1F8A JUMP JUMPDEST DUP3 DUP2 DUP2 EQ PUSH2 0x1668 JUMPI PUSH1 0x40 MLOAD PUSH32 0x568EFCE200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xF72 JUMPI PUSH2 0x16AD DUP7 DUP7 DUP4 DUP2 DUP2 LT PUSH2 0x1688 JUMPI PUSH2 0x1688 PUSH2 0x3C49 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD DUP6 DUP6 DUP5 DUP2 DUP2 LT PUSH2 0x16A1 JUMPI PUSH2 0x16A1 PUSH2 0x3C49 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD PUSH2 0x1FDF JUMP JUMPDEST PUSH1 0x1 ADD PUSH2 0x166B JUMP JUMPDEST PUSH2 0x16BF CALLER DUP4 PUSH2 0x1B06 JUMP JUMPDEST PUSH2 0x1731 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2063616C6C6572206973206E6F7420746F6B656E206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x72206F7220617070726F76656400000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0x173D DUP5 DUP5 DUP5 DUP5 PUSH2 0x29B7 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x174E DUP3 PUSH2 0x1A27 JUMP JUMPDEST PUSH1 0xF SLOAD PUSH1 0x40 MLOAD PUSH32 0xE9DC637500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xE9DC6375 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x17B6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x950 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x3CA9 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH2 0x950 SWAP1 PUSH2 0x2A40 JUMP JUMPDEST PUSH1 0x60 DUP2 DUP4 GT ISZERO PUSH2 0x1818 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2D0483C5 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1824 DUP5 DUP5 PUSH2 0x3D17 JUMP JUMPDEST PUSH2 0x182F SWAP1 PUSH1 0x1 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x184C JUMPI PUSH2 0x184C PUSH2 0x39F3 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1875 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP JUMPDEST DUP4 DUP6 GT PUSH2 0x18B3 JUMPI PUSH2 0x188A DUP7 DUP7 PUSH2 0xBF1 JUMP JUMPDEST DUP2 DUP7 DUP2 MLOAD DUP2 LT PUSH2 0x189C JUMPI PUSH2 0x189C PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 DUP2 MSTORE POP POP DUP5 PUSH1 0x1 ADD SWAP5 POP PUSH2 0x1879 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x18D7 DUP2 PUSH2 0x1DC7 JUMP JUMPDEST PUSH2 0xB40 DUP4 DUP4 PUSH2 0x1DF3 JUMP JUMPDEST PUSH2 0x18E9 PUSH2 0x1F8A JUMP JUMPDEST PUSH2 0xD2E DUP2 PUSH1 0x0 PUSH2 0x1FDF JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0xD21 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x1952 CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15B9 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x2A4A JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH32 0x5A05180F00000000000000000000000000000000000000000000000000000000 EQ DUP1 PUSH2 0x950 JUMPI POP PUSH2 0x950 DUP3 PUSH2 0x2A99 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH32 0x780E9D6300000000000000000000000000000000000000000000000000000000 EQ DUP1 PUSH2 0x950 JUMPI POP PUSH2 0x950 DUP3 PUSH2 0x2AD7 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xD2E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x18 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20696E76616C696420746F6B656E2049440000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE DUP2 SWAP1 PUSH2 0x1ACD DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x1B12 DUP4 PUSH2 0x108C JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x1B59 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP9 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST DUP1 PUSH2 0xE11 JUMPI POP DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1B72 DUP5 PUSH2 0x9E8 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1B97 DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x1C13 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E736665722066726F6D20696E636F727265637420 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6F776E6572000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1C8E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F20746865207A65726F20616464 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7265737300000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0x1C9B DUP4 DUP4 DUP4 PUSH1 0x1 PUSH2 0x2B72 JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1CAE DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x1D2A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E736665722066726F6D20696E636F727265637420 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6F776E6572000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT SWAP1 DUP2 AND SWAP1 SWAP2 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 DUP2 AND DUP1 DUP7 MSTORE PUSH1 0x3 DUP6 MSTORE DUP4 DUP7 KECCAK256 DUP1 SLOAD PUSH1 0x0 NOT ADD SWAP1 SSTORE SWAP1 DUP8 AND DUP1 DUP7 MSTORE DUP4 DUP7 KECCAK256 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE DUP7 DUP7 MSTORE PUSH1 0x2 SWAP1 SWAP5 MSTORE DUP3 DUP6 KECCAK256 DUP1 SLOAD SWAP1 SWAP3 AND DUP5 OR SWAP1 SWAP2 SSTORE SWAP1 MLOAD DUP5 SWAP4 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP2 LOG4 POP POP POP JUMP JUMPDEST PUSH2 0xD2E DUP2 CALLER PUSH2 0x2BFA JUMP JUMPDEST PUSH2 0x1DDB DUP3 DUP3 PUSH2 0x18F4 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0xB40 SWAP1 DUP3 PUSH2 0x1996 JUMP JUMPDEST PUSH2 0x1DFD DUP3 DUP3 PUSH2 0x2C6F JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0xB40 SWAP1 DUP3 PUSH2 0x2CF2 JUMP JUMPDEST DUP1 CALLER PUSH2 0x1E20 DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x1E47 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1C62C2B1 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP3 MLOAD DUP1 DUP5 ADD SWAP1 SWAP4 MSTORE SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP3 AND DUP1 DUP6 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH13 0x1000000000000000000000000 SWAP4 DUP5 SWAP1 DIV DUP2 AND SWAP5 DUP7 ADD DUP6 SWAP1 MSTORE PUSH1 0x10 DUP1 SLOAD DUP1 DUP6 AND DUP5 SWAP1 SUB SWAP1 SWAP5 AND PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT SWAP1 SWAP5 AND DUP5 OR DUP6 SWAP1 DIV DUP3 AND SWAP6 SWAP1 SWAP6 SUB AND SWAP1 SWAP3 MUL OR SWAP1 SWAP2 SSTORE PUSH2 0x1ED1 DUP5 PUSH2 0x1F2C JUMP JUMPDEST PUSH2 0x1EE8 DUP2 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x25E4 JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND DUP6 PUSH32 0xABD2AB552BC04CDBFA4A54107FA44AC8C9CB06F6D21DA11933AC05A653BE19E9 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP POP POP JUMP JUMPDEST DUP1 CALLER PUSH2 0x1F37 DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x1F5E JUMPI PUSH1 0x40 MLOAD PUSH4 0x1C62C2B1 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP2 DUP2 SSTORE PUSH1 0x1 DUP2 ADD DUP3 SWAP1 SSTORE PUSH1 0x2 DUP2 ADD DUP3 SWAP1 SSTORE PUSH1 0x3 ADD SSTORE PUSH2 0xD21 DUP3 PUSH2 0x2D07 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1F94 PUSH2 0x2DB7 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP1 PUSH2 0x1FA2 DUP4 PUSH2 0x2E04 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP2 PUSH1 0x11 PUSH1 0x0 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x1FBB SWAP2 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x12 DUP1 SLOAD DUP3 SWAP2 SWAP1 PUSH1 0x0 SWAP1 PUSH2 0x1FD5 SWAP1 DUP5 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP POP POP POP JUMP JUMPDEST DUP2 CALLER PUSH2 0x1FEA DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x2011 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1C62C2B1 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 DUP5 GT ISZERO PUSH2 0x2069 JUMPI PUSH1 0x40 MLOAD PUSH32 0xF4D678B800000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x2074 DUP4 PUSH2 0x2E7D JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x2082 DUP3 DUP8 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x0 SUB PUSH2 0x20A5 JUMPI PUSH1 0x40 MLOAD PUSH4 0x24D0659D PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x10 DUP1 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT DUP2 AND PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 DUP3 AND DUP10 SWAP1 SUB DUP3 AND SWAP1 DUP2 OR DUP1 DUP5 SSTORE DUP8 SLOAD PUSH13 0x1000000000000000000000000 SWAP1 DUP2 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP13 DUP11 SUB TIMESTAMP DUP2 DUP2 MUL SWAP6 DUP6 SWAP1 DIV DUP5 AND DUP7 ADD SWAP3 SWAP1 SWAP3 SUB DUP4 AND DUP5 MUL SWAP1 SWAP6 OR SWAP1 SWAP7 SSTORE SWAP3 SWAP1 SWAP4 AND SWAP2 AND SWAP1 SWAP2 MUL OR DUP6 SSTORE PUSH32 0xFFFFFFFFFFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x1 PUSH1 0xD0 SHL PUSH6 0xFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 DUP3 MUL AND PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 SWAP2 MUL OR PUSH1 0x3 DUP6 ADD SSTORE PUSH1 0x11 SLOAD PUSH1 0x1 DUP6 ADD SSTORE PUSH1 0x12 SLOAD PUSH1 0x2 DUP6 ADD SSTORE PUSH2 0x2177 DUP2 PUSH2 0x25E4 JUMP JUMPDEST DUP2 DUP7 DUP9 PUSH32 0xABD2AB552BC04CDBFA4A54107FA44AC8C9CB06F6D21DA11933AC05A653BE19E9 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP POP POP POP POP POP JUMP JUMPDEST DUP1 SLOAD PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH13 0x1000000000000000000000000 DUP3 DIV AND SWAP1 PUSH2 0x21E6 SWAP1 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND TIMESTAMP PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x950 SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x3 DUP4 ADD SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH6 0xFFFFFFFFFFFF AND PUSH1 0x0 SUB PUSH2 0x2239 JUMPI POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH2 0x950 JUMP JUMPDEST PUSH1 0x1 DUP4 ADD DUP3 ISZERO PUSH2 0x22BD JUMPI PUSH1 0x0 PUSH2 0x224D PUSH2 0x2E97 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP1 PUSH2 0x225B DUP4 PUSH2 0x2E04 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP6 PUSH1 0x0 ADD SLOAD DUP5 PUSH1 0x11 PUSH1 0x0 ADD SLOAD PUSH2 0x2280 SWAP2 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST PUSH2 0x228A SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH1 0x1 ADD SLOAD DUP4 PUSH1 0x11 PUSH1 0x1 ADD SLOAD PUSH2 0x22A5 SWAP2 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST PUSH2 0x22AF SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST DUP2 MSTORE POP SWAP5 POP POP POP POP POP PUSH2 0x950 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE DUP2 SLOAD PUSH1 0x11 SLOAD DUP3 SWAP2 PUSH2 0x22D7 SWAP2 PUSH2 0x3D17 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD DUP3 PUSH1 0x1 ADD SLOAD PUSH1 0x11 PUSH1 0x1 ADD SLOAD PUSH2 0x22F1 SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST SWAP1 MSTORE SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x3 DUP2 ADD SLOAD PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH6 0xFFFFFFFFFFFF AND ISZERO PUSH2 0x23AE JUMPI PUSH1 0x3 DUP3 ADD SLOAD PUSH1 0x20 DUP5 ADD MLOAD PUSH17 0x100000000000000000000000000000000 SWAP2 PUSH2 0x2349 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH2 0x3C08 JUMP JUMPDEST DUP4 SLOAD PUSH1 0x3 DUP6 ADD SLOAD PUSH1 0x20 DUP8 ADD MLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 PUSH2 0x237F SWAP2 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH6 0xFFFFFFFFFFFF AND SWAP1 PUSH2 0x3C08 JUMP JUMPDEST DUP7 MLOAD PUSH2 0x238B SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST PUSH2 0x2395 SWAP2 SWAP1 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x239F SWAP2 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST PUSH2 0x23A9 SWAP2 SWAP1 PUSH2 0x3C27 JUMP JUMPDEST PUSH2 0x15B9 JUMP JUMPDEST POP PUSH1 0x0 SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP2 CALLER PUSH2 0x23C2 DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x23E9 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1C62C2B1 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SWAP1 PUSH2 0x2401 DUP3 PUSH2 0x2E7D JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x240F DUP3 DUP7 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x0 SUB PUSH2 0x2432 JUMPI PUSH1 0x40 MLOAD PUSH4 0x24D0659D PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x10 SLOAD PUSH1 0x0 SWAP1 PUSH2 0x2451 SWAP1 DUP4 SWAP1 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2499 JUMPI PUSH1 0x40 MLOAD PUSH32 0x35278D1200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x10 DUP1 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH13 0x1000000000000000000000000 SWAP4 DUP5 SWAP1 DIV DUP2 AND TIMESTAMP DUP1 DUP10 MUL SWAP2 DUP3 ADD DUP4 AND DUP7 MUL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT SWAP1 DUP2 AND SWAP5 SWAP1 SWAP5 OR SWAP1 SWAP7 SSTORE DUP10 SLOAD DUP1 DUP6 AND DUP1 DUP11 ADD SWAP1 SWAP6 AND SWAP4 AND DUP4 OR DUP6 SWAP1 DIV DUP3 AND ADD DUP2 AND SWAP1 SWAP4 MUL OR DUP8 SSTORE PUSH1 0x3 DUP8 ADD DUP1 SLOAD DUP1 DUP5 AND PUSH6 0xFFFFFFFFFFFF PUSH1 0x1 PUSH1 0xA0 SHL DUP4 DIV AND SWAP1 SWAP6 SUB SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 ADD SWAP1 SWAP2 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT SWAP1 SWAP2 AND OR SWAP1 SSTORE PUSH2 0x259D DUP5 PUSH1 0x3 DUP2 ADD DUP1 SLOAD PUSH6 0xFFFFFFFFFFFF TIMESTAMP AND PUSH1 0x1 PUSH1 0xA0 SHL MUL PUSH32 0xFFFFFFFFFFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND OR SWAP1 SSTORE PUSH1 0x11 SLOAD PUSH1 0x1 DUP3 ADD SSTORE PUSH1 0x12 SLOAD PUSH1 0x2 SWAP1 SWAP2 ADD SSTORE JUMP JUMPDEST DUP6 ISZERO PUSH2 0x25AC JUMPI PUSH2 0x25AC DUP7 PUSH2 0x26C5 JUMP JUMPDEST DUP3 DUP7 DUP9 PUSH32 0xC8ACFABCFB3AF3DF23B7B8A1AA1371D042BEE71E137EEEDC881FFA8F3C446261 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xA9059CBB00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP3 SWAP1 MSTORE PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xA9059CBB SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x266B 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 0x268F SWAP2 SWAP1 PUSH2 0x3D46 JUMP JUMPDEST PUSH2 0xD2E JUMPI PUSH1 0x40 MLOAD PUSH32 0xBFA871C500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x23B872DD00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD DUP3 SWAP1 MSTORE PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x23B872DD SWAP1 PUSH1 0x64 ADD PUSH2 0x264C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15B9 DUP4 DUP4 PUSH2 0x2F16 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x2799 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A206D696E7420746F20746865207A65726F2061646472657373 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x27FE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20746F6B656E20616C7265616479206D696E74656400000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH2 0x280C PUSH1 0x0 DUP4 DUP4 PUSH1 0x1 PUSH2 0x2B72 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x2871 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20746F6B656E20616C7265616479206D696E74656400000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE DUP5 DUP4 MSTORE PUSH1 0x2 SWAP1 SWAP2 MSTORE DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP5 OR SWAP1 SSTORE MLOAD DUP4 SWAP3 SWAP2 SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 DUP3 SWAP1 LOG4 POP POP JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x294A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F766520746F2063616C6C657200000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND DUP7 ISZERO ISZERO SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH32 0x17307EAB39AB6107E8899845AD3D59BD9653F200F220920489CA2B5937696C31 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH2 0x29C2 DUP5 DUP5 DUP5 PUSH2 0x1B84 JUMP JUMPDEST PUSH2 0x29CE DUP5 DUP5 DUP5 DUP5 PUSH2 0x2F40 JUMP JUMPDEST PUSH2 0x173D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x32 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F206E6F6E204552433732315265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x63656976657220696D706C656D656E7465720000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x950 DUP3 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP4 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH2 0x2A91 JUMPI POP DUP2 SLOAD PUSH1 0x1 DUP2 DUP2 ADD DUP5 SSTORE PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 SWAP1 SWAP4 ADD DUP5 SWAP1 SSTORE DUP5 SLOAD DUP5 DUP3 MSTORE DUP3 DUP7 ADD SWAP1 SWAP4 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP2 SWAP1 SWAP2 SSTORE PUSH2 0x950 JUMP JUMPDEST POP PUSH1 0x0 PUSH2 0x950 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH32 0x7965DB0B00000000000000000000000000000000000000000000000000000000 EQ DUP1 PUSH2 0x950 JUMPI POP PUSH2 0x950 DUP3 PUSH2 0x19E9 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH32 0x80AC58CD00000000000000000000000000000000000000000000000000000000 EQ DUP1 PUSH2 0x2B3A JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH32 0x5B5E139F00000000000000000000000000000000000000000000000000000000 EQ JUMPDEST DUP1 PUSH2 0x950 JUMPI POP PUSH32 0x1FFC9A700000000000000000000000000000000000000000000000000000000 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ PUSH2 0x950 JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND EQ PUSH2 0x2BEE JUMPI PUSH1 0x13 SLOAD PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0xE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH1 0x3 ADD SLOAD SWAP1 SWAP2 PUSH2 0x2BB1 SWAP2 PUSH1 0x1 PUSH1 0xD0 SHL SWAP1 DIV PUSH6 0xFFFFFFFFFFFF AND PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP DUP1 TIMESTAMP GT PUSH2 0x2BEC JUMPI PUSH1 0x40 MLOAD PUSH32 0x85DE62500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP JUMPDEST PUSH2 0x173D DUP5 DUP5 DUP5 DUP5 PUSH2 0x30C9 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0xD21 JUMPI PUSH2 0x2C2D DUP2 PUSH2 0x3211 JUMP JUMPDEST PUSH2 0x2C38 DUP4 PUSH1 0x20 PUSH2 0x3223 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x2C49 SWAP3 SWAP2 SWAP1 PUSH2 0x3D63 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0xA9F SWAP2 PUSH1 0x4 ADD PUSH2 0x37E2 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0xD21 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15B9 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x344C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2D12 DUP3 PUSH2 0x108C JUMP JUMPDEST SWAP1 POP PUSH2 0x2D22 DUP2 PUSH1 0x0 DUP5 PUSH1 0x1 PUSH2 0x2B72 JUMP JUMPDEST PUSH2 0x2D2B DUP3 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT SWAP1 DUP2 AND SWAP1 SWAP2 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE PUSH1 0x3 DUP5 MSTORE DUP3 DUP6 KECCAK256 DUP1 SLOAD PUSH1 0x0 NOT ADD SWAP1 SSTORE DUP8 DUP6 MSTORE PUSH1 0x2 SWAP1 SWAP4 MSTORE DUP2 DUP5 KECCAK256 DUP1 SLOAD SWAP1 SWAP2 AND SWAP1 SSTORE MLOAD SWAP3 SWAP4 POP DUP5 SWAP3 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 DUP4 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2DC1 PUSH2 0x2E97 JUMP JUMPDEST PUSH1 0xC DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000000FFFFFFFFFFFFFFFFFFFF AND PUSH11 0x100000000000000000000 TIMESTAMP PUSH5 0xFFFFFFFFFF AND MUL OR SWAP1 SSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x2E13 PUSH1 0x10 PUSH2 0x21AF JUMP JUMPDEST SWAP1 POP DUP1 ISZERO PUSH2 0x2E77 JUMPI DUP1 PUSH17 0x100000000000000000000000000000000 PUSH2 0x2E38 TIMESTAMP DUP8 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x2E42 SWAP2 SWAP1 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x2E4C SWAP2 SWAP1 PUSH2 0x3C27 JUMP JUMPDEST SWAP3 POP DUP1 PUSH2 0x2E6A PUSH17 0x100000000000000000000000000000000 DUP7 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x2E74 SWAP2 SWAP1 PUSH2 0x3C27 JUMP JUMPDEST SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x2E8B DUP4 PUSH1 0x0 PUSH2 0x21F0 JUMP JUMPDEST SWAP1 POP PUSH2 0x15B9 DUP2 DUP5 PUSH2 0x22FB JUMP JUMPDEST PUSH1 0xC SLOAD PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x78 SHL SWAP1 DIV PUSH5 0xFFFFFFFFFF AND DUP2 TIMESTAMP DUP3 LT PUSH2 0x2EB9 JUMPI TIMESTAMP PUSH2 0x2EBB JUMP JUMPDEST DUP2 JUMPDEST PUSH1 0xC SLOAD SWAP1 SWAP2 POP PUSH11 0x100000000000000000000 SWAP1 DIV PUSH5 0xFFFFFFFFFF AND DUP1 DUP3 GT ISZERO PUSH2 0x2EF4 JUMPI PUSH1 0xC SLOAD PUSH10 0xFFFFFFFFFFFFFFFFFFFF AND DUP2 DUP4 SUB MUL SWAP4 POP JUMPDEST PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP5 GT ISZERO PUSH2 0x2F10 JUMPI PUSH2 0x2F10 PUSH2 0x3DE4 JUMP JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x0 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x2F2D JUMPI PUSH2 0x2F2D PUSH2 0x3C49 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EXTCODESIZE ISZERO PUSH2 0x30BE JUMPI PUSH1 0x40 MLOAD PUSH32 0x150B7A0200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP1 PUSH4 0x150B7A02 SWAP1 PUSH2 0x2F9D SWAP1 CALLER SWAP1 DUP10 SWAP1 DUP9 SWAP1 DUP9 SWAP1 PUSH1 0x4 ADD PUSH2 0x3DFA JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x2FD8 JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0x2FD5 SWAP2 DUP2 ADD SWAP1 PUSH2 0x3E36 JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH2 0x308B JUMPI RETURNDATASIZE DUP1 DUP1 ISZERO PUSH2 0x3006 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x300B JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP DUP1 MLOAD PUSH1 0x0 SUB PUSH2 0x3083 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x32 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F206E6F6E204552433732315265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x63656976657220696D706C656D656E7465720000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST DUP1 MLOAD DUP2 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH32 0x150B7A0200000000000000000000000000000000000000000000000000000000 EQ SWAP1 POP PUSH2 0xE11 JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x30D5 DUP5 DUP5 DUP5 DUP5 PUSH2 0x353F JUMP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x314C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x455243373231456E756D657261626C653A20636F6E7365637574697665207472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x616E7366657273206E6F7420737570706F727465640000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xA9F JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH2 0x31A8 JUMPI PUSH2 0x31A3 DUP2 PUSH1 0x8 DUP1 SLOAD PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP3 SWAP1 SSTORE PUSH1 0x1 DUP3 ADD DUP4 SSTORE SWAP2 SWAP1 SWAP2 MSTORE PUSH32 0xF3F7A9FE364FAAB93B216DA50A3214154F22A0A2B415B23A84C8169E8B636EE3 ADD SSTORE JUMP JUMPDEST PUSH2 0x31CB JUMP JUMPDEST DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x31CB JUMPI PUSH2 0x31CB DUP6 DUP3 PUSH2 0x35C7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x31E7 JUMPI PUSH2 0x31E2 DUP2 PUSH2 0x3664 JUMP JUMPDEST PUSH2 0x320A JUMP JUMPDEST DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x320A JUMPI PUSH2 0x320A DUP5 DUP3 PUSH2 0x3713 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x950 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x14 JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x3232 DUP4 PUSH1 0x2 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x323D SWAP1 PUSH1 0x2 PUSH2 0x3D2E JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3255 JUMPI PUSH2 0x3255 PUSH2 0x39F3 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x327F JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH32 0x3000000000000000000000000000000000000000000000000000000000000000 DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x32B6 JUMPI PUSH2 0x32B6 PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH32 0x7800000000000000000000000000000000000000000000000000000000000000 DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x3319 JUMPI PUSH2 0x3319 PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x3355 DUP5 PUSH1 0x2 PUSH2 0x3C08 JUMP JUMPDEST PUSH2 0x3360 SWAP1 PUSH1 0x1 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x33FD JUMPI PUSH32 0x3031323334353637383961626364656600000000000000000000000000000000 DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x33A1 JUMPI PUSH2 0x33A1 PUSH2 0x3C49 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x33B7 JUMPI PUSH2 0x33B7 PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x33F6 DUP2 PUSH2 0x3E53 JUMP JUMPDEST SWAP1 POP PUSH2 0x3363 JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x15B9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xA9F JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP4 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP1 ISZERO PUSH2 0x3535 JUMPI PUSH1 0x0 PUSH2 0x3470 PUSH1 0x1 DUP4 PUSH2 0x3D17 JUMP JUMPDEST DUP6 SLOAD SWAP1 SWAP2 POP PUSH1 0x0 SWAP1 PUSH2 0x3484 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST SWAP1 POP DUP2 DUP2 EQ PUSH2 0x34E9 JUMPI PUSH1 0x0 DUP7 PUSH1 0x0 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x34A4 JUMPI PUSH2 0x34A4 PUSH2 0x3C49 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP DUP1 DUP8 PUSH1 0x0 ADD DUP5 DUP2 SLOAD DUP2 LT PUSH2 0x34C7 JUMPI PUSH2 0x34C7 PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP1 SWAP2 ADD SWAP3 SWAP1 SWAP3 SSTORE SWAP2 DUP3 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP4 SWAP1 SSTORE JUMPDEST DUP6 SLOAD DUP7 SWAP1 DUP1 PUSH2 0x34FA JUMPI PUSH2 0x34FA PUSH2 0x3E6A JUMP JUMPDEST PUSH1 0x1 SWAP1 SUB DUP2 DUP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SSTORE SWAP1 SSTORE DUP6 PUSH1 0x1 ADD PUSH1 0x0 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP1 SSTORE PUSH1 0x1 SWAP4 POP POP POP POP PUSH2 0x950 JUMP JUMPDEST PUSH1 0x0 SWAP2 POP POP PUSH2 0x950 JUMP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x173D JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND ISZERO PUSH2 0x3585 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x357F SWAP1 DUP5 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH2 0x173D JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x35BC SWAP1 DUP5 SWAP1 PUSH2 0x3D2E JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH2 0x35D4 DUP5 PUSH2 0x115F JUMP JUMPDEST PUSH2 0x35DE SWAP2 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH2 0x3631 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP6 DUP5 MSTORE DUP3 MSTORE DUP1 DUP4 KECCAK256 SLOAD DUP5 DUP5 MSTORE DUP2 DUP5 KECCAK256 DUP2 SWAP1 SSTORE DUP4 MSTORE PUSH1 0x7 SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP2 SWAP1 SSTORE JUMPDEST POP PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x7 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP5 SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP5 AND DUP4 MSTORE PUSH1 0x6 DUP2 MSTORE DUP4 DUP4 KECCAK256 SWAP2 DUP4 MSTORE MSTORE SWAP1 DUP2 KECCAK256 SSTORE JUMP JUMPDEST PUSH1 0x8 SLOAD PUSH1 0x0 SWAP1 PUSH2 0x3676 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x3D17 JUMP JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x8 DUP1 SLOAD SWAP4 SWAP5 POP SWAP1 SWAP3 DUP5 SWAP1 DUP2 LT PUSH2 0x369E JUMPI PUSH2 0x369E PUSH2 0x3C49 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP DUP1 PUSH1 0x8 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x36BF JUMPI PUSH2 0x36BF PUSH2 0x3C49 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP1 SWAP2 ADD SWAP3 SWAP1 SWAP3 SSTORE DUP3 DUP2 MSTORE PUSH1 0x9 SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP5 SWAP1 SSTORE DUP6 DUP3 MSTORE DUP2 KECCAK256 SSTORE PUSH1 0x8 DUP1 SLOAD DUP1 PUSH2 0x36F7 JUMPI PUSH2 0x36F7 PUSH2 0x3E6A JUMP JUMPDEST PUSH1 0x1 SWAP1 SUB DUP2 DUP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SSTORE SWAP1 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x371E DUP4 PUSH2 0x115F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP7 DUP5 MSTORE DUP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE SWAP4 DUP3 MSTORE PUSH1 0x7 SWAP1 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP2 SWAP1 SWAP2 SSTORE POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0xD2E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x377F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x15B9 DUP2 PUSH2 0x3757 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x37A5 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x378D JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x173D JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x37CE DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x378A JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x15B9 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x37B6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3807 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xD2E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x3836 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x3841 DUP2 PUSH2 0x380E 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 0x3864 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x386F DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x387F DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x38A3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x38B5 DUP2 PUSH2 0x380E JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x38D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x38F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x390C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 PUSH1 0x5 SHL DUP6 ADD ADD GT ISZERO PUSH2 0x3927 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x40 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x3944 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x395C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x3968 DUP9 DUP4 DUP10 ADD PUSH2 0x38E2 JUMP JUMPDEST SWAP1 SWAP7 POP SWAP5 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x3981 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x398E DUP8 DUP3 DUP9 ADD PUSH2 0x38E2 JUMP JUMPDEST SWAP6 SWAP9 SWAP5 SWAP8 POP SWAP6 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x39AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x15B9 DUP2 PUSH2 0x380E JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0xD2E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x39D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x39E3 DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x38B5 DUP2 PUSH2 0x39B7 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 0x1F DUP3 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x3A32 JUMPI PUSH2 0x3A32 PUSH2 0x39F3 JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x3A54 JUMPI PUSH2 0x3A54 PUSH2 0x39F3 JUMP JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x3A78 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH2 0x3A83 DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH2 0x3A93 DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3AB6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 ADD PUSH1 0x1F DUP2 ADD DUP8 SGT PUSH2 0x3AC7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH2 0x3ADA PUSH2 0x3AD5 DUP3 PUSH2 0x3A3A JUMP JUMPDEST PUSH2 0x3A09 JUMP JUMPDEST DUP2 DUP2 MSTORE DUP9 PUSH1 0x20 DUP4 DUP6 ADD ADD GT ISZERO PUSH2 0x3AEF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP5 ADD PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 PUSH1 0x20 DUP4 DUP4 ADD ADD MSTORE DUP1 SWAP4 POP POP POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x3B26 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x3B31 DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP6 PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP6 POP PUSH1 0x40 SWAP1 SWAP5 ADD CALLDATALOAD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x3B7E JUMPI DUP4 MLOAD DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x3B62 JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x3B9D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x3BA8 DUP2 PUSH2 0x380E JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x38B5 DUP2 PUSH2 0x380E JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x3BCC JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x3BEC JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x3C22 JUMPI PUSH2 0x3C22 PUSH2 0x3BF2 JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x3C44 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 PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP4 AND DUP2 DUP6 AND DUP1 DUP4 SUB DUP3 GT ISZERO PUSH2 0x3C86 JUMPI PUSH2 0x3C86 PUSH2 0x3BF2 JUMP JUMPDEST ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x0 NOT DUP3 SUB PUSH2 0x3CA2 JUMPI PUSH2 0x3CA2 PUSH2 0x3BF2 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3CBB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3CD2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD PUSH1 0x1F DUP2 ADD DUP5 SGT PUSH2 0x3CE3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 MLOAD PUSH2 0x3CF1 PUSH2 0x3AD5 DUP3 PUSH2 0x3A3A JUMP JUMPDEST DUP2 DUP2 MSTORE DUP6 PUSH1 0x20 DUP4 DUP6 ADD ADD GT ISZERO PUSH2 0x3D06 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x18B3 DUP3 PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x378A JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x3D29 JUMPI PUSH2 0x3D29 PUSH2 0x3BF2 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x3D41 JUMPI PUSH2 0x3D41 PUSH2 0x3BF2 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3D58 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x15B9 DUP2 PUSH2 0x39B7 JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x3D9B DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x378A JUMP JUMPDEST PUSH32 0x206973206D697373696E6720726F6C6520000000000000000000000000000000 PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x3DD8 DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x378A JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP8 AND DUP4 MSTORE DUP1 DUP7 AND PUSH1 0x20 DUP5 ADD MSTORE POP DUP4 PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x80 PUSH1 0x60 DUP4 ADD MSTORE PUSH2 0x3E2C PUSH1 0x80 DUP4 ADD DUP5 PUSH2 0x37B6 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3E48 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x15B9 DUP2 PUSH2 0x3757 JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x3E62 JUMPI PUSH2 0x3E62 PUSH2 0x3BF2 JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP5 PUSH7 0x454C916A0F0BA4 0xC3 DUP16 0x4E MSTORE8 DUP12 0xCA PUSH11 0x31D10DEF7FC72F12DF3D85 0x26 PUSH19 0x71798964736F6C634300080F00330000000000 ","sourceMap":"2501:31556:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33730:324;;;;;;:::i;:::-;;:::i;:::-;;;611:14:21;;604:22;586:41;;574:2;559:18;33730:324:19;;;;;;;;2471:98:5;;;:::i;:::-;;;;;;;:::i;3935:167::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1797:55:21;;;1779:74;;1767:2;1752:18;3935:167:5;1633:226:21;3468:406:5;;;;;;:::i;:::-;;:::i;:::-;;1277:30:20;;;;;-1:-1:-1;;;1277:30:20;;;;;;;;;2517:26:21;2505:39;;;2487:58;;2475:2;2460:18;1277:30:20;2343:208:21;1630:111:8;1717:10;:17;1630:111;;;2702:25:21;;;2690:2;2675:18;1630:111:8;2556:177:21;4612:326:5;;;;;;:::i;:::-;;:::i;4378:129:0:-;;;;;;:::i;:::-;4452:7;4478:12;;;:6;:12;;;;;:22;;;;4378:129;4803:145;;;;;;:::i;:::-;;:::i;1306:253:8:-;;;;;;:::i;:::-;;:::i;6575:46:19:-;;;;;;5912:214:0;;;;;;:::i;:::-;;:::i;12521:364:19:-;;;;;;:::i;:::-;;:::i;5004:179:5:-;;;;;;:::i;:::-;;:::i;12030:320:19:-;;;;;;:::i;:::-;;:::i;11535:317::-;;;;;;:::i;:::-;;:::i;16643:454::-;;;;;;:::i;:::-;;:::i;17454:593::-;;;;;;:::i;:::-;;:::i;1813:230:8:-;;;;;;:::i;:::-;;:::i;13221:766:19:-;;;;;;:::i;:::-;;:::i;3916:839:20:-;;;:::i;2190:219:5:-;;;;;;:::i;:::-;;:::i;15825:221:19:-;;;;;;:::i;:::-;;:::i;1929:204:5:-;;;;;;:::i;:::-;;:::i;4922:2264:20:-;;;;;;:::i;:::-;;:::i;15124:479:19:-;;;;;;:::i;:::-;;:::i;9658:435::-;;;;;;:::i;:::-;;:::i;7358:126:20:-;;;:::i;3226:584::-;;;;;;:::i;:::-;;:::i;1431:151:1:-;;;;;;:::i;:::-;;:::i;2895:145:0:-;;;;;;:::i;:::-;2981:4;3004:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3004:29:0;;;;;;;;;;;;;;;2895:145;2633:102:5;;;:::i;5254:45:19:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5254:45:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5254:45:19;;;;;-1:-1:-1;;;5254:45:19;;;;;;;;;6478:13:21;;6493:26;6474:46;6456:65;;6568:4;6556:17;;;6550:24;-1:-1:-1;;;;;6673:21:21;;;6651:20;;;6644:51;6731:13;;6711:18;;;6704:41;;;;6787:17;;;;6781:24;6776:2;6761:18;;6754:52;6843:15;;;;6837:3;6822:19;;6815:44;6878:14;6929:15;;;6923:3;6908:19;;6901:44;6982:15;6976:3;6961:19;;6954:44;6443:3;6428:19;5254:45:19;6069:935:21;8807:591:19;;;;;;:::i;:::-;;:::i;2027:49:0:-;;2072:4;2027:49;;4169:153:5;;;;;;:::i;:::-;;:::i;10836:348:19:-;;;;;;:::i;:::-;;:::i;14333:566::-;;;;;;:::i;:::-;;:::i;1413:39:20:-;;;;;;5249:314:5;;;;;;:::i;:::-;;:::i;1055:24:20:-;;;;;;;;;;;;;;;9492:12:21;9480:25;;;9462:44;;9450:2;9435:18;1055:24:20;9318:194:21;33476:246:19;;;;;;:::i;:::-;;:::i;1750:140:1:-;;;;;;:::i;:::-;;:::i;32252:493:19:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1530:36:20:-;;;;;5228:147:0;;;;;;:::i;:::-;;:::i;10279:351:19:-;;;;;;:::i;:::-;;:::i;5520:41::-;;;;;;;;;;;;-1:-1:-1;;;;;5520:41:19;;;;;;;10989:26:21;10977:39;;;10959:58;;-1:-1:-1;;;;;11053:55:21;;;11048:2;11033:18;;11026:83;10932:18;5520:41:19;10787:328:21;4388:162:5;;;;;;:::i;:::-;-1:-1:-1;;;;;4508:25:5;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4388:162;1187:26:20;;;;;-1:-1:-1;;;1187:26:20;;;;;;5400:35:19;;;;;-1:-1:-1;;;;;5400:35:19;;;5641:46;;;;;;;;;;;;;;11941:25:21;;;11997:2;11982:18;;11975:34;;;;11914:18;5641:46:19;11767:248:21;33730:324:19;33886:4;33928:54;33970:11;33928:41;:54::i;:::-;:118;;;;33999:47;34034:11;33999:34;:47::i;:::-;33908:138;33730:324;-1:-1:-1;;33730:324:19:o;2471:98:5:-;2525:13;2557:5;2550:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2471:98;:::o;3935:167::-;4011:7;4030:23;4045:7;4030:14;:23::i;:::-;-1:-1:-1;4071:24:5;;;;:15;:24;;;;;;-1:-1:-1;;;;;4071:24:5;;3935:167::o;3468:406::-;3548:13;3564:23;3579:7;3564:14;:23::i;:::-;3548:39;;3611:5;-1:-1:-1;;;;;3605:11:5;:2;-1:-1:-1;;;;;3605:11:5;;3597:57;;;;-1:-1:-1;;;3597:57:5;;12664:2:21;3597:57:5;;;12646:21:21;12703:2;12683:18;;;12676:30;12742:34;12722:18;;;12715:62;12813:3;12793:18;;;12786:31;12834:19;;3597:57:5;;;;;;;;;719:10:12;-1:-1:-1;;;;;3686:21:5;;;;:62;;-1:-1:-1;3711:37:5;3728:5;719:10:12;4388:162:5;:::i;3711:37::-;3665:170;;;;-1:-1:-1;;;3665:170:5;;13066:2:21;3665:170:5;;;13048:21:21;13105:2;13085:18;;;13078:30;13144:34;13124:18;;;13117:62;13215:31;13195:18;;;13188:59;13264:19;;3665:170:5;12864:425:21;3665:170:5;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3538:336;3468:406;;:::o;4612:326::-;4801:41;719:10:12;4834:7:5;4801:18;:41::i;:::-;4793:99;;;;-1:-1:-1;;;4793:99:5;;13496:2:21;4793:99:5;;;13478:21:21;13535:2;13515:18;;;13508:30;13574:34;13554:18;;;13547:62;13645:15;13625:18;;;13618:43;13678:19;;4793:99:5;13294:409:21;4793:99:5;4903:28;4913:4;4919:2;4923:7;4903:9;:28::i;4803:145:0:-;4452:7;4478:12;;;:6;:12;;;;;:22;;;2505:16;2516:4;2505:10;:16::i;:::-;4916:25:::1;4927:4;4933:7;4916:10;:25::i;1306:253:8:-:0;1403:7;1438:23;1455:5;1438:16;:23::i;:::-;1430:5;:31;1422:87;;;;-1:-1:-1;;;1422:87:8;;13910:2:21;1422:87:8;;;13892:21:21;13949:2;13929:18;;;13922:30;13988:34;13968:18;;;13961:62;14059:13;14039:18;;;14032:41;14090:19;;1422:87:8;13708:407:21;1422:87:8;-1:-1:-1;;;;;;1526:19:8;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1306:253::o;5912:214:0:-;-1:-1:-1;;;;;6007:23:0;;719:10:12;6007:23:0;5999:83;;;;-1:-1:-1;;;5999:83:0;;14322:2:21;5999:83:0;;;14304:21:21;14361:2;14341:18;;;14334:30;14400:34;14380:18;;;14373:62;14471:17;14451:18;;;14444:45;14506:19;;5999:83:0;14120:411:21;5999:83:0;6093:26;6105:4;6111:7;6093:11;:26::i;:::-;5912:214;;:::o;12521:364:19:-;12851:26;12866:10;12851:14;:26::i;:::-;12521:364;:::o;5004:179:5:-;5137:39;5154:4;5160:2;5164:7;5137:39;;;;;;;;;;;;:16;:39::i;12030:320:19:-;12168:21;;;;:9;:21;;;;;:44;;;:49;12164:76;;12226:14;;;;;;;;;;;;;;12164:76;12325:17;12331:10;12325:5;:17::i;11535:317::-;11676:25;:23;:25::i;:::-;11815:29;11825:10;11837:6;11815:9;:29::i;16643:454::-;16714:7;16780:18;16801:30;16811:19;16801:9;:30::i;:::-;16842:21;16876;;;:9;:21;;;;;16780:51;;-1:-1:-1;16842:21:19;16866:47;;:9;:47::i;:::-;16842:71;-1:-1:-1;17021:18:19;;:68;;17079:10;17062:13;17047:12;:10;:12::i;:::-;:28;;;;:::i;:::-;17046:43;;;;:::i;:::-;17021:68;;;17042:1;17021:68;17014:75;16643:454;-1:-1:-1;;;;16643:454:19:o;17454:593::-;17529:7;17632:21;;;:9;:21;;;;;17529:7;17838:41;17632:21;17874:4;17838:25;:41::i;:::-;17790:89;;17999:40;18007:21;18030:8;17999:7;:40::i;1813:230:8:-;1888:7;1923:30;1717:10;:17;;1630:111;1923:30;1915:5;:38;1907:95;;;;-1:-1:-1;;;1907:95:8;;15439:2:21;1907:95:8;;;15421:21:21;15478:2;15458:18;;;15451:30;15517:34;15497:18;;;15490:62;15588:14;15568:18;;;15561:42;15620:19;;1907:95:8;15237:408:21;1907:95:8;2019:10;2030:5;2019:17;;;;;;;;:::i;:::-;;;;;;;;;2012:24;;1813:230;;;:::o;13221:766:19:-;13568:25;:23;:25::i;:::-;13663:11;13696:24;;;13692:61;;13729:24;;;;;;;;;;;;;;13692:61;13771:9;13766:214;13790:6;13786:1;:10;13766:214;;;13815:34;13822:11;;13834:1;13822:14;;;;;;;:::i;:::-;;;;;;;13838:7;;13846:1;13838:10;;;;;;;:::i;:::-;;;;;;;13815:6;:34::i;:::-;13950:3;;13766:214;;;;13310:677;13221:766;;;;:::o;3916:839:20:-;2072:4:0;2505:16;2072:4;2505:10;:16::i;:::-;4069:12:20::1;::::0;-1:-1:-1;;;4069:12:20;::::1;;;4147:15;-1:-1:-1::0;;4143:56:20::1;;4190:9;;;;;;;;;;;;;;4143:56;4355:11;::::0;;4547:38:::1;4336:15;4547:38:::0;;::::1;-1:-1:-1::0;;;4547:38:20::1;::::0;4318:33;;::::1;4355:11;::::0;::::1;4317:49;4457:36;-1:-1:-1::0;;;4457:36:20;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;;4547:38:::0;;;;;;;;;;;;;;;::::1;::::0;;;4676:27:::1;4317:49:::0;4676:17:::1;:27::i;:::-;4723:13;::::0;::::1;::::0;;;::::1;4212:536;3975:780;3916:839:::0;:::o;2190:219:5:-;2262:7;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:5;;2324:56;;;;-1:-1:-1;;;2324:56:5;;16041:2:21;2324:56:5;;;16023:21:21;16080:2;16060:18;;;16053:30;16119:26;16099:18;;;16092:54;16163:18;;2324:56:5;15839:348:21;15825:221:19;2072:4:0;2505:16;2072:4;2505:10;:16::i;:::-;15956:13:19::1;:32:::0;;-1:-1:-1;;15956:32:19::1;-1:-1:-1::0;;;;;15956:32:19;::::1;::::0;;::::1;::::0;;;16004:34:::1;::::0;1779:74:21;;;16004:34:19::1;::::0;1767:2:21;1752:18;16004:34:19::1;;;;;;;;15825:221:::0;;:::o;1929:204:5:-;2001:7;-1:-1:-1;;;;;2028:19:5;;2020:73;;;;-1:-1:-1;;;2020:73:5;;16394:2:21;2020:73:5;;;16376:21:21;16433:2;16413:18;;;16406:30;16472:34;16452:18;;;16445:62;16543:11;16523:18;;;16516:39;16572:19;;2020:73:5;16192:405:21;2020:73:5;-1:-1:-1;;;;;;2110:16:5;;;;;:9;:16;;;;;;;1929:204::o;4922:2264:20:-;2072:24;2505:16:0;2516:4;2505:10;:16::i;:::-;5086:14:20::1;::::0;1936:16:::1;5157:25:::0;::::1;5153:48;;;5191:10;;;;;;;;;;;;;;5153:48;5330:6;5303:16;;:34;;;;;;;;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;;::::1;;::::0;;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;::::1;;::::0;;-1:-1:-1;6051:12:20::1;::::0;-1:-1:-1;;6051:12:20::1;-1:-1:-1::0;;;6051:12:20;::::1;::::0;::::1;6037:10:::0;;;::::1;;:26;6033:496;;-1:-1:-1::0;6196:30:20;;::::1;6033:496;;;-1:-1:-1::0;6360:11:20::1;::::0;6346:10:::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;;6330:12:20;::::1;::::0;;::::1;6322:34;6360:11;::::0;;::::1;6321:50;6443:21:::0;::::1;6439:45:::0;;::::1;6033:496;6625:13;6642:1;6625:18:::0;6621:41:::1;;6652:10;;-1:-1:-1::0;;;6652:10:20::1;;;;;;;;;;;6621:41;6794:11;:35:::0;;6935:15:::1;6988:35:::0;;::::1;6915:36;6966:58:::0;;::::1;-1:-1:-1::0;;;6966:58:20::1;::::0;6915:36;;;::::1;::::0;::::1;::::0;;;;6794:35:::1;::::0;::::1;6915:36:::0;;;;::::1;6966:58:::0;;;::::1;;::::0;;7116:27:::1;7136:6:::0;7116:19:::1;:27::i;:::-;7159:19;::::0;2702:25:21;;;7159:19:20::1;::::0;2690:2:21;2675:18;7159:19:20::1;;;;;;;4988:2198;;4922:2264:::0;;:::o;15124:479:19:-;2072:4:0;2505:16;2072:4;2505:10;:16::i;:::-;7094:6:19::1;15343:24;:54;15339:80;;;15406:13;;-1:-1:-1::0;;;15406:13:19::1;;;;;;;;;;;15339:80;15489:21;:48:::0;;;15553:42:::1;::::0;2702:25:21;;;15553:42:19::1;::::0;2690:2:21;2675:18;15553:42:19::1;2556:177:21::0;9658:435:19;9924:25;:23;:25::i;:::-;10059:26;10066:10;10078:6;10059;:26::i;7358:126:20:-;7428:12;;7401:7;;7443:15;-1:-1:-1;;;7428:12:20;;;;;:30;:48;;7465:11;;;;7428:48;;;7461:1;7428:48;7421:55;;;;7358:126;:::o;3226:584::-;2072:4:0;2505:16;2072:4;2505:10;:16::i;:::-;3374:12:20::1;::::0;3389:15:::1;-1:-1:-1::0;;;3374:12:20;;::::1;;;:30;3370:53;;;3413:10;;;;;;;;;;;;;;3370:53;1679:9;3496:11;:33;3492:59;;;3538:13;;-1:-1:-1::0;;;3538:13:20::1;;;;;;;;;;;3492:59;1801:5;3566:11;:33;3562:59;;;3608:13;;-1:-1:-1::0;;;3608:13:20::1;;;;;;;;;;;3562:59;3724:14;:28:::0;;;3768:34:::1;::::0;2702:25:21;;;3768:34:20::1;::::0;2690:2:21;2675:18;3768:34:20::1;2556:177:21::0;1431:151:1;1521:7;1547:18;;;:12;:18;;;;;:28;;1569:5;1547:21;:28::i;:::-;1540:35;1431:151;-1:-1:-1;;;1431:151:1:o;2633:102:5:-;2689:13;2721:7;2714:14;;;;;:::i;8807:591:19:-;8855:18;9081:25;:23;:25::i;:::-;9198:16;;9196:18;;;;;:::i;:::-;;;;;-1:-1:-1;9196:18:19;-1:-1:-1;9225:29:19;9231:10;9196:18;9225:5;:29::i;:::-;9364:26;9371:10;9383:6;9364;:26::i;:::-;8807:591;;;:::o;4169:153:5:-;4263:52;719:10:12;4296:8:5;4306;4263:18;:52::i;10836:348:19:-;10961:25;:23;:25::i;:::-;11155:21;11162:10;11174:1;11155:6;:21::i;14333:566::-;14477:25;:23;:25::i;:::-;14572:11;14605:24;;;14601:61;;14638:24;;;;;;;;;;;;;;14601:61;14680:9;14675:217;14699:6;14695:1;:10;14675:217;;;14724:37;14734:11;;14746:1;14734:14;;;;;;;:::i;:::-;;;;;;;14750:7;;14758:1;14750:10;;;;;;;:::i;:::-;;;;;;;14724:9;:37::i;:::-;14862:3;;14675:217;;5249:314:5;5417:41;719:10:12;5450:7:5;5417:18;:41::i;:::-;5409:99;;;;-1:-1:-1;;;5409:99:5;;13496:2:21;5409:99:5;;;13478:21:21;13535:2;13515:18;;;13508:30;13574:34;13554:18;;;13547:62;13645:15;13625:18;;;13618:43;13678:19;;5409:99:5;13294:409:21;5409:99:5;5518:38;5532:4;5538:2;5542:7;5551:4;5518:13;:38::i;:::-;5249:314;;;;:::o;33476:246:19:-;33541:13;33567:30;33589:7;33567:21;:30::i;:::-;33677:13;;:37;;;;;33700:4;33677:37;;;17258:74:21;17348:18;;;17341:34;;;-1:-1:-1;;;;;33677:13:19;;;;:22;;17231:18:21;;33677:37:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33677:37:19;;;;;;;;;;;;:::i;1750:140:1:-;1830:7;1856:18;;;:12;:18;;;;;:27;;:25;:27::i;32252:493:19:-;32380:16;32420:2;32413:4;:9;32409:35;;;32431:13;;-1:-1:-1;;;32431:13:19;;;;;;;;;;;32409:35;32457:14;32474:9;32479:4;32474:2;:9;:::i;:::-;:13;;32486:1;32474:13;:::i;:::-;32457:30;;32498:23;32538:6;32524:21;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32524:21:19;;32498:47;;32556:158;32571:2;32563:4;:10;32556:158;;32605:32;32625:5;32632:4;32605:19;:32::i;:::-;32590:6;32597:4;32590:12;;;;;;;;:::i;:::-;;;;;;:47;;;;;32681:6;;;;;32556:158;;;32731:6;32252:493;-1:-1:-1;;;;;32252:493:19:o;5228:147:0:-;4452:7;4478:12;;;:6;:12;;;;;:22;;;2505:16;2516:4;2505:10;:16::i;:::-;5342:26:::1;5354:4;5360:7;5342:11;:26::i;10279:351:19:-:0;10403:25;:23;:25::i;:::-;10598:24;10608:10;10620:1;10598:9;:24::i;7461:233:0:-;2981:4;3004:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3004:29:0;;;;;;;;;;;;7539:149;;7582:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;7582:29:0;;;;;;;;;:36;;-1:-1:-1;;7582:36:0;7614:4;7582:36;;;7664:12;719:10:12;;640:96;7664:12:0;-1:-1:-1;;;;;7637:40:0;7655:7;-1:-1:-1;;;;;7637:40:0;7649:4;7637:40;;;;;;;;;;7461:233;;:::o;8297:150:17:-;8367:4;8390:50;8395:3;-1:-1:-1;;;;;8415:23:17;;8390:4;:50::i;634:212:1:-;719:4;-1:-1:-1;;;;;;742:57:1;;757:42;742:57;;:97;;;803:36;827:11;803:23;:36::i;1005:222:8:-;1107:4;-1:-1:-1;;;;;;1130:50:8;;1145:35;1130:50;;:90;;;1184:36;1208:11;1184:23;:36::i;13466:133:5:-;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:5;13539:53;;;;-1:-1:-1;;;13539:53:5;;16041:2:21;13539:53:5;;;16023:21:21;16080:2;16060:18;;;16053:30;16119:26;16099:18;;;16092:54;16163:18;;13539:53:5;15839:348:21;12768:171:5;12842:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;12842:29:5;-1:-1:-1;;;;;12842:29:5;;;;;;;;:24;;12895:23;12842:24;12895:14;:23::i;:::-;-1:-1:-1;;;;;12886:46:5;;;;;;;;;;;12768:171;;:::o;7540:261::-;7633:4;7649:13;7665:23;7680:7;7665:14;:23::i;:::-;7649:39;;7717:5;-1:-1:-1;;;;;7706:16:5;:7;-1:-1:-1;;;;;7706:16:5;;:52;;;-1:-1:-1;;;;;;4508:25:5;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7726:32;7706:87;;;;7786:7;-1:-1:-1;;;;;7762:31:5;:20;7774:7;7762:11;:20::i;:::-;-1:-1:-1;;;;;7762:31:5;;7698:96;7540:261;-1:-1:-1;;;;7540:261:5:o;11423:1233::-;11577:4;-1:-1:-1;;;;;11550:31:5;:23;11565:7;11550:14;:23::i;:::-;-1:-1:-1;;;;;11550:31:5;;11542:81;;;;-1:-1:-1;;;11542:81:5;;18491:2:21;11542:81:5;;;18473:21:21;18530:2;18510:18;;;18503:30;18569:34;18549:18;;;18542:62;18640:7;18620:18;;;18613:35;18665:19;;11542:81:5;18289:401:21;11542:81:5;-1:-1:-1;;;;;11641:16:5;;11633:65;;;;-1:-1:-1;;;11633:65:5;;18897:2:21;11633:65:5;;;18879:21:21;18936:2;18916:18;;;18909:30;18975:34;18955:18;;;18948:62;19046:6;19026:18;;;19019:34;19070:19;;11633:65:5;18695:400:21;11633:65:5;11709:42;11730:4;11736:2;11740:7;11749:1;11709:20;:42::i;:::-;11878:4;-1:-1:-1;;;;;11851:31:5;:23;11866:7;11851:14;:23::i;:::-;-1:-1:-1;;;;;11851:31:5;;11843:81;;;;-1:-1:-1;;;11843:81:5;;18491:2:21;11843:81:5;;;18473:21:21;18530:2;18510:18;;;18503:30;18569:34;18549:18;;;18542:62;18640:7;18620:18;;;18613:35;18665:19;;11843:81:5;18289:401:21;11843:81:5;11993:24;;;;:15;:24;;;;;;;;11986:31;;-1:-1:-1;;11986:31:5;;;;;;-1:-1:-1;;;;;12461:15:5;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12461:20:5;;;12495:13;;;;;;;;;:18;;11986:31;12495:18;;;12533:16;;;:7;:16;;;;;;:21;;;;;;;;;;12570:27;;12009:7;;12570:27;;;3538:336;3468:406;;:::o;3334:103:0:-;3400:30;3411:4;719:10:12;3400::0;:30::i;1978:166:1:-;2065:31;2082:4;2088:7;2065:16;:31::i;:::-;2106:18;;;;:12;:18;;;;;:31;;2129:7;2106:22;:31::i;2233:171::-;2321:32;2339:4;2345:7;2321:17;:32::i;:::-;2363:18;;;;:12;:18;;;;;:34;;2389:7;2363:25;:34::i;24133:774:19:-;24195:10;7845;7822:19;24195:10;7822:7;:19::i;:::-;-1:-1:-1;;;;;7822:33:19;;7818:66;;7864:20;;-1:-1:-1;;;7864:20:19;;;;;;;;;;;7818:66;24267:44:::1;24314:21:::0;;;:9:::1;:21;::::0;;;;;;;;24267:83;;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;24267:83:19;;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;24527:19:::1;:38:::0;;;;::::1;::::0;;::::1;::::0;;::::1;-1:-1:-1::0;;24527:38:19;;::::1;::::0;::::1;24580:77:::0;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;::::1;;::::0;;;24722:17:::1;24324:10:::0;24722:5:::1;:17::i;:::-;24824:26;24842:7;24824:26;;:17;:26::i;:::-;24897:1;24888:7;24866:33;;24876:10;24866:33;;;;;;;;;;24207:700;;24133:774:::0;;:::o;32753:194::-;32813:7;7845:10;7822:19;32813:7;7822;:19::i;:::-;-1:-1:-1;;;;;7822:33:19;;7818:66;;7864:20;;-1:-1:-1;;;7864:20:19;;;;;;;;;;;7818:66;32890:18:::1;::::0;;;:9:::1;:18;::::0;;;;32883:25;;;;;::::1;::::0;;;;;;;;;::::1;;::::0;32919:20:::1;32900:7:::0;32919:11:::1;:20::i;25112:589::-:0;25237:15;25255:8;:6;:8::i;:::-;25237:26;;25351:35;25401:36;25451:44;25487:7;25451:35;:44::i;:::-;25336:159;;;;25586:27;25546:22;:36;;;:67;;;;;;;:::i;:::-;;;;-1:-1:-1;;25624:37:19;:69;;25665:28;;25624:37;;;:69;;25665:28;;25624:69;:::i;:::-;;;;-1:-1:-1;;;;;25112:589:19:o;21479:2176::-;21552:10;7845;7822:19;21552:10;7822:7;:19::i;:::-;-1:-1:-1;;;;;7822:33:19;;7818:66;;7864:20;;-1:-1:-1;;;7864:20:19;;;;;;;;;;;7818:66;21630:25:::1;21658:21:::0;;;:9:::1;:21;::::0;;;;21784:31;;::::1;;21830:19:::0;;::::1;21826:53;;;21858:21;;;;;;;;;;;;;;21826:53;21989:14;22006:33;22030:8;22006:23;:33::i;:::-;21989:50:::0;-1:-1:-1;22050:19:19::1;22072:15;21989:50:::0;22072:6;:15:::1;:::i;:::-;22050:37;;22102:11;22117:1;22102:16:::0;22098:39:::1;;22127:10;;-1:-1:-1::0;;;22127:10:19::1;;;;;;;;;;;22098:39;22355:19;:45:::0;;-1:-1:-1;;22355:45:19;::::1;;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;22769:38;;;;;;::::1;-1:-1:-1::0;;;;;22769:38:19;;::::1;22254:19:::0;;::::1;22481:15;:27:::0;;::::1;22673:35:::0;;;::::1;::::0;::::1;:72:::0;::::1;:134:::0;;;::::1;22609:213:::0;::::1;::::0;::::1;::::0;;::::1;::::0;;;22940:50;;;::::1;23005:63:::0;::::1;::::0;;::::1;;::::0;;25989:45;-1:-1:-1;;;23307:50:19::1;::::0;;::::1;::::0;;::::1;25989:45:::0;-1:-1:-1;;;25989:45:19;;;;23174:23:::1;::::0;::::1;25989:45:::0;26077:22;26045:54;-1:-1:-1;26045:29:19;;:54;;;-1:-1:-1;26045:54:19;;;23564:30:::1;23582:11;23564:17;:30::i;:::-;23640:6;23632;23620:10;23610:37;;;;;;;;;;21564:2091;;;;21479:2176:::0;;;:::o;30968:188::-;31118:30;;31048:7;;-1:-1:-1;;;;;31118:30:19;;;;;31075:40;;31093:22;;31075:15;:40;:::i;:::-;:73;;;;:::i;27490:1803::-;-1:-1:-1;;;;;;;;;;;;;;;;;27736:19:19;;;;-1:-1:-1;;;27736:19:19;;;;27759:1;27736:24;27732:59;;-1:-1:-1;27769:22:19;;;;;;;;;-1:-1:-1;27769:22:19;;;;;;;27762:29;;27732:59;27919:29;;;28036:901;;;;28138:15;28156:17;:15;:17::i;:::-;28138:35;;28273;28327:36;28381:44;28417:7;28381:35;:44::i;:::-;28254:171;;;;28535:390;;;;;;;;28693:20;:34;;;28638:27;28574:22;:36;;;:91;;;;:::i;:::-;:153;;;;:::i;:::-;28535:390;;;;28871:20;:35;;;28815:28;28750:22;:37;;;:93;;;;:::i;:::-;:156;;;;:::i;:::-;28535:390;;;28511:414;;;;;;;;28036:901;29068:217;;;;;;;;;29142:34;;29103:22;:36;29068:217;;29103:73;;;:::i;:::-;29068:217;;;;29235:20;:35;;;29195:22;:37;;;:75;;;;:::i;:::-;29068:217;;29048:237;27490:1803;-1:-1:-1;;;;27490:1803:19:o;31499:638::-;31784:19;;;;31639:7;;-1:-1:-1;;;31784:19:19;;;;:24;:345;;32092:23;;;;32053:36;;;;6940:6;;32053:62;;-1:-1:-1;;;;;32092:23:19;;;;32053:62;:::i;:::-;31996:31;;31951:19;;;;31912:36;;;;31996:31;;;;;31912:58;;-1:-1:-1;;;31951:19:19;;;;;31912:58;:::i;:::-;31852:35;;:119;;;;:::i;:::-;31851:176;;;;:::i;:::-;31850:266;;;;:::i;:::-;31849:280;;;;:::i;:::-;31784:345;;;-1:-1:-1;31828:1:19;;31499:638;-1:-1:-1;;31499:638:19:o;18767:1914::-;18837:10;7845;7822:19;18837:10;7822:7;:19::i;:::-;-1:-1:-1;;;;;7822:33:19;;7818:66;;7864:20;;-1:-1:-1;;;7864:20:19;;;;;;;;;;;7818:66;18915:25:::1;18943:21:::0;;;:9:::1;:21;::::0;;;;;19043:33:::1;18943:21:::0;19043:23:::1;:33::i;:::-;19026:50:::0;-1:-1:-1;19153:19:19::1;19175:15;19026:50:::0;19175:6;:15:::1;:::i;:::-;19153:37;;19205:11;19220:1;19205:16:::0;19201:39:::1;;19230:10;;-1:-1:-1::0;;;19230:10:19::1;;;;;;;;;;;19201:39;19350:19;:27:::0;19325:22:::1;::::0;19350:41:::1;::::0;19380:11;;19350:27:::1;;:41;:::i;:::-;19325:66:::0;-1:-1:-1;19423:16:19::1;19406:33:::0;::::1;19402:56;;;19448:10;;;;;;;;;;;;;;19402:56;19660:19;:54:::0;;;19729:52;;::::1;-1:-1:-1::0;;;;;19660:54:19;;;;::::1;::::0;::::1;19615:15;:29:::0;;::::1;19660:54:::0;;::::1;::::0;::::1;::::0;::::1;-1:-1:-1::0;;19729:52:19;;;;;;::::1;::::0;;;19997:30;;;;::::1;20082:24:::0;;::::1;20042:65:::0;;::::1;::::0;::::1;::::0;::::1;20122:57:::0;;::::1;::::0;::::1;;::::0;::::1;::::0;;::::1;;::::0;;20327:19:::1;::::0;::::1;::::0;;20242:120;;::::1;20327:19;-1:-1:-1::0;;;20327:19:19;::::1;;20309:37:::0;;::::1;20295:52:::0;;::::1;20242:120:::0;;;::::1;::::0;;::::1;-1:-1:-1::0;;20242:120:19;;::::1;;::::0;;20438:35:::1;19938:8:::0;25989:19;;;:45;;;26018:15;25989:45;-1:-1:-1;;;25989:45:19;;;;;;;;26077:22;26045:54;-1:-1:-1;26045:29:19;;:54;;;-1:-1:-1;26045:54:19;;;;25908:199;20438:35:::1;20583:11:::0;;20579:44:::1;;20596:27;20616:6;20596:19;:27::i;:::-;20666:6;20658;20646:10;20639:34;;;;;;;;;;18849:1832;;;;18767:1914:::0;;;:::o;8160:142:20:-;8228:41;;;;;8250:10;8228:41;;;17258:74:21;17348:18;;;17341:34;;;8228:12:20;-1:-1:-1;;;;;8228:21:20;;;;17231:18:21;;8228:41:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8223:71;;8278:16;;;;;;;;;;;;;;8474:163;8544:60;;;;;8570:10;8544:60;;;19915:34:21;8590:4:20;19965:18:21;;;19958:43;20017:18;;;20010:34;;;8544:12:20;-1:-1:-1;;;;;8544:25:20;;;;19827:18:21;;8544:60:20;19652:398:21;9555:156:17;9629:7;9679:22;9683:3;9695:5;9679:3;:22::i;9091:920:5:-;-1:-1:-1;;;;;9170:16:5;;9162:61;;;;-1:-1:-1;;;9162:61:5;;20257:2:21;9162:61:5;;;20239:21:21;;;20276:18;;;20269:30;20335:34;20315:18;;;20308:62;20387:18;;9162:61:5;20055:356:21;9162:61:5;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:5;7344:31;9233:58;;;;-1:-1:-1;;;9233:58:5;;20618:2:21;9233:58:5;;;20600:21:21;20657:2;20637:18;;;20630:30;20696;20676:18;;;20669:58;20744:18;;9233:58:5;20416:352:21;9233:58:5;9302:48;9331:1;9335:2;9339:7;9348:1;9302:20;:48::i;:::-;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:5;7344:31;9437:58;;;;-1:-1:-1;;;9437:58:5;;20618:2:21;9437:58:5;;;20600:21:21;20657:2;20637:18;;;20630:30;20696;20676:18;;;20669:58;20744:18;;9437:58:5;20416:352:21;9437:58:5;-1:-1:-1;;;;;9837:13:5;;;;;;:9;:13;;;;;;;;:18;;9854:1;9837:18;;;9876:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;9876:21:5;;;;;9913:33;9884:7;;9837:13;;9913:33;;9837:13;;9913:33;5912:214:0;;:::o;13075:307:5:-;13225:8;-1:-1:-1;;;;;13216:17:5;:5;-1:-1:-1;;;;;13216:17:5;;13208:55;;;;-1:-1:-1;;;13208:55:5;;20975:2:21;13208:55:5;;;20957:21:21;21014:2;20994:18;;;20987:30;21053:27;21033:18;;;21026:55;21098:18;;13208:55:5;20773:349:21;13208:55:5;-1:-1:-1;;;;;13273:25:5;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13273:46:5;;;;;;;;;;13334:41;;586::21;;;13334::5;;559:18:21;13334:41:5;;;;;;;13075:307;;;:::o;6424:305::-;6574:28;6584:4;6590:2;6594:7;6574:9;:28::i;:::-;6620:47;6643:4;6649:2;6653:7;6662:4;6620:22;:47::i;:::-;6612:110;;;;-1:-1:-1;;;6612:110:5;;21329:2:21;6612:110:5;;;21311:21:21;21368:2;21348:18;;;21341:30;21407:34;21387:18;;;21380:62;21478:20;21458:18;;;21451:48;21516:19;;6612:110:5;21127:414:21;9098:115:17;9161:7;9187:19;9195:3;4537:18;;4455:107;2206:404;2269:4;4343:19;;;:12;;;:19;;;;;;2285:319;;-1:-1:-1;2327:23:17;;;;;;;;:11;:23;;;;;;;;;;;;;2507:18;;2485:19;;;:12;;;:19;;;;;;:40;;;;2539:11;;2285:319;-1:-1:-1;2588:5:17;2581:12;;2606:202:0;2691:4;-1:-1:-1;;;;;;2714:47:0;;2729:32;2714:47;;:87;;;2765:36;2789:11;2765:23;:36::i;1570:300:5:-;1672:4;-1:-1:-1;;;;;;1707:40:5;;1722:25;1707:40;;:104;;-1:-1:-1;;;;;;;1763:48:5;;1778:33;1763:48;1707:104;:156;;;-1:-1:-1;952:25:14;-1:-1:-1;;;;;;937:40:14;;;1827:36:5;829:155:14;32955:513:19;33197:10;-1:-1:-1;;;;;33197:18:19;;;33193:199;;33291:21;;33232:19;33254:18;;;:9;:18;;;;;:34;;;33232:19;;33254:58;;-1:-1:-1;;;33254:34:19;;;;:58;:::i;:::-;33232:80;;33350:11;33331:15;:30;33327:53;;33370:10;;;;;;;;;;;;;;33327:53;33217:175;33193:199;33404:56;33431:4;33437:2;33441:7;33450:9;33404:26;:56::i;3718:479:0:-;2981:4;3004:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3004:29:0;;;;;;;;;;;;3801:390;;3989:28;4009:7;3989:19;:28::i;:::-;4088:38;4116:4;4123:2;4088:19;:38::i;:::-;3896:252;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3896:252:0;;;;;;;;;;-1:-1:-1;;;3844:336:0;;;;;;;:::i;7865:234::-;2981:4;3004:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3004:29:0;;;;;;;;;;;;7944:149;;;8018:5;7986:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;7986:29:0;;;;;;;;;;:37;;-1:-1:-1;;7986:37:0;;;8042:40;719:10:12;;7986:12:0;;8042:40;;8018:5;8042:40;7865:234;;:::o;8615:156:17:-;8688:4;8711:53;8719:3;-1:-1:-1;;;;;8739:23:17;;8711:7;:53::i;10337:762:5:-;10396:13;10412:23;10427:7;10412:14;:23::i;:::-;10396:39;;10446:51;10467:5;10482:1;10486:7;10495:1;10446:20;:51::i;:::-;10607:23;10622:7;10607:14;:23::i;:::-;10675:24;;;;:15;:24;;;;;;;;10668:31;;-1:-1:-1;;10668:31:5;;;;;;-1:-1:-1;;;;;10915:16:5;;;;;:9;:16;;;;;:21;;-1:-1:-1;;10915:21:5;;;10963:16;;;:7;:16;;;;;;10956:23;;;;;;;10995:36;10599:31;;-1:-1:-1;10691:7:5;;10995:36;;10675:24;;10995:36;5912:214:0;;:::o;7727:261:20:-;7763:14;7877:17;:15;:17::i;:::-;7944:10;:36;;;;;7964:15;7944:36;;;;;;7868:26;;-1:-1:-1;7727:261:20:o;29741:575:19:-;29852:35;29889:36;30037:18;30058:30;30068:19;30058:9;:30::i;:::-;30037:51;-1:-1:-1;30103:15:19;;30099:210;;30207:10;6940:6;30166:25;30176:15;30166:7;:25;:::i;:::-;:37;;;;:::i;:::-;30165:52;;;;:::i;:::-;30135:82;-1:-1:-1;30287:10:19;30264:19;6940:6;30264:7;:19;:::i;:::-;30263:34;;;;:::i;:::-;30232:65;;30099:210;29932:384;29741:575;;;:::o;26462:512::-;26544:7;26760:45;26808:42;26834:8;26844:5;26808:25;:42::i;:::-;26760:90;;26926:40;26934:21;26957:8;26926:7;:40::i;8886:1150:20:-;9057:12;;8936:15;;-1:-1:-1;;;9057:12:20;;;;8936:15;9359;9341:33;;:95;;9421:15;9341:95;;;9390:15;9341:95;9646:10;;9306:130;;-1:-1:-1;9646:10:20;;;;;9802:40;;;9798:183;;;9943:11;;;;9899:40;;;9898:56;;-1:-1:-1;9798:183:20;10011:16;10000:27;;;9993:35;;;;:::i;:::-;8953:1083;;;8886:1150;:::o;4904:118:17:-;4971:7;4997:3;:11;;5009:5;4997:18;;;;;;;;:::i;:::-;;;;;;;;;4990:25;;4904:118;;;;:::o;14151:831:5:-;14300:4;-1:-1:-1;;;;;14320:13:5;;1465:19:11;:23;14316:660:5;;14355:71;;;;;-1:-1:-1;;;;;14355:36:5;;;;;:71;;719:10:12;;14406:4:5;;14412:7;;14421:4;;14355:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14355:71:5;;;;;;;;-1:-1:-1;;14355:71:5;;;;;;;;;;;;:::i;:::-;;;14351:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14593:6;:13;14610:1;14593:18;14589:321;;14635:60;;-1:-1:-1;;;14635:60:5;;21329:2:21;14635:60:5;;;21311:21:21;21368:2;21348:18;;;21341:30;21407:34;21387:18;;;21380:62;21478:20;21458:18;;;21451:48;21516:19;;14635:60:5;21127:414:21;14589:321:5;14862:6;14856:13;14847:6;14843:2;14839:15;14832:38;14351:573;-1:-1:-1;;;;;;14476:51:5;14486:41;14476:51;;-1:-1:-1;14469:58:5;;14316:660;-1:-1:-1;14961:4:5;14151:831;;;;;;:::o;2112:890:8:-;2283:61;2310:4;2316:2;2320:12;2334:9;2283:26;:61::i;:::-;2371:1;2359:9;:13;2355:219;;;2500:63;;-1:-1:-1;;;2500:63:8;;23499:2:21;2500:63:8;;;23481:21:21;23538:2;23518:18;;;23511:30;23577:34;23557:18;;;23550:62;23648:23;23628:18;;;23621:51;23689:19;;2500:63:8;23297:417:21;2355:219:8;2602:12;-1:-1:-1;;;;;2629:18:8;;2625:183;;2663:40;2695:7;3811:10;:17;;3784:24;;;;:15;:24;;;;;:44;;;3838:24;;;;;;;;;;;;3708:161;2663:40;2625:183;;;2732:2;-1:-1:-1;;;;;2724:10:8;:4;-1:-1:-1;;;;;2724:10:8;;2720:88;;2750:47;2783:4;2789:7;2750:32;:47::i;:::-;-1:-1:-1;;;;;2821:16:8;;2817:179;;2853:45;2890:7;2853:36;:45::i;:::-;2817:179;;;2925:4;-1:-1:-1;;;;;2919:10:8;:2;-1:-1:-1;;;;;2919:10:8;;2915:81;;2945:40;2973:2;2977:7;2945:27;:40::i;:::-;2273:729;2112:890;;;;:::o;2102:149:13:-;2160:13;2192:52;-1:-1:-1;;;;;2204:22:13;;311:2;1513:437;1588:13;1613:19;1645:10;1649:6;1645:1;:10;:::i;:::-;:14;;1658:1;1645:14;:::i;:::-;1635:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1635:25:13;;1613:47;;1670:15;:6;1677:1;1670:9;;;;;;;;:::i;:::-;;;;:15;;;;;;;;;;;1695;:6;1702:1;1695:9;;;;;;;;:::i;:::-;;;;:15;;;;;;;;;;-1:-1:-1;1725:9:13;1737:10;1741:6;1737:1;:10;:::i;:::-;:14;;1750:1;1737:14;:::i;:::-;1725:26;;1720:128;1757:1;1753;:5;1720:128;;;1791:8;1800:5;1808:3;1800:11;1791:21;;;;;;;:::i;:::-;;;;1779:6;1786:1;1779:9;;;;;;;;:::i;:::-;;;;:33;;;;;;;;;;-1:-1:-1;1836:1:13;1826:11;;;;;1760:3;;;:::i;:::-;;;1720:128;;;-1:-1:-1;1865:10:13;;1857:55;;;;-1:-1:-1;;;1857:55:13;;24122:2:21;1857:55:13;;;24104:21:21;;;24141:18;;;24134:30;24200:34;24180:18;;;24173:62;24252:18;;1857:55:13;23920:356:21;2778:1388:17;2844:4;2981:19;;;:12;;;:19;;;;;;3015:15;;3011:1149;;3384:21;3408:14;3421:1;3408:10;:14;:::i;:::-;3456:18;;3384:38;;-1:-1:-1;3436:17:17;;3456:22;;3477:1;;3456:22;:::i;:::-;3436:42;;3510:13;3497:9;:26;3493:398;;3543:17;3563:3;:11;;3575:9;3563:22;;;;;;;;:::i;:::-;;;;;;;;;3543:42;;3714:9;3685:3;:11;;3697:13;3685:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3797:23;;;:12;;;:23;;;;;:36;;;3493:398;3969:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4061:3;:12;;:19;4074:5;4061:19;;;;;;;;;;;4054:26;;;4102:4;4095:11;;;;;;;3011:1149;4144:5;4137:12;;;;;15698:396:5;15882:1;15870:9;:13;15866:222;;;-1:-1:-1;;;;;15903:18:5;;;15899:85;;-1:-1:-1;;;;;15941:15:5;;;;;;:9;:15;;;;;:28;;15960:9;;15941:15;:28;;15960:9;;15941:28;:::i;:::-;;;;-1:-1:-1;;15899:85:5;-1:-1:-1;;;;;16001:16:5;;;15997:81;;-1:-1:-1;;;;;16037:13:5;;;;;;:9;:13;;;;;:26;;16054:9;;16037:13;:26;;16054:9;;16037:26;:::i;:::-;;;;-1:-1:-1;;15698:396:5;;;;:::o;4486:970:8:-;4748:22;4798:1;4773:22;4790:4;4773:16;:22::i;:::-;:26;;;;:::i;:::-;4809:18;4830:26;;;:17;:26;;;;;;4748:51;;-1:-1:-1;4960:28:8;;;4956:323;;-1:-1:-1;;;;;5026:18:8;;5004:19;5026:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5075:30;;;;;;:44;;;5191:30;;:17;:30;;;;;:43;;;4956:323;-1:-1:-1;5372:26:8;;;;:17;:26;;;;;;;;5365:33;;;-1:-1:-1;;;;;5415:18:8;;;;;:12;:18;;;;;:34;;;;;;;5408:41;4486:970::o;5744:1061::-;6018:10;:17;5993:22;;6018:21;;6038:1;;6018:21;:::i;:::-;6049:18;6070:24;;;:15;:24;;;;;;6438:10;:26;;5993:46;;-1:-1:-1;6070:24:8;;5993:46;;6438:26;;;;;;:::i;:::-;;;;;;;;;6416:48;;6500:11;6475:10;6486;6475:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6579:28;;;:15;:28;;;;;;;:41;;;6748:24;;;;;6741:31;6782:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5815:990;;;5744:1061;:::o;3296:217::-;3380:14;3397:20;3414:2;3397:16;:20::i;:::-;-1:-1:-1;;;;;3427:16:8;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3471:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3296:217:8:o;14:177:21:-;-1:-1:-1;;;;;;92:5:21;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:258::-;710:1;720:113;734:6;731:1;728:13;720:113;;;810:11;;;804:18;791:11;;;784:39;756:2;749:10;720:113;;;851:6;848:1;845:13;842:48;;;-1:-1:-1;;886:1:21;868:16;;861:27;638:258::o;901:317::-;943:3;981:5;975:12;1008:6;1003:3;996:19;1024:63;1080:6;1073:4;1068:3;1064:14;1057:4;1050:5;1046:16;1024:63;:::i;:::-;1132:2;1120:15;-1:-1:-1;;1116:88:21;1107:98;;;;1207:4;1103:109;;901:317;-1:-1:-1;;901:317:21:o;1223:220::-;1372:2;1361:9;1354:21;1335:4;1392:45;1433:2;1422:9;1418:18;1410:6;1392:45;:::i;1448:180::-;1507:6;1560:2;1548:9;1539:7;1535:23;1531:32;1528:52;;;1576:1;1573;1566:12;1528:52;-1:-1:-1;1599:23:21;;1448:180;-1:-1:-1;1448:180:21:o;1864:154::-;-1:-1:-1;;;;;1943:5:21;1939:54;1932:5;1929:65;1919:93;;2008:1;2005;1998:12;2023:315;2091:6;2099;2152:2;2140:9;2131:7;2127:23;2123:32;2120:52;;;2168:1;2165;2158:12;2120:52;2207:9;2194:23;2226:31;2251:5;2226:31;:::i;:::-;2276:5;2328:2;2313:18;;;;2300:32;;-1:-1:-1;;;2023:315:21:o;2738:456::-;2815:6;2823;2831;2884:2;2872:9;2863:7;2859:23;2855:32;2852:52;;;2900:1;2897;2890:12;2852:52;2939:9;2926:23;2958:31;2983:5;2958:31;:::i;:::-;3008:5;-1:-1:-1;3065:2:21;3050:18;;3037:32;3078:33;3037:32;3078:33;:::i;:::-;2738:456;;3130:7;;-1:-1:-1;;;3184:2:21;3169:18;;;;3156:32;;2738:456::o;3566:315::-;3634:6;3642;3695:2;3683:9;3674:7;3670:23;3666:32;3663:52;;;3711:1;3708;3701:12;3663:52;3747:9;3734:23;3724:33;;3807:2;3796:9;3792:18;3779:32;3820:31;3845:5;3820:31;:::i;:::-;3870:5;3860:15;;;3566:315;;;;;:::o;3886:248::-;3954:6;3962;4015:2;4003:9;3994:7;3990:23;3986:32;3983:52;;;4031:1;4028;4021:12;3983:52;-1:-1:-1;;4054:23:21;;;4124:2;4109:18;;;4096:32;;-1:-1:-1;3886:248:21:o;4139:367::-;4202:8;4212:6;4266:3;4259:4;4251:6;4247:17;4243:27;4233:55;;4284:1;4281;4274:12;4233:55;-1:-1:-1;4307:20:21;;4350:18;4339:30;;4336:50;;;4382:1;4379;4372:12;4336:50;4419:4;4411:6;4407:17;4395:29;;4479:3;4472:4;4462:6;4459:1;4455:14;4447:6;4443:27;4439:38;4436:47;4433:67;;;4496:1;4493;4486:12;4433:67;4139:367;;;;;:::o;4511:773::-;4633:6;4641;4649;4657;4710:2;4698:9;4689:7;4685:23;4681:32;4678:52;;;4726:1;4723;4716:12;4678:52;4766:9;4753:23;4795:18;4836:2;4828:6;4825:14;4822:34;;;4852:1;4849;4842:12;4822:34;4891:70;4953:7;4944:6;4933:9;4929:22;4891:70;:::i;:::-;4980:8;;-1:-1:-1;4865:96:21;-1:-1:-1;5068:2:21;5053:18;;5040:32;;-1:-1:-1;5084:16:21;;;5081:36;;;5113:1;5110;5103:12;5081:36;;5152:72;5216:7;5205:8;5194:9;5190:24;5152:72;:::i;:::-;4511:773;;;;-1:-1:-1;5243:8:21;-1:-1:-1;;;;4511:773:21:o;5289:270::-;5371:6;5424:2;5412:9;5403:7;5399:23;5395:32;5392:52;;;5440:1;5437;5430:12;5392:52;5479:9;5466:23;5498:31;5523:5;5498:31;:::i;7009:118::-;7095:5;7088:13;7081:21;7074:5;7071:32;7061:60;;7117:1;7114;7107:12;7132:382;7197:6;7205;7258:2;7246:9;7237:7;7233:23;7229:32;7226:52;;;7274:1;7271;7264:12;7226:52;7313:9;7300:23;7332:31;7357:5;7332:31;:::i;:::-;7382:5;-1:-1:-1;7439:2:21;7424:18;;7411:32;7452:30;7411:32;7452:30;:::i;7519:184::-;-1:-1:-1;;;7568:1:21;7561:88;7668:4;7665:1;7658:15;7692:4;7689:1;7682:15;7708:334;7779:2;7773:9;7835:2;7825:13;;-1:-1:-1;;7821:86:21;7809:99;;7938:18;7923:34;;7959:22;;;7920:62;7917:88;;;7985:18;;:::i;:::-;8021:2;8014:22;7708:334;;-1:-1:-1;7708:334:21:o;8047:245::-;8095:4;8128:18;8120:6;8117:30;8114:56;;;8150:18;;:::i;:::-;-1:-1:-1;8207:2:21;8195:15;-1:-1:-1;;8191:88:21;8281:4;8187:99;;8047:245::o;8297:1016::-;8392:6;8400;8408;8416;8469:3;8457:9;8448:7;8444:23;8440:33;8437:53;;;8486:1;8483;8476:12;8437:53;8525:9;8512:23;8544:31;8569:5;8544:31;:::i;:::-;8594:5;-1:-1:-1;8651:2:21;8636:18;;8623:32;8664:33;8623:32;8664:33;:::i;:::-;8716:7;-1:-1:-1;8770:2:21;8755:18;;8742:32;;-1:-1:-1;8825:2:21;8810:18;;8797:32;8852:18;8841:30;;8838:50;;;8884:1;8881;8874:12;8838:50;8907:22;;8960:4;8952:13;;8948:27;-1:-1:-1;8938:55:21;;8989:1;8986;8979:12;8938:55;9025:2;9012:16;9050:48;9066:31;9094:2;9066:31;:::i;:::-;9050:48;:::i;:::-;9121:2;9114:5;9107:17;9161:7;9156:2;9151;9147;9143:11;9139:20;9136:33;9133:53;;;9182:1;9179;9172:12;9133:53;9237:2;9232;9228;9224:11;9219:2;9212:5;9208:14;9195:45;9281:1;9276:2;9271;9264:5;9260:14;9256:23;9249:34;9302:5;9292:15;;;;;8297:1016;;;;;;;:::o;9517:383::-;9594:6;9602;9610;9663:2;9651:9;9642:7;9638:23;9634:32;9631:52;;;9679:1;9676;9669:12;9631:52;9718:9;9705:23;9737:31;9762:5;9737:31;:::i;:::-;9787:5;9839:2;9824:18;;9811:32;;-1:-1:-1;9890:2:21;9875:18;;;9862:32;;9517:383;-1:-1:-1;;;9517:383:21:o;9905:632::-;10076:2;10128:21;;;10198:13;;10101:18;;;10220:22;;;10047:4;;10076:2;10299:15;;;;10273:2;10258:18;;;10047:4;10342:169;10356:6;10353:1;10350:13;10342:169;;;10417:13;;10405:26;;10486:15;;;;10451:12;;;;10378:1;10371:9;10342:169;;;-1:-1:-1;10528:3:21;;9905:632;-1:-1:-1;;;;;;9905:632:21:o;11120:388::-;11188:6;11196;11249:2;11237:9;11228:7;11224:23;11220:32;11217:52;;;11265:1;11262;11255:12;11217:52;11304:9;11291:23;11323:31;11348:5;11323:31;:::i;:::-;11373:5;-1:-1:-1;11430:2:21;11415:18;;11402:32;11443:33;11402:32;11443:33;:::i;12020:437::-;12099:1;12095:12;;;;12142;;;12163:61;;12217:4;12209:6;12205:17;12195:27;;12163:61;12270:2;12262:6;12259:14;12239:18;12236:38;12233:218;;-1:-1:-1;;;12304:1:21;12297:88;12408:4;12405:1;12398:15;12436:4;12433:1;12426:15;12233:218;;12020:437;;;:::o;14536:184::-;-1:-1:-1;;;14585:1:21;14578:88;14685:4;14682:1;14675:15;14709:4;14706:1;14699:15;14725:228;14765:7;14891:1;-1:-1:-1;;14819:74:21;14816:1;14813:81;14808:1;14801:9;14794:17;14790:105;14787:131;;;14898:18;;:::i;:::-;-1:-1:-1;14938:9:21;;14725:228::o;14958:274::-;14998:1;15024;15014:189;;-1:-1:-1;;;15056:1:21;15049:88;15160:4;15157:1;15150:15;15188:4;15185:1;15178:15;15014:189;-1:-1:-1;15217:9:21;;14958:274::o;15650:184::-;-1:-1:-1;;;15699:1:21;15692:88;15799:4;15796:1;15789:15;15823:4;15820:1;15813:15;16602:244;16641:3;16669:26;16722:2;16719:1;16715:10;16752:2;16749:1;16745:10;16783:3;16779:2;16775:12;16770:3;16767:21;16764:47;;;16791:18;;:::i;:::-;16827:13;;16602:244;-1:-1:-1;;;;16602:244:21:o;16851:195::-;16890:3;-1:-1:-1;;16914:5:21;16911:77;16908:103;;16991:18;;:::i;:::-;-1:-1:-1;17038:1:21;17027:13;;16851:195::o;17386:635::-;17466:6;17519:2;17507:9;17498:7;17494:23;17490:32;17487:52;;;17535:1;17532;17525:12;17487:52;17568:9;17562:16;17601:18;17593:6;17590:30;17587:50;;;17633:1;17630;17623:12;17587:50;17656:22;;17709:4;17701:13;;17697:27;-1:-1:-1;17687:55:21;;17738:1;17735;17728:12;17687:55;17767:2;17761:9;17792:48;17808:31;17836:2;17808:31;:::i;17792:48::-;17863:2;17856:5;17849:17;17903:7;17898:2;17893;17889;17885:11;17881:20;17878:33;17875:53;;;17924:1;17921;17914:12;17875:53;17937:54;17988:2;17983;17976:5;17972:14;17967:2;17963;17959:11;17937:54;:::i;18026:125::-;18066:4;18094:1;18091;18088:8;18085:34;;;18099:18;;:::i;:::-;-1:-1:-1;18136:9:21;;18026:125::o;18156:128::-;18196:3;18227:1;18223:6;18220:1;18217:13;18214:39;;;18233:18;;:::i;:::-;-1:-1:-1;18269:9:21;;18156:128::o;19402:245::-;19469:6;19522:2;19510:9;19501:7;19497:23;19493:32;19490:52;;;19538:1;19535;19528:12;19490:52;19570:9;19564:16;19589:28;19611:5;19589:28;:::i;21546:786::-;21957:25;21952:3;21945:38;21927:3;22012:6;22006:13;22028:62;22083:6;22078:2;22073:3;22069:12;22062:4;22054:6;22050:17;22028:62;:::i;:::-;22154:19;22149:2;22109:16;;;22141:11;;;22134:40;22199:13;;22221:63;22199:13;22270:2;22262:11;;22255:4;22243:17;;22221:63;:::i;:::-;22304:17;22323:2;22300:26;;21546:786;-1:-1:-1;;;;21546:786:21:o;22337:184::-;-1:-1:-1;;;22386:1:21;22379:88;22486:4;22483:1;22476:15;22510:4;22507:1;22500:15;22526:512;22720:4;-1:-1:-1;;;;;22830:2:21;22822:6;22818:15;22807:9;22800:34;22882:2;22874:6;22870:15;22865:2;22854:9;22850:18;22843:43;;22922:6;22917:2;22906:9;22902:18;22895:34;22965:3;22960:2;22949:9;22945:18;22938:31;22986:46;23027:3;23016:9;23012:19;23004:6;22986:46;:::i;:::-;22978:54;22526:512;-1:-1:-1;;;;;;22526:512:21:o;23043:249::-;23112:6;23165:2;23153:9;23144:7;23140:23;23136:32;23133:52;;;23181:1;23178;23171:12;23133:52;23213:9;23207:16;23232:30;23256:5;23232:30;:::i;23719:196::-;23758:3;23786:5;23776:39;;23795:18;;:::i;:::-;-1:-1:-1;;;23831:78:21;;23719:196::o;24281:184::-;-1:-1:-1;;;24330:1:21;24323:88;24430:4;24427:1;24420:15;24454:4;24451:1;24444:15"},"methodIdentifiers":{"DEFAULT_ADMIN_ROLE()":"a217fddf","addReward(uint256)":"74de4ec4","approvalPauseDuration()":"340b1336","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","burn(uint256)":"42966c68","compound(uint256)":"aa5f7e26","emergencyExit(uint256)":"4231b0bd","endPeriod()":"5faa65ff","getApproved(uint256)":"081812fc","getRoleAdmin(bytes32)":"248a9ca3","getRoleMember(bytes32,uint256)":"9010d07c","getRoleMemberCount(bytes32)":"ca15c873","grantRole(bytes32,address)":"2f2ff15d","harvest(uint256)":"ddc63262","hasRole(bytes32,address)":"91d14854","isApprovedForAll(address,address)":"e985e9c5","lastUpdate()":"c0463711","mint(uint256)":"a0712d68","multiStake(uint256[],uint256[])":"5e4c911f","multiWithdraw(uint256[],uint256[])":"aea62e3f","name()":"06fdde03","ownerOf(uint256)":"6352211e","periodDuration()":"b470aade","periodFinish()":"ebe2b12b","positionPendingRewards(uint256)":"496cea98","positionRewardRate(uint256)":"468cc41e","positions(uint256)":"99fbab88","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f","rewardRate()":"7b0a47ee","rewardSummationsStored()":"f5c45500","rewardsToken()":"d1af0c7d","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","setApprovalPauseDuration(uint256)":"75c3fd3f","setPeriodDuration(uint256)":"7c2d6e01","setTokenMetadata(address)":"6fdff40f","stake(uint256,uint256)":"7b0472f0","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","tokenByIndex(uint256)":"4f6ccce7","tokenMetadata()":"f5b2cad7","tokenOfOwnerByIndex(address,uint256)":"2f745c59","tokenURI(uint256)":"c87b56dd","tokensOfOwnerByIndex(address,uint256,uint256)":"ce9e2daa","totalRewardAdded()":"098b8858","totalSupply()":"18160ddd","totalValueVariables()":"df3e1aa4","transferFrom(address,address,uint256)":"23b872dd","withdraw(uint256,uint256)":"441a3e70"}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newRewardsToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"},{\"internalType\":\"contract ITokenMetadata\",\"name\":\"newTokenMetadata\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"FailedTransfer\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HighSlippage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Locked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MismatchedArrayLengths\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoEffect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonExistentToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NullInput\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OutOfBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Overflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TooEarly\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TooLate\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Underflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnprivilegedCaller\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newApprovalPauseDuration\",\"type\":\"uint256\"}],\"name\":\"PauseDurationSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDuration\",\"type\":\"uint256\"}],\"name\":\"PeriodDurationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"PeriodEnded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"RewardAdded\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"Staked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contract ITokenMetadata\",\"name\":\"newTokenMetadata\",\"type\":\"address\"}],\"name\":\"TokenMetadataSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"addReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"approvalPauseDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"}],\"name\":\"compound\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"}],\"name\":\"emergencyExit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"endPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"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\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"}],\"name\":\"harvest\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastUpdate\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"positionIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"multiStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"positionIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"multiWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"periodDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"periodFinish\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"}],\"name\":\"positionPendingRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"}],\"name\":\"positionRewardRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"positions\",\"outputs\":[{\"components\":[{\"internalType\":\"uint96\",\"name\":\"balance\",\"type\":\"uint96\"},{\"internalType\":\"uint160\",\"name\":\"sumOfEntryTimes\",\"type\":\"uint160\"}],\"internalType\":\"struct PangolinStakingPositions.ValueVariables\",\"name\":\"valueVariables\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"idealPosition\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardPerValue\",\"type\":\"uint256\"}],\"internalType\":\"struct PangolinStakingPositions.RewardSummations\",\"name\":\"rewardSummationsPaid\",\"type\":\"tuple\"},{\"internalType\":\"uint160\",\"name\":\"previousValues\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"lastUpdate\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"lastDevaluation\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"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\":[],\"name\":\"rewardRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardSummationsStored\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"idealPosition\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardPerValue\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsToken\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newApprovalPauseDuration\",\"type\":\"uint256\"}],\"name\":\"setApprovalPauseDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newDuration\",\"type\":\"uint256\"}],\"name\":\"setPeriodDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ITokenMetadata\",\"name\":\"newTokenMetadata\",\"type\":\"address\"}],\"name\":\"setTokenMetadata\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"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\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenMetadata\",\"outputs\":[{\"internalType\":\"contract ITokenMetadata\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"from\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"to\",\"type\":\"uint256\"}],\"name\":\"tokensOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalRewardAdded\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalValueVariables\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"balance\",\"type\":\"uint96\"},{\"internalType\":\"uint160\",\"name\":\"sumOfEntryTimes\",\"type\":\"uint160\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"shung for Pangolin\",\"details\":\"SAR Algorithm:      SAR allocates a user (or position) the following proportion of any given rewards:      `(balance_position / balance_total) * (stakingDuration_position /      stakingDuration_average)`.      Staking duration is how long a token has been staked. The staking duration of a token      starts when it is staked, restarts when its rewards are harvested, and ends when it is      withdrawn.      We can refer to `balance * stakingDuration` as `value`. Based on this definition, the      formula above can be simplified to `value_position / value_total`.      Although this looks similar to just `balance_position / balance_total`, unlike balance, the      value of every position is constantly changing as a function of time. Therefore, we cannot      simply use the standard staking algorithm (i.e.: Synthetix StakingRewards) for calculating      rewards of users in constant time. A new algorithm had to be invented for this reason.      To understand the algorithm, one must read the Proofs. Then      `_getRewardSummationsIncrementations()` and `_earned()` functions will make sense.Assumptions (not checked to be true):      - `rewardsToken` reverts or returns false on invalid transfers,      - `block.timestamp * totalRewardAdded` fits 128 bits,      - `block.timestamp` is never greater than `2**40 - 1 - 2**32`.Limitations (checked to be true):      - `totalStaked` fits 96 bits.      - `totalRewardAdded` fits 96 bits.\",\"kind\":\"dev\",\"methods\":{\"addReward(uint256)\":{\"params\":{\"amount\":\"The amount of reward tokens to add to the contract.\"}},\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"burn(uint256)\":{\"params\":{\"positionId\":\"The identifier of the position to close.\"}},\"compound(uint256)\":{\"params\":{\"positionId\":\"The identifier of the position to compound the rewards of.\"}},\"constructor\":{\"params\":{\"newAdmin\":\"The initial owner of the contract.\",\"newRewardsToken\":\"The token used for both for staking and reward.\",\"newTokenMetadata\":\"The contract that constructs tokenURIs for position NFTs.\"}},\"emergencyExit(uint256)\":{\"params\":{\"positionId\":\"The identifier of the position to exit.\"}},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"getRoleMember(bytes32,uint256)\":{\"details\":\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\"},\"getRoleMemberCount(bytes32)\":{\"details\":\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\"},\"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.\"},\"harvest(uint256)\":{\"params\":{\"positionId\":\"The identifier of the position to claim the rewards of.\"}},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"mint(uint256)\":{\"params\":{\"amount\":\"The amount of tokens to transfer from the caller to the position.\",\"positionId\":\"The identifier of the newly created position.\"}},\"multiStake(uint256[],uint256[])\":{\"details\":\"This saves gas by updating summations only once.\",\"params\":{\"amounts\":\"An array of amount of tokens to stake to the corresponding positions.\",\"positionIds\":\"An array of identifiers of positions to stake to.\"}},\"multiWithdraw(uint256[],uint256[])\":{\"details\":\"This saves gas by updating summations only once.\",\"params\":{\"amounts\":\"An array of amount of tokens to withdraw from corresponding positions.\",\"positionIds\":\"An array of identifiers of positions to withdraw from.\"}},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"positionPendingRewards(uint256)\":{\"params\":{\"positionId\":\"The identifier of the position to check the accrued rewards of.\"},\"returns\":{\"_0\":\"The amount of rewards that have been accrued in the position.\"}},\"positionRewardRate(uint256)\":{\"details\":\"In SAR, positions have different APRs, unlike other staking algorithms. This external      function clearly demonstrates how the SAR algorithm is supposed to distribute the      rewards based on \\u201cvalue\\u201d, which is balance times staking duration. This external      function can be considered as a specification.\",\"params\":{\"positionId\":\"The identifier of the position to check the reward rate of.\"},\"returns\":{\"_0\":\"The rewards per second of the position.\"}},\"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 `account`. 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.\"},\"rewardRate()\":{\"returns\":{\"_0\":\"The reward per second being distributed.\"}},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"setApprovalPauseDuration(uint256)\":{\"params\":{\"newApprovalPauseDuration\":\"The new duration during which token approvals are ignored.\"}},\"setPeriodDuration(uint256)\":{\"params\":{\"newDuration\":\"The duration the feature periods will last.\"}},\"setTokenMetadata(address)\":{\"params\":{\"newTokenMetadata\":\"The addresses of the new contract address that constructs tokenURIs.\"}},\"stake(uint256,uint256)\":{\"params\":{\"amount\":\"The amount of tokens to deposit into the position.\",\"positionId\":\"The identifier of the position to deposit the funds into.\"}},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"},\"withdraw(uint256,uint256)\":{\"params\":{\"amount\":\"The amount of staked tokens, excluding rewards, to withdraw from the position.\",\"positionId\":\"The identifier of the position to withdraw the balance.\"}}},\"stateVariables\":{\"_positionsLength\":{\"details\":\"This is simply a counter for determining the next position identifier.\"},\"approvalPauseDuration\":{\"details\":\"This is a hacky solution to prevent frontrunning NFT sales. This is a general issue      with all NFTs with mutable state, because NFT marketplaces do not have a standard      method for \\u201cslippage control\\u201d. This allows a malicious actor utilizing MEV to      devalue the NFT token in the same block as someone buying the NFT. For example, if a      position has 5 PNG tokens, and someone makes a transaction to buy its NFT, the owner      of the position can withdraw all PNG in the position, resulting in buyer to buy a      position with 0 balance instead of 5. By using `approvalPauseDuration` we simply      disable transfers made by non-owners (i.e.: marketplace contract) for a period.\"}},\"title\":\"Pangolin Staking Positions\",\"version\":1},\"userdoc\":{\"events\":{\"PauseDurationSet(uint256)\":{\"notice\":\"The event emitted when admin changes `approvalPauseDuration`. \"},\"PeriodDurationUpdated(uint256)\":{\"notice\":\"The event emitted when the period duration is changed. \"},\"PeriodEnded()\":{\"notice\":\"The event emitted when a period is manually cut short. \"},\"RewardAdded(uint256)\":{\"notice\":\"The event emitted when a period is started or extended through funding. \"},\"Staked(uint256,uint256,uint256)\":{\"notice\":\"The event emitted when staking to, minting, or compounding a position. \"},\"TokenMetadataSet(address)\":{\"notice\":\"The event emitted when admin changes `tokenMetadata`. \"},\"Withdrawn(uint256,uint256,uint256)\":{\"notice\":\"The event emitted when withdrawing or harvesting from a position. \"}},\"kind\":\"user\",\"methods\":{\"addReward(uint256)\":{\"notice\":\"External restricted function to fund the contract.\"},\"approvalPauseDuration()\":{\"notice\":\"The duration during NFT approvals are ignored after an update that devalues it.\"},\"burn(uint256)\":{\"notice\":\"External function to close a position by burning the associated NFT.\"},\"compound(uint256)\":{\"notice\":\"External function to deposit the accrued rewards of a position back to itself.\"},\"constructor\":{\"notice\":\"Constructor to create and initialize PangolinStakingPositions contract.\"},\"emergencyExit(uint256)\":{\"notice\":\"External function to exit from a position by forgoing rewards.\"},\"endPeriod()\":{\"notice\":\"External restricted function to end the period and withdraw leftover rewards. \"},\"harvest(uint256)\":{\"notice\":\"External function to claim the accrued rewards of a position.\"},\"lastUpdate()\":{\"notice\":\"The timestamp when the last time the rewards were claimed by the child contract. \"},\"mint(uint256)\":{\"notice\":\"External function to open a new position to the caller.\"},\"multiStake(uint256[],uint256[])\":{\"notice\":\"External function to stake to or compound multiple positions.\"},\"multiWithdraw(uint256[],uint256[])\":{\"notice\":\"External function to withdraw or harvest from multiple positions.\"},\"periodDuration()\":{\"notice\":\"The duration for how long the rewards will last after `addReward` is called. \"},\"periodFinish()\":{\"notice\":\"The timestamp when the current period will end or the latest period has ended. \"},\"positionPendingRewards(uint256)\":{\"notice\":\"External view function to get the accrued rewards of a position. It takes the         pending rewards since lastUpdate into consideration.\"},\"positionRewardRate(uint256)\":{\"notice\":\"External view function to get the reward rate of a position.\"},\"positions(uint256)\":{\"notice\":\"The mapping of position identifiers to their properties. \"},\"rewardRate()\":{\"notice\":\"Public view function to return the total rewards distributed per second.\"},\"rewardSummationsStored()\":{\"notice\":\"The variables that govern the reward distribution. \"},\"rewardsToken()\":{\"notice\":\"The reward token that is distributed to stakers. \"},\"setApprovalPauseDuration(uint256)\":{\"notice\":\"External only-owner function to set how long the token approvals should be ignored.\"},\"setPeriodDuration(uint256)\":{\"notice\":\"External restricted function to change the reward period duration.\"},\"setTokenMetadata(address)\":{\"notice\":\"External only-owner function to change the contract that constructs tokenURIs.\"},\"stake(uint256,uint256)\":{\"notice\":\"External function to deposit tokens to an existing position.\"},\"tokenMetadata()\":{\"notice\":\"The contract that constructs and returns tokenURIs for position tokens. \"},\"totalRewardAdded()\":{\"notice\":\"The amount of total rewards added. \"},\"totalValueVariables()\":{\"notice\":\"The struct holding the totalStaked and sumOfEntryTimes. \"},\"withdraw(uint256,uint256)\":{\"notice\":\"External function to withdraw given amount of staked balance, plus all the accrued         rewards from the position.\"}},\"notice\":\"Pangolin Staking Positions is a unique staking solution. It utilizes the Sunshine and         Rainbows (SAR) algorithm, which distributes rewards as a function of balance and staking         duration. See README and the Proofs paper to see how SAR works. In this implementation,         the staking token is the same as the reward token, and staking information is recorded         as positions where each position is an NFT.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/staking-positions/PangolinStakingPositions.sol\":\"PangolinStakingPositions\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe\",\"dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q\"]},\"@openzeppelin/contracts/access/AccessControlEnumerable.sol\":{\"keccak256\":\"0x13f5e15f2a0650c0b6aaee2ef19e89eaf4870d6e79662d572a393334c1397247\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7ee05f28f549a5d6515e152580716b87636ed4bfab9812499a6e3803df88288b\",\"dweb:/ipfs/QmeEnhdwY1t5Y3YU5a4ffzgXuToydH2PNdNxV9W7dEPRQJ\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"@openzeppelin/contracts/access/IAccessControlEnumerable.sol\":{\"keccak256\":\"0xba4459ab871dfa300f5212c6c30178b63898c03533a1ede28436f11546626676\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3dcc7b09bfa6e18aab262ca372f4a9b1fc82e294b430706a4e1378cf58e6a276\",\"dweb:/ipfs/QmT8oSAcesdctR15HMLhr2a1HRpXymxdjTfdtfTYJcj2N2\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34\",\"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0xd89f3585b211fc9e3408384a4c4efdc3a93b2f877a3821046fa01c219d35be1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5ea15ef7c8980240ccd46df13809d163f749bc0a01d8bced1875660d4872da1c\",\"dweb:/ipfs/QmbDfAT9VeCSG4cnPd6tjDMp8ED85dLHbWyMyv7wbmL4CH\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708\",\"dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV\"]},\"@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol\":{\"keccak256\":\"0xa8796bd16014cefb8c26449413981a49c510f92a98d6828494f5fd046223ced3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://63a5e0bb5a7d182e0d0eef87033f78115eab791de3626a929bc98c157087880a\",\"dweb:/ipfs/QmetkXAu2CJKS4qrZtEQPU8okAPwUwa6HL4XYwk8vrYMk8\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"keccak256\":\"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34\",\"dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269\",\"dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]},\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\":{\"keccak256\":\"0xc3ff3f5c4584e1d9a483ad7ced51ab64523201f4e3d3c65293e4ca8aeb77a961\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d7d3dd6067a994690471b5fc71b6f81fac3847798b37d404f74db00b4d3c3d0e\",\"dweb:/ipfs/QmRHF1RarifjNi93RttouNPkYZGyu6CD926PgRDzD5iL35\"]},\"contracts/staking-positions/GenericErrors.sol\":{\"keccak256\":\"0x2259e2847683e12db8c0999ff9aec68181f6353b8f4dc1ae319bfff8d9acd211\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a09e011c4008772e3e33b1fb2da0e1f281ea06ba634ab69b83aef56abbfe725\",\"dweb:/ipfs/QmNYrC6GW3ugBmF4fZ9kAyprij4RheB9r4uWwqqGN27p2S\"]},\"contracts/staking-positions/PangolinStakingPositions.sol\":{\"keccak256\":\"0xe4c6b5b2eaa8b5085381cb3475bbbc674778ae02ac7722969b98d9be29eb7ce2\",\"license\":\"GPLv3\",\"urls\":[\"bzz-raw://ed60765a392e6f50ae8ef915ac64f362a9b25edb9ee2d8532f68c5f67df38b17\",\"dweb:/ipfs/QmT2EFZD3rmTezMpJepDGMuCtVLVLKiqMAWhymgEHR6M2g\"]},\"contracts/staking-positions/PangolinStakingPositionsFunding.sol\":{\"keccak256\":\"0xefcee662026897a273c4e6961f286c49d93e1e2e284faec89a9adca1b7915783\",\"license\":\"GPLv3\",\"urls\":[\"bzz-raw://f9a6167411900d27c4c764127d283b63b109fdde912059c52fd664dd06bf3325\",\"dweb:/ipfs/QmSu7FSkt3oX4eckdnHCVyGczLFBJP9u3DuLW8ZyjwCuUT\"]}},\"version\":1}"}},"contracts/staking-positions/PangolinStakingPositionsFunding.sol":{"PangolinStakingPositionsFunding":{"abi":[{"inputs":[],"name":"FailedTransfer","type":"error"},{"inputs":[],"name":"HighSlippage","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"InvalidToken","type":"error"},{"inputs":[],"name":"InvalidType","type":"error"},{"inputs":[],"name":"Locked","type":"error"},{"inputs":[],"name":"MismatchedArrayLengths","type":"error"},{"inputs":[],"name":"NoEffect","type":"error"},{"inputs":[],"name":"NonExistentToken","type":"error"},{"inputs":[],"name":"NullInput","type":"error"},{"inputs":[],"name":"OutOfBounds","type":"error"},{"inputs":[],"name":"Overflow","type":"error"},{"inputs":[],"name":"TooEarly","type":"error"},{"inputs":[],"name":"TooLate","type":"error"},{"inputs":[],"name":"Underflow","type":"error"},{"inputs":[],"name":"UnprivilegedCaller","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"PeriodDurationUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"PeriodEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endPeriod","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"lastUpdate","outputs":[{"internalType":"uint40","name":"","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint40","name":"","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","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":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"setPeriodDuration","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":[],"name":"totalRewardAdded","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"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","addReward(uint256)":"74de4ec4","endPeriod()":"5faa65ff","getRoleAdmin(bytes32)":"248a9ca3","getRoleMember(bytes32,uint256)":"9010d07c","getRoleMemberCount(bytes32)":"ca15c873","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","lastUpdate()":"c0463711","periodDuration()":"b470aade","periodFinish()":"ebe2b12b","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f","rewardRate()":"7b0a47ee","rewardsToken()":"d1af0c7d","setPeriodDuration(uint256)":"7c2d6e01","supportsInterface(bytes4)":"01ffc9a7","totalRewardAdded()":"098b8858"}},"metadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"FailedTransfer\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HighSlippage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Locked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MismatchedArrayLengths\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoEffect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonExistentToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NullInput\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OutOfBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Overflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TooEarly\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TooLate\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Underflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnprivilegedCaller\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDuration\",\"type\":\"uint256\"}],\"name\":\"PeriodDurationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"PeriodEnded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"RewardAdded\",\"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\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"addReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"endPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":[],\"name\":\"lastUpdate\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"periodDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"periodFinish\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"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\":[],\"name\":\"rewardRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsToken\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newDuration\",\"type\":\"uint256\"}],\"name\":\"setPeriodDuration\",\"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\":[],\"name\":\"totalRewardAdded\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Shung for Pangolin\",\"details\":\"The inheriting contract must call `_claim()` to check its reward since the last time the      same call was made. Then, based on the reward amount, the inheriting contract shall      determine the distribution to stakers. The purpose of this architecture is to separate the      logic of funding from the staking and reward distribution.\",\"kind\":\"dev\",\"methods\":{\"addReward(uint256)\":{\"params\":{\"amount\":\"The amount of reward tokens to add to the contract.\"}},\"constructor\":{\"params\":{\"newAdmin\":\"The initial owner of the contract.\",\"newRewardsToken\":\"The token used for both for staking and reward.\"}},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"getRoleMember(bytes32,uint256)\":{\"details\":\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\"},\"getRoleMemberCount(bytes32)\":{\"details\":\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\"},\"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 `account`. 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.\"},\"rewardRate()\":{\"returns\":{\"_0\":\"The reward per second being distributed.\"}},\"setPeriodDuration(uint256)\":{\"params\":{\"newDuration\":\"The duration the feature periods will last.\"}},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"stateVariables\":{\"FUNDER_ROLE\":{\"details\":\"The privileged role that can call `addReward` function \"},\"MAX_PERIOD_DURATION\":{\"details\":\"The maximum duration a period can last. \"},\"MAX_TOTAL_REWARD\":{\"details\":\"The maximum amount of rewards that can ever be distributed. \"},\"MIN_PERIOD_DURATION\":{\"details\":\"The minimum duration a period can last. \"}},\"title\":\"Pangolin Staking Positions Funding\",\"version\":1},\"userdoc\":{\"events\":{\"PeriodDurationUpdated(uint256)\":{\"notice\":\"The event emitted when the period duration is changed. \"},\"PeriodEnded()\":{\"notice\":\"The event emitted when a period is manually cut short. \"},\"RewardAdded(uint256)\":{\"notice\":\"The event emitted when a period is started or extended through funding. \"}},\"kind\":\"user\",\"methods\":{\"addReward(uint256)\":{\"notice\":\"External restricted function to fund the contract.\"},\"constructor\":{\"notice\":\"Constructor to create PangolinStakingPositionsFunding contract.\"},\"endPeriod()\":{\"notice\":\"External restricted function to end the period and withdraw leftover rewards. \"},\"lastUpdate()\":{\"notice\":\"The timestamp when the last time the rewards were claimed by the child contract. \"},\"periodDuration()\":{\"notice\":\"The duration for how long the rewards will last after `addReward` is called. \"},\"periodFinish()\":{\"notice\":\"The timestamp when the current period will end or the latest period has ended. \"},\"rewardRate()\":{\"notice\":\"Public view function to return the total rewards distributed per second.\"},\"rewardsToken()\":{\"notice\":\"The reward token that is distributed to stakers. \"},\"setPeriodDuration(uint256)\":{\"notice\":\"External restricted function to change the reward period duration.\"},\"totalRewardAdded()\":{\"notice\":\"The amount of total rewards added. \"}},\"notice\":\"A contract that is only the rewards part of `StakingRewards`.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/staking-positions/PangolinStakingPositionsFunding.sol\":\"PangolinStakingPositionsFunding\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe\",\"dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q\"]},\"@openzeppelin/contracts/access/AccessControlEnumerable.sol\":{\"keccak256\":\"0x13f5e15f2a0650c0b6aaee2ef19e89eaf4870d6e79662d572a393334c1397247\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7ee05f28f549a5d6515e152580716b87636ed4bfab9812499a6e3803df88288b\",\"dweb:/ipfs/QmeEnhdwY1t5Y3YU5a4ffzgXuToydH2PNdNxV9W7dEPRQJ\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"@openzeppelin/contracts/access/IAccessControlEnumerable.sol\":{\"keccak256\":\"0xba4459ab871dfa300f5212c6c30178b63898c03533a1ede28436f11546626676\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3dcc7b09bfa6e18aab262ca372f4a9b1fc82e294b430706a4e1378cf58e6a276\",\"dweb:/ipfs/QmT8oSAcesdctR15HMLhr2a1HRpXymxdjTfdtfTYJcj2N2\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34\",\"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]},\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\":{\"keccak256\":\"0xc3ff3f5c4584e1d9a483ad7ced51ab64523201f4e3d3c65293e4ca8aeb77a961\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d7d3dd6067a994690471b5fc71b6f81fac3847798b37d404f74db00b4d3c3d0e\",\"dweb:/ipfs/QmRHF1RarifjNi93RttouNPkYZGyu6CD926PgRDzD5iL35\"]},\"contracts/staking-positions/GenericErrors.sol\":{\"keccak256\":\"0x2259e2847683e12db8c0999ff9aec68181f6353b8f4dc1ae319bfff8d9acd211\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a09e011c4008772e3e33b1fb2da0e1f281ea06ba634ab69b83aef56abbfe725\",\"dweb:/ipfs/QmNYrC6GW3ugBmF4fZ9kAyprij4RheB9r4uWwqqGN27p2S\"]},\"contracts/staking-positions/PangolinStakingPositionsFunding.sol\":{\"keccak256\":\"0xefcee662026897a273c4e6961f286c49d93e1e2e284faec89a9adca1b7915783\",\"license\":\"GPLv3\",\"urls\":[\"bzz-raw://f9a6167411900d27c4c764127d283b63b109fdde912059c52fd664dd06bf3325\",\"dweb:/ipfs/QmSu7FSkt3oX4eckdnHCVyGczLFBJP9u3DuLW8ZyjwCuUT\"]}},\"version\":1}"}}}}}